Commit Graph

763 Commits

Author SHA1 Message Date
25740465f2 Add timeout 2022-09-30 13:10:58 +08:00
8942398092 Change GET to HEAD 2022-09-30 12:52:09 +08:00
9841ce7f8e Remove parsing newsletter emails from forwarded emails 2022-09-30 12:51:23 +08:00
b00a516737 Add other newsletter handlers 2022-09-30 12:51:23 +08:00
0369eb7bea Set the "since" to be the exact time when the last page was added to ensure all the deletion happen after that 2022-09-29 15:36:18 +08:00
57ca5ed6f8 Merge pull request #1246 from omnivore-app/feature/subscription-icon
feature/subscription icon
2022-09-28 22:10:23 +08:00
2f6b26d21d Use GET request as some host do not allow HEAD requests 2022-09-28 20:18:40 +08:00
a55ad135fd Set 5s for the HEAD request timeout 2022-09-28 19:26:42 +08:00
d6974f9e5f Remove unused icon 2022-09-28 19:14:14 +08:00
a6795b380a Fetch favicon from url 2022-09-28 19:02:29 +08:00
4aceac5f04 Revert "Get favicon from URL if not found from doc"
This reverts commit 7306d65642.
2022-09-28 18:25:11 +08:00
7306d65642 Get favicon from URL if not found from doc 2022-09-28 17:18:00 +08:00
ee3fec9d96 improve text to speech dependency (#1250)
* Generate .d.ts files from TypeScript for text-to-speech project

* Remove module export for htmlToSpeechFile

* Include test
2022-09-28 11:48:06 +08:00
66d37e31b1 Use siteIcon 2022-09-27 21:41:01 +08:00
6220d5d4af Return subscription icon proxy url in the list subscriptions api response 2022-09-27 15:35:06 +08:00
d42d4ace98 Use parsed image as subscription icon 2022-09-27 15:21:18 +08:00
5d62d92974 Save icon in the subscription table 2022-09-27 12:12:47 +08:00
94719a5cce Add icon to the subscription entity 2022-09-27 12:00:13 +08:00
710243e94e Allow language in the query to override the page language in the speech file 2022-09-23 14:19:29 +08:00
0239103fc4 Remove the table with text content less than 20 because these are ads 2022-09-22 22:16:03 +08:00
56e3ccadf0 Add test case for Axios AM newsletter 2022-09-21 12:16:13 +08:00
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
b995dc0500 Stop throwing error and return empty speech if there is no content in the article 2022-09-19 17:36:58 +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
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