Commit graph

9166 commits

Author SHA1 Message Date
Jackson Harper
69eb22ae3c Remove some env vars that are not used 2024-01-16 21:30:17 +08:00
Jackson Harper
c7f605d00a If redis fails assume we need to refetch the item 2024-01-16 21:30:17 +08:00
Jackson Harper
00b72f1c3a Add lwn.net to block list 2024-01-16 21:30:17 +08:00
Jackson Harper
d31d309bc0 MOre on env parsing for k8s 2024-01-16 21:30:17 +08:00
Jackson Harper
f3f9f1a210 Some queue admin 2024-01-16 21:30:17 +08:00
Jackson Harper
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
Jackson Harper
0a82e5721e Graceful k8s shutdown 2024-01-16 21:27:22 +08:00
Jackson Harper
7bb6602454 Fix linting 2024-01-16 21:27:22 +08:00
Jackson Harper
7aa76b70fe Add missing jobs 2024-01-16 21:27:22 +08:00
Jackson Harper
819052f51f Add queue-processor endpoint to the api 2024-01-16 21:27:22 +08:00
Jackson Harper
b4914f5346 Fix creation of redis clients 2024-01-16 21:27:20 +08:00
Jackson Harper
447bba23ba Fix init 2024-01-16 21:26:30 +08:00
Jackson Harper
20df5c6212 Parse redis cert on load 2024-01-16 21:26:28 +08:00
Jackson Harper
45fcde8ebc Update redis config 2024-01-16 21:25:34 +08:00
Jackson Harper
bca68372c9 Fix cert import 2024-01-16 21:25:34 +08:00
Jackson Harper
181c0253cb Update docker base image 2024-01-16 21:25:34 +08:00
Jackson Harper
2f2206707a redis config 2024-01-16 21:25:34 +08:00
Jackson Harper
362f87bb09 Clean up 2024-01-16 21:25:34 +08:00
Jackson Harper
b136d5c4bc Refactor 2024-01-16 21:25:34 +08:00
Jackson Harper
4ecb47f80f Use yaml escaping in the cert file 2024-01-16 21:25:34 +08:00
Jackson Harper
a36a516f04 Add some more debugging 2024-01-16 21:25:34 +08:00
Jackson Harper
154ccfe787 More init debugging 2024-01-16 21:25:34 +08:00
Jackson Harper
77e09954cd More init debugging 2024-01-16 21:25:34 +08:00
Jackson Harper
1559514c61 Await on secrets loading 2024-01-16 21:25:34 +08:00
Jackson Harper
78c1590ed7 Temp logging 2024-01-16 21:25:34 +08:00
Jackson Harper
0af8c47cfc Add ioredis package explicitly 2024-01-16 21:25:34 +08:00
Jackson Harper
b3616af783 Add ioredis 2024-01-16 21:25:34 +08:00
Jackson Harper
9144264020 Use redis connection 2024-01-16 21:25:34 +08:00
Jackson Harper
2f3e2d98d8 Fix instantiation 2024-01-16 21:25:34 +08:00
Jackson Harper
273e593a93 Fix init of queue workers 2024-01-16 21:25:34 +08:00
Jackson Harper
d98c2c2cf5 Redis config 2024-01-16 21:25:34 +08:00
Jackson Harper
1af4bf6928 Add bull admin panel 2024-01-16 21:25:34 +08:00
Jackson Harper
b4ce07efd3 Better handling of cases when redis isnt configured 2024-01-16 21:25:34 +08:00
Jackson Harper
d29c26d93b Some redis setup 2024-01-16 21:25:34 +08:00
Jackson Harper
fc25d6d615 Enqueue rss-refresh-feed jobs in bull 2024-01-16 21:25:31 +08:00
Jackson Harper
9c3f241c24
Merge pull request #3378 from omnivore-app/fix/replace-redis-library
replace redis client library with ioredis
2024-01-16 21:23:30 +08:00
Hongbo Wu
150a456c35 replace redis client library with ioredis 2024-01-16 15:42:50 +08:00
Hongbo Wu
2bf5dcfa06
Merge pull request #3376 from omnivore-app/fix/smart-quotes
fix smart quotes not tokenized correctly
2024-01-16 13:55:10 +08:00
Hongbo Wu
55337ecca3 fix tests 2024-01-16 13:44:53 +08:00
Hongbo Wu
842b2304c3 fix smart quotes not tokenized correctly 2024-01-16 12:31:15 +08:00
Hongbo Wu
8dd5e16e74
Merge pull request #3375 from omnivore-app/fix/extend-cache-ttl
extend ttl of the saved item cache to 26 hours
2024-01-16 12:29:40 +08:00
Hongbo Wu
1e05f7dade log error 2024-01-16 12:17:07 +08:00
Hongbo Wu
5141c2a042 do not retry saving following items if item is saved 2024-01-16 12:15:21 +08:00
Hongbo Wu
816019e6a3 extend ttl of the saved item cache to 26 hours 2024-01-16 11:17:21 +08:00
Hongbo Wu
5bd670ded4
Merge pull request #3364 from omnivore-app/fix/delete-user
fix: change user email address after user deleted account
2024-01-15 11:35:57 +08:00
Hongbo Wu
06067c1d66 fix tests 2024-01-15 11:26:40 +08:00
Hongbo Wu
bd612bd310 replace username too 2024-01-15 11:23:01 +08:00
Jackson Harper
5012d88ca5
Merge pull request #3365 from omnivore-app/fix/android-swipe-gesture
Fix issue with swipe to archive
2024-01-15 10:57:25 +08:00
Jackson Harper
9419edef18
Merge pull request #3346 from omnivore-app/dependabot/npm_and_yarn/follow-redirects-1.15.4
Bump follow-redirects from 1.15.1 to 1.15.4
2024-01-15 10:57:05 +08:00
Jackson Harper
8a865e4c72
Merge pull request #3353 from gannonlawlor/android/debug-package-name
Create a debug package name so release and debug can be on same device
2024-01-15 10:56:36 +08:00