Commit Graph

2171 Commits

Author SHA1 Message Date
476e43a1f8 Set speech state to FAILED if encountered error during transcription 2022-08-22 16:11:49 +08:00
4852777f66 Throw error if synthesizing was cancelled 2022-08-22 16:10:49 +08:00
2298635e56 Add function to set speech to failed state 2022-08-22 16:09:56 +08:00
4ce7352013 Merge pull request #1108 from omnivore-app/fix/failed-to-convert-speech
Fix some articles not converted to speech correctly
2022-08-22 12:58:04 +08:00
965ffb3013 Merge pull request #1065 from omnivore-app/feature/android-login
Android Login
2022-08-22 12:41:04 +08:00
85d8816e1e Replace li element with a sentence element when converting HTML to SSML 2022-08-22 12:39:06 +08:00
1115cf34d9 update google login client id for android 2022-08-19 19:39:41 -07:00
33a4ee39dc check for android source in api mobile sign up route 2022-08-19 18:53:51 -07:00
dba749c506 Fix some articles not converted to speech correctly 2022-08-20 00:11:46 +08:00
0cf689ce21 Fix not getting revue newsletter url by checking all the hyper links in the table tr td 2022-08-19 17:32:29 +08:00
0a75c52a8c Fix getting script_exception when updating labels in highlights by checking null before updating 2022-08-19 14:36:58 +08:00
9906e2153b Save correct mp3 and speech marks file name in the database 2022-08-19 10:04:13 +08:00
1b46739a0d add sign in option for android client on server 2022-08-18 18:42:18 -07:00
a1171c7952 Catch authentication error 2022-08-18 19:24:38 +08:00
576318fcbe Add authentication to speech svc endpoint 2022-08-18 19:24:38 +08:00
401633eda6 Return signed url 2022-08-18 19:24:38 +08:00
249a5cda4a Add bucket, audioFileName, speechMarksFileName, state to speech table 2022-08-18 19:24:38 +08:00
4cf5b934eb Add validation to request params 2022-08-18 19:24:38 +08:00
29061cf7b1 Remove &nbsp in SSML 2022-08-18 19:24:38 +08:00
a4a8fa9241 Replace emphasis elements in HTML 2022-08-18 19:24:38 +08:00
c79651202d Add synthesize SSML to speech and test 2022-08-18 19:24:38 +08:00
dee94f7c93 Fix a bug for converting text to speech for articles with less than 5000 characters 2022-08-18 19:24:38 +08:00
19b13d164d Fix a bug not getting user personalization 2022-08-18 19:24:38 +08:00
83c1930378 Split text into chunks of 5000 characters in paragraph 2022-08-18 19:24:38 +08:00
c9d26acb25 Fix typo 2022-08-18 19:24:38 +08:00
02ba753375 Upload speech marks file to gcs too 2022-08-18 19:24:38 +08:00
c482ad320b Add duration in logging 2022-08-18 19:24:38 +08:00
b0bf4fc5ce Create speech while requesting 2022-08-18 19:24:38 +08:00
301746d494 Add /:id/mp3 router to redirect request to speech MP3 URL 2022-08-18 19:24:38 +08:00
c74f2bc3fd Enqueue text to speech task after creating article 2022-08-18 19:24:38 +08:00
447e413605 Add function to parse HTML to SSML 2022-08-18 19:24:38 +08:00
355e33b648 Test Mandarin 2022-08-18 19:24:38 +08:00
e086a14ac2 Convert time to ms 2022-08-18 19:24:38 +08:00
77570aa5ab Synthesize text to speech with azure API 2022-08-18 19:24:36 +08:00
94f9dd9e6e Enqueue text to speech tasks 2022-08-18 19:23:41 +08:00
4b42d013ca Convert text to OGG file 2022-08-18 19:23:41 +08:00
0419472c2e Upload audio file with public access right 2022-08-18 19:23:41 +08:00
dd332f5ee6 Add tests 2022-08-18 19:23:41 +08:00
bca0f5ed59 Create Amazon Polly text to speech integration 2022-08-18 19:23:41 +08:00
427cecf6b9 Update syncedAt after syncing 2022-08-09 09:51:31 +08:00
134482a261 Add integration tests for integration router 2022-08-08 23:11:35 +08:00
7ac45ca748 Add deleteIntegration API and integration tests 2022-08-08 18:34:13 +08:00
4aa62d6031 Add list integrations API and integration tests 2022-08-08 18:12:44 +08:00
0cf3f58258 Add integration tests for setIntegration API 2022-08-08 17:09:23 +08:00
8070273dad Fix tests 2022-08-05 16:10:33 +08:00
22ce59a198 Enqueue or delete sync task when create or disable integration 2022-08-05 16:09:26 +08:00
5a8184da3a Add taskName in integrations table 2022-08-05 16:09:26 +08:00
eb2ee5ab55 Add task to handle sync with integrations 2022-08-05 16:09:26 +08:00
c0c58bf751 Only sync pages that were updated after syncedAt 2022-08-05 16:09:26 +08:00
8e9d1fcc4f Update integration syncedAt if successful 2022-08-05 16:09:26 +08:00