Commit Graph

1836 Commits

Author SHA1 Message Date
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
6e32c1247d insert labels on name conflict do nothing 2023-12-29 16:11:11 +08:00
943db3332e Merge pull request #3276 from omnivore-app/fix/in-library
by default we want to search in the inbox if no in: is specified
2023-12-29 14:51:00 +08:00
cbb07318e5 get the unchanged result set of sub query by checking updated_at 2023-12-29 12:53:49 +08:00
b5d84098d0 increase batch size to 100 2023-12-29 09:53:23 +08:00
de027ee93f use cursor and fetch instead of limit and offset because the subquery result set could change during update 2023-12-29 09:53:23 +08:00
55518139fb generate raw sql because postgres does not support prepared statements in DO blocks 2023-12-29 09:53:23 +08:00
1079a19cd9 execute update query in batch to avoid slow bulk action query 2023-12-29 09:53:23 +08:00
881626d35a fix type of highlight is null from update since api 2023-12-28 16:55:23 +08:00
2b886d7e68 return highlights in update since api response 2023-12-28 14:03:07 +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
c21ba9e11f fix tests 2023-12-22 17:12:24 +08:00
ccec94dae0 insert labels only if name unique 2023-12-22 15:14:07 +08:00
c939735678 remove invalid-url error from subscribing feed 2023-12-22 09:51:27 +08:00
f6e04daf60 return invalid url if feed url is different from user provided url 2023-12-22 09:05:43 +08:00
696de8ea50 check both user provided url and parsed feed url when looking for existing subscription 2023-12-22 08:08:15 +08:00
db28bbd0f9 fix invalid unknown item type 2023-12-20 11:51:19 +08:00
0a4758105a feat: update newsletter email api 2023-12-20 11:29:10 +08:00
e4b6cba2ff Merge pull request #3261 from omnivore-app/feature/add-state-for-non-fetch-content
feature/add state for non fetch content
2023-12-19 18:30:13 +08:00
92aa11b98e add fetchContent api 2023-12-19 18:05:02 +08:00
07b96c46d5 fix tests 2023-12-19 17:45:12 +08:00
b5f82d448e return folder when newsletter email api is called 2023-12-19 14:52:30 +08:00
8e77c047bd add endpoint to prune items from folder older than some days 2023-12-19 14:25:55 +08:00
22778af285 run readability on the preview content 2023-12-19 10:41:20 +08:00
b1aca117f4 if fetch_content is false, set the state to content_not_fetched and use preview content 2023-12-19 10:41:20 +08:00
6f1ef075c6 add content_not_fetched state for items saved without content fetched 2023-12-19 10:41:20 +08:00
15dc05ca1a fix sending rss feed to inbox folder 2023-12-18 19:52:44 +08:00
55ed5a0a80 fix typo 2023-12-18 16:20:40 +08:00
97735d0633 make existing newsletters go to inbox folder 2023-12-18 16:08:36 +08:00
7a2cf6c6fe fix sort by word count not working 2023-12-18 10:40:10 +08:00
58f16ec62c Merge pull request #3247 from omnivore-app/feature/feeds
feat: fetch content and folder settings for newsletters and subscriptions
2023-12-15 16:46:02 +08:00
d579a8f907 not throw error if sort keyword not found 2023-12-15 13:31:22 +08:00
f915c18dfa allow plural and singular form for has/no filter 2023-12-15 13:18:25 +08:00
42749c5a32 throw error if sort column not exists 2023-12-15 11:47:00 +08:00
b86ee139e0 move to folder api will create a task to fetch content if content not exists 2023-12-14 19:20:03 +08:00
83e0982457 save newsletters to the right folder get from subscription and email settings 2023-12-14 18:53:32 +08:00
f7ec0220a8 allow setting folder when creating a new email 2023-12-14 17:48:02 +08:00
32f99d7b07 allow updating folder and fetch content settings for subscriptions 2023-12-14 17:27:38 +08:00
a257147fc5 fetch following item content only when required 2023-12-14 17:25:55 +08:00
f2c468f906 allow setting fetchContent and folder when subscribe to a feed 2023-12-14 16:32:48 +08:00
d67b974367 add fetch_content and folder column to the subscriptions table and folder column to newsletter_emails table 2023-12-14 15:41:54 +08:00
06e17e2eb8 return source of the labels tagged to an item 2023-12-14 10:40:18 +08:00
dcd6e8bb60 allow adding source of label when adding labels 2023-12-13 16:25:25 +08:00
56a7ae4dc1 add source column to entity_labels table 2023-12-13 14:35:24 +08:00
79baee56c6 Merge pull request #3242 from omnivore-app/fix/subscribe-api
fix/subscribe api
2023-12-12 20:01:40 +08:00