Commit Graph

411 Commits

Author SHA1 Message Date
d5d581fc54 remove redundant logs 2024-01-29 14:32:43 +08:00
30fef30384 resolve conflicts 2024-01-26 20:32:56 +08:00
e03895c8b7 enqueue trigger rule job once page is created or updated 2024-01-26 17:46:17 +08:00
7556c6da5f move trigger rule into a job 2024-01-26 17:45:40 +08:00
52419c39da resolve conflicts 2024-01-26 13:01:53 +08:00
7e89235806 update content-fetch 2024-01-26 13:01:53 +08:00
4c765378e3 do not retry if find_thumbnail job fails 2024-01-26 13:01:53 +08:00
e54c691c09 create a job for finding thumbnail 2024-01-26 13:01:51 +08:00
fd7c2ffb49 fix code blocks not formatted correctly in articles from wechat official accounts 2024-01-25 16:30:59 +08:00
dae90aaffa fix code blocks not formatted correctly 2024-01-25 16:30:59 +08:00
5e239d2568 run readability in save-page instead of puppeteer 2024-01-25 16:30:59 +08:00
68a4fb298d add refreshedAt to the gql schema 2024-01-24 12:03:26 +08:00
8f5d4ae8a0 fix: catch rejected promise if it is in a try-catch block 2024-01-23 18:45:46 +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
db3d7dca36 Add missing file 2024-01-21 07:43:50 +08:00
2961f69f02 Add a refresh context to make debugging rss jobs easier 2024-01-20 09:47:46 +08:00
84375b7c36 Add validation before refreshing feed URLs 2024-01-19 16:25:05 +08:00
fb28d7b3d1 Enqueue new feeds at front 2024-01-18 14:34:07 +08:00
9e6b749604 Update error message 2024-01-17 16:21:42 +08:00
e1e2f86219 Remove duplicated error 2024-01-17 16:20:42 +08:00
7a925f3fdc Clean up redis code, remove connection close in job 2024-01-17 11:14:59 +08:00
50b48a4225 Separate worker and client code for redis connections 2024-01-16 23:21:48 +08:00
7c8304ac15 Fix client imports 2024-01-16 22:08:30 +08:00
e050864a91 Add more debugging 2024-01-16 21:30:17 +08:00
62fdb866a8 Add some extra logging 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
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
816019e6a3 extend ttl of the saved item cache to 26 hours 2024-01-16 11:17:21 +08:00
ccd4f2d3f0 catch redis client error and continue the process 2024-01-05 15:20:42 +08:00
bcd05cc7fc set the url in redis when an item is inserted into db 2024-01-04 18:10:14 +08:00
6e73b10771 if the query contains includes:, we want to search in all folders 2024-01-03 17:38:12 +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
22778af285 run readability on the preview content 2023-12-19 10:41:20 +08:00
97735d0633 make existing newsletters go to inbox folder 2023-12-18 16:08:36 +08:00
f2c468f906 allow setting fetchContent and folder when subscribe to a feed 2023-12-14 16:32:48 +08:00
b3d0bb9ed7 return absolute feed url 2023-12-11 14:14:54 +08:00
9f59d09c20 validate and return rss feed if the url is an rss feed url 2023-12-11 13:46:35 +08:00
3759e10615 fix feed url in pdf file not saved 2023-12-08 11:29:02 +08:00
07d8c72972 create a standalone version of liqe 2023-12-07 18:47:25 +08:00
bf8d081161 wrap non-english words in quotes 2023-12-07 17:59:45 +08:00
d42f257f9e fix searching for multiple labels in iOS 2023-12-06 21:09:30 +08:00
4ec16a1752 fix parenthesized expression 2023-12-06 14:02:23 +08:00
c8bd953cf3 capture the right value of the rss feed url in search string 2023-12-06 10:46:15 +08:00
e6322ffaf8 remove unused code 2023-12-05 13:04:07 +08:00
3c67d1911c fix tests 2023-12-05 12:31:26 +08:00
88a61d962f parse sort parameter 2023-12-05 10:58:20 +08:00
a3d3f4daf4 feat: allow logical operator in search query 2023-12-05 10:58:18 +08:00
120fe19dab fix typo 2023-12-04 18:53:46 +08:00
824b8187af use system token in integration handler 2023-12-04 15:38:08 +08:00