Commit Graph

478 Commits

Author SHA1 Message Date
e8fca4a7a9 Remove debug line 2022-03-08 15:20:24 -08:00
354fe36dd5 Add a test for save email 2022-03-08 15:17:11 -08:00
26dadab4aa rm debug, we dont need to set claims on create 2022-03-08 15:10:01 -08:00
b982bf34d6 SetClaims on userArticle create/update in saveEmail 2022-03-08 14:43:10 -08:00
9ae81d7394 Add extra debugging on newsletter save errors 2022-03-08 14:00:35 -08:00
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
0c4d68ae30 create feature flag for showing menu options on link item detail view 2022-03-07 17:46:08 -08:00
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
35bd189e2e move onAppear hook to grid item card 2022-03-07 17:46:08 -08:00
1ca25c87bd add pull to refresh for ipad grid view 2022-03-07 17:46:08 -08:00
9bdc96c567 add context menu to ios reader view 2022-03-07 17:46:08 -08:00
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
4bafee4da2 Set theme on emails and labels pages 2022-03-07 09:47:43 -08:00
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
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
0a38621a3a Set root color scheme CSS for iOS to determine system colour 2022-03-06 09:16:14 -08:00
0eb2e13b17 Merge pull request #186 from omnivore-app/fix/cna-readability 2022-03-06 08:12:22 -08:00
3e2d5e082a Merge pull request #185 from omnivore-app/fix/ipad-refresh
iPad Refresh
2022-03-04 13:13:24 -08:00
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
967fc7216e add search bar to macos 2022-03-03 21:55:17 -08:00
9a79b2e5f5 add refreah button on ipad grid 2022-03-03 21:37:31 -08:00
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
bf92d63203 Merge pull request #183 from omnivore-app/fix/mathjax-script
Use next/script for Mathjax
2022-03-03 21:31:33 -08:00
3d72d0f9d5 Dont use <Script inside next/head 2022-03-03 20:56:16 -08:00
fb6564a126 Use next/script for Mathjax 2022-03-03 20:37:04 -08:00
dec888ce63 Merge pull request #182 from omnivore-app/feature/ipad-navbar-improvements
iPad navbar improvements
2022-03-03 20:17:45 -08:00
ae329d2651 Add test data file 2022-03-03 19:47:37 -08:00
b6fd3e786e Fix parsing authors from page metadata 2022-03-03 19:40:02 -08:00
49092b707d Remove async 2022-03-03 19:31:51 -08:00
3af09d9558 use hiding nav bar on iPad reader view 2022-03-03 17:21:42 -08:00
f3202561d3 bump swift package deps 2022-03-03 17:21:42 -08:00
05373ba3c7 add methid to parse content metadata 2022-03-03 17:10:06 -08:00
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
94df27c964 create a test and build command for deploying to vercel 2022-03-03 15:48:42 -08:00
c2e08d0e8f Fetch title and author from page metadate if possible 2022-03-03 15:20:58 -08:00
b17f22949c Use the readability title if available 2022-03-03 14:21:30 -08:00
a4bb67deee Use the readability byline for email authors if available 2022-03-03 14:21:03 -08:00
2db59860d2 remove module aliases from jest config 2022-03-03 13:50:54 -08:00
cecb9da4c7 use next/jest plugin to configure jest unit tests 2022-03-03 13:44:35 -08:00
b326a5f8e7 Add more matches on substack icons 2022-03-03 13:42:30 -08:00
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
78cb194912 Add package file back to migration image
This is needed when running via docker-compose
2022-03-03 11:05:42 -08:00
484cd78ac5 prettier 2022-03-02 23:14:10 -08:00
65ce8353dc Attempt to pull URLs for probable newsletter emails out of content 2022-03-02 23:09:10 -08:00
21329949e5 Fix to email address in saveNewsletterEmail 2022-03-02 22:06:15 -08:00
02d505a7e2 Add some debugging 2022-03-02 21:39:10 -08:00
8fe9827ad2 If an email appears to be a newsletter at it to the library 2022-03-02 20:47:53 -08:00
65cc666579 Pass HTML instead of a JSDOM into isProbablyNewsletter to better encapsulate 2022-03-02 20:38:11 -08:00
c4e237927d Allow any on GCP func 2022-03-02 20:27:40 -08:00
e660e41ed5 Fix warnings 2022-03-02 19:49:10 -08:00