Commit Graph

1659 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
db8284dc0b Wait until backend queue is ready before putting jobs into it 2024-01-22 11:31:46 +08:00
f7b17cb93f Only create queue object once in queue processor 2024-01-22 11:27:13 +08:00
0f78419e1a Remove some debug 2024-01-22 11:26:59 +08:00
5964d827c8 fix tests 2024-01-22 11:04:11 +08:00
33c994ad5c Remove RSS feed task handler url as this handled with jobs now 2024-01-22 11:00:55 +08:00
a807a4a18e fix: do not throw error when creating duplicate item in db 2024-01-22 10:45:47 +08:00
9d3a183c45 Dont map label input 2024-01-21 15:44:41 +08:00
6cedffc249 Only require original content in savePageJob 2024-01-21 15:30:06 +08:00
202d19c9d3 Fix api status mapping 2024-01-21 14:11:53 +08:00
5393743c9d Fix imports of authorized function 2024-01-21 13:33:05 +08:00
56a8ef23b6 Remove authorized function from imported helpers
This creates some issues with init order when using the
queue processor.
2024-01-21 13:22:17 +08:00
eefceeb1ef Move checks to have the PDF check 2024-01-21 13:19:50 +08:00
9abd0a59da Clean up imports 2024-01-21 13:16:35 +08:00
db3d7dca36 Add missing file 2024-01-21 07:43:50 +08:00
a4e707075f Refactor savePage a bit to use it as a service from the jobs 2024-01-20 21:07:02 +08:00
2f405ebed0 Use savePage service instead of API call 2024-01-20 14:07:22 +08:00
3a18327230 Remove unused 2024-01-20 13:43:17 +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
e5dec228f3 Remove some debug 2024-01-20 12:46:22 +08:00
4eeb012b78 Pass lits of fetchContentTasks into rss handlers
This prevents the list from growing on each run
2024-01-20 11:36:14 +08:00
2b536c6086 Add more debug 2024-01-20 10:48:57 +08:00
52050728ba Add more debugging logs 2024-01-20 10:29:07 +08:00
f4af4593c2 Fix debug line 2024-01-20 10:04:54 +08:00
4c1a182c7f Add a refresh context to make debugging refresh runs easier 2024-01-20 09:50:21 +08:00
2961f69f02 Add a refresh context to make debugging rss jobs easier 2024-01-20 09:47:46 +08:00
a9eeda9369 Remove non-useful logging line 2024-01-20 09:23:45 +08:00
e9f22bba43 Some debug 2024-01-20 09:09:25 +08:00
780cda6e4b use worker redis client when connect to the queue in queue-processor 2024-01-19 20:44:54 +08:00
338733829f Merge pull request #3394 from omnivore-app/fix/cache-content-fetched
fix/cache content fetched
2024-01-19 18:16:05 +08:00
356ad38678 reduce logs 2024-01-19 18:01:09 +08:00
4340286b89 add retry on failure in jobs 2024-01-19 17:38:25 +08:00
defb79d8c8 Use let instead of var 2024-01-19 17:12:34 +08:00
51d5166321 get cached content from redis when saving pages 2024-01-19 17:06:37 +08:00
8ba1242ffb Back off refresh-all-feeds if queue is very deep 2024-01-19 16:59:41 +08:00
d2491d3eb7 Reduce refresh-all-feeds priority 2024-01-19 16:59:15 +08:00
e06ff24cea Fix logging 2024-01-19 16:44:20 +08:00
02818d94a2 Adjust priorities 2024-01-19 16:37:57 +08:00
35805e6e8f use user provided url for feed added 2024-01-19 16:28:37 +08:00
84375b7c36 Add validation before refreshing feed URLs 2024-01-19 16:25:05 +08:00
2dbff6a6ab Add some more debug output 2024-01-19 16:12:44 +08:00
0e590e53a6 Improve RSS priorities for refreshing feeds 2024-01-19 16:12:22 +08:00
d135a7fe6a Merge pull request #3391 from omnivore-app/fix/content-fetch-dockerfile
fix: build content-fetch in dockerfile
2024-01-19 12:45:19 +08:00
3d42973c5f fix api endpint 2024-01-19 12:36:15 +08:00
f03766d05b Fix construction of service endpoint
NEed to fix how we construct all these
2024-01-19 12:29:50 +08:00
c2a084803a validate feed url before adding 2024-01-18 21:56:19 +08:00
d2c17f7539 graceful shutdown redis 2024-01-18 21:52:33 +08:00