Commit Graph

531 Commits

Author SHA1 Message Date
02c28be403 reduce unction is no longer async 2024-02-01 11:24:13 +08:00
792f13edfc Remove async from non-async function 2024-02-01 10:49:48 +08:00
570b7a4b78 Use a set in redis and push items to the set
This lets us grab all available items, apply them, and then
remove them from the set. Once completed the items that were
applied can be removed from the set, if any new items were
added during that time they wont be effected.
2024-02-01 09:59:42 +08:00
a060aaf496 Make reading position parsing safer 2024-02-01 09:59:42 +08:00
7bb3718a8f Add job to sync read position data 2024-02-01 09:59:41 +08:00
a40f5bed55 Create a service for interacting with cached read positions 2024-02-01 09:59:41 +08:00
6d5ce451ac fix bulk action 2024-01-31 19:24:18 +08:00
1b8111b907 wait until all jobs are done in test 2024-01-31 19:10:57 +08:00
5e883cb2ba running worker in the test 2024-01-31 17:45:49 +08:00
5646413b59 add a job for updating highlight annotations in library_item 2024-01-31 14:15:33 +08:00
43855247b8 update bulk action to add labels 2024-01-31 13:56:56 +08:00
5ed35bbeff create a job for update labels in library item 2024-01-31 13:32:37 +08:00
ddddf8234e create a job for db trigger 2024-01-30 23:53:05 +08:00
d5d581fc54 remove redundant logs 2024-01-29 14:32:43 +08:00
0181a2bfcd Merge pull request #3446 from omnivore-app/fix/refresh-feed
fix: add rss label and feed url to the pdf in rss feed item
2024-01-29 14:21:08 +08:00
58d384f4f6 fix pdf saving 2024-01-29 14:11:07 +08:00
4f061546bf remove api call to upload file request 2024-01-29 12:55:19 +08:00
a2bdddf8c9 fix tests 2024-01-29 12:30:31 +08:00
ac5acf7f21 fix: add rss label and feed url to the pdf in rss feed item 2024-01-26 22:34:55 +08:00
e03895c8b7 enqueue trigger rule job once page is created or updated 2024-01-26 17:46:17 +08:00
7556c6da5f move trigger rule into a job 2024-01-26 17:45:40 +08:00
4c765378e3 do not retry if find_thumbnail job fails 2024-01-26 13:01:53 +08:00
e54c691c09 create a job for finding thumbnail 2024-01-26 13:01:51 +08:00
8834efabd4 throw error if save-page job failed 2024-01-25 16:30:59 +08:00
5e239d2568 run readability in save-page instead of puppeteer 2024-01-25 16:30:59 +08:00
1563b44197 save the timestamp when feed fails 2024-01-24 14:54:39 +08:00
d357d2b0af fix tests 2024-01-24 13:41:49 +08:00
6f3fccfcd0 mark subscription as error if item was failed 2024-01-24 13:09:43 +08:00
3cb7c38e7f update refreshed_at when feed is processed 2024-01-24 12:12:26 +08:00
f8264bfc10 Hard code tweet url to avoid import 2024-01-23 23:45:28 +08:00
e407db914a Add new job for handling upload content 2024-01-22 15:36:46 +08:00
3e0f8c884e Merge pull request #3404 from omnivore-app/debug/extra-logging
Add logging to save_page service
2024-01-22 13:59:19 +08:00
6dd4f49c2f Add logging to save_page service 2024-01-22 13:32:17 +08:00
4da93cbd2d Merge pull request #3402 from omnivore-app/fix/unique-constraint
fix: ignore error when saving existing library item in db
2024-01-22 12:38:09 +08:00
141036dc6c fix tests 2024-01-22 12:18:08 +08:00
5964d827c8 fix tests 2024-01-22 11:04:11 +08:00
a807a4a18e fix: do not throw error when creating duplicate item in db 2024-01-22 10:45:47 +08:00
202d19c9d3 Fix api status mapping 2024-01-21 14:11:53 +08:00
9abd0a59da Clean up imports 2024-01-21 13:16:35 +08:00
a4e707075f Refactor savePage a bit to use it as a service from the jobs 2024-01-20 21:07:02 +08:00
7786221fbc Fix update_subscription awaits 2024-01-20 13:38:25 +08:00
89537c13de Simplify function input 2024-01-20 13:32:11 +08:00
1898e32607 Use service instead of API to update subscription 2024-01-20 13:27:54 +08:00
8a3b50f07f do not create thumbnail task if the item already has a thumbnail 2024-01-18 18:48:46 +08:00
50b48a4225 Separate worker and client code for redis connections 2024-01-16 23:21:48 +08:00
8580398d6f Clean up post rebase 2024-01-16 21:35:46 +08:00
ba3e5b053d Cleanup after rebase 2024-01-16 21:31:44 +08:00
5986bd0a68 Change around redis initialization so we can pull in secrets from secret manager async on startup 2024-01-16 21:30:15 +08:00
150a456c35 replace redis client library with ioredis 2024-01-16 15:42:50 +08:00
06067c1d66 fix tests 2024-01-15 11:26:40 +08:00