Commit Graph

39 Commits

Author SHA1 Message Date
1a48ad03e4 use a separate queue for thumbnailer 2023-06-12 12:25:04 +08:00
b698029972 store token in cookie instead of authorization header 2023-06-07 14:24:52 +08:00
9be84fb473 create thumbnail task for newsletters too 2023-06-07 11:52:13 +08:00
0c3fa2cdd4 feat: start a cloud task to set thumbnail and pre-cache all the images in the content 2023-06-06 11:56:31 +08:00
014dc773e3 Fix labels not saved correctly by saveUrl 2023-04-12 17:04:59 +08:00
874247661b resolve conflicts 2023-04-12 17:04:59 +08:00
c07ada0218 resolve conflicts 2023-04-12 17:04:59 +08:00
10c01c12f2 Add test case for integration import task handler 2023-04-12 16:50:10 +08:00
9ff0711a73 Remove wrong comments 2023-04-12 16:50:10 +08:00
c8ec84562b Create an import from integration cloud task 2023-04-12 16:50:10 +08:00
0bf4119c92 Refactor with factor pattern 2023-04-12 16:50:10 +08:00
9056318667 Change type field in integration table from enum to text type 2023-04-12 16:50:10 +08:00
b438d42f38 Remove some unneeded console.log calls 2023-01-04 11:18:37 +08:00
62a3f6d1d8 Add recommendHighlights API 2022-12-08 11:37:35 +08:00
8ac1afe277 Use cookie auth instead of header to not interfere with GCPs auth mechanisms 2022-12-05 18:41:08 +08:00
6b65c386a0 Add authentication to the request header 2022-12-02 21:15:33 +08:00
7707f100f2 Add recommend gql api 2022-12-02 19:45:26 +08:00
0e3d1ced46 Add recommend rest api to handler tasks 2022-12-02 19:10:41 +08:00
5fd137d23e Add recommendation cloud task 2022-12-02 18:49:13 +08:00
ce18d33ae1 Change queue name 2022-11-11 10:14:46 +08:00
b0938ee96c Pre-fetch realistic voice only if user is opted in 2022-11-10 18:48:00 +08:00
ddd1e84686 Add language and rate in the cloud task params 2022-11-08 16:22:23 +08:00
2e47b0879c Convert HTML to utterances 2022-11-07 19:30:20 +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
463f423cab Enqueue TTS task in the get speech of article API if speech not found 2022-08-22 16:13:34 +08:00
576318fcbe Add authentication to speech svc endpoint 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
94f9dd9e6e Enqueue text to speech tasks 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
75d3372426 Use gcf for low priority task 2022-06-24 10:13:14 -07:00
acec3b1acb Use lower priority queue for large imports
* add a count query in elastic
  * if priority is not set, check the rate limit of user's libary
    - if 5 articles added in the last minute: use low queue
    - default: use normal queue
2022-03-22 18:08:08 +08:00
c4e237927d Allow any on GCP func 2022-03-02 20:27:40 -08:00
84f32935f5 Open source omnivore 2022-02-11 09:24:33 -08:00