Commit Graph

6869 Commits

Author SHA1 Message Date
dd01202374 do not cache some urls 2024-07-05 19:46:18 +08:00
728059c6f8 do not cache some urls 2024-07-05 19:05:36 +08:00
81fbaf9807 inject fingerprint 2024-07-05 18:52:20 +08:00
eee38fcbb9 Merge pull request #4153 from omnivore-app/fix/intercom
have separate intercom secret in env var and return the hash based on the client
2024-07-05 18:00:05 +08:00
76ebfbd305 create separate intercom secret and return the hash based on the client 2024-07-05 17:03:27 +08:00
e2edaa678b Merge pull request #4149 from omnivore-app/feat/ml-score-v3
V3 scoring model, add prom monitoring
2024-07-05 16:58:00 +08:00
59852a1565 Throw if we cant sign the request 2024-07-05 16:43:29 +08:00
6a201018b1 Fix promise 2024-07-05 15:20:45 +08:00
a7ca844220 Add authorization to digest-score 2024-07-05 14:59:16 +08:00
a6653414e8 fix: use software graphic rendering instead of gpu and reduce browser launch timeout to 10 seconds 2024-07-05 12:13:00 +08:00
1eb1d25960 remove specific user-data-dir 2024-07-04 19:34:23 +08:00
38a3e03780 improve args 2024-07-04 19:32:11 +08:00
b38b28c75e create a browser singleton instance and checks browser existence before creating context 2024-07-04 19:12:42 +08:00
e3ffafd623 Merge pull request #4142 from omnivore-app/fix/score-client
increase score api timeout to 20 seconds
2024-07-04 18:01:47 +08:00
f0016eec38 copy utils in docker 2024-07-04 16:59:08 +08:00
8c2a59eb1f Merge pull request #4140 from omnivore-app/use-omnivore-utils
use omnivore utils
2024-07-04 16:25:16 +08:00
649463b785 only disconnect redis message queue client if it is different from cache client 2024-07-04 16:09:32 +08:00
e1694c98ee Merge pull request #4135 from omnivore-app/feat/original-url-feature
Add original_url to score service calls
2024-07-04 13:12:39 +08:00
0a1b7345e9 add timeout 2024-07-04 12:56:28 +08:00
e9dcdc6dd1 fix: word count in CJK languages 2024-07-04 12:28:01 +08:00
56032b0765 increase score api timeout to 20 seconds 2024-07-04 10:32:09 +08:00
04868c1fd9 fix: sort by highlight location when highlight position is equal 2024-07-03 20:55:14 +02:00
547dccab64 refactor: use common sortHighlights function 2024-07-03 20:47:27 +02:00
d9596baecc fix tests 2024-07-03 22:24:09 +08:00
bbc7b5e600 use @omnivore/utils in import-handler 2024-07-03 22:20:27 +08:00
59c826fd5e use @omnivore/utils in content-fetch 2024-07-03 21:58:22 +08:00
0800a1661e use @omnivore/utils in text-to-speech-handler 2024-07-03 21:48:07 +08:00
b1ba2d3f26 fix Dockerfile 2024-07-02 15:25:51 +08:00
edefa988e7 fix tests 2024-07-02 15:00:51 +08:00
0d15833511 update inbound-email-handler to use @omnivore/utils to create redis connection 2024-07-02 14:59:42 +08:00
4844f9eac2 fix pdf handler sends update-content-job to the wrong redis 2024-07-02 14:43:46 +08:00
b23e257206 Add original_url to score service calls 2024-07-02 13:58:15 +08:00
a680cbc9c9 show an error message on web if notion database is not found 2024-07-01 18:11:08 +08:00
ee70f6603a return not_found if database is not found in notion 2024-07-01 17:42:19 +08:00
67af18a105 fix: returns a stub score (0) in case score api throws an error 2024-07-01 15:27:16 +08:00
70829a6b88 remove initial observation 2024-07-01 12:08:56 +08:00
ad88cbaea8 observe failed digest-score api call lantency in prometheus too 2024-07-01 12:05:48 +08:00
550cef241c observe digest-score api lantency in prometheus 2024-07-01 12:01:42 +08:00
9f7065c5c3 do not update library item score if 0 2024-07-01 11:51:57 +08:00
6bb11ce99b fix: returns a stub score (0) in case score api throws an error 2024-07-01 11:02:42 +08:00
0dada2d708 fix: digest score api timeout = 5 seconds 2024-06-28 16:38:00 +08:00
a7ba02e063 Merge pull request #4117 from omnivore-app/fix/use-read-replica
fix/use read replica for RLS enabled transactions
2024-06-28 15:13:26 +08:00
a06f1a243c fix tests 2024-06-28 12:37:45 +08:00
8bc05dad03 fix tests 2024-06-28 11:56:28 +08:00
a3ba8573b7 fix: validate ownership of library item before assigning labels to the item 2024-06-28 11:53:20 +08:00
3ad826392e use digest-score service 2024-06-27 20:55:04 +08:00
822f249fb1 cont 2024-06-27 19:10:50 +08:00
2ed480bb49 use read replica for selecting library items, labels and highlights 2024-06-27 19:02:15 +08:00
fb3d2eada6 use primary and replica instead of master and slave 2024-06-27 18:42:42 +08:00
0830f0b312 allow defining replica mode in the auth transaction 2024-06-27 18:38:43 +08:00