Commit Graph

498 Commits

Author SHA1 Message Date
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
bd612bd310 replace username too 2024-01-15 11:23:01 +08:00
d9d800cfc4 add index for sorting by saved_at 2024-01-10 17:09:15 +08:00
1ec5b7affe fix labels not saved when merging highlights 2024-01-05 23:22:09 +08:00
32a58e49f9 make redis optional for backend 2024-01-04 21:55:41 +08:00
bcd05cc7fc set the url in redis when an item is inserted into db 2024-01-04 18:10:14 +08:00
08c4624fce save the url in redis for 8 hours so rss-feeder will not try to re-save it 2024-01-04 18:03:34 +08:00
d1db49f9bb Merge pull request #3300 from omnivore-app/fix/batch-prune
fix/batch prune
2024-01-04 15:19:50 +08:00
366c97ead7 Merge pull request #3314 from omnivore-app/fix/update-event
skip sending item update event for reading progress update
2024-01-04 15:17:08 +08:00
d31eb7a88b skip sending item update event for reading progress update 2024-01-04 15:06:31 +08:00
554c4cee12 add test cases 2024-01-03 18:26:07 +08:00
d31c520a90 add empty trash api to prune soft deleted items in trash 2024-01-03 18:26:06 +08:00
5eb19cda71 prune users in batch 2024-01-03 18:25:16 +08:00
a1ea20b964 Update highlights query for new users 2024-01-03 18:21:13 +08:00
060690609d Merge pull request #3264 from omnivore-app/feature/prune-following-items
add endpoint to prune items from folder older than some days
2024-01-03 17:46:21 +08:00
7153014a87 fix duplicate labels 2023-12-29 16:36:55 +08:00
cbb07318e5 get the unchanged result set of sub query by checking updated_at 2023-12-29 12:53:49 +08:00
b5d84098d0 increase batch size to 100 2023-12-29 09:53:23 +08:00
de027ee93f use cursor and fetch instead of limit and offset because the subquery result set could change during update 2023-12-29 09:53:23 +08:00
55518139fb generate raw sql because postgres does not support prepared statements in DO blocks 2023-12-29 09:53:23 +08:00
1079a19cd9 execute update query in batch to avoid slow bulk action query 2023-12-29 09:53:23 +08:00
ccec94dae0 insert labels only if name unique 2023-12-22 15:14:07 +08:00
0a4758105a feat: update newsletter email api 2023-12-20 11:29:10 +08:00
92aa11b98e add fetchContent api 2023-12-19 18:05:02 +08:00
07b96c46d5 fix tests 2023-12-19 17:45:12 +08:00
8e77c047bd add endpoint to prune items from folder older than some days 2023-12-19 14:25:55 +08:00
22778af285 run readability on the preview content 2023-12-19 10:41:20 +08:00
97735d0633 make existing newsletters go to inbox folder 2023-12-18 16:08:36 +08:00
7a2cf6c6fe fix sort by word count not working 2023-12-18 10:40:10 +08:00
58f16ec62c Merge pull request #3247 from omnivore-app/feature/feeds
feat: fetch content and folder settings for newsletters and subscriptions
2023-12-15 16:46:02 +08:00
d579a8f907 not throw error if sort keyword not found 2023-12-15 13:31:22 +08:00
f915c18dfa allow plural and singular form for has/no filter 2023-12-15 13:18:25 +08:00
42749c5a32 throw error if sort column not exists 2023-12-15 11:47:00 +08:00
b86ee139e0 move to folder api will create a task to fetch content if content not exists 2023-12-14 19:20:03 +08:00