Commit Graph

62 Commits

Author SHA1 Message Date
Brent Simmons d31c9c1766 Remove unused imports of the Zip module. 2023-06-26 09:56:26 -07:00
Stuart Breckenridge 8b39dc4abb Uses SceneCoordinator
Adds a `func` to SceneCoordinator to handle dismisses vis-a-vis using notifications.
2021-11-08 09:52:12 +08:00
Stuart Breckenridge 0db88c5f92 Fixes #3335
When the app is brought to the foreground from an external action (e.g., tapping on the widget, opening from a notification), a notification is posted (with a slight delay).

`MasterFeedViewController` and `SettingsViewController` are observers. `MasterFeedViewController` will dismiss any `SFSafariViewController`s that are presented, while `SettingsViewController` will dismiss itself.
2021-11-06 22:43:50 +08:00
Maurice Parker 5716bc3d19 Fix compiler warnings 2021-09-30 09:35:44 -05:00
Stuart Breckenridge 82a62712ce
Better error messages for decoding issues 2021-09-21 10:43:12 +08:00
Stuart Breckenridge c29afd2677 try? changed to try with error handling 2021-09-21 09:22:45 +08:00
Stuart Breckenridge 78e0595708 Various ThemeDownloader Updates
- `try` added where applicable to ArticleTheme inits
- `ArticleThemePlist` has fixed spelling of theme identifier and conforms to Equatable
- `ArticleTheme` now uses `ArticleThemePlist`
-  `ArticleThemeDownloader` is now a class
- `ArticleThemeDownloader` will now download themes to Application Support/NetNewsWire/Downloads on macOS and iOS.
- `ArticleThemeDownloader` will remove downloaded themes from the Download folder when the application is closed.
- macOS app delegate now observes for theme download fails
- Error display code moved from SceneDelegate to SceneCoordinator so that it can use existing presentError on rootVC.
2021-09-21 09:10:56 +08:00
Stuart Breckenridge a1b01384d3 refactors downloader code for macOS & iOS
More consistent code across platforms.
2021-09-20 19:34:25 +08:00
Stuart Breckenridge eb8f27b457 Removes files if unzip is not successful 2021-09-20 09:48:31 +08:00
Stuart Breckenridge afd952fbc2 refactors iOS theme downloads 2021-09-20 09:36:09 +08:00
Stuart Breckenridge 4fab4ffa7c download themes using url scheme
this build enables iOS functionality only.
2021-09-19 20:31:45 +08:00
Maurice Parker cad91d9415 Add the ability to import themes on iOS 2021-09-12 14:46:15 -05:00
Maurice Parker b8419737cf Handle the feed protocol on iOS. Fixes #2703 2021-01-05 00:11:09 -06:00
Stuart Breckenridge 8498e723ce
Widget Performance 2020-12-03 20:32:26 +08:00
Maurice Parker 1a65211f19 Change how smart feeds are shown so that they appear even if they have been filtered 2020-11-19 05:23:07 -06:00
Stuart Breckenridge fd33dc9be1 fixes cold launch from widget 2020-11-19 17:29:03 +08:00
Stuart Breckenridge fa26fd565e makes feed icons a bit bigger 2020-11-19 16:32:44 +08:00
Stuart Breckenridge 3e69571d09 handle launching to articles from a cold start 2020-11-19 15:52:43 +08:00
Stuart Breckenridge 361ca85762 Removes need for dispatchAsync delay 2020-11-19 12:17:29 +08:00
Stuart Breckenridge 0b4640db04 Tidies up Delegate and Coordinator code 2020-11-19 11:30:52 +08:00
Stuart Breckenridge 58e18f4bcb Widget Bundle
• Adds small smartfeed summary widget.
• Adds medium widgets for today, unread, and starred.
2020-11-18 10:49:12 +08:00
Maurice Parker ef1829618f Merge branch 'ios-release' into main 2020-11-02 11:30:56 -06:00
Maurice Parker 8dbe5691e3 Update the user interface style on the main thread. 2020-10-20 13:45:28 -05:00
Maurice Parker e7f42905dc Add Reddit Feed adding functionality 2020-08-11 16:27:42 -05:00
Maurice Parker 0ec250ec24 Rewrite Add Feed and Add Folder to be separate dialogs 2020-08-11 15:00:31 -05:00
Maurice Parker 66f8180006 Make sure we are changing the user interface style on the main thread 2020-07-27 19:35:41 -05:00
Maurice Parker 31f3487d7a Reset focus when returning to the app from another app or the safari view controller. Issue #1963 2020-04-28 17:16:34 -05:00
Maurice Parker d615a0a894 Fix bug where clean up shortcut wouldn't clear articles if wrong setting was off. 2020-03-24 16:00:01 -05:00
Maurice Parker 07042b8a2a Implemented Clean Up keyboard shortcut. Issue #1915 2020-03-15 18:15:52 -05:00
Maurice Parker a620a20588 Add the option to select the user interface color palette. Issue #1900 2020-03-15 04:25:25 -05:00
Maurice Parker 9007ed4b06 Changed so that Feeds and Timeline clear read items if necessary on manual refresh commands. Issues #1834, #1856, and #1845 2020-03-11 14:47:00 -06:00
Maurice Parker 03c1ed2625 Make handling of programmatic feed selection when filtered or collapsed more consistent. Issues #1788 and #1792 2020-02-17 17:40:40 -08:00
Maurice Parker 76bad13ae1 Rebuild the backing stores to except spotlight search result restoration. Issue #1759 2020-02-04 11:00:55 -08:00
Maurice Parker 9a3763f57a Change to resume database earlier for notifications and home screen shortcuts. Issue #1597 2020-01-10 16:32:06 -07:00
Maurice Parker f159371967 Change to make sure all queue's get cleared before suspending the database. Issue #1389 2019-12-02 14:14:35 -06:00
Maurice Parker ebd7f4904d Persist the Feeds Read filter across application launches. Issue #1349 2019-11-26 20:23:12 -06:00
Maurice Parker 4a9e79cd1e Persist and restore container expanded state across application launches. Issue #1361 2019-11-26 16:33:11 -06:00
Maurice Parker 7c947b935d Rewrite three panel mode so that background screenshooting will work. 2019-11-20 16:41:13 -06:00
Maurice Parker 05e0e34f6b Configure three panel mode when coming from background. Issue #1251 2019-11-05 15:46:28 -06:00
Maurice Parker 00f100e3a3 Renamed TimelineStringFormatter to ArticleStringFormatter now that it is used for much more than the timelines 2019-10-20 02:28:00 -05:00
Maurice Parker d26186ee9b Flush TimelineStringFormatter cache when moving to the background 2019-10-18 15:26:37 -05:00
Maurice Parker 0c9a1ba8d0 Add notification deep linking for iOS 2019-10-03 09:53:21 -05:00
Maurice Parker db2ee18299 Unify the colori scheme into primary and secondary accent colors 2019-09-18 02:49:57 -05:00
Maurice Parker d80d48916a Animate portrait to landscape transitions in three panel mode 2019-09-09 16:59:24 -05:00
Maurice Parker 9f6203e839 Improve launch performance and fix Search home page quick action 2019-09-06 10:29:00 -05:00
Maurice Parker afce6ff26f Add keyboard shortcuts for Add Feed and Add Folder 2019-09-05 15:07:35 -05:00
Maurice Parker fafb7de868 Remove Refresh shortcut item 2019-09-02 16:05:55 -05:00
Maurice Parker c5fed06581 Add refresh home screen shortcut. 2019-09-02 15:45:09 -05:00
Maurice Parker 2c4531f481 Add the Add scene as a home page quick action. 2019-09-02 15:14:26 -05:00
Maurice Parker c405fdf583 Implement search home page quick action 2019-09-01 17:41:46 -05:00