Commit Graph

1880 Commits

Author SHA1 Message Date
9633e7df79 Update envar name 2024-01-16 21:30:17 +08:00
62fdb866a8 Add some extra logging 2024-01-16 21:30:17 +08:00
26d832bb92 Trim URLs from feeds 2024-01-16 21:30:17 +08:00
652f4b6180 Use createHttpTask for save operation 2024-01-16 21:30:17 +08:00
26657c5611 Use cloud task function from backend code instead of from rss-handler 2024-01-16 21:30:17 +08:00
a8e8fe23da Remove azure config from backend 2024-01-16 21:30:17 +08:00
69eb22ae3c Remove some env vars that are not used 2024-01-16 21:30:17 +08:00
c7f605d00a If redis fails assume we need to refetch the item 2024-01-16 21:30:17 +08:00
00b72f1c3a Add lwn.net to block list 2024-01-16 21:30:17 +08:00
d31d309bc0 MOre on env parsing for k8s 2024-01-16 21:30:17 +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
0a82e5721e Graceful k8s shutdown 2024-01-16 21:27:22 +08:00
7bb6602454 Fix linting 2024-01-16 21:27:22 +08:00
7aa76b70fe Add missing jobs 2024-01-16 21:27:22 +08:00
819052f51f Add queue-processor endpoint to the api 2024-01-16 21:27:22 +08:00
b4914f5346 Fix creation of redis clients 2024-01-16 21:27:20 +08:00
447bba23ba Fix init 2024-01-16 21:26:30 +08:00
20df5c6212 Parse redis cert on load 2024-01-16 21:26:28 +08:00
45fcde8ebc Update redis config 2024-01-16 21:25:34 +08:00
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