Commit graph

1811 commits

Author SHA1 Message Date
Hongbo Wu
3a40dd7266 Make test SSML shorter 2022-09-02 15:33:00 +08:00
Hongbo Wu
be8b0e6eb7 Use a large SSML to test 2022-09-02 15:33:00 +08:00
Hongbo Wu
f7720ac156 Add debug logs 2022-09-02 15:33:00 +08:00
Hongbo Wu
0aa5447b9b Read SSML file to stream 2022-09-02 15:33:00 +08:00
Hongbo Wu
7baafc96bb Create a cloud function to steam speech mp3 2022-09-02 15:33:00 +08:00
Jackson Harper
e861e4f0e6
Merge pull request #1155 from omnivore-app/enable-auto-synthesis
enable auto synthesis
2022-08-30 18:25:36 +08:00
Hongbo Wu
7b0499f29d Fix blockquote not being recognized 2022-08-30 18:04:18 +08:00
Hongbo Wu
3cf4563466 Fix some parsing error for very old articles 2022-08-30 17:18:55 +08:00
Hongbo Wu
5bd478479a ignore tests 2022-08-30 17:02:12 +08:00
Hongbo Wu
3deed195f6 Check if top-level node has text content 2022-08-30 16:56:13 +08:00
Hongbo Wu
d915d7a1e1 Fix parsing nested <span> in <p> 2022-08-30 15:33:32 +08:00
Jackson Harper
0236f2b675 More SSML test cases 2022-08-30 12:21:10 +08:00
Jackson Harper
c85e6370b1 Add some new test cases for SSML generation 2022-08-30 11:30:50 +08:00
Hongbo Wu
9b736cbf1c Add entrypoint for text-to-speech cloud function 2022-08-30 11:07:19 +08:00
Hongbo Wu
fe30beafe6 Throw error if synthesis is canceled 2022-08-29 22:59:09 +08:00
Hongbo Wu
7353c328d9 Remove unused text-to-speech code 2022-08-29 22:29:40 +08:00
Jackson Harper
8bc950ba87 Use underscore to escape XML 2022-08-29 22:26:06 +08:00
Hongbo Wu
d085c86bb6 Enqueue text to speech tasks 2022-08-29 22:23:07 +08:00
Hongbo Wu
8c8734d153 Re-enable auto synthesis in the backend 2022-08-29 22:09:09 +08:00
Jackson Harper
48e6d63158 Set voice and language when generating SSML 2022-08-29 22:03:40 +08:00
Jackson Harper
5c4de078b5 Add some loggin to HTML -> SSML function 2022-08-29 21:43:05 +08:00
Jackson Harper
4f6d8cdfce Set language/rate in prosody XML 2022-08-29 17:20:43 +08:00
Jackson Harper
e298a49169 Linting fixes 2022-08-29 16:52:58 +08:00
Jackson Harper
8c3f7c5711 Use the new HTML -> SSML function 2022-08-29 16:40:43 +08:00
Jackson Harper
e6706a6efb Add a new HTML to SSML function 2022-08-29 16:37:30 +08:00
Hongbo Wu
a94dca8932 Prioritize synthesis over playing audio over pre-fetching 2022-08-29 15:45:21 +08:00
Hongbo Wu
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
Hongbo Wu
a19ec8efea Hardcode queue name 2022-08-29 13:20:39 +08:00
Jackson Harper
014bfd0f32
Merge pull request #1147 from omnivore-app/fix/ios-theme-updater
Fix issues with theme not being properly updated in iOS when the system dark/light mode changes
2022-08-29 12:28:09 +08:00
Satindar Dhillon
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
Hongbo Wu
2e4cb7f4b0 Fix using wrong taskHandlerUrl for low priority task 2022-08-29 12:01:17 +08:00
Hongbo Wu
4af340f30e Add the priority to request param and use the correct queue accordingly 2022-08-29 11:49:10 +08:00
Hongbo Wu
f903a92245 Use text-to-speech queue 2022-08-29 11:47:42 +08:00
Hongbo Wu
e976c9e169 Add text-to-speech queue name and location to env 2022-08-29 11:47:01 +08:00
Jackson Harper
27f803e5af Add script to update the bundle file 2022-08-29 11:31:36 +08:00
Jackson Harper
2beb75d747 isDark is a string in Swift so we need to check for "true" 2022-08-29 11:31:07 +08:00
Satindar Dhillon
3f6ade9614 verify apple token with both audience names used for the app 2022-08-28 09:55:41 -07:00
Satindar Dhillon
a720d5a5d5 set cors config for android web redirect 2022-08-28 09:48:39 -07:00
Satindar Dhillon
3d16b1d0b4 add redirect uri for android apple login 2022-08-28 09:36:30 -07:00
Hongbo Wu
7a9eca2622 Update text-to-speech endpoint 2022-08-26 17:53:26 +08:00
Jackson Harper
dd3f4fefe5
Merge pull request #1144 from omnivore-app/tts-cloud-function
Setup new cloud function for the text to speech service
2022-08-26 17:40:11 +08:00
Hongbo Wu
050a2a2806 Update deploy command 2022-08-26 17:05:14 +08:00
Hongbo Wu
5201f5d360 Add RLS to speech table 2022-08-26 16:56:33 +08:00
Hongbo Wu
b2d49d1fbf Add dotenv 2022-08-26 16:30:09 +08:00
Hongbo Wu
5a1dbb594e Call backend api to update speech in db 2022-08-26 15:41:06 +08:00
Hongbo Wu
a8617f2605 Synthesize and upload in cloud function 2022-08-26 14:54:12 +08:00
Jackson Harper
e1d43f2366 Setup new cloud function for the text to speech service 2022-08-26 13:39:26 +08:00
Hongbo Wu
e52013ccb1 It seems to have some issue with disabling puppeteer timeout by setting it to 0.
So I set the timeout to 2 minutes which should be enough and it works in my local env
2022-08-26 11:54:33 +08:00
Jackson Harper
933fa9f142 Use a promise 2022-08-25 20:07:13 +08:00
Jackson Harper
82fdad3c80 Disable the automatic speech trigger 2022-08-25 19:54:39 +08:00