Commit graph

2486 commits

Author SHA1 Message Date
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
Jackson Harper
c2e08d0e8f Fetch title and author from page metadate if possible 2022-03-03 15:20:58 -08:00
Jackson Harper
b17f22949c Use the readability title if available 2022-03-03 14:21:30 -08:00
Jackson Harper
a4bb67deee Use the readability byline for email authors if available 2022-03-03 14:21:03 -08:00
Satindar Dhillon
2db59860d2 remove module aliases from jest config 2022-03-03 13:50:54 -08:00
Satindar Dhillon
cecb9da4c7 use next/jest plugin to configure jest unit tests 2022-03-03 13:44:35 -08:00
Jackson Harper
b326a5f8e7 Add more matches on substack icons 2022-03-03 13:42:30 -08:00
Jackson Harper
a49c9ff6d4
Merge pull request #180 from omnivore-app/fix/migration-image
Add package file back to migration image
2022-03-03 11:13:57 -08:00
Jackson Harper
78cb194912 Add package file back to migration image
This is needed when running via docker-compose
2022-03-03 11:05:42 -08:00
Jackson Harper
484cd78ac5 prettier 2022-03-02 23:14:10 -08:00