Commit Graph

143 Commits

Author SHA1 Message Date
2c3b8535d8 Fix one morning brew newsletter parsing error by only keeping market info table in the original newsletter 2022-09-20 17:12:13 +08:00
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
d4dcec75d5 Return 0 for wordsCount if error 2022-09-07 15:16:16 +08:00
7353c328d9 Remove unused text-to-speech code 2022-08-29 22:29:40 +08:00
a19ec8efea Hardcode queue name 2022-08-29 13:20:39 +08:00
2e4cb7f4b0 Fix using wrong taskHandlerUrl for low priority task 2022-08-29 12:01:17 +08:00
f903a92245 Use text-to-speech queue 2022-08-29 11:47:42 +08:00
b2d49d1fbf Add dotenv 2022-08-26 16:30:09 +08:00
b337735c9d Do not throw error if failed to synthesize self-closing tags elements 2022-08-25 18:52:10 +08:00
99a628f03f Fix tests 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
9b0093e3d2 Add function to test if a page should be transcribed 2022-08-25 16:09:35 +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
4852777f66 Throw error if synthesizing was cancelled 2022-08-22 16:10:49 +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
85d8816e1e Replace li element with a sentence element when converting HTML to SSML 2022-08-22 12:39:06 +08: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
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
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
83c1930378 Split text into chunks of 5000 characters in paragraph 2022-08-18 19:24:38 +08:00
02ba753375 Upload speech marks file to gcs too 2022-08-18 19:24:38 +08:00
b0bf4fc5ce Create speech while requesting 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
134482a261 Add integration tests for integration router 2022-08-08 23:11:35 +08:00
eb2ee5ab55 Add task to handle sync with integrations 2022-08-05 16:09:26 +08:00
b8dbcdb2bd Add createHighlight API integration for Readwise 2022-08-05 16:08:20 +08:00
565da42b46 When parsing newsletters with no url dont fetch the generated url 2022-07-28 11:05:17 -07:00
3a120b8f47 Return empty name if name not found in from header 2022-07-28 10:37:28 +08:00
c99c1db57e Add support to the case when from address is in Name <address> format 2022-07-28 10:26:15 +08:00
6f11ccacb1 Save article from forwarding emails 2022-07-27 12:15:28 +08:00
d184ca8d04 Add function isProbablyArticle to test if a forwarded email contains an article to save 2022-07-27 12:15:26 +08:00
6699ec834d add router handler for reset password 2022-07-25 15:14:01 -07:00
bab96aaa1e remove membership from user 2022-07-25 15:14:01 -07:00
a87f75f319 add test for confirm-email router 2022-07-25 15:14:01 -07:00
b0a0020fc7 fix return false when sending failed 2022-07-25 15:12:56 -07:00
4e11000ac0 add return type 2022-07-25 15:12:56 -07:00