Commit graph

966 commits

Author SHA1 Message Date
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
David Sinclair
0334bb265a iOS: #1208 (iOS 13 support)
- Fixed issues related to the way the feeds list is set up, that caused tapping on folders and feed detail buttons to fail (that was very tricky to narrow down).
- Fixed the FTUX presentation on iPad.
2019-06-27 21:03:03 -07:00
David Sinclair
4dcc1c132d iOS: #1210 (hiding on swiping feeds) 2019-06-26 18:55:46 -07:00
David Sinclair
eb8979b1aa iOS: #1171 (autoscroll)
The iPad position is now fixed.
2019-06-26 18:38:42 -07:00
David Sinclair
6a1dc871c3 iOS: #1171 (autoscroll)
- Fixed tapping when traverse is visible.
- Tweaked the autoscroll controls position on iPad to line up with traverse when visible, or go a bit higher when not (to avoid the home indicator).
2019-06-26 14:14:44 -07:00
David Sinclair
d82016614e iOS: #1211 (story blank on load)
Moved the 1-second load (which was added for issue #1152, to cope with slow avatars) to after the full HTML is generated, so it won’t fail. Also changed to GCD `dispatch_after` instead of `NSTimer`.
2019-06-25 20:53:54 -07:00
David Sinclair
711aa318e9 iOS: #1208 (iOS 13 support)
- Fixed launch crash.
- Fixed main menu crash.
2019-06-24 20:55:03 -07:00
David Sinclair
bb4c258b71 iOS: #1201 (show hidden stories)
- Implemented the feature, showing or hiding hidden stories, only offering it if there are some.
- I used the “all” icon in the menu as a placeholder; please provide one you’d prefer.
- Since the crusty old menu mechanism doesn’t handle dynamic items well, I took this opportunity to migrate the feed detail menu to the block-based MenuViewController mechanism, resulting in significant code reduction.
- Enhanced MenuViewController to support the theme controls etc, so other menus can be more easily migrated next time they need to be updated.
2019-06-21 20:09:09 -07:00
David Sinclair
7d2b1dd5d2 iOS: #1203 (show story changes)
When there are changes, the “Show Changes” button appears before the date, like on the web. Tapping loads and displays the changes, and the button changes to “Hide Changes”, which works without loading. The insertion and deletion highlights support style-appropriate colors.
2019-06-19 20:45:30 -07:00
David Sinclair
bb30c5cba6 iOS: #1202 (copy activity URL duplication) 2019-06-17 20:55:19 -07:00
David Sinclair
a538af47a4 iOS: #1183 (scroll performance in feed list)
- Now doesn’t use estimated row heights, since that seemed to cause the jitter.
- Increased efficiency by caching row heights.
- The cached row heights are reset when reloading the table etc.
2019-05-31 20:32:08 -07:00
David Sinclair
2c11901d67 iOS: #1186 (full screen controls hide with traversal)
Fixed nav bar appearing and disappearing when scrolling on older iPhones.
2019-05-29 15:11:52 -07:00