Commit graph

637 commits

Author SHA1 Message Date
Satindar Dhillon
65efb1ddf8 toggle local webview flag 2022-03-20 09:46:40 -07:00
Satindar Dhillon
7667dc27cd create new webview coordinator to manage webview 2022-03-20 09:29:06 -07:00
Satindar Dhillon
083ca05b3e remove unused css file and utility functions 2022-03-20 09:29:06 -07:00
Satindar Dhillon
4781ee4702 update reader conditionals so we use the right reader for pdf 2022-03-20 09:29:06 -07:00
Satindar Dhillon
d2287e93bd set local webview flag to false 2022-03-20 09:29:06 -07:00
Satindar Dhillon
6f7dd764dd use webviewmanager to resue webviews 2022-03-20 09:29:06 -07:00
Satindar Dhillon
5d58cd28bf add local webreader for apple apps 2022-03-20 09:29:06 -07:00
Satindar Dhillon
af0d732ab6
Merge pull request #270 from omnivore-app/chore/ios-version-bump
Bump ios version to 1.4.1
2022-03-19 08:54:35 -07:00
Satindar Dhillon
e876f618ed bump ios version to 1.4.1 2022-03-19 08:06:45 -07:00
Satindar Dhillon
665ce1d754
Merge pull request #263 from omnivore-app/fix/remove-theme-duplicates
Remove extra theme objects in stitches config
2022-03-18 17:55:15 -07:00
Jackson Harper
efc9a30d1e
Merge pull request #264 from omnivore-app/fix/elastic-update-conflict
Fix/elastic update conflict
2022-03-18 16:33:45 -07:00
Hongbo Wu
705ebffff3 only refresh items on home feed 2022-03-18 17:08:47 +08:00
Hongbo Wu
4c535147f1 round reading progress to 100% if more than that
round reading progress to 100% if more than that

round reading progress to 100% if more than that
2022-03-18 14:56:49 +08:00
Hongbo Wu
17edc482f6 update debounce timeout to be 2 seconds 2022-03-18 14:06:58 +08:00
Hongbo Wu
365859bb63 import lodash 2022-03-18 12:30:06 +08:00
Hongbo Wu
1218bb0afd use lodash debounce the api call to save reading progress 2022-03-18 12:20:45 +08:00
Hongbo Wu
77050905a5 retry max three times if update labels is conflicted 2022-03-18 10:39:11 +08:00
Hongbo Wu
9d8d2e40d7 reduce time to save reading progress in elastic update 2022-03-18 10:29:01 +08:00
Hongbo Wu
ac567f7e71 retry max three times if update is conflicted 2022-03-18 10:17:20 +08:00
Hongbo Wu
7650a12be3
fix reading progress not updated after reading by updating cache (#258) 2022-03-18 09:58:08 +08:00
Jackson Harper
7910565dbf
Merge pull request #251 from omnivore-app/fix/jsonld-encoding
Use html decoding when getting values from fetched oembed
2022-03-17 16:53:21 -07:00
Satindar Dhillon
c8352576f2 remove extra theme objects in stitches config 2022-03-17 14:39:22 -07:00
Satindar Dhillon
dd70bc4a53
Merge pull request #262 from omnivore-app/fix/list-view-zstack-bug
Fix link card z axis layers
2022-03-17 12:28:02 -07:00
Satindar Dhillon
66c54569c8 fix link card z layers 2022-03-17 12:22:47 -07:00
Jackson Harper
0e1690d9f5
Merge pull request #246 from omnivore-app/fix/process-pool
Use a single process pool for all webviews
2022-03-17 11:44:43 -07:00
Jackson Harper
504e20f926
Merge pull request #259 from omnivore-app/fix/docker-compose-elastic
Add ELASTIC_URL env var to docker-compose
2022-03-17 11:32:57 -07:00
Jackson Harper
469c0ed764 Add ELASTIC_URL env var to docker-compose
This should fix startup of the API server in docker-compose.
2022-03-17 09:28:34 -07:00
Hongbo Wu
563131ea23
Fix/newsletter label not add (#256)
* default sort by savedAt to avoid recent read page to appear on top of the list

* revert lint on generated code

* fix elastic update script syntax error
2022-03-17 13:22:38 +08:00
Hongbo Wu
a2ce98229e
default sort by savedAt to avoid recent read page to appear on top of… (#254)
* default sort by savedAt to avoid recent read page to appear on top of the list

* revert lint on generated code
2022-03-17 10:54:00 +08:00
Hongbo Wu
af037a2837
make readingProgress required in the elastic page data (#253)
* make readingProgress required in the elastic page data

* delete readingProgress from function_resolvers because we have stored them in elastic
2022-03-17 10:06:21 +08:00
Jackson Harper
ff1200f3a1 Use html decoding when getting values from fetched oembed
If we fetch oembed data from an external source, instead of
handling it in readabilityjs we need to html decode it.
2022-03-16 15:29:42 -07:00
Jackson Harper
46f9306e17
Merge pull request #249 from omnivore-app/fix/elastic-reading-progress-nulls
Fix/elastic reading progress nulls
2022-03-16 14:35:45 -07:00
Jackson Harper
89f3719ba3 Fix linting 2022-03-16 14:23:39 -07:00
Jackson Harper
3d5a61285c
Merge pull request #247 from omnivore-app/fix/app-scrolling
In /app use the window to scroll to initial read position
2022-03-16 14:07:16 -07:00
Jackson Harper
0314d8cf17 Add some extra logging 2022-03-16 13:53:55 -07:00
Jackson Harper
dc27c0c7a4 Return 0 if looking up page reading progress fails 2022-03-16 13:33:36 -07:00
Jackson Harper
bef3dbd23a
Merge pull request #248 from omnivore-app/fix/elastic-reading-progress-nulls
Remove function handlers for reading progress
2022-03-16 13:18:29 -07:00
Jackson Harper
27143cbedf Remove function handlers for reading progress
These shouldn't be needed anymore because the values are stored
in elastic.
2022-03-16 13:11:36 -07:00
Jackson Harper
463e569e57 In /app use the window to scroll to initial read position
There isn't a scrollElementRef in `/app` because there is no
fixed header, so this will scroll the entire document instead.
2022-03-16 12:47:28 -07:00
Jackson Harper
88103cba9f
Merge pull request #162 from omnivore-app/dependabot/npm_and_yarn/apollo-datasource-3.3.1
Bump apollo-datasource from 0.7.3 to 3.3.1
2022-03-16 11:03:26 -07:00
Jackson Harper
aa2d107f97
Merge pull request #231 from omnivore-app/dependabot/npm_and_yarn/typeorm-0.2.45
Bump typeorm from 0.2.37 to 0.2.45
2022-03-16 10:44:04 -07:00
Jackson Harper
a58ccb7f14 Use a single process pool for all webviews
This is a first step to improving our caching on iOS.
2022-03-16 10:29:14 -07:00
Jackson Harper
a7c4659d90
Merge pull request #234 from omnivore-app/dependabot/npm_and_yarn/radix-ui/react-dialog-0.1.7
Bump @radix-ui/react-dialog from 0.1.5 to 0.1.7
2022-03-16 09:06:02 -07:00
Jackson Harper
3b9e1d36ae
Merge pull request #245 from omnivore-app/feature/add-label-to-newsletters
add Newsletter label to the page created by newsletters email
2022-03-16 08:59:24 -07:00
Hongbo Wu
07dcd5da26 add label to page only if not exists 2022-03-16 23:00:37 +08:00
Satindar Dhillon
39b19da07f
Merge pull request #243 from omnivore-app/chore/update-swift-five-six
Update to Swift 5.6
2022-03-16 07:53:37 -07:00
Hongbo Wu
1c4dcd7b00 automatically update updatedAt when page is updated in elastic 2022-03-16 22:28:39 +08:00
Hongbo Wu
f412758040 add Newsletter label to the page created by newsletters email 2022-03-16 18:40:05 +08:00
Hongbo Wu
27157006c1
use private bucket to upload page events (#244)
* use private bucket to upload page events

* fix tests

* add GCS_UPLOAD_PRIVATE_BUCKET in test env

* allow GCS_UPLOAD_PRIVATE_BUCKET to be empty
2022-03-16 14:39:07 +08:00
Jackson Harper
48e0a69931
Merge pull request #233 from omnivore-app/dependabot/npm_and_yarn/phosphor-react-1.4.1
Bump phosphor-react from 1.4.0 to 1.4.1
2022-03-15 22:13:44 -07:00