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
Maurice Parker
f9af3c786b
Merge branch 'ios-candidate'
2021-05-25 20:12:50 -05:00
Maurice Parker
4523a28d67
Call completion if even it if we don't initialize the command. Fixes #3092
2021-05-12 20:10:16 -05:00
Brent Simmons
9d2c8f000f
Create and use IconImageCache. It centralizes and de-dupes logic for getting feed/article images, and it caches the results, which helps performance.
2021-05-08 12:42:44 -07:00
Duncan Babbage
16a3a20156
Capture fully resolved footnote backlinks. Extends #3084
2021-04-29 19:57:08 +12:00
Brent Simmons
eddc763c52
Merge pull request #3089 from babbage/bugfix/3043-footnotes
...
Handle footnote backlinks that lack css classes and ids. Fixes #3084 for iOS
2021-04-28 21:56:56 -07:00
Brent Simmons
790218501b
Merge pull request #3079 from babbage/bugfix/3069
...
Handle links with unencoded spaces. Fixes #3069
2021-04-28 21:55:46 -07:00
Duncan Babbage
e5a21cfee6
Handle footnote backlinks w/o css classes. Fixes #3084
2021-04-29 10:17:02 +12:00
Duncan Babbage
9092d075a0
Handle links with unencoded spaces. Fixes #3069
2021-04-28 22:49:32 +12:00
Duncan Babbage
c84fe751e6
Always show Smart Feeds. Fixes #3052
...
Display Smart Feeds always, even when read articles are being hidden and all articles from a feed have been marked as read, and even when there are no items in a Smart Feed.
2021-04-27 12:27:42 +12:00
Maurice Parker
77dd2e5e22
Merge branch 'mac-release' into main
2021-04-15 14:31:52 -05:00
Maurice Parker
3955151daf
Make sure mark as read completes before searching for the next unread. Fixes #2952
2021-04-15 14:29:49 -05:00
Maurice Parker
f2bbacc871
Add completion callbacks so that we can ensure that unreads have been marked before determining the next unread. Fixes #2993
2021-04-15 14:16:51 -05:00
Maurice Parker
991297165b
Add completion callbacks so that we can ensure that unreads have been marked before determining the next unread. Fixes #2993
2021-04-12 19:42:05 -05:00
Maurice Parker
c95daa208f
Add completion callbacks so that we can ensure that unreads have been marked before determining the next unread. Fixes #2993
2021-04-12 19:41:01 -05:00
Maurice Parker
458f918c4d
Remove the autoplay attribute from videos if they have it. Fixes #2973
2021-04-08 09:08:19 -05:00
Maurice Parker
cc6449ed2a
Merge branch 'ios-candidate' into main
2021-04-03 11:10:04 -05:00
Maurice Parker
1874e0c7d2
Change the luminance algorithm so that we don't miss images in unexpected formats. Fixes #2967
2021-04-03 10:40:46 -05:00
Jed Fox
634a3842c7
use semantic CSS names instead of left/right
2021-03-29 17:20:09 -04:00
Maurice Parker
ab5421f533
Merge branch 'mac-release' into main
2021-03-27 17:21:49 -05:00
Stuart Breckenridge
1ca0df67a4
widget and unread badge counts are correct
...
also - counts in the widget revert back to using data available in the SmartFeedsController.
2021-03-26 11:36:20 +08:00
Stuart Breckenridge
ca45ea6e05
Widget now uses limits
2021-03-24 20:30:21 +08:00
Maurice Parker
9c761c80df
Add an optional limit parameter to the smart feeds. Fixes #2627
2021-03-24 05:43:07 -05:00
Maurice Parker
52f11ff538
Add validateFeed parameter to createWebFeed
2021-03-15 18:01:12 -05:00
Maurice Parker
fc697149c0
Merge pull request #2839 from j-f1/hr-styling
...
Add custom CSS for <hr> elements
2021-03-12 16:42:25 -06:00
Maurice Parker
3d3b1088c0
Merge pull request #2873 from j-f1/no-select
...
Make system messages unselectable
2021-03-12 11:33:38 -06:00
Jed Fox
0e5d4585ec
Make system messages unselectable
2021-03-11 22:50:30 -05:00
Jed Fox
38827a8c2a
Remove wp-smiley images
2021-03-11 22:47:34 -05:00
Andrew Brehaut
bd71b5d79a
Update Shared/Article Rendering/newsfoot.js
...
Good catch thanks
Co-authored-by: Jed Fox <git@jedfox.com>
2021-03-10 18:45:07 -06:00
Andrew Brehaut
bffd341992
#2371 Checks footnote target before overriding browser default behavior
2021-03-10 18:44:53 -06:00
Andrew Brehaut
34f00b7780
Update Shared/Article Rendering/newsfoot.js
...
Good catch thanks
Co-authored-by: Jed Fox <git@jedfox.com>
2021-03-10 18:42:48 -06:00
Andrew Brehaut
97b783db38
#2371 Checks footnote target before overriding browser default behavior
2021-03-10 18:42:23 -06:00
Andrew Brehaut
b9ea58dc4f
Update Shared/Article Rendering/newsfoot.js
...
Good catch thanks
Co-authored-by: Jed Fox <git@jedfox.com>
2021-03-11 10:54:25 +13:00
Andrew Brehaut
54064d7a30
#2371 Checks footnote target before overriding browser default behavior
2021-03-11 08:16:51 +13:00
Stuart Breckenridge
8dc6e4e332
Contraint Changes
...
• Fixes #2850
• #2634: resizing vertically downards (expanding) is smooth
2021-03-07 14:21:30 +08:00
Stuart Breckenridge
13dd1d1bb5
tweaks to pre/code css styles
...
Follows Apple’s example.
• `code` within normal text is sized to 1em
• `code` within `pre` is sized slightly smaller and the letter-spacing is tightened
2021-03-06 15:34:34 -06:00
Stuart Breckenridge
ab2bd9db26
tweaks to pre/code css styles
...
Follows Apple’s example.
• `code` within normal text is sized to 1em
• `code` within `pre` is sized slightly smaller and the letter-spacing is tightened
2021-03-06 10:45:58 +08:00
Jed Fox
da3136d4c1
Add custom CSS for <hr> elements
2021-02-26 21:09:40 -05:00
Maurice Parker
53e0354f93
Removed datePublished force unwrap
2021-02-24 16:00:01 -06:00
Brent Simmons
b0a1183e11
Update URLs to use netnewswire.com where appropriate.
2021-02-21 20:21:01 -06:00
Brent Simmons
649e3e86ef
Update URLs to use netnewswire.com where appropriate.
2021-02-21 18:00:40 -08:00
Maurice Parker
00c947fd05
Merge pull request #2790 from stuartbreckenridge/future-proofing
...
: class changed to : AnyObject for protocols
2021-02-10 16:38:12 -06:00
Maurice Parker
cf73fb5bd3
Fix bug that was removing unread notifications by checking the status. Fixes #2786
2021-02-07 17:46:24 -06:00
Stuart Breckenridge
1e578828e9
: class chnaged to : AnyObject for protocols
2021-02-06 07:06:45 +08:00
Maurice Parker
051309d98b
Fix pathing problem with icon image urls
2021-02-04 21:50:03 -06:00
Stuart Breckenridge
474fbedbc3
Widget
...
• Hides count text when there are no articles beyond what is displayed.
• Fixes html appearing in titles.
2021-01-30 09:02:42 +08:00
Maurice Parker
ce93d3aadd
Remove the custom dismiss option from the notification center. Fixes #2760
2021-01-24 10:21:34 -06:00
Stuart Breckenridge
f85c1234a5
Adds to the URL-Extensions file
2021-01-09 06:09:50 +08:00
Stuart Breckenridge
fe194ec2e5
adds iconImageUrl to article utils
2020-12-24 07:31:44 +08:00
Stuart Breckenridge
9a49c6d906
add category to notifications
2020-12-23 21:18:51 +08:00
Stuart Breckenridge
709bafbe62
adds icons and actions to notifications
2020-12-23 19:57:33 +08:00
Brent Simmons
cbf8927ca3
Use Extra Large and Extra Extra Large for text size settings language. Fix #2638 .
2020-12-18 19:36:55 -08:00
Maurice Parker
8c95e62fc0
Don't use the feed icon for XKCD since it is always the current comic and doesn't scale down well. Fixes #2669
2020-12-14 21:36:47 -06:00
Maurice Parker
69acfc5aa6
Suppress warning when building for iOS
2020-12-12 16:25:36 -06:00
Maurice Parker
098141eb7f
Remove unused stylesheet substitutions.
2020-12-08 19:43:53 -06:00
Maurice Parker
6ef29e3927
Update the text size using JavaScript so that the web page doesn't reload. Fixes #2641
2020-12-08 19:00:56 -06:00
Maurice Parker
df359db69f
Fixed the names of the accounts
2020-12-07 13:35:00 -06:00
Maurice Parker
cca33e65eb
Fixed Asset names
2020-12-07 13:18:43 -06:00
Maurice Parker
513cbbd6a4
Merge pull request #2623 from stuartbreckenridge/swift-ui-target-fixes
...
Multiplatform Updates
2020-12-07 12:08:23 -06:00
Stuart Breckenridge
092415e3a9
updated assets
2020-12-07 19:52:35 +08:00
Stuart Breckenridge
c8b5caba60
Look and feel.
2020-12-07 19:22:35 +08:00
Maurice Parker
5927c77a04
Convert iOS smart feed icons back to symbol images so that they show up as white when selected.
2020-12-06 16:01:43 -06:00
Maurice Parker
ef18600acc
Separate background suppression from symbol processing. Fixes #2646 & Fixes #2635
2020-12-06 14:25:22 -06:00