Commit Graph

582 Commits

Author SHA1 Message Date
7d291f084b Merge all changes from main, update theming of Discover 2024-03-07 17:39:57 +01:00
c346ba8703 do not throw error if failed to find tokens 2024-03-06 11:47:17 +08:00
0e46dc2302 save dir in the database 2024-03-04 12:28:51 +08:00
e33cf465fe throw error if export-item job fails 2024-03-01 15:00:28 +08:00
2636524642 fix typo 2024-02-29 16:35:52 +08:00
c3e8173e5e fix search results for archived items which state is not archived 2024-02-29 16:34:55 +08:00
531f23fc4c Merge pull request #3591 from omnivore-app/feat/summaries
Summaries
2024-02-29 14:35:12 +08:00
3af62d5d89 fix typo 2024-02-28 17:13:11 +08:00
7567e3d0f6 * return only count if size is 0 because limit 0 is not allowed in typeorm 2024-02-28 16:57:15 +08:00
692a992e77 Remove some debug, clean up summaries 2024-02-28 15:18:23 +08:00
c20d8e6b4d Add summaries, display accont features 2024-02-28 15:14:32 +08:00
bbe6204b91 summaries 2024-02-28 15:12:09 +08:00
d26a2f403d replace segment with posthog 2024-02-26 16:47:04 +08:00
49d1ae5037 fix bug 2024-02-23 15:32:41 +08:00
f4b6e470f2 replace fetch_content with fetch_content_type as a enum: ALWAYS, NEVER, WHEN_EMPTY 2024-02-23 14:19:22 +08:00
61e9ab3a17 Merge pull request #3566 from omnivore-app/perf/optimize-slow-query
perf/optimize slow query
2024-02-23 12:53:05 +08:00
8ce7550582 create an index for upload_file_id in library_item table 2024-02-23 11:33:48 +08:00
7c7d594b91 use low priority queue if user saved 5 items in the last minute. previously it was created 2024-02-23 10:17:18 +08:00
f541b8f8ca export at most 1000 most recent items 2024-02-22 20:22:37 +08:00
fb576a58a0 initial export 2024-02-22 15:20:24 +08:00
f94267ee1a enqueue export job 2024-02-22 13:38:51 +08:00
34db7bb2d8 create a job for exporting item to integrations 2024-02-22 11:55:51 +08:00
8f39985f0f fix deleted labels and highlights are still searchable 2024-02-21 15:06:04 +08:00
51c1d33a09 fix tests 2024-02-21 14:55:49 +08:00
af24856603 resolve conflicts after rebasing 2024-02-21 14:29:21 +08:00
b1c45599f6 resolve conflicts after rebasing 2024-02-21 14:29:15 +08:00
eb895b49bf delete labels and highlights attached to the recreated item if the item was deleted before 2024-02-21 14:18:06 +08:00
abfa15e56f revert soft deletes all the labels and highlights attached to the deleted item 2024-02-21 14:16:21 +08:00
38ee6c1331 merge labels and highlights when saving a duplicate item 2024-02-21 14:16:20 +08:00
242e6e0fa3 delete all the labels and highlights attached to the item when item was deleted 2024-02-21 13:52:39 +08:00
26d05a2e6e delete the new item if it is different from the existing one 2024-02-19 11:47:09 +08:00
afd4d2a397 fix: duplicate key value violates unique constraint "library_item_pkey" by getting the item by user_id and md5(url) for update before upserting the item 2024-02-19 11:35:43 +08:00
03f89d890e fix tests 2024-02-08 10:42:37 +08:00
c1ba9b8017 fix tests 2024-02-08 10:15:05 +08:00
86f4553dd1 fix: duplicate key value violates unique constraint "library_item_pkey" 2024-02-07 20:41:34 +08:00
efd8119e02 reduce sql error 2024-02-06 16:53:32 +08:00
7e022e3294 reduce find user query 2024-02-06 16:53:32 +08:00
a37bfab348 update create article api 2024-02-06 16:53:32 +08:00
4eba7df84c always upsert library items 2024-02-06 16:53:32 +08:00
b68adc5983 fix tests 2024-02-02 17:05:09 +08:00
df2dbb2916 fix: find library item by url not using correct index 2024-02-02 16:46:13 +08:00
74783313da fix query 2024-02-02 16:18:41 +08:00
25e374f6ff fix: replace webhook endpoint with a bullmq job 2024-02-02 16:18:40 +08:00
5e49131fc2 Merge pull request #3470 from omnivore-app/fix/async-bulk-action
async bulk action on item count > 100 and create batch jobs
2024-02-02 16:00:12 +08:00
54a4022409 reduce size 2024-02-02 15:45:11 +08:00
e980be7771 skip test 2024-02-02 14:14:41 +08:00
26b7103f0b improve batch update 2024-02-02 13:13:18 +08:00
d339c5e8f1 Use the md5 index when looking up library items by original url 2024-02-02 13:08:00 +08:00
1bccf33320 add job_id and parent for tracking 2024-02-02 10:50:07 +08:00
702bd6c3c6 async bulk action on item count > 100 and create batch jobs 2024-02-01 17:44:30 +08:00