Commit Graph

7897 Commits

Author SHA1 Message Date
Stuart Breckenridge 88674d2fc4 Consistent theme error messages on iOS 2021-09-23 20:16:09 +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
Maurice Parker f73426f397 Added the Promenade theme to the defaults 2021-09-22 19:22:07 -05:00
Maurice Parker 54319b28bb
Merge pull request #3300 from danielpunkass/fix-sepia
Fix a typo in the key for the ThemeIdentifier in Sepia.nnwtheme.
2021-09-22 19:17:05 -05:00
Daniel Jalkut 6f6705e3e0 Fix a typo in the key for the ThemeIdentifier in Sepia.nnwtheme. 2021-09-22 14:09:26 -04:00
Maurice Parker c5388b8d0d Merge branch 'main' of https://github.com/Ranchero-Software/NetNewsWire 2021-09-22 11:34:18 -05:00
Maurice Parker 95579e015d Added the Appanoose theme 2021-09-22 11:34:12 -05:00
Maurice Parker b022854397
Merge pull request #3299 from stuartbreckenridge/nnwtheme-downloader
Performs search of directory for theme file.
2021-09-21 20:22:52 -05:00
Stuart Breckenridge 94ed186b8c Perfoms search of directory for theme file. 2021-09-22 09:17:48 +08:00
Maurice Parker d42784d099
Merge pull request #3297 from stuartbreckenridge/nnwtheme-downloader
[Experimental] Adds URL scheme support for directly opening themes in NetNewsWire.
2021-09-21 02:29:17 -05: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 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