Commit graph

7995 commits

Author SHA1 Message Date
Jackson Harper
2e6fb9c1e2
Merge pull request #205 from omnivore-app/fix/newsletter-debugging
Ensure matched newsletters still create a userArticleRecord
2022-03-08 15:47:12 -08:00
Jackson Harper
c45c408c14 Fix formatting 2022-03-08 15:27:05 -08:00
Jackson Harper
e8fca4a7a9 Remove debug line 2022-03-08 15:20:24 -08:00
Jackson Harper
354fe36dd5 Add a test for save email 2022-03-08 15:17:11 -08:00
Jackson Harper
26dadab4aa rm debug, we dont need to set claims on create 2022-03-08 15:10:01 -08:00
Jackson Harper
b982bf34d6 SetClaims on userArticle create/update in saveEmail 2022-03-08 14:43:10 -08:00
Jackson Harper
9ae81d7394 Add extra debugging on newsletter save errors 2022-03-08 14:00:35 -08:00
Jackson Harper
a84d79464a Make the router param optional 2022-03-08 13:07:03 -08:00
Jackson Harper
dad777ce6d Move the u command to the reader view 2022-03-08 13:02:38 -08:00
Jackson Harper
8109dd3a85 Fix implementation of u key
The `u` key isn't supposed to be a general purpose back key, there
is a `b` command for that. The `u` key should just be used as an
"up" command to go from the reader to the library.
2022-03-08 12:57:59 -08:00
Satindar Dhillon
97cc4db30e handle reader context menu actions 2022-03-08 12:44:03 -08:00
Satindar Dhillon
e5a3fdc2d3 update styling and position of font size popover 2022-03-08 11:13:28 -08:00
Satindar Dhillon
89b7fe2bee drop 'link' from 'Delete link' menu option 2022-03-08 10:41:45 -08:00
Satindar Dhillon
4954aee4ad
Merge pull request #202 from omnivore-app/feature/ipad-pull-to-refresh
iPad pull to refresh
2022-03-07 21:12:40 -08:00
Satindar Dhillon
0c4d68ae30 create feature flag for showing menu options on link item detail view 2022-03-07 17:46:08 -08:00
Satindar Dhillon
2c1d010d6a add a render ID to FeedItem to identify it in ForEach renders (solves stale item issue after refresh) 2022-03-07 17:46:08 -08:00
Satindar Dhillon
35bd189e2e move onAppear hook to grid item card 2022-03-07 17:46:08 -08:00
Satindar Dhillon
1ca25c87bd add pull to refresh for ipad grid view 2022-03-07 17:46:08 -08:00
Satindar Dhillon
9bdc96c567 add context menu to ios reader view 2022-03-07 17:46:08 -08:00
Jackson Harper
2184c2a8d3 Parse online URLs for beehiiv newsletters 2022-03-07 15:49:44 -08:00
Jackson Harper
2cb5cc065a Add support for identifying newsletters hosted on beehiiv.com 2022-03-07 15:23:56 -08:00
Jackson Harper
bba094fbcd Add tests for beehiiv.com hosted newsletters 2022-03-07 15:05:38 -08:00
Jackson Harper
be7e36ffed Use the validateUrl method to validate URLs 2022-03-07 14:34:32 -08:00
dependabot[bot]
ccedb358e0
Bump @types/uuid from 8.3.1 to 8.3.4
Bumps [@types/uuid](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/uuid) from 8.3.1 to 8.3.4.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/uuid)

---
updated-dependencies:
- dependency-name: "@types/uuid"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-07 21:21:33 +00:00
dependabot[bot]
ce23281a84
Bump concurrently from 6.2.1 to 7.0.0
Bumps [concurrently](https://github.com/open-cli-tools/concurrently) from 6.2.1 to 7.0.0.
- [Release notes](https://github.com/open-cli-tools/concurrently/releases)
- [Commits](https://github.com/open-cli-tools/concurrently/compare/v6.2.1...v7.0.0)

---
updated-dependencies:
- dependency-name: concurrently
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-07 21:21:07 +00:00
dependabot[bot]
9e4172e568
Bump react-hot-toast from 2.1.1 to 2.2.0
Bumps [react-hot-toast](https://github.com/timolins/react-hot-toast) from 2.1.1 to 2.2.0.
- [Release notes](https://github.com/timolins/react-hot-toast/releases)
- [Commits](https://github.com/timolins/react-hot-toast/compare/v2.1.1...v2.2.0)

---
updated-dependencies:
- dependency-name: react-hot-toast
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-07 21:20:40 +00:00
dependabot[bot]
2ebd4b0941
Bump pg from 8.7.1 to 8.7.3
Bumps [pg](https://github.com/brianc/node-postgres/tree/HEAD/packages/pg) from 8.7.1 to 8.7.3.
- [Release notes](https://github.com/brianc/node-postgres/releases)
- [Changelog](https://github.com/brianc/node-postgres/blob/master/CHANGELOG.md)
- [Commits](https://github.com/brianc/node-postgres/commits/pg@8.7.3/packages/pg)

---
updated-dependencies:
- dependency-name: pg
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-07 21:20:17 +00:00
Jackson Harper
86220091ba
Merge pull request #195 from omnivore-app/fix/settings-theme
Set theme on emails and labels pages
2022-03-07 11:01:40 -08:00
Jackson Harper
4bafee4da2 Set theme on emails and labels pages 2022-03-07 09:47:43 -08:00
Jackson Harper
fcdf8d3dd5
Merge pull request #188 from omnivore-app/fix/ios-darkmode-scrollbar
Fix readerview scrollbars in iOS dark mode
2022-03-07 09:27:49 -08:00
Jackson Harper
e6b4d80de2 After load set webview to opaque
During the initial load we need the clear + !opaque settings so
the webview does not flash a white background in dark mode. But
after load we want to use the systemBackground colour and an
opaque background, so in dark mode the scrollbars are displayed
correctly. Without this iOS will display a dark scrollbar ontop
of the dark background.

Note that due to a bug in Webkit setting the scrollbar inset
colours doesn't seem to work in current iOS:

https://developer.apple.com/forums/thread/689654
2022-03-06 09:16:40 -08:00
Jackson Harper
0a38621a3a Set root color scheme CSS for iOS to determine system colour 2022-03-06 09:16:14 -08:00
Jackson Harper
0eb2e13b17
Merge pull request #186 from omnivore-app/fix/cna-readability 2022-03-06 08:12:22 -08:00
Satindar Dhillon
3e2d5e082a
Merge pull request #185 from omnivore-app/fix/ipad-refresh
iPad Refresh
2022-03-04 13:13:24 -08:00
Jackson Harper
234dba9174 Improve readability of channelnewsasia
This uses negative lookahead to reject nodes that have outstream
ads embedded. Previously they were being accepted because they
contained `$article` in the class name.
2022-03-04 10:34:44 -08:00
Satindar Dhillon
967fc7216e add search bar to macos 2022-03-03 21:55:17 -08:00
Satindar Dhillon
9a79b2e5f5 add refreah button on ipad grid 2022-03-03 21:37:31 -08:00
Jackson Harper
2e187b8d8f
Merge pull request #178 from omnivore-app/add-probably-emails
New function to determine if an HTML blob is probably a newsletter based on its content
2022-03-03 21:31:48 -08:00
Jackson Harper
bf92d63203
Merge pull request #183 from omnivore-app/fix/mathjax-script
Use next/script for Mathjax
2022-03-03 21:31:33 -08:00
Jackson Harper
3d72d0f9d5 Dont use <Script inside next/head 2022-03-03 20:56:16 -08:00
Jackson Harper
fb6564a126 Use next/script for Mathjax 2022-03-03 20:37:04 -08:00
Satindar Dhillon
dec888ce63
Merge pull request #182 from omnivore-app/feature/ipad-navbar-improvements
iPad navbar improvements
2022-03-03 20:17:45 -08:00
Jackson Harper
ae329d2651 Add test data file 2022-03-03 19:47:37 -08:00
Jackson Harper
b6fd3e786e Fix parsing authors from page metadata 2022-03-03 19:40:02 -08:00
Jackson Harper
49092b707d Remove async 2022-03-03 19:31:51 -08:00
Satindar Dhillon
3af09d9558 use hiding nav bar on iPad reader view 2022-03-03 17:21:42 -08:00
Satindar Dhillon
f3202561d3 bump swift package deps 2022-03-03 17:21:42 -08:00
Jackson Harper
05373ba3c7 add methid to parse content metadata 2022-03-03 17:10:06 -08:00
Satindar Dhillon
f5f7cb537e
Merge pull request #181 from omnivore-app/chore/jest-config
Use next/jest plugin to configure jest unit tests
2022-03-03 16:12:00 -08:00
Satindar Dhillon
94df27c964 create a test and build command for deploying to vercel 2022-03-03 15:48:42 -08:00