Commit Graph

534 Commits

Author SHA1 Message Date
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 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 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
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
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
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
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
Maurice Parker cf73fb5bd3 Fix bug that was removing unread notifications by checking the status. Fixes #2786 2021-02-07 17:46:24 -06: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
Maurice Parker 2f5486158c Don't try to add macOS only extensions points on iOS 2020-12-06 14:08:46 -06:00
Maurice Parker 7eca28a170 Make Micro.blog and MarsEdit extension points always active. Fixes #2631 2020-12-06 01:24:10 -06:00
Stuart Breckenridge 5780c8066d
refreshTimeline removed 2020-12-03 20:41:37 +08:00
Stuart Breckenridge 8498e723ce
Widget Performance 2020-12-03 20:32:26 +08:00
Stuart Breckenridge d9c39a6964
timeline refresh can now be controlled 2020-11-30 10:08:23 +08:00
Stuart Breckenridge 9f989ac07b
reduces encoded article count 2020-11-29 17:38:17 +08:00
Stuart Breckenridge 9206463e46
layout fixes
• Ensure counts do not wrap
• Reduces number of articles on large widget due to increased spacing.
• Consistent vertical spacing between articles and dividers
2020-11-29 17:12:53 +08:00
Stuart Breckenridge 92c3cd52aa
WidgetDataEncoder
Removed unused taskIdentifier
Added more logging
Switched to FileManager for writing data files
2020-11-22 17:57:30 +08:00
Nate Weaver 755ca7998e Replace String.match() with RegExp.test(); it's slightly more efficient when we don't need the actual result 2020-11-20 11:30:32 -06:00
Nate Weaver 470b8514e4 Make regex case-insensitive 2020-11-20 11:28:59 -06:00
Nate Weaver a227d6124a Add vh/vw to the relative unit check; checking for digits isn't needed 2020-11-20 11:27:08 -06:00
Nate Weaver 6d7cc4d386 Constrain the height of iframes that are percent-sized relative to the document body to 50% of the viewport width 2020-11-20 11:22:07 -06:00