Commit Graph

166 Commits

Author SHA1 Message Date
Brent Simmons
891afe57dd Fix warning about unused value. 2023-04-01 21:18:02 -07:00
Maurice Parker
a39dae0a44 Merge mac-release 2023-02-08 16:37:29 -08:00
Maurice Parker
f7bb4bc447 Merge branch 'mac-release' 2023-02-04 13:21:58 -07:00
Maurice Parker
6c1e1ea1c6 Remove Twitter integration. Fixes #3842 2023-02-03 19:00:13 -08:00
Maurice Parker
b1a86031fe Simplify the help menu and make it match the new iOS settings help section. 2022-12-13 14:27:54 -07:00
Maurice Parker
3897f42815 Fix notification permission request 2022-11-12 13:46:36 -06:00
Maurice Parker
c24ea4d1b5 Code cleanup 2022-11-12 12:33:25 -06:00
Maurice Parker
b7b9344e3d Change how we handle errors when working with Themes 2022-11-08 01:36:28 -06:00
Maurice Parker
e7fdac6b41 Disable some menu items for everyone except Brent 2022-11-04 15:58:41 -05:00
Maurice Parker
2bfff72021 Fix app url used for relaunch 2022-11-04 15:43:05 -05:00
Maurice Parker
f30c5b2bd8 Disable debug menu items if they aren't available. 2022-11-04 15:42:21 -05:00
Maurice Parker
17a602d0e7 Add a Debug menu option to clear the image caches 2022-11-04 14:48:07 -05:00
Stuart Breckenridge
856515a9f3 Merge branch 'main' of https://github.com/Ranchero-Software/NetNewsWire
# Conflicts:
#	NetNewsWire.xcodeproj/project.pbxproj
2022-10-06 20:49:14 +08:00
Stuart Breckenridge
1711cb4c90 Removes the need for AboutView and Notifications
- Subclassed NSHostingController manages the tab bar to keep things tidy.
2022-10-06 20:42:34 +08:00
Maurice Parker
00f40787c7 Add the alert and sound notification permissions so that they show on the System Preferences 2022-10-05 13:15:38 -05:00
Stuart Breckenridge
05aca1c995 About Views
- Tidied up iOS
- Adds refreshed About view to macOS 12+
- About.plist is now shared
2022-10-03 21:16:51 +08:00
Maurice Parker
1d0601634d Change Privacy Policy from a button to a link. Fixes #3696 2022-09-27 19:36:49 -05:00
Maurice Parker
573806c0ca Added Share to the File menu. Fixes #3692 2022-09-27 16:23:20 -05:00
Maurice Parker
29e02ef88c Fix compile error 2022-09-22 04:07:25 -05:00
Stuart Breckenridge
0dd4689bf0 Logging changes
- Adds `Logging` protocol
- Moves to Swift-style `OSLog` usage

os_log to Logger

os_log audit

Replacment of os.log with Logging
2022-09-04 21:31:03 +08:00
Ethan Wong
5e2fe5f610 Add proper OSLog argument for os_log calls. 2022-04-04 13:51:53 +08:00
Maurice Parker
fd151951b9 Merge branch 'ios-candidate' 2022-02-08 10:35:25 -08:00
Maurice Parker
063da4ac02 Change to no longer copy app distributed themes to the Themes folder. Fixes #3447 2022-02-07 16:28:20 -08:00
Maurice Parker
ea6e5b8434 Change to no longer copy app distributed themes to the Themes folder. Fixes #3447 2022-02-07 16:23:08 -08:00
Maurice Parker
3f3f7ffe29 Merge branch 'mac-candidate' 2022-02-06 14:04:31 -08:00
Maurice Parker
0e641b4575 Correct label 2022-02-04 10:55:07 -08:00
Maurice Parker
66ff2c8bed Rename UnifiedWindow to MainWindow and remove the old MainWindow since we no longer support Catalina 2022-01-23 16:00:44 -08:00
Maurice Parker
ea7a101ca5 Change to point to the 6.1 documentation 2022-01-23 13:21:45 -08:00
Stuart Breckenridge
b08d9dfe73 if #available mac
Removes if #available for anything less than macOS 11
2022-01-22 20:55:09 +08:00
Stuart Breckenridge
98da0a534b Mac Notifications: switches alert for banner 2022-01-22 08:38:56 +08:00
Nate Weaver
604aa9e3f8 Fix compiler error with Xcode 12.4/Swift 5.3 2021-10-08 22:32:56 -05:00
Stuart Breckenridge
25f9896832 Localized strings for errors 2021-09-24 09:28:32 +08:00
Stuart Breckenridge
bd6095517b is missing instead of not found 2021-09-23 20:19:41 +08:00
Stuart Breckenridge
e9b84d9219 Theme Import/Opening Changes
Mac:
- Better error messages
- The alert displayed contains an additional button to open the theme's folder (when clicked it will not dismiss the alert).
2021-09-23 20:12:35 +08: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
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