Commit Graph

1861 Commits

Author SHA1 Message Date
b4ce07efd3 Better handling of cases when redis isnt configured 2024-01-16 21:25:34 +08:00
d29c26d93b Some redis setup 2024-01-16 21:25:34 +08:00
fc25d6d615 Enqueue rss-refresh-feed jobs in bull 2024-01-16 21:25:31 +08:00
150a456c35 replace redis client library with ioredis 2024-01-16 15:42:50 +08:00
1e05f7dade log error 2024-01-16 12:17:07 +08:00
5141c2a042 do not retry saving following items if item is saved 2024-01-16 12:15:21 +08:00
816019e6a3 extend ttl of the saved item cache to 26 hours 2024-01-16 11:17:21 +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
deddb51c42 fix: change user email address after user deleted account 2024-01-12 11:45:28 +08:00
f81ad17fb1 fix tests 2024-01-10 18:07:58 +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
ccd4f2d3f0 catch redis client error and continue the process 2024-01-05 15:20:42 +08:00
f4ff4b9fcd fix tests 2024-01-04 22:27:31 +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
0b098e640f Merge pull request #3309 from omnivore-app/fix/includes-query
if the query contains includes:, we want to search in all folders
2024-01-03 17:48:41 +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
6e73b10771 if the query contains includes:, we want to search in all folders 2024-01-03 17:38:12 +08:00
b348fae677 fix multi-select bulk action api 2023-12-29 18:42:07 +08:00
42502f9ff1 Merge pull request #3280 from omnivore-app/fix/slow-db-query
execute update query in batch to avoid slow bulk action query
2023-12-29 16:48:18 +08:00
7153014a87 fix duplicate labels 2023-12-29 16:36:55 +08:00
6e32c1247d insert labels on name conflict do nothing 2023-12-29 16:11:11 +08:00
943db3332e Merge pull request #3276 from omnivore-app/fix/in-library
by default we want to search in the inbox if no in: is specified
2023-12-29 14:51:00 +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
881626d35a fix type of highlight is null from update since api 2023-12-28 16:55:23 +08:00
2b886d7e68 return highlights in update since api response 2023-12-28 14:03:07 +08:00
47aa2eaae5 by default we want to search in the inbox if no in: is specified 2023-12-22 18:01:38 +08:00
c21ba9e11f fix tests 2023-12-22 17:12:24 +08:00
ccec94dae0 insert labels only if name unique 2023-12-22 15:14:07 +08:00
c939735678 remove invalid-url error from subscribing feed 2023-12-22 09:51:27 +08:00
f6e04daf60 return invalid url if feed url is different from user provided url 2023-12-22 09:05:43 +08:00
696de8ea50 check both user provided url and parsed feed url when looking for existing subscription 2023-12-22 08:08:15 +08:00
db28bbd0f9 fix invalid unknown item type 2023-12-20 11:51:19 +08:00
0a4758105a feat: update newsletter email api 2023-12-20 11:29:10 +08:00
e4b6cba2ff Merge pull request #3261 from omnivore-app/feature/add-state-for-non-fetch-content
feature/add state for non fetch content
2023-12-19 18:30:13 +08:00
92aa11b98e add fetchContent api 2023-12-19 18:05:02 +08:00