Commit graph

1277 commits

Author SHA1 Message Date
David Sinclair
e8f6fef5ec #1247 (Mac Catalyst edition)
- It’s alive, ALIVE!
- You can now build and run NewsBlur for macOS!
- Still lots of issues, including the story CSS not rendering properly, but it works.
- Plus of course making things more Mac-like, like modal views as real windows, etc.
- Committed to a new branch, since not ready for prime time.
2020-03-29 16:21:00 -07:00
David Sinclair
6b25a697a7 #1270 (replacing UIWebView with WKWebView)
- Replaced NJKWebViewProgress with a WKWebView-compatible progress bar in the Original view.
2020-03-28 19:39:35 -07:00
David Sinclair
dfa0eb944a #1270 (replacing UIWebView with WKWebView)
- Tweaks for Xcoce 11.4.
- Web view fixes.
2020-03-27 20:42:33 -07:00
David Sinclair
fcd684b6eb Merge branch 'dejal' into wkwebkit 2020-03-27 19:53:00 -07:00
David Sinclair
eefde0d5a9 Merge branch 'master' into dejal 2020-03-24 17:05:53 -07:00
David Sinclair
334fb705d9 #1290 (state restoration)
- Now doesn’t select a story if the appropriate one can’t be found.
- Left commented out the old behavior of selecting the first unread, in case you change your mind.
2020-03-24 17:05:22 -07:00
Samuel Clay
48c6aa6dea Renaming mark story on scroll preferences. iOS v10.0.1. 2020-03-24 14:21:39 -04:00
David Sinclair
c3556b06b8 Merge branch 'dejal' into wkwebkit 2020-03-23 19:37:25 -07:00
David Sinclair
28fd3999aa #1289 (autoscroll buttons state) 2020-03-13 20:56:57 -07:00
David Sinclair
7219bc8df4 #1287 (mark read on scroll)
- Added a preference to override the mark read on scroll option per feed/folder.
- If off, changing the feed menu item toggles the global preference.
- If on, changing it only affects that feed.
2020-03-13 20:36:25 -07:00
David Sinclair
1a6d408f9b #1287 (feed-specific mark read on scroll) 2020-03-12 20:30:02 -07:00
David Sinclair
383384b6df #1270 (replacing UIWebView with WKWebView)
- All app-specific uses of UIWebView have been replaced with WKWebView.
- Some third-party uses remain.
- More testing required.
- Note that I’ve bumped the minimum iOS version to iOS 11, since that is needed for WKWebView support.
- Committing to a new branch until ready.
2020-02-23 15:21:32 -08:00
David Sinclair
1692e581d9 #1273 (making dark themes darker)
- The Dark theme now uses pure black for the story background, and some other darker colors.
- The Medium theme now also uses darker colors.
2020-02-20 20:32:49 -08:00
David Sinclair
fd605e079d #1281 (iPad widget issues)
- I managed to reproduce the layout issue, so have implemented a check and correction for it.
2020-02-20 19:32:59 -08:00
David Sinclair
48f1e5cd3b #1279 (status bar color)
- Fixed the status bar (i.e. clock) color when in dark mode with a light theme.
- Fixed navigation titles in that situation too.
2020-02-20 18:39:12 -08:00
David Sinclair
9cc687df3f #1284 (subscription text)
- Embiggened.
2020-02-20 13:56:33 -08:00
Jimmy Garrido
3f10bf866e Add Edge as a browser option 2020-02-13 20:23:31 -08:00
David Sinclair
ed30ad75e2 #1238 (statistics)
- Added Statistics to the preferences for the left swipe in the feeds list.
- A bit of refactoring to support displaying the popover from a cell on iPad.
2020-01-31 15:50:03 -08:00
David Sinclair
617ec8e45c #1238 (statistics)
Replaced icon.
2020-01-29 15:32:28 -08:00
David Sinclair
fa3f60a531 NewsBlur iOS: #1238 (statistics)
- Added a Statistics item to the feed detail menu (please provide an icon).
- This command will show the statistics web page in a popover on iPad, or pushed on iPhone.
- Extended the “original” view controller to support showing a custom page without changing the title or including the navigation bar buttons.
2020-01-28 16:10:16 -08:00
David Sinclair
a50bb09141 #1238 (statistics)
Prototype using a Safari view controller.  Will do properly in a WKWebView.
2020-01-27 20:53:31 -08:00
David Sinclair
f9e067400c #1277 (slow swiping between stories)
- Added an Export Preferences… button in the Preferences view to save a copy of the preferences to a file.
- Added an Import Preferences… button to load a saved preferences file and replace the prefs.
- Added a document type and UTI type for the prefs file (you can provide an icon if you like).
- Enabled iCloud document support to allow saving to shared locations.
- Added a bridging header to enable Swift code to work properly.
2020-01-27 20:27:44 -08:00
David Sinclair
a51dcd20e9 #1162 (widget)
- Fixed the story sometimes not getting displayed in the app when tapping in the widget.
- Now uses the scaled thumbnails provided by the server.
- Split the image cache into separate caches for feed images and story images.
- Now prunes the cached story images to only those currently displayed.
2020-01-23 15:20:28 -08:00
David Sinclair
52421e980e #1271 (crash on feed list load)
Caused by null feed colors when saving the feed list for the widget.
2020-01-22 17:50:58 -08:00
David Sinclair
65c706d3a6 #1162 (widget)
- Added the feed color bars (sharing those colors required a bit of refactoring).
- The fonts etc now more closely match the app.
- Now uses elipsises for the feed name, title, and content text, if needed.
- Improved HTML tag cleanup.
2019-12-23 21:19:45 -08:00
David Sinclair
9439baa7d5 #1162 (widget)
- Tapping a story in the widget now opens it in the All Stories river view.
- Tried to get the widget to reload the content on first launch, but couldn’t. I might try again later.
- Reworded the first launch message as “Tap to set up in NewsBlur”, as a placeholder and to help discover the prefs.
- Now just reloads the table when collapsing or expanding, to avoid @nriley’s crash (the animation was pretty much invisible anyway).
2019-12-21 15:48:17 -08:00
David Sinclair
7326aeadba #1268 (appearance changes)
- Manually changing the theme now turns off the preference to follow the system appearance.
- Turning on following the system appearance immediately updates the theme appropriately.
2019-12-21 13:34:29 -08:00
David Sinclair
b314b6f289 #1162 (widget)
Done!  See my comment in the issue for details.
2019-12-20 19:09:20 -08:00
David Sinclair
133a826afa #1262 (unsubscribe feed from story)
- Done; it’s first in the story settings menu, to be consistent with others.
- I resisted replacing FontSettingsViewController with a MenuViewController usage; that would simplify the code and future changes, but would’ve taken more time now.
2019-11-25 19:15:49 -08:00
David Sinclair
402d5c2eea #1266 (clearing offline)
- Clearing offline now clears the cached stories, text, and images from the database.
2019-11-25 14:27:59 -08:00
David Sinclair
106c970b4a iOS: #1236 (offline text)
- Added a "Download text" preference.  Defaults on.
- If on, the text is fetched for feeds that are in text view when fetching new stories.
- The text is fetched after stories, and before images, using a similar mechanism.
- The text is stored in a new "cached_text" database table.
- The text is deleted when the story is deleted.
- When displaying a text view, the cached text is used if available, otherwise it is fetched as before.
2019-10-25 20:52:51 -07:00
David Sinclair
65aa2e8518 iOS: #1215 (wonky behavior) 2019-10-23 20:32:07 -07:00
David Sinclair
fa6052c85a #1249 (dark theme colors)
Tweaked dark theme colors to be darker, and I think better. Feel free to tweak the colors, or let me know if you want me to change anything.
2019-10-22 21:14:15 -07:00
David Sinclair
879ace7043 iOS: #1254 (settings with stories on bottom) 2019-10-22 13:55:30 -07:00
David Sinclair
ed4c8a18ba iOS: #1257 (highlighting issue) 2019-10-21 21:22:29 -07:00
David Sinclair
4509849317 iOS: #1258 (crash on start)
Probably a race condition between loading the user accounts and the feed detail. This should work around it.
2019-10-21 17:59:46 -07:00
Samuel Clay
865349347c Slight change in colors. 2019-09-30 15:08:29 -04:00
David Sinclair
0ac92c8e47 #1208 (iOS 13 support)
- Fixed not selecting and deselecting properly, due to a change in behavior in iOS 13.
2019-09-27 15:46:21 -07:00
David Sinclair
c10ca39737 #1208 (iOS 13 support)
- Changed inactive segmented control parts and notifications buttons to a lighter shade, to help distinguish them.
2019-09-26 15:37:58 -07:00
David Sinclair
18f301556f #1208 (iOS 13 support)
- Replaced the non-functional multi-select segmented control in notification popover with four buttons, that are drawn similar to an iOS 13 segmented control.
2019-09-23 14:52:50 -07:00
David Sinclair
165ec98ceb #1208 (iOS 13 support) 2019-09-21 14:51:55 -07:00
David Sinclair
6e89babc90 iOS: #1208 (iOS 13 support)
- Updating segmented controls to avoid dark text on a dark background in dark themes.
2019-08-24 21:02:21 -07:00
David Sinclair
8f293ddc38 iOS: #1227 (feed order preference)
- Now reloads the feeds list when the preference is changed.
- This also fixed some other preference changes, since the notification handler passes a different class for multi-select options.
2019-08-24 19:09:44 -07:00
David Sinclair
ed5600ac0b iOS: #1227 (feed order preference)
Note that need to pull-to-refresh to make the preference take effect, since it sorts on loading the feeds. I think that’s reasonable; not something people would change often.
2019-08-24 15:06:50 -07:00
David Sinclair
2140d47561 iOS: #1214 (Safari page sheet) 2019-08-23 20:52:21 -07:00
David Sinclair
98e6429b25 iOS: fixed #1219 & #1224 (iPad layout issues)
This was a curly one to trace; related to social feeds.
2019-08-23 20:14:22 -07:00
David Sinclair
b05656db07 iOS: fixed #1223 (unable to mark unread)
(See details in following comment.)
2019-08-22 12:03:39 -07:00
David Sinclair
27d2384cf1 iOS: #1216 (iPad incorrect layout)
This was a tricky one to reproduce and trace. I added a safety check for the master navigation view getting too big. I also fixed a couple of other Catalina bugs: a crash on launch due to incorrectly creating an image, and a NaN issue with drawing.
2019-07-25 15:31:27 -07:00
David Sinclair
66f34998bb iOS: #1213 (status bar in browser when full-screen)
- Reproduced by scrolling a story to go full-screen, double-click to show the Safari browser view, interactively go partially back, then scroll in the browser.
- Now shows the navigation bar when using the browser, since the browser shows it, so they’re consistent.
2019-07-18 20:50:19 -07:00
David Sinclair
7b0590ace4 iOS: #1215 (version 9 wonkiness)
- Fixed the story appearing to be unread after returning to the app.
- Fixed the "scroll horizontally" preference appearing twice.
- Fixed the add feed and action toolbar buttons sometimes appearing blue.
2019-07-17 20:32:14 -07:00