608 Commits

Author SHA1 Message Date
Nate Weaver
246d80a859 Make sure elements inside <a> use the link color 2021-10-05 15:11:30 -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
Maurice Parker
37cb93ed1a
Merge pull request #3301 from stuartbreckenridge/theme-tweaks
Theme tweaks
2021-09-23 20:33:54 -05:00
Maurice Parker
71b0a8d476 Rename the InstalledStyleSheets file to InstalledThemes 2021-09-23 10:00:53 -05: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
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
afd952fbc2 refactors iOS theme downloads 2021-09-20 09:36:09 +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
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
3fdb4a94ae Move Sepia theme to correct location and clean up the header links 2021-09-15 04:16:35 -05:00
Maurice Parker
5001d82355 Restore article scroll position on iOS 2021-09-13 01:11:23 -05:00
Maurice Parker
35b913f4a0 Add the ability to delete a theme on iOS 2021-09-12 16:40:59 -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
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
b4d9423ff2 Add alert to verify overlaying an existing theme 2021-09-09 06:03:28 -05:00
Maurice Parker
622c3b0240 Sort the theme names 2021-09-08 20:02:38 -05:00
Maurice Parker
e68e7420b8 Update the theme popup when the themes change 2021-09-08 17:36:52 -05:00
Maurice Parker
9db72e50e8 Add article theme pop up to General Prefs 2021-09-08 16:38:05 -05:00
Maurice Parker
a645ac9458 Change how Notification names were defined to match our current convention 2021-09-08 14:19:56 -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
b568f03edc Unify the stylesheets into a single one to make building themes easier 2021-09-08 04:58:26 -05:00
Maurice Parker
98b9080b1f Implement initial alert dialog when importing a theme 2021-09-08 00:28:13 -05:00
Maurice Parker
0d089a7246 Remove systemMessageCSS 2021-09-07 23:50:12 -05:00
Maurice Parker
512e83d786 Refactor Styles to now be Themes 2021-09-07 16:58:06 -05:00
Maurice Parker
e7a2dfefdd Change the name of the image source to reload to bypass WKWebView caching. 2021-09-07 12:29:23 -05:00
Maurice Parker
26410dc91e Remove dead CSS 2021-08-26 15: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
707828a9ac Hide Daring Fireball's external link 2021-07-27 13:37:31 -05:00
Maurice Parker
26d27913ae Make external links span the full width of the article area 2021-07-21 17:01:57 -05:00
Nate Weaver
8911627a67 Fix favicons when a feed's homepage URL has non-ASCII in its path 2021-07-18 17:02:49 -05:00
Stuart Breckenridge
db9d326457 moved bridging header to iOS resources 2021-06-16 14:50:53 +08:00
Stuart Breckenridge
0e19a9d98a Adds 1Password Extension to UIKit. 2021-06-16 14:41:51 +08:00