Commit Graph

487 Commits

Author SHA1 Message Date
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
83e0982457 save newsletters to the right folder get from subscription and email settings 2023-12-14 18:53:32 +08:00
f7ec0220a8 allow setting folder when creating a new email 2023-12-14 17:48:02 +08:00
06e17e2eb8 return source of the labels tagged to an item 2023-12-14 10:40:18 +08:00
dcd6e8bb60 allow adding source of label when adding labels 2023-12-13 16:25:25 +08:00
528163905d Merge pull request #3244 from omnivore-app/improve-advanced-search
improve advanced search
2023-12-12 19:53:29 +08:00
2155be4704 fix tests 2023-12-12 19:42:09 +08:00
07868c729d update comments 2023-12-12 18:13:38 +08:00
a7f9214cda ignore empty text field 2023-12-12 17:56:10 +08:00
609c46cdc3 ignore empty field value 2023-12-12 16:35:50 +08:00
7622d8a139 ignore field case 2023-12-12 16:17:31 +08:00
55cc5f5769 treat unknown fields as text search 2023-12-12 16:14:51 +08:00