Commit Graph

740 Commits

Author SHA1 Message Date
b03f7ebeb8 Add handler to pre-process morning brew newsletters 2022-09-15 16:21:09 +08:00
d795fef8a7 Add handler to pre-process morning brew newsletters 2022-09-15 16:20:57 +08:00
fa731acd74 Create new newsletter if old one is deleted 2022-09-14 19:14:58 +08:00
e86a107a9a Bump up image size to 160*160 2022-09-12 17:05:31 +08:00
a01a10e3f5 Put title the first utterance 2022-09-09 12:10:29 +08:00
06218ef5e0 Return image proxy url in Article function_resolver 2022-09-08 17:55:09 +08:00
6350a3d53e Make idx string type 2022-09-08 11:33:29 +08:00
8e8a6dccd0 Change rate to string type 2022-09-07 22:55:07 +08:00
9a62a3c31e Add pageId to speech-file 2022-09-07 22:51:44 +08:00
3cf3d40482 Replace speech-file with speech in the route 2022-09-07 22:48:40 +08:00
aeb7e47d68 Make voice, secondaryVoice and priority query params 2022-09-07 18:42:46 +08:00
9117bd668d Update dependencies 2022-09-07 18:20:10 +08:00
f1b379b96e Convert html to speech file and return 2022-09-07 18:00:32 +08:00
35ca4b9054 Fix text-to-speech dependency 2022-09-07 15:16:16 +08:00
96cbdc9f30 Replace wordsCount with wordCount 2022-09-07 15:16:16 +08:00
5781d385ad Return utterances in the API if output format is ssml 2022-09-07 15:16:16 +08:00
33cf975b0e Add dependencies on html-to-text and natural 2022-09-07 15:16:16 +08:00
d4dcec75d5 Return 0 for wordsCount if error 2022-09-07 15:16:16 +08:00
97e560c443 Update wordsCount in page 2022-09-07 15:16:16 +08:00
795ca47414 Save wordsCount when page is created 2022-09-06 10:19:58 +08:00
d00391b593 Add wordCount to Page doc in elastic 2022-09-06 10:03:36 +08:00
b9eee9e4c5 Fix docker build 2022-09-02 15:56:23 +08:00
9826262ef4 Return an array of SSMLs instead of ssmlItems 2022-09-02 15:33:00 +08:00
3953a9098e Send SSML items in the synthesis API 2022-09-02 15:33:00 +08:00
7353c328d9 Remove unused text-to-speech code 2022-08-29 22:29:40 +08:00
d085c86bb6 Enqueue text to speech tasks 2022-08-29 22:23:07 +08:00
8c8734d153 Re-enable auto synthesis in the backend 2022-08-29 22:09:09 +08:00
a94dca8932 Prioritize synthesis over playing audio over pre-fetching 2022-08-29 15:45:21 +08:00
4672b520e9 Merge pull request #1148 from omnivore-app/feature/separate-queues-for-synthesis
feature/separate queues for synthesis
2022-08-29 13:43:53 +08:00
a19ec8efea Hardcode queue name 2022-08-29 13:20:39 +08:00
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
2e4cb7f4b0 Fix using wrong taskHandlerUrl for low priority task 2022-08-29 12:01:17 +08:00
4af340f30e Add the priority to request param and use the correct queue accordingly 2022-08-29 11:49:10 +08:00
f903a92245 Use text-to-speech queue 2022-08-29 11:47:42 +08:00
e976c9e169 Add text-to-speech queue name and location to env 2022-08-29 11:47:01 +08: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