Commit graph

539 commits

Author SHA1 Message Date
Hongbo Wu
dee421d3c8 add hour rate limiter middleware to the api router and allows max 600 requests per hour 2024-07-24 16:24:49 +08:00
Hongbo Wu
3f76431c47 use new gpt-4o-mini openai model 2024-07-19 11:45:38 +08:00
Hongbo Wu
df3c16381a fix: revert home redirect path to /home 2024-07-16 12:47:41 +08:00
Jackson Harper
b6d0c2723d
Merge pull request #4188 from debanjandhar12/main
Add Amplenote origins to cors config
2024-07-12 13:54:34 +08:00
Hongbo Wu
3d791a7866
Merge pull request #4155 from omnivore-app/fingerprint
inject fingerprint
2024-07-11 14:24:07 +08:00
debanjandhar12
af48aa009e Add Amplenote origins to cors config 2024-07-10 20:00:39 +05:30
Hongbo Wu
8e5439fa7b generate random user-agent when fetching rss feed 2024-07-10 17:59:14 +08:00
Jackson Harper
9134a3325f Set default home redirect path 2024-07-09 15:29:34 +08:00
Hongbo Wu
e9dcdc6dd1 fix: word count in CJK languages 2024-07-04 12:28:01 +08:00
Hongbo Wu
1168d12018 use read replica for raw query 2024-06-27 17:10:58 +08:00
Hongbo Wu
a6ab96155d by default use info level for loggers 2024-06-26 16:19:13 +08:00
Hongbo Wu
818ad5a0bb log isReplicated for each query 2024-06-26 16:11:52 +08:00
Hongbo Wu
2e26a04cd0 remove redundant context type 2024-06-20 15:47:52 +08:00
Hongbo Wu
88e3d648c8 add a REST API to trigger the expire folder job 2024-06-13 18:36:33 +08:00
Hongbo Wu
6f496b9336 add folder expiration jobs 2024-06-13 18:30:27 +08:00
Hongbo Wu
9ef91ff1ca add an REST API to trigger the prune trash job 2024-06-13 14:48:14 +08:00
Hongbo Wu
71d07caf94 run prune trash job at 3am UTC daily 2024-06-12 19:27:42 +08:00
Hongbo Wu
46aa405552 remove timeout in highlight generator 2024-06-12 19:13:09 +08:00
Hongbo Wu
76383d8a33 feat: generate preview content if excerpt less than 180 chars 2024-06-06 19:08:41 +08:00
Hongbo Wu
c620ef38a2 clean up helpers 2024-06-06 12:08:15 +08:00
Hongbo Wu
efb7160373 rename just read feed to home 2024-05-27 21:11:08 +08:00
Hongbo Wu
88c25844b4 set priority = 10 for score job 2024-05-27 12:50:57 +08:00
Hongbo Wu
41b9fef316 score library item after saved 2024-05-27 11:45:51 +08:00
Hongbo Wu
3cb93283b0 add score library item job 2024-05-27 11:37:59 +08:00
Hongbo Wu
25a984dc6a check for existing job before enqueueing 2024-05-26 14:48:30 +08:00
Hongbo Wu
cb4fc23507 implement justReadFeed API 2024-05-23 22:07:19 +08:00
Hongbo Wu
8cfa24a847 allow downloading/uploading readable content 2024-05-15 21:46:22 +08:00
Hongbo Wu
396ada28b8 pre-cache thumbnail 2024-05-15 17:49:31 +08:00
Hongbo Wu
6d0edbd61a
Merge pull request #3839 from omnivore-app/feature/upload-original-content
feature/upload original content
2024-05-15 16:47:46 +08:00
Hongbo Wu
950b42899d fix mock cloud storage 2024-05-15 15:53:42 +08:00
Jackson Harper
c6bf64a648 Upgrade to gpt-4o 2024-05-15 11:44:23 +08:00
Hongbo Wu
9dee510be1 fix rss 2024-05-14 20:18:18 +08:00
Hongbo Wu
dbd7b7932f cont 2024-05-14 17:23:56 +08:00
Hongbo Wu
eddf9206d0 do not store original content in db 2024-05-14 17:15:51 +08:00
Hongbo Wu
7a0b2f3d33 upload file only not exists 2024-05-14 17:14:41 +08:00
Hongbo Wu
9286174ec7 upload and download original content from GCS 2024-05-14 17:14:40 +08:00
Hongbo Wu
6bb81dd5c3 skip uploading if file already exists 2024-05-11 11:30:41 +08:00
Hongbo Wu
6e7a436cea POST content API 2024-05-10 16:26:42 +08:00
Hongbo Wu
0f184c4c21 add get content api 2024-05-10 15:43:15 +08:00
Hongbo Wu
01ebcbb16b add bulk upload original content job 2024-05-10 14:37:05 +08:00
Hongbo Wu
4c48a44512 format summary of digest in library and email 2024-05-09 17:38:21 +08:00
Hongbo Wu
ab85805e24
Merge pull request #3926 from omnivore-app/feature/delete-task-api
feature/delete task api
2024-05-09 15:15:33 +08:00
Hongbo Wu
922adbae42 add delete digest api 2024-05-09 14:02:10 +08:00
Hongbo Wu
17708915d9 wrap content in <html><body> element 2024-05-09 11:46:01 +08:00
Hongbo Wu
e1990258f1 send analytic events for each digest channel 2024-05-09 11:38:45 +08:00
Jackson Harper
279874f319
Merge pull request #3917 from omnivore-app/fix/usernames-add-posts
Add posts and digest(s) to reserved names
2024-05-08 21:07:37 +08:00
Hongbo Wu
edf21c8078 add digest to the reserved username list 2024-05-08 17:08:53 +08:00
Jackson Harper
4169aa0f71 Add posts and digest(s) to reserved names 2024-05-08 16:14:57 +08:00
Hongbo Wu
31233d8348 get client from user-agent 2024-05-07 14:53:29 +08:00
Hongbo Wu
23eae7871a send client info to the analytics 2024-05-07 12:30:51 +08:00