Commit Graph

1676 Commits

Author SHA1 Message Date
fd74ebffa2 validate feed item url and convert relative url to absolute url 2024-01-24 13:15:46 +08:00
6f3fccfcd0 mark subscription as error if item was failed 2024-01-24 13:09:43 +08:00
3cb7c38e7f update refreshed_at when feed is processed 2024-01-24 12:12:26 +08:00
68a4fb298d add refreshedAt to the gql schema 2024-01-24 12:03:26 +08:00
58d41951c2 Dont not fetch content for medium.com rss feeds
All these are blocked
2024-01-24 02:11:39 +08:00
f8264bfc10 Hard code tweet url to avoid import 2024-01-23 23:45:28 +08:00
c1d5ec722f do not encode url when getting file data 2024-01-23 22:06:27 +08:00
d4e487e181 set the state to failed if content is not fetched 2024-01-23 21:50:10 +08:00
47da6fb3dc Merge pull request #3421 from omnivore-app/fix/title
fix: do not throw error if title is undefined in cache
2024-01-23 19:33:22 +08:00
5495ad782e fix: do not throw error if title is undefined in cache 2024-01-23 19:19:46 +08:00
8f5d4ae8a0 fix: catch rejected promise if it is in a try-catch block 2024-01-23 18:45:46 +08:00
567ce172e6 make title optional for cache in save-page job 2024-01-23 16:55:17 +08:00
9f7669b010 fix: do not use encoded url as cache key 2024-01-22 16:49:05 +08:00
21405e6328 Fix await 2024-01-22 15:48:15 +08:00
e407db914a Add new job for handling upload content 2024-01-22 15:36:46 +08:00
3e0f8c884e Merge pull request #3404 from omnivore-app/debug/extra-logging
Add logging to save_page service
2024-01-22 13:59:19 +08:00
6dd4f49c2f Add logging to save_page service 2024-01-22 13:32:17 +08:00
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