Commit graph

7995 commits

Author SHA1 Message Date
Hongbo Wu
e1752bb176 uncomment testing code 2022-03-23 12:37:33 +08:00
Hongbo Wu
1b0399f286 add assertion of migrated data in python script 2022-03-23 12:09:25 +08:00
gitstart-omnivore
a56314c21a updated full url to relative url for learn more link 2022-03-22 23:37:44 +00:00
Jackson Harper
7b6c381ce2 Handle results from article actions in swift 2022-03-22 15:25:02 -07:00
gitstart-omnivore
8fbb976f8f Effected review corrections 2022-03-22 22:07:43 +00:00
gitstart-omnivore
2593596833 Merge commit '42e2beb53d89b333611f215e63d366034905bba6' into OMN-189 2022-03-22 22:06:44 +00:00
Jackson Harper
7f15f42358 Send mutation events from web to native 2022-03-22 14:13:17 -07:00
Jackson Harper
6daa599b76 Separate the mutations out of lower level components
This will let us handle the mutations differently on native
iOS and should help in avoiding making web calls directly from
the web view, so we can avoid CORs and introduce a caching
layer.
2022-03-22 13:58:39 -07:00
Satindar Dhillon
42e2beb53d
Merge pull request #295 from omnivore-app/feature/webview-highlights
Web Reader Highlights [Apple]
2022-03-22 12:05:17 -07:00
Satindar Dhillon
e85558114c use shared webview and remove message handlers before each use 2022-03-22 11:54:54 -07:00
Satindar Dhillon
6bb8f76f40 add createdByMe field to Highlight model 2022-03-22 11:51:45 -07:00
Jackson Harper
de162e705c
Merge pull request #292 from omnivore-app/elastic-doc
add elastic doc in README
2022-03-22 11:05:51 -07:00
Satindar Dhillon
1b6fb7ba93 create ArticleCOntent model 2022-03-22 08:03:03 -07:00
Satindar Dhillon
e28cf07666 pass highlights into webreader 2022-03-22 08:03:03 -07:00
Satindar Dhillon
cdefac0d50 add annotattion and safari modals to web reader 2022-03-22 08:03:03 -07:00
Satindar Dhillon
93a8d4a890 split reader code into files. remove unused code 2022-03-22 08:03:03 -07:00
Satindar Dhillon
3c283a5636 wire up archive and delete actions on web reader 2022-03-22 08:03:03 -07:00
Satindar Dhillon
fd9170788e remove font imports from appreader 2022-03-22 08:03:03 -07:00
Hongbo Wu
6597cc37b6 add created_at and updated_at to newsletter emails and sort by created_at desc 2022-03-22 18:43:47 +08:00
Hongbo Wu
acec3b1acb Use lower priority queue for large imports
* add a count query in elastic
  * if priority is not set, check the rate limit of user's libary
    - if 5 articles added in the last minute: use low queue
    - default: use normal queue
2022-03-22 18:08:08 +08:00
Hongbo Wu
7d19c933ac add elastic in README 2022-03-22 15:33:51 +08:00
Hongbo Wu
1893e36375
Fix uploading endpoint returns 504 (#289)
* add timeout = 60s for uploading to private bucket

* add debug logs

* send response to client to close connection

* add tests for upload

* add PUBSUB_VERIFICATION_TOKEN in .env.test
2022-03-22 14:20:40 +08:00
Hongbo Wu
3e9063c145
return empty content instead of null in search result (#291) 2022-03-22 13:34:44 +08:00
Satindar Dhillon
e63cdd44fa
Merge pull request #279 from omnivore-app/feature/apple-version-number
Add version string to profile/settings view
2022-03-21 22:15:48 -07:00
Hongbo Wu
bee3b3c6fa
fix article_id type mismatch (uuid => varchar) when saving highlights in postgres by setting article_id to be undefined (#285) 2022-03-22 11:48:01 +08:00
Hongbo Wu
4ca7c89622
format date string as yyyy-mm-dd (#288) 2022-03-22 11:46:39 +08:00
Hongbo Wu
c15efe6aad
Fix sentry log size error (#287)
* reduce sentry log size error by partially logging page created in elastic

* remove some debugging logs

* remove more debugging logs
2022-03-22 11:45:58 +08:00
gitstart-omnivore
1f517104ae [OMN-189] : Settings View - Emails 2022-03-22 02:15:04 +00:00
Jackson Harper
db22c0d6be
Merge pull request #261 from omnivore-app/experiment/appreader
Bundled appreader for iOS
2022-03-21 17:29:05 -07:00
Jackson Harper
fda2ae6916 Updated bundle.js 2022-03-21 15:42:43 -07:00
Satindar Dhillon
5b3be99a55 apply stored theme in appreader 2022-03-21 15:28:48 -07:00
Jackson Harper
1817b469e2 Disable the highlight bar in the embedded iOS reader 2022-03-21 15:22:18 -07:00
Jackson Harper
5bbc3308c3 Move index.html 2022-03-21 15:19:18 -07:00
Jackson Harper
059389bbe8 WIP: bundled appreader for iOS
Update webpack to bundle fonts and CSS

Remove special font handling

Add package.json

allow setting the article data on window so it can be set in index.html

Add window omnivoreArticle definition

Remove unused dependencies

remove unused copy-webpack plugin dep

Remove unused deps

Handle setting the environment dynamically from Swift

Remove unused deps

Remove more unused deps

Update index, dont use subfolders for fonts

Use a regex to replace font url patterns

Remove local apple changes
2022-03-21 15:08:10 -07:00
Jackson Harper
c24bc3b136
Merge pull request #284 from omnivore-app/fix/appreader-env-strings
Set the per environment env vars for the app reader
2022-03-21 14:51:23 -07:00
Jackson Harper
e06f264a87 Set the per environment env vars for the app reader 2022-03-21 14:42:55 -07:00
dependabot[bot]
783118a2e4
Bump @sentry/integrations from 5.30.0 to 6.19.1
Bumps [@sentry/integrations](https://github.com/getsentry/sentry-javascript) from 5.30.0 to 6.19.1.
- [Release notes](https://github.com/getsentry/sentry-javascript/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/master/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-javascript/compare/5.30.0...6.19.1)

---
updated-dependencies:
- dependency-name: "@sentry/integrations"
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-21 21:19:05 +00:00
Satindar Dhillon
a2a0b1f3de
Merge pull request #269 from omnivore-app/feature/apple-local-webview
Apple local webview
2022-03-21 14:03:24 -07:00
Satindar Dhillon
5c6336858b fix ios font ref names 2022-03-21 14:02:47 -07:00
Satindar Dhillon
960eb2c353 update font names in font registration func 2022-03-21 13:51:19 -07:00
Satindar Dhillon
62160b89c6 rename apple custom font files to match web names 2022-03-21 13:24:11 -07:00
Satindar Dhillon
ebd7018a14 set wedreader server addresses 2022-03-21 13:15:03 -07:00
Jackson Harper
4f2bafd69f
Merge pull request #278 from omnivore-app/fix/avatar-size
Fix sizing on the avatar icon
2022-03-21 11:46:53 -07:00
Satindar Dhillon
52f04ebee6 add version string to profile/settings view 2022-03-21 11:19:30 -07:00
Jackson Harper
209491feeb Fix sizing on the avatar icon 2022-03-21 11:17:35 -07:00
Jackson Harper
1713acf40e
Merge pull request #271 from omnivore-app/OMN-156
[OMN-156] - Make header avatar less distracting
2022-03-21 11:15:24 -07:00
Satindar Dhillon
65f664c064 add makefile command to build and copy bundle.js for apple 2022-03-21 10:15:56 -07:00
Jackson Harper
13a700e3c9
Merge pull request #265 from omnivore-app/fix/rm-unused-fonts
Remove unused fonts from CSS
2022-03-21 10:08:41 -07:00
Satindar Dhillon
2ddbeceeb1 set fontsize and token on localstorage for apple web embed 2022-03-21 09:48:34 -07:00
Jackson Harper
fbb8f682a2
Merge pull request #272 from omnivore-app/fix/print-logging-levels
Print the logging level on startup
2022-03-21 09:40:12 -07:00