Commit Graph

152 Commits

Author SHA1 Message Date
Brent Simmons c1c4c8b1b6 Remove a number of uses of forEach. 2024-11-17 22:08:44 -08:00
Brent Simmons 68d5e14837 Fix deprecation warning. 2024-11-02 11:38:43 -07:00
Brent Simmons a91927dd9e Require macOS 14. Remove unneeded uses of #available. 2024-11-02 11:32:52 -07:00
Brent Simmons fac4eded60 Continue renaming webFeed to feed. 2024-11-01 21:58:47 -07:00
Brent Simmons acabaf8f94 Delete no longer needed AddFeedWindowControllerType. 2024-11-01 21:50:51 -07:00
Brent Simmons 61235d0bcb Rename some instances of webFeed to just feed. 2024-11-01 21:48:43 -07:00
Brent Simmons 1c6df38bcc Rename WebFeedIconDownloader to FeedIconDownloader. 2024-11-01 21:46:26 -07:00
Brent Simmons 75d83001cf Rename showAddWebFeedWindow to showAddFeedWindow. 2024-11-01 21:43:15 -07:00
Brent Simmons 050c47c41d Rename Feed protocol to SidebarItem. Rename FeedIdentifier to SidebarItemIdentifier. Rename WebFeed to Feed. 2024-11-01 21:34:08 -07:00
Brent Simmons a91ef3563e Remove code for showing Twitter and Reddit deprecation alerts. 2023-12-19 20:57:47 -08:00
Brent Simmons 4f5d287ef8 Remove last references to isFeedProvider. Fix a couple warnings. 2023-06-28 15:05:18 -07:00
Brent Simmons 3aeda820e4 Remove FeedProviderManager and Feed Provider and remove references to them. 2023-06-28 15:05:02 -07:00
Brent Simmons 007f077542 Remove showAddRedditFeedWindow function and all references to it. 2023-06-28 14:00:24 -07:00
Brent Simmons 2e2491ee66 Create and use API to determine if there are any feeds that require the Reddit API.
# Conflicts:
#	Mac/AppDelegate.swift
2023-06-28 13:44:40 -07:00
Maurice Parker d4985d8fc5 Remove Twitter integration. Fixes #3842 2023-02-03 19:02:49 -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
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
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