Commit Graph

132 Commits

Author SHA1 Message Date
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
7994b34551 adds mac theme downloading 2021-09-19 21:18:23 +08:00
Maurice Parker
3a09ff2db7 Change so that we are using the ArticleTheme definition of the suffix 2021-09-12 13:30:15 -05:00
Maurice Parker
b4d9423ff2 Add alert to verify overlaying an existing theme 2021-09-09 06:03:28 -05:00
Maurice Parker
6c09bf585c Use separate text widths for different OS versions 2021-09-09 02:08:47 -05:00
Maurice C Parker
35995fad39 Fix theme dialog formatting on Catalina 2021-09-09 01:53:40 -05:00
Maurice Parker
ef44a9b6e6 Fix theme install button text 2021-09-09 01:37:55 -05:00
Maurice Parker
281e41dd2d Add missing punctuation on alert 2021-09-08 05:49:02 -05:00
Maurice Parker
e66344694e Copy the theme if the user requests it to be installed 2021-09-08 05:47:57 -05:00
Maurice Parker
cf171394cf Change case on theme 2021-09-08 00:33:43 -05:00
Maurice Parker
86d63542de Change install text 2021-09-08 00:33:05 -05:00
Maurice Parker
98b9080b1f Implement initial alert dialog when importing a theme 2021-09-08 00:28:13 -05:00
Maurice Parker
512e83d786 Refactor Styles to now be Themes 2021-09-07 16:58:06 -05:00
Maurice Parker
a6f5c67f9d Timeout the run loop to get a final return value after two seconds. Fixes #3276 2021-09-06 14:52:41 -05:00
Maurice Parker
ba279d2a6e Make the Styles folder configurable so that it can be in different places on macOS and iOS. 2021-08-24 20:20:20 -05:00
Maurice Parker
f26e0b8c81 Add hidden preference to suppress syncing on launch. Fixes #894 2021-06-16 20:21:44 -05:00
Maurice Parker
f0ab588c0f Update to latest Account API. 2021-04-12 19:46:59 -05:00
Brent Simmons
87de7c51b5 Update the link for the 6.0 Mac help book. 2021-03-25 17:17:43 -07:00
Maurice Parker
e62cb4847b Only update the timer when the refreshInterval changes 2021-03-25 13:51:40 -05:00
Maurice Parker
84ddd75107 Change refresh behavior so that it doesn't rely on the debug menu. Fixes #2905 2021-03-22 17:20:40 -05:00
Maurice Parker
c1a6c42bd3 Remove Hide Unread Count preference. Fixes #2881 2021-03-14 14:06:09 -05:00
Brent Simmons
91a825343a Add Debug > Force Crash command. Also: let the test for crash report sending work in production. 2021-03-06 14:44:58 -08:00
Brent Simmons
649e3e86ef Update URLs to use netnewswire.com where appropriate. 2021-02-21 18:00:40 -08:00
Maurice Parker
6b0bdf8ca0 Only send statuses on quit and have a 2 second timeout. Fixes #2726 2021-01-18 17:48:07 -06:00
Maurice Parker
7264ea996b Wait until statuses have finished syncing before allowing the application to quit. Fixes #2718 2021-01-09 17:58:51 -06:00
Stuart Breckenridge
1d5c433a1a
adds macOS notification behaviour 2020-12-23 21:44:45 +08:00
Maurice Parker
3022f78434 Integrate PLCrashReporter. Fixes #2524 2020-12-11 18:09:36 -06:00
Maurice Parker
1ac4ec6e3c Fork MainWindow.storyboard so that we stop Catalina and Big Sur from stepping all over each other. 2020-12-06 15:21:30 -06:00
Nate Weaver
a33d42ba66 Replace the single usage of a Log object with os_log() 2020-12-02 07:57:48 -06:00
Maurice Parker
7c91a1df3a Change NetNewsWire News URL to use the XML version since some sync services don't understand JSON. 2020-10-29 17:52:58 -05:00
Maurice Parker
0d36b276e9 Disable the Import Subscriptions menu item if there aren't any accounts that can import OPML files. 2020-10-18 20:32:10 -05:00
Maurice Parker
4284ea26c8 Merge branch 'mac-release' into main 2020-10-18 16:37:00 -05:00
Angelo Stavrow
b102a8b407
Update link in Help menu to version 5.1 2020-09-08 09:03:11 -04:00
Maurice C Parker
9abf27ac63 Restore request for notification authorization on startup since we have the badge on by default. Issue #2375 2020-08-21 12:51:53 -05:00
Stuart Breckenridge
ddbf0fffb6
Fixes #2335
The `ReleaseNotes` struct has been replaced with an extension on URL. Release Notes can now be opened on all versions of NNW.
2020-08-15 15:01:00 +08:00
Maurice Parker
54275225a7 Stub out Share Extension 2020-08-13 18:03:39 -05:00
Maurice Parker
d6ed015514 Don't allow users to add Reddit or Twitter feeds if they don't have an extension configured. 2020-08-12 10:27:58 -05:00
Maurice Parker
f8cf5676e9 Don't allow Twitter or Reddit feeds to be added to accounts that can't handle them 2020-08-11 20:19:17 -05:00
Maurice Parker
c652486663 Change all 10.16 version checks to be 11.0 2020-08-10 11:43:18 -05:00
Maurice Parker
0a9496a583 Initial support for the Unified Toolbar 2020-08-08 20:49:22 -05:00
Maurice Parker
75df979eed Merge branch 'mac-candidate' into main 2020-08-02 18:08:57 -05:00
Angelo Stavrow
2d2c14f9ba
Check if authorized for notifications in AppDelegate before registering 2020-08-02 17:08:30 -04:00
Maurice Parker
b724658528 Refactor how we do Secrets to work with the new Swift Package structure 2020-07-30 17:40:45 -05:00
Maurice Parker
32d6d2f3c1 Convert RSCore into an SPM package 2020-07-29 05:11:57 -05:00
Noelle Leigh
39ab38ff42 Fix Mac/AppDelegate.swift 2020-07-26 05:46:48 -04:00
Stuart Breckenridge
a57f98e4e7 NetNewsWire-Mac AppDefaults is now a singleton 2020-07-02 11:17:38 +08:00
Nate Weaver
68da48071a Add "Open Application Support Folder" Debug menu item 2020-05-15 17:29:24 -05:00