Commit Graph

7687 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
7986e1caee Adds optional theme description 2021-09-21 06:18:15 +08:00
Stuart Breckenridge
1e5fd6499e Corrects identifier spelling 2021-09-21 06:16:38 +08:00
Maurice Parker
86d62cff33 Populate the persistent identifier to make Notes aware of the current activity on Monterey. 2021-09-20 14:31:56 -05: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
105a78bc0f Merge remote-tracking branch 'origin/main' into nnwtheme-downloader 2021-09-20 06:24:32 +08:00
Stuart Breckenridge
0166d47a1e Add URL Scheme documentation 2021-09-20 06:22:34 +08:00
Stuart Breckenridge
7994b34551 adds mac theme downloading 2021-09-19 21:18:23 +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
04d7ab188f Add import button to Themes listing scene 2021-09-18 10:49:30 -05:00
Maurice Parker
42bcaf7e55 Extract Theme Import logic so that it can be reused 2021-09-18 10:28:19 -05:00
Maurice Parker
b43d8b6b28 Change reload so that the text size style can be used in more places. 2021-09-17 15:59:43 -05:00
Maurice Parker
48b2a5ca0f Extract as much HTML as possible from ArticleRenderer 2021-09-17 14:10:33 -05:00
Maurice Parker
ad9c059b8b Change how avatars are themed so that theme makers can control them 2021-09-16 17:11:16 -05:00
Maurice Parker
ee2e2f8fa6 Merge branch 'ios-release' 2021-09-15 05:22:18 -05:00
Maurice Parker
cd930a86a1 Merge branch 'ios-release' of https://github.com/Ranchero-Software/NetNewsWire into ios-release 2021-09-15 05:06:13 -05:00
Maurice Parker
5299134e01 Fix regression that broke state restoration on the iPhone 2021-09-15 05:05:58 -05:00
Maurice Parker
3fdb4a94ae Move Sepia theme to correct location and clean up the header links 2021-09-15 04:16:35 -05:00
Maurice Parker
de956f9473 Change to use JavaScript to detect scroll events as it will also capture scrollbar events 2021-09-13 21:03:27 -05:00
Maurice Parker
2c801a388c Restore the article scroll position when restarting NetNewsWire 2021-09-13 20:42:58 -05:00
Maurice Parker
f44308c0c5 Make state restoration work on both the iPad and the iPhone 2021-09-13 02:22:15 -05:00
Maurice Parker
cccfc69d43 Merge branch 'main' of https://github.com/Ranchero-Software/NetNewsWire 2021-09-13 01:11:35 -05:00
Maurice Parker
5001d82355 Restore article scroll position on iOS 2021-09-13 01:11:23 -05:00
Brent Simmons
ecf944c80a Merge branch 'main' of https://github.com/Ranchero-Software/NetNewsWire into main 2021-09-12 20:05:04 -07:00
Brent Simmons
504c294cc8 Require RSParser 2.0.3 and greater. Fix #3142. 2021-09-12 20:04:54 -07:00
Maurice Parker
87700325cf Changed to use preferredURL incase we run into any malformed links 2021-09-12 21:34:47 -05:00
Maurice Parker
fa4b2531f8
Merge pull request #3102 from robmathers/copy-url-menu-options
Add Copy Article URL & Copy External URL Menu Items. Fixes #1285.
2021-09-12 21:17:50 -05:00
Brent Simmons
746faec2f4 Bump version to 6.0.2 build 609. 2021-09-12 17:57:10 -07:00
Maurice Parker
35b913f4a0 Add the ability to delete a theme on iOS 2021-09-12 16:40:59 -05:00
Maurice Parker
04ff96c60a Fix variable name 2021-09-12 16:35:49 -05:00
Maurice Parker
98999c0cc1 Add Theme selector to iOS 2021-09-12 16:18:55 -05:00
Maurice Parker
1eedc22149 Fix warning about opening files in place 2021-09-12 15:49:12 -05:00
Maurice Parker
7646029f2e Reload the web view when the Theme changes 2021-09-12 15:44:24 -05:00
Maurice Parker
cad91d9415 Add the ability to import themes on iOS 2021-09-12 14:46:15 -05: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
9851629ec9 Implement a way to distribute themes with NetNewsWire 2021-09-12 11:53:34 -05:00
Maurice Parker
020c1f6141 Use a file presenter so that we don't have to switch back to NNW to observe theme edits. 2021-09-12 09:59:03 -05:00
Maurice Parker
abd66ea1bb Maintain scroll position when changing themes 2021-09-11 20:53:57 -05:00
Maurice Parker
baad458138 Add Open Themes button 2021-09-11 20:32:15 -05:00
Maurice Parker
d8098ab2e9 Split stylesheet.css into two different stylesheets to separate things that should be customized from those that should. 2021-09-11 17:49:56 -05:00
Maurice Parker
8633516cc6 Merge branch 'ios-release' 2021-09-11 14:28:20 -05:00
Maurice Parker
25946f3c5a Defer the selection of the feed and article on state restoration to avoid crashes on iPad's running iOS 15 in landscape mode as they restore article selected state. Fixes #3201 2021-09-11 14:28:00 -05:00
Maurice Parker
b4d9423ff2 Add alert to verify overlaying an existing theme 2021-09-09 06:03:28 -05:00
Maurice C Parker
c031aa5cbe Add popup button for selecting article themes on Catalina 2021-09-09 05:47:49 -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