Commit Graph

165 Commits

Author SHA1 Message Date
Brent Simmons
4990a99ba8 Fix some build warnings. 2024-03-24 22:42:48 -07:00
Brent Simmons
cda4c9eb29 Make ArticleThemeDownloader a struct with static funcs, which fixes the concurrency warning about the static shared property (which got removed). 2024-03-24 21:25:11 -07:00
Brent Simmons
b94935998b Use async versions of UNUserNotificationCenterDelegate functions. 2024-03-24 12:18:50 -07:00
Brent Simmons
797d7ef2e0 Fix Mac build errors. 2024-03-21 17:21:50 -07:00
Brent Simmons
2461e937bf Replace RSCore with several local modules. Update code as needed. 2024-03-20 20:49:15 -07:00
Brent Simmons
d0760f3d12 Continue fixing concurrency warnings. 2024-03-19 23:05:30 -07:00
Brent Simmons
b2d3128b2d Fix build errors. 2024-03-19 10:15:30 -07:00
Brent Simmons
e58f8ada42 Fix many build errors. 2024-03-18 21:08:37 -07:00
Brent Simmons
78047fcaf7 Get rid of SecretsManager. It wasn’t thread-safe, and it existed only for tests (and it wasn’t thread-safe for tests either). Pass SecretsProvider parameter where it’s needed. 2024-03-10 22:22:41 -07:00
Brent Simmons
9129cd382c Remove some no-longer-needed #available checks. 2024-02-27 20:02:31 -08:00
Brent Simmons
4c866b7230 Rename WebFeed and webFeed to Feed and feed. 2024-02-25 23:12:21 -08:00
Brent Simmons
b705433270 Rename WebFeed to Feed. 2024-02-25 21:41:18 -08:00
Brent Simmons
25776ce0c3 Make AppDelegate a final class. 2024-02-23 21:40:41 -08:00
Brent Simmons
071d029818 Fix deprecation warning. 2023-12-13 20:07:58 -08:00
Brent Simmons
c05ef2344f Remove unused code and references to Twitter and Reddit. 2023-11-25 11:44:34 -08:00
Brent Simmons
7f295797ee Remove last references to isFeedProvider. Fix a couple warnings. 2023-06-25 16:19:20 -07:00
Brent Simmons
85704acd9c Remove FeedProviderManager and Feed Provider and remove references to them. 2023-06-25 16:11:55 -07:00
Brent Simmons
d232cf43c7 Remove showAddRedditFeedWindow function and all references to it. 2023-06-25 15:26:37 -07:00
Brent Simmons
4dd3d60c78 Create and use API to determine if there are any feeds that require the Reddit API. 2023-06-25 15:01:53 -07:00
Brent Simmons
e6a25f374a Show Reddit deprecation alert if needed. 2023-06-18 15:53:37 -07:00
Brent Simmons
0ba9a06b92 Update Twitter notice to not specify any dates. Bump version and build. 2023-03-13 21:44:32 -07:00
Brent Simmons
fda56b4423 Update the Twitter removal warning to say “later in February” instead of “February 9,” since Twitter postponed the removal date to the 13th, and might do so again. 2023-02-09 21:51:58 -08:00
Brent Simmons
e7ae7887e3 Add and use anyLocalOriCloudAccountHasAtLeastOneTwitterFeed in AccountManager. Simplify date comparison code. 2023-02-05 20:17:31 -08:00
Stuart Breckenridge
b83345a47f
Adds account type check for Twitter deprecation alert 2023-02-05 21:30:44 +08:00
Stuart Breckenridge
da91548875
Shows Twitter deprecation alert on macOS 2023-02-05 09:40:41 +08:00
Maurice Parker
6c1e1ea1c6 Remove Twitter integration. Fixes #3842 2023-02-03 19:00:13 -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
0e641b4575 Correct label 2022-02-04 10:55:07 -08:00
Maurice Parker
ea7a101ca5 Change to point to the 6.1 documentation 2022-01-23 13:21:45 -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