Commit Graph

7817 Commits

Author SHA1 Message Date
Maurice Parker 3809f5acc2 Merge branch 'main' of https://github.com/Ranchero-Software/NetNewsWire 2021-10-07 16:00:08 -05:00
Maurice Parker d134af47a8 Fix compile errors 2021-10-07 15:55:57 -05:00
Maurice Parker 986b59080f
Merge pull request #3312 from Wevah/linked-code-css-fix
Make sure elements inside <a> use the link color
2021-10-07 15:51:53 -05:00
Nate Weaver 246d80a859 Make sure elements inside <a> use the link color 2021-10-05 15:11:30 -05:00
Maurice Parker 6e54598547 Fix type that caused a compile error 2021-09-30 09:43:32 -05:00
Maurice Parker 5716bc3d19 Fix compiler warnings 2021-09-30 09:35:44 -05:00
Maurice Parker ced4ff239a Fix compile errors by updating to latest API for Article 2021-09-30 09:28:09 -05:00
Maurice Parker 0f7659f466
Merge pull request #3307 from babbage/bugfix/3103-copy-repaired-URLs
Use repaired URLs for link, externalLink and imageLink where needed. Fixes #3103
2021-09-30 09:23:56 -05:00
Maurice Parker 2848034f1c
Merge pull request #3306 from paulgodavari/present_error_break
Fix a typo in a variable name
2021-09-30 09:04:06 -05:00
Duncan Babbage f6552e110d Replace raw with repaired links. Fixes #3103 2021-09-30 16:52:00 +13:00
Duncan Babbage cc855f3832 link and URL vars for Article. Storage as rawLink
link and externalLink fall back to providing the raw stored value if URLs cannot be created even with repair.
2021-09-30 16:51:59 +13:00
Paul Godavari 7696ca8c2b Fix a typo in a variable name 2021-09-29 14:16:08 -05:00
Maurice Parker 37cb93ed1a
Merge pull request #3301 from stuartbreckenridge/theme-tweaks
Theme tweaks
2021-09-23 20:33:54 -05:00
Stuart Breckenridge 25f9896832 Localized strings for errors 2021-09-24 09:28:32 +08:00
Maurice Parker 4a3934fd28 Add ellipsis to Add context menu 2021-09-23 11:57:47 -05:00
Maurice Parker 859aa5127c Correct usage of ellipsis in main menu items. 2021-09-23 11:46:58 -05:00
Maurice Parker 812eed67c3 Rename button to "Open Themes Folder" 2021-09-23 10:02:34 -05:00
Maurice Parker 71b0a8d476 Rename the InstalledStyleSheets file to InstalledThemes 2021-09-23 10:00:53 -05:00
Stuart Breckenridge 709d163e9c addtional notes in Themes.md 2021-09-23 21:25:25 +08:00
Stuart Breckenridge bd6095517b is missing instead of not found 2021-09-23 20:19:41 +08:00
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