Commit Graph

343 Commits

Author SHA1 Message Date
e3d70fc27d Merge pull request #4052 from omnivore-app/feature/prune-trash-items
feature/prune trash items
2024-06-13 17:58:18 +08:00
9ef91ff1ca add an REST API to trigger the prune trash job 2024-06-13 14:48:14 +08:00
30adbb735f fix typo in sql 2024-06-12 19:41:07 +08:00
71d07caf94 run prune trash job at 3am UTC daily 2024-06-12 19:27:42 +08:00
652e2cc564 More explicit default on migration 2024-06-12 19:16:39 +08:00
fb5ef3422c commit the delete query for each user in the loop to reduce lock time 2024-06-12 19:09:40 +08:00
755f483ba9 create a function to batch delete items in trash 2024-06-12 18:38:14 +08:00
dc6f5521dc Add migrations 2024-06-10 18:20:59 +08:00
76383d8a33 feat: generate preview content if excerpt less than 180 chars 2024-06-06 19:08:41 +08:00
e9f9f5dded add index for user_id column on highlight table 2024-06-06 17:33:42 +08:00
e131afc183 update API 2024-05-28 14:45:33 +08:00
57b28c39bf store topic as a ltree 2024-05-27 21:17:54 +08:00
80841bf9af add score to library_item table 2024-05-27 11:11:05 +08:00
67dac9ba31 add public item source 2024-05-26 14:41:38 +08:00
f2d2e852e1 grant db permission 2024-05-24 15:32:14 +08:00
a48a614676 save just read feed in redis sorted set 2024-05-24 14:52:21 +08:00
cb4fc23507 implement justReadFeed API 2024-05-23 22:07:19 +08:00
b058952c2d implement updateJustReadFeed job 2024-05-23 21:10:01 +08:00
06b89a88b3 update candidates selection 2024-05-23 15:48:30 +08:00
912fc566a9 add approved column and seen_at 2024-05-23 11:32:14 +08:00
85ee10c1c5 add tables for public inventory 2024-05-21 15:37:59 +08:00
8b1dc1494e Drop multiple-column index for user_id and state columns in library_item table since we create a new index for count covers them 2024-05-20 11:22:08 +08:00
62d4b613f4 add index for archived_at column 2024-05-18 21:29:12 +08:00
6592ac6a86 add digest_config column to the user_personalization table 2024-05-03 11:12:19 +08:00
6ce95194ee alter read_labels policy to check user_id 2024-04-16 11:41:19 +08:00
cd6f3e6bbe enforce usage limits for the API 2024-04-11 11:08:22 +08:00
289d750a05 add columns for reply_to and reply and create tables for tracking service usage and enforce limit according to the subscription plan 2024-04-11 11:08:22 +08:00
a1a3901ef6 update integration names 2024-04-04 12:19:18 +08:00
ffed903bb9 add data migration script 2024-04-04 12:19:18 +08:00
a344e5cd6a drop unique constraint on filter column in rules table 2024-04-04 12:17:15 +08:00
647a8f6e24 update the migration version number to resolve conflicts 2024-03-20 11:00:26 +08:00
9af4235233 skip failed to parse rules and show the timestamp in the UI 2024-03-20 10:35:58 +08:00
e47e169402 Merge branch 'main' into discover-no-ts-changes 2024-03-19 15:50:51 +08:00
3c0356a77f Move migrations 2024-03-14 18:11:46 +08:00
ef4dfcfb3a Remove migrations tsconfig changes 2024-03-12 11:04:00 +08:00
5705198ae5 Revert back to ADa 2024-03-07 17:47:57 +01:00
7d291f084b Merge all changes from main, update theming of Discover 2024-03-07 17:39:57 +01:00
1edf801b02 add settings jsonb column to the integrations 2024-03-05 16:13:50 +08:00
c20d8e6b4d Add summaries, display accont features 2024-02-28 15:14:32 +08:00
6b0cefe190 add representation column to the highlight table and gql schema which is either CONTENT or FEED_CONTENT 2024-02-23 17:14:52 +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
08e4bed146 rename preview_content to feed_content in library_item table and gql schema 2024-02-23 12:53:39 +08:00
8ce7550582 create an index for upload_file_id in library_item table 2024-02-23 11:33:48 +08:00
58e33cc4e0 fix tests 2024-02-23 11:17:37 +08:00
534b28c536 add an index for api key 2024-02-23 11:06:08 +08:00
fe2451cca7 remove unwanted line 2024-02-23 10:21:15 +08:00
aa96ccf50d create a multi-column index on user_id and state columns 2024-02-23 10:11:13 +08:00
23fc68e579 Add user_id to the subscriptions name index 2024-02-06 11:01:39 +08:00
8bf0f4d755 Add an index to the subscriptions name column 2024-02-06 10:54:21 +08:00
471998aed3 fix: drop db triggers which updates labels and highlights in library_item table for locking the table 2024-02-02 09:56:45 +08:00