Commit Graph

706 Commits

Author SHA1 Message Date
dfea982df7 Merge pull request #1146 from omnivore-app/feature/android-apple-login-redirect
Android Apple Login Endpoint
2022-08-28 21:17:32 -07:00
3f6ade9614 verify apple token with both audience names used for the app 2022-08-28 09:55:41 -07:00
a720d5a5d5 set cors config for android web redirect 2022-08-28 09:48:39 -07:00
3d16b1d0b4 add redirect uri for android apple login 2022-08-28 09:36:30 -07:00
7a9eca2622 Update text-to-speech endpoint 2022-08-26 17:53:26 +08:00
5201f5d360 Add RLS to speech table 2022-08-26 16:56:33 +08:00
b2d49d1fbf Add dotenv 2022-08-26 16:30:09 +08:00
5a1dbb594e Call backend api to update speech in db 2022-08-26 15:41:06 +08:00
933fa9f142 Use a promise 2022-08-25 20:07:13 +08:00
82fdad3c80 Disable the automatic speech trigger 2022-08-25 19:54:39 +08:00
b337735c9d Do not throw error if failed to synthesize self-closing tags elements 2022-08-25 18:52:10 +08:00
3945c2f887 Prevent synthesizing PDF 2022-08-25 17:01:29 +08:00
3cea785336 Fix page id not get in auto-synthesize subscription 2022-08-25 16:09:35 +08:00
7f83045c0c Fix a bug 2022-08-25 16:09:35 +08:00
99a628f03f Fix tests 2022-08-25 16:09:35 +08:00
a477560626 Add a feature flag for text to speech beta test and if turned on, automatically synthesize new articles 2022-08-25 16:09:35 +08:00
00d1696f23 use complimentary voice for blockquote, hardcoded for now 2022-08-25 16:09:35 +08:00
4f8d71b7cc Add a pubsub subscription listening on the new article to automatically synthesize article 2022-08-25 16:09:35 +08:00
9b0093e3d2 Add function to test if a page should be transcribed 2022-08-25 16:09:35 +08:00
5622154e6c Update listenedAt in the API 2022-08-25 16:09:35 +08:00
2a273ef504 specify multiple aud values when verifying google tokens 2022-08-24 21:00:15 -07:00
ba1c9c970b use correct aud value when verifying google token from android 2022-08-23 09:26:47 -07:00
45c1ba2d25 Update log 2022-08-22 16:45:10 +08:00
5cfe0a14e9 Authorize user to get or create speech in the API 2022-08-22 16:44:05 +08:00
cfdc236297 Validate token and authenticate user before setting Speech state to FAILED 2022-08-22 16:24:39 +08:00
463f423cab Enqueue TTS task in the get speech of article API if speech not found 2022-08-22 16:13:34 +08:00
efce6dad94 Stop queueing transcription after calling createArticle API 2022-08-22 16:12:27 +08:00
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
530464f54d Fix tests 2022-08-18 21:29:35 +08: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