Commit graph

11397 commits

Author SHA1 Message Date
Jackson Harper
2223fde82c
Merge pull request #4134 from omnivore-app/release/android-0.218.0
Android release 0.218.0
2024-07-02 13:52:26 +08:00
Jackson Harper
2802e7f94b
Merge pull request #4127 from omnivore-app/fix/digest-score-initial-load
Refresh data outside of main because flask loads this script in production
2024-07-02 13:52:09 +08:00
Jackson Harper
b0103965f2 Android release 0.218.0 2024-07-02 13:46:40 +08:00
Jackson Harper
2f9e107043
Merge pull request #4129 from omnivore-app/feat/android-offline-pdf
WIP: download android PDFs for offline to internal storage
2024-07-02 11:33:11 +08:00
Hongbo Wu
e90a02be0d
Merge pull request #4132 from omnivore-app/dependabot/npm_and_yarn/bullmq-5.8.3
Bump bullmq from 5.1.3 to 5.8.3
2024-07-02 10:13:38 +08:00
dependabot[bot]
1ffcebd0b4
Bump bullmq from 5.1.3 to 5.8.3
Bumps [bullmq](https://github.com/taskforcesh/bullmq) from 5.1.3 to 5.8.3.
- [Release notes](https://github.com/taskforcesh/bullmq/releases)
- [Commits](https://github.com/taskforcesh/bullmq/compare/v5.1.3...v5.8.3)

---
updated-dependencies:
- dependency-name: bullmq
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-01 21:17:24 +00:00
Jackson Harper
09db09f85d Skip download of PDFs that are already downloaded 2024-07-01 23:56:00 +08:00
Hongbo Wu
d3042db6d7
Merge pull request #4130 from omnivore-app/fix/notion
fix: a better error message on web if notion database is not found
2024-07-01 22:40:50 +08:00
Jackson Harper
8e4e49e151 WIP: download android PDFs for offline to internal storage 2024-07-01 18:12:38 +08:00
Hongbo Wu
a680cbc9c9 show an error message on web if notion database is not found 2024-07-01 18:11:08 +08:00
Hongbo Wu
ee70f6603a return not_found if database is not found in notion 2024-07-01 17:42:19 +08:00
Jackson Harper
a5a4974de9 Refresh data outside of main because flask loads this script in production 2024-07-01 16:12:33 +08:00
Hongbo Wu
b3c2e34c10
Merge pull request #4126 from omnivore-app/fix/digest-score-client-fallback
fix: returns a stub score (0) for "each item" in case score api throws an error
2024-07-01 15:39:10 +08:00
Hongbo Wu
67af18a105 fix: returns a stub score (0) in case score api throws an error 2024-07-01 15:27:16 +08:00
Jackson Harper
08c884b793
Merge pull request #4045 from omnivore-app/dependabot/npm_and_yarn/grpc/grpc-js-1.8.22
Bump @grpc/grpc-js from 1.8.21 to 1.8.22
2024-07-01 14:02:45 +08:00
Jackson Harper
966d75f290
Merge pull request #4053 from omnivore-app/dependabot/npm_and_yarn/pkg/admin/braces-3.0.3
Bump braces from 3.0.2 to 3.0.3 in /pkg/admin
2024-07-01 14:02:00 +08:00
Jackson Harper
2edbd0a66f
Merge pull request #4125 from omnivore-app/fix/ios-18-viewer
Update deps to resolve iOS18 issues
2024-07-01 14:01:33 +08:00
Jackson Harper
8ccce365e4 Update deps to resolve iOS18 issues 2024-07-01 13:54:14 +08:00
Hongbo Wu
01f0f4d398
Merge pull request #4124 from omnivore-app/fix/digest-score-client
fix: returns a stub score (0) in case score api throws an error
2024-07-01 12:21:50 +08:00
Hongbo Wu
70829a6b88 remove initial observation 2024-07-01 12:08:56 +08:00
Hongbo Wu
ad88cbaea8 observe failed digest-score api call lantency in prometheus too 2024-07-01 12:05:48 +08:00
Hongbo Wu
550cef241c observe digest-score api lantency in prometheus 2024-07-01 12:01:42 +08:00
Hongbo Wu
9f7065c5c3 do not update library item score if 0 2024-07-01 11:51:57 +08:00
Hongbo Wu
6bb11ce99b fix: returns a stub score (0) in case score api throws an error 2024-07-01 11:02:42 +08:00
Hongbo Wu
ba28e54f7c
Merge pull request #4119 from omnivore-app/fix/digest-score-timeout
fix: digest score api timeout = 5 seconds
2024-06-28 16:49:10 +08:00
Hongbo Wu
0dada2d708 fix: digest score api timeout = 5 seconds 2024-06-28 16:38:00 +08:00
Hongbo Wu
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
Hongbo Wu
d5778e8afe
Merge pull request #4118 from omnivore-app/fix/save-labels
fix/save labels
2024-06-28 12:39:09 +08:00
Hongbo Wu
a06f1a243c fix tests 2024-06-28 12:37:45 +08:00
Hongbo Wu
8bc05dad03 fix tests 2024-06-28 11:56:28 +08:00
Hongbo Wu
a3ba8573b7 fix: validate ownership of library item before assigning labels to the item 2024-06-28 11:53:20 +08:00
Hongbo Wu
3ad826392e use digest-score service 2024-06-27 20:55:04 +08:00
Hongbo Wu
822f249fb1 cont 2024-06-27 19:10:50 +08:00
Hongbo Wu
2ed480bb49 use read replica for selecting library items, labels and highlights 2024-06-27 19:02:15 +08:00
Hongbo Wu
fb3d2eada6 use primary and replica instead of master and slave 2024-06-27 18:42:42 +08:00
Hongbo Wu
0830f0b312 allow defining replica mode in the auth transaction 2024-06-27 18:38:43 +08:00
Hongbo Wu
17eb5efa37 resolve conflicts 2024-06-27 17:16:17 +08:00
Hongbo Wu
45986184c4 tidy 2024-06-27 17:12:45 +08:00
Hongbo Wu
1168d12018 use read replica for raw query 2024-06-27 17:10:58 +08:00
Hongbo Wu
84953198fe
Merge pull request #4114 from omnivore-app/fix/read-replica
fix/read replica
2024-06-26 17:38:53 +08:00
Hongbo Wu
7f483c693f
Merge pull request #4115 from omnivore-app/fix/empty-home-feed
return empty array if no candidates for home feed selection
2024-06-26 17:33:02 +08:00
Hongbo Wu
19a603db8a update setup.sh 2024-06-26 17:26:06 +08:00
Hongbo Wu
329dd13ed2 return empty array if no candidates for home feed selection 2024-06-26 17:19:08 +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
bc6a09798b fix read replica not being used 2024-06-26 16:11:34 +08:00
Hongbo Wu
0122ba0742 add postgres-replica to the docker-compose 2024-06-26 16:11:10 +08:00
Jackson Harper
0276c4683b
Merge pull request #4113 from omnivore-app/feat/ml-refresh
Add internal function for refreshing features and model
2024-06-26 13:45:20 +08:00
Jackson Harper
da42357e95 Add internal function for refreshing features and model 2024-06-26 12:03:18 +08:00
Hongbo Wu
0923344fb6
Merge pull request #4112 from omnivore-app/rename-db-config
rename slave to replica in db config
2024-06-26 11:48:05 +08:00