Commit graph

146 commits

Author SHA1 Message Date
David Sinclair
7328dfdc24 #1604 (preference for automatically opening folder)
- Added a new “When opening app” preference for what folder to show on launch.
- Implemented for both iPhone and iPad.
- Fixed loading default prefs.
- Removed the obsolete restore position preference.
- Enhanced the preferences views to support letting the app add custom values, to enable choosing any folder.
2022-04-25 14:38:24 -04:00
David Sinclair
07dc071a02 #1607 (widget is slow to reload)
- Hidden the Widget Site Stories smart folder.
- Changed the Widget Sites preferences to only allow selecting feeds for one folder, or all.
- The selected folder is displayed when tapping a feed in the widget.
- N.B. This is a temporary solution until each widget can have settings for what folder or feed to show.
2022-03-11 21:30:28 -07:00
David Sinclair
3722d53121 #1334 (modern widget)
- Fixed issue with iPhone not loading a story.
- Added logic to better handle not finding a story for other reasons.
2022-01-27 20:06:50 -08:00
David Sinclair
12e9b172a5 #1500 (show first story options)
- On iPad, added a feed detail preference to open the first story (default) or list the stories
- Didn't do this on iPhone, as it makes less sense there; going back from the story to the list would just bounce back into the story. I could add extra logic to avoid that if you really want this option on iPhone too.
- Both are back to the old marking as read behavior.
2022-01-25 15:14:30 -08:00
David Sinclair
e1254ad172 #1568 (reloading feeds when finding story)
- Now always reloads the feeds when opening a notification, and waits till that completes to find the story.
2021-12-08 17:18:49 -07:00
David Sinclair
8ac4801257 #1500 (show first story automatically)
- Work in progress.
2021-06-12 21:51:08 -07:00
David Sinclair
a83cf508ee #1491 (scroll bounce at story bottom)
- Added the column layout to the Preferences on iPad.
- Two column layout is now the default.
2021-06-10 19:50:56 -07:00
David Sinclair
125c9f77a3 #817 (three column layout)
- Cleanup and removal of obsolete code and resources.
2021-06-05 21:50:57 -07:00
David Sinclair
cad8017b5c #1455 (crash opening notifications) 2021-06-04 21:49:08 -07:00
David Sinclair
fbedad1c7e #1490 (split control to feeds menu) 2021-05-29 21:25:43 -07:00
David Sinclair
e0fce3f509 #817 (three column layout)
- Removed the obsolete container view.
- Tweaked a few places that still used it.
2021-04-24 21:55:36 -07:00
David Sinclair
a93b27531e #1451 (small tweaks) 2021-04-22 21:49:13 -07:00
David Sinclair
f091832e6d #817 (three column layout)
- Since the UIPageViewController approach to paging had multiple issues that were proving impossible to work around, I decided to revert to the old UIScrollView-based approach.
2021-01-29 20:10:53 -08:00
David Sinclair
53d2580564 #817 (three column layout)
- iPhone fixes.
2020-11-25 21:39:11 -08:00
David Sinclair
04a8f7ab3b #817 (three column layout)
- Split view tweaks.
- iPhone support.
2020-11-24 21:34:45 -08:00
David Sinclair
8cc59dccf4 #817 (three column layout)
- More progress on the story pages stuff.
2020-09-26 20:30:35 -07:00
David Sinclair
8f7f485043 #817 (three column layout)
- Numerous changes for three-column layout support and other projects.
- Work in progress.
2020-08-29 21:19:32 -07:00
David Sinclair
5fe73d431b #817 (three column layout)
- Fixing warnings.
- Adding Swift subclasses of ObjC ones.
2020-08-27 21:26:12 -07:00
David Sinclair
76986f504b #1325 (show muted sites in All feeds view)
- Muted sites now appear in All feeds view.
- They don't appear in the other views.
- They have the same muted icon as on the web.
2020-06-15 19:57:06 -07:00
David Sinclair
08d8604d32 #1298 (saved searches)
- Saved searches (if any) are now listed near the bottom of the feeds list.
- When one is tapped, the folder or feed is displayed and the search performed.
- When showing a saved search, a Delete Saved Search command appears at the top of the menu.
- When showing a non-saved search, a Save Search command appears in the menu.
2020-06-11 21:02:22 -07:00
David Sinclair
7c208649ef #1298 (saved searches)
- Work in progress.
2020-05-27 21:26:44 -07:00
David Sinclair
bfe81aff54 #1304 (not restoring state)
- Fixed issue with background operations that could result in the app getting killed.
2020-05-26 15:35:53 -07:00
David Sinclair
0659438f57 #1306 (status bar during fullscreen)
- Added a “Hide status bar” preference below the “Full screen” one.
- It is only shown when “Full screen” is on.
- Defaults to on, which does the previous behavior.
- If turned off, the status bar remains visible when scrolling to full-screen.
- In this situation, a fade-out gradient will be shown under the status bar, so the story content dims to avoid conflicting with the status bar content.
2020-04-22 19:31:08 -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
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
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
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
b314b6f289 #1162 (widget)
Done!  See my comment in the issue for details.
2019-12-20 19:09:20 -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
165ec98ceb #1208 (iOS 13 support) 2019-09-21 14:51:55 -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
b05656db07 iOS: fixed #1223 (unable to mark unread)
(See details in following comment.)
2019-08-22 12:03:39 -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
6317d60da3 iOS: #1138 (Siri Shortcuts)
Basic support for Siri Shortcuts; more to come. See the following comment on the issue for more info.
2019-04-24 20:32:04 -07:00
David Sinclair
fc1fa9a941 iOS: #1156 (story titles height)
Added segmented control in feed detail list.
2019-02-05 21:05:34 -08:00
David Sinclair
7c33270c5b iOS: premium manager
Purchases could fail if they require approval, and complete after leaving the premium view, or on next app launch. So I’ve split the premium business logic into a separate manager that maintains a permanent transaction observer.
2018-10-04 17:00:22 -07:00
David Sinclair
41589dc2cb iOS: done #1111 (save stories offline) 2018-09-13 10:44:00 -07:00
Samuel Clay
bc78c54b1b Correctly showing premium expiration date. 2017-11-15 11:14:05 -08:00
Samuel Clay
870079959e Adding confetti to premium view. 2017-11-10 17:37:31 -08:00
Samuel Clay
c2bfddb6c2 Stubbing in in-app payments in iOS app. Still needs products to load, product selection, communicating with server, and removable of all non-premium features. 2017-11-09 18:43:37 -08:00
Samuel Clay
7d6acfebb5 Adding feed list and story list font size segmented controls to feed and story menus. Also changing feed and story title list to be variable height depending on font size. 2017-10-04 16:34:30 -07:00
Samuel Clay
a872211078 Fixing badge unread counts for users without any notifications. 2017-10-04 14:55:09 -07:00
Samuel Clay
ae6bf532f2 Fixing warnings for iPhone X and Xcode 9. 2017-09-26 10:48:02 -07:00
Samuel Clay
5fc86097dd Moving to UIAlertController. Got a bunch more. 2017-04-11 15:43:42 -07:00
Samuel Clay
3121fa2341 Fixing notifications on ipad. Notifications are also now updated after saving. 2017-04-05 18:46:39 -07:00
Samuel Clay
b88e870727 More aggressive clearing of cache. 2017-04-04 15:33:08 -07:00
Samuel Clay
b787650d51 ios 8 branch works! Had to replace TMCache wtih PINCache, but it looks solid now. 2017-04-03 18:52:23 -07:00
Samuel Clay
ca3309a0ba Fixing last error. Now to fix everything else that's broken. 2017-04-03 16:07:01 -07:00
Samuel Clay
29e63cef79 Continuing the march. 2017-03-19 18:15:36 -07:00