Commit Graph

735 Commits

Author SHA1 Message Date
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
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
Nate Weaver
72ce1e3f00 Strip position from style attributes 2020-11-20 11:02:30 -06:00
Maurice Parker
90c5ad8351 Shorten the max external URL length so that it is less likely to wrap on the iPhone at the default size 2020-11-20 10:36:04 -06:00
Maurice Parker
f00a0d17de Revise external link so that it now looks like part of the article header 2020-11-20 02:51:06 -06:00
Maurice Parker
6398c56511 Add external_url to article header if the article is a link-blog style article. Fixes #2569 2020-11-20 02:17:17 -06:00
Stuart Breckenridge
e8174d0070
ditched filtering 2020-11-19 20:41:05 +08:00
Stuart Breckenridge
b34510eb5c
changes the behaviour of the today widget 2020-11-19 20:21:04 +08:00
Maurice Parker
6784c2a705 Fixed crash due to force unwrapping publishedDate 2020-11-19 05:09:50 -06:00
Stuart Breckenridge
1bdfb3aafc Make sure there is a title 2020-11-19 15:38:50 +08:00
Stuart Breckenridge
264668a663 Widgets
simplified code
added large widgets
localised the counts
updated technotes
2020-11-18 15:43:14 +08:00
Stuart Breckenridge
58e18f4bcb Widget Bundle
• Adds small smartfeed summary widget.
• Adds medium widgets for today, unread, and starred.
2020-11-18 10:49:12 +08:00
Maurice Parker
948998382d Make article view text adjustable via the app preferences. Fixes #42 2020-11-03 17:08:56 -06:00
Maurice Parker
c307b32c02 Remove unreachable default compiler warning 2020-11-03 10:09:13 -06:00
Daniel Jalkut
d8f9cf59dd Change double-spaces after sentence ends to single space. Change pluralization for URL to URLs. 2020-11-01 18:29:13 -05:00
Daniel Jalkut
1ced4448ea Support a new secret user default JalkutRespectFolderExpansionOnNextUnread, and revise the "next unread" strategy so that whether the search for a next unread wraps around to the top or not is parameterized. 2020-11-01 17:33:48 -05:00
Maurice Parker
fb592e192c Only pause video that has controls (and thus sound) 2020-10-30 19:16:15 -05:00
Maurice Parker
f7d5cf4f58 Fix javascript syntax error 2020-10-30 17:25:25 -05:00
Maurice Parker
5338cd88fe Automatically loop and play Twitter animated gifs without video controls 2020-10-30 16:43:32 -05:00
Maurice Parker
198a5c29bf Rename templateImage to just image since we don't use template images anymore 2020-10-30 15:42:45 -05:00
Stuart Breckenridge
0c196dca88
Look and feel updates 2020-10-29 12:07:18 +08:00
Stuart Breckenridge
7bd7dd892e
Removes dead code 2020-10-27 17:56:42 +08:00
Stuart Breckenridge
03611bc6ec
Add Accounts UI Refresh
• An extenison has been added to `AccountType` for iconColors (which have been added to the asset catalogs) and localised account names. SPM can handle resources so it might make sense to move to there.

• Add Account screen now has sections for local, icloud, web, and self-hosted, icons are now tinted and sized a bit smaller, and text is now `body` sized.
2020-10-27 11:42:28 +08:00
Maurice Parker
8af61ea6ad Add Inoreader AppID and Key compatibility 2020-10-24 21:25:00 -05:00
Maurice Parker
ec66c08f9a Make status marking asynchronous. 2020-10-24 17:17:46 -05:00
Nate Weaver
643b9f4659 Make sure range.location isn't out-of-bounds
Fix for #2512.
2020-10-20 12:05:52 -05:00
Nate Weaver
d680cbb43e Force our background-color on <body>
Some feeds, e.g. generated from newsletters, have internal <body> elements with background-colors that WebKit will move to the real <body>.
2020-10-19 12:03:40 -05:00
Nate Weaver
5dfb4dc369 Force tables with border="0" to have no border 2020-10-19 11:55:58 -05:00
Maurice Parker
4284ea26c8 Merge branch 'mac-release' into main 2020-10-18 16:37:00 -05:00
Maurice Parker
8b3bd2f388 Move Reachability to RSWeb 2020-10-06 19:25:42 -05:00
Maurice Parker
c580877a86 Change to utilize ArticleFetchers instead of Feeds so that the single article fetcher stops getting filtered out. Issue #2416 2020-09-12 18:09:42 -05:00
Maurice Parker
feba4a7bc6 Change to respect individual feed filters when multiple feeds are selected. Issue #2399 2020-09-08 17:14:49 -05:00
Brent Simmons
f51f2ba7ac Fix color for non-link text in header. 2020-08-30 17:20:13 -07:00
Maurice C Parker
a5fc1337ff Revert "Revert "Fix header color. Issue #2368""
This reverts commit 161194d375.
2020-08-21 20:09:21 -05:00
Maurice C Parker
161194d375 Revert "Fix header color. Issue #2368"
This reverts commit 15084f2a79.
2020-08-21 20:08:32 -05:00
Maurice Parker
15084f2a79 Fix header color. Issue #2368 2020-08-21 19:38:07 -05:00
Maurice Parker
b0e7ae0324 Merge branch 'mac-candidate' into main 2020-08-19 21:03:55 -05:00
Maurice Parker
b0b2ab04fc Make date line a lighter text color. Issue #2361 2020-08-19 15:44:40 -05:00
Maurice Parker
f7fb859ea9 Make article source gray. Issue #2368 2020-08-19 12:48:20 -05:00
Maurice Parker
bbd2dfad45 Change article accent color to be NNW blue. Issue #2367 2020-08-19 12:31:03 -05:00
Maurice Parker
1cda2ac3be Discard the email address in the byline if it is a no reply. Issue #2351 2020-08-18 17:44:28 -05:00
Maurice Parker
a500166af0 Merge branch 'ios-release' into main 2020-08-15 11:03:29 -05:00
Stuart Breckenridge
ddbf0fffb6
Fixes #2335
The `ReleaseNotes` struct has been replaced with an extension on URL. Release Notes can now be opened on all versions of NNW.
2020-08-15 15:01:00 +08:00
Maurice Parker
eccfd5e15b Finish macOS Share Extension 2020-08-14 10:25:55 -05:00
Maurice Parker
54275225a7 Stub out Share Extension 2020-08-13 18:03:39 -05:00
Maurice Parker
58f6a3e179 Update the Twitter User layout 2020-08-13 11:27:21 -05:00
Maurice Parker
73b120a91c Change any glyphs in the sidebar to white when selected to make them visible regardless of use control color selection 2020-08-10 13:53:21 -05:00
Maurice Parker
c652486663 Change all 10.16 version checks to be 11.0 2020-08-10 11:43:18 -05:00
Maurice Parker
1fba0ed247 Don't show a background on symbol images 2020-08-08 17:27:32 -05:00
Maurice Parker
2ed0844efd Gate the font size style substitution 2020-08-03 10:45:29 -05:00
Maurice Parker
8e22c711bf Remove SWIFTUI compiler directive now that Xcode 12 is required for work on main 2020-08-03 10:14:45 -05:00
Maurice Parker
8337306858 Fix macOS 11 deprecation 2020-08-02 13:37:09 -05:00
Maurice Parker
b724658528 Refactor how we do Secrets to work with the new Swift Package structure 2020-07-30 17:40:45 -05:00
Maurice Parker
1de3c75d4f Add update timeline articles statuses back in 2020-07-25 13:53:46 -05:00
Maurice Parker
e88e4f65a5 Switch TimelineItems to use an OrderedDictionary 2020-07-25 10:31:22 -05:00
Stuart Breckenridge
673f0ce718
Handles single and multiple sync failures
If a single sync failure is encountered a sheet is presented which allows the user to update their credentials.

If multiple sync failures are encountered an alert is shown listing the accounts which encountered errors. On iOS, this alert can take the user into Settings, but there is no obvious way to programatically pesent macOS preferences.
2020-07-25 16:40:04 +08:00
Maurice Parker
e315687cc9 Supply a background for the icon if it is too short or hard to see. Issue #2220 2020-07-20 21:01:25 -05:00
Maurice Parker
e7a68f433d Optimized Timeline context menu so that it isn't constantly scanning for article location in array 2020-07-20 16:21:48 -05:00
Nate Weaver
fc2d5b7b28 Set max-width of <object> to 100% 2020-07-16 09:21:42 -05:00
Stuart Breckenridge
7183b853bd
#2256
Fixes #2256
2020-07-13 14:24:57 +08:00
Maurice Parker
95a8f6d72d Merge branch 'swiftui' 2020-07-10 15:28:14 -05:00
Maurice Parker
206f0e7263 Add SWIFTUI compiler directive 2020-07-10 15:21:47 -05:00
Nate Weaver
5acce87995 Mac: Make shift-space scroll up even when the detail view doesn't have focus
Issue #969.
2020-07-10 13:57:34 -05:00
Maurice Parker
0e3ee19e3a Made Article View match system accent color 2020-07-08 17:26:53 -05:00
Maurice Parker
526fe71cf1 Merge branch 'master' into swiftui 2020-07-08 13:23:23 -05:00
Maurice Parker
e1c8479515 Prevent Twitter embeds from cutting off. Issue #2166 2020-07-07 11:47:52 -05:00
Maurice Parker
6b45a72707 Change unread indicator font and weight to match existing iOS parameters 2020-07-03 20:03:36 -05:00
Maurice Parker
4393e54a5c Fix unread indicator color 2020-07-03 19:41:38 -05:00
Nate Weaver
014724e6a7 Don't force iframe height to auto
Prevents truncating of YouTube embeds without needing a wrapper div.

(master version of 82f8951c96).

This also sets max-width: 100%; on video instead of width: 100% !important;.
2020-07-02 04:45:08 -05:00
Nate Weaver
dc57981376 Only wrap iframes that don't specify their own height
(master version of e183a5406c)
2020-07-02 04:32:58 -05:00
Stuart Breckenridge
c2149579c9 Converts AppDefaults to singleton 2020-07-02 09:58:25 +08:00
Maurice Parker
67c0e00957 Make multiplatform compile shared app resources 2020-06-28 03:05:01 -05:00
Rizwan Mohamed Ibrahim
f2cd09aae3
refactor open in app browser with global shortcuts 2020-05-29 20:39:04 +05:30
Rizwan Mohamed Ibrahim
d671029828
refactor open in app browser for mac and iOS 2020-05-29 19:26:20 +05:30
Rizwan Mohamed Ibrahim
eb7ac0f076
fix open in app browser for mac and iOS 2020-05-29 15:44:32 +05:30
Maurice Parker
2ad01885c1 Increase link brightness for darkmode to make links more easy to read 2020-05-27 10:37:50 -05:00
Martin Nash
425b48a4e5 Updated keyboard shortcut title to match title of other shortcuts performing the same action. 2020-05-26 22:12:05 -07:00
Martin Nash
d38c58942c Fix issue where pressing the [return] key with an article highlighted would not open that article in the browser. KeyboardShortcut was calling a selector that didn't exist in the macOS app. 2020-05-26 22:11:33 -07:00
Martin Nash
3e48be050e Updated function name to openInBrowserUsingOppositeOfSettings 2020-05-21 22:28:30 -07:00
Martin Nash
834be9edff 2099 | Keyboard shortcut to open in browser in background/foreground contrary to user preference.
- Add openInBrowserAlternate() function
- Add shit-modified entries to to GlobalKeyboardShortcuts.plist to trigger new function
2020-05-20 22:15:00 -07:00
Nate Weaver
6723599ea0 Strip inline max-width and max-height from elements 2020-05-20 16:36:30 -05:00
Nate Weaver
f5101d44a4 Strip inline max-width and max-height from elements 2020-05-20 16:15:04 -05:00
Maurice Parker
7d8e49a2ee Merge branch 'ios-release' 2020-05-18 03:05:59 -05:00
Maurice Parker
fd6736a897
Merge pull request #2077 from stuartbreckenridge/notifications
Notifications
2020-05-15 07:41:01 -05:00
Stuart Breckenridge
fa51fa47b4
reorged the send notification code 2020-05-15 20:32:33 +08:00
Stuart Breckenridge
23ee6761ca
adds grouping and summaries to notifications 2020-05-15 19:53:44 +08:00
Maurice Parker
225c98a70e
Merge pull request #2073 from rizwankce/open-in-safari-shortcut
Keyboard shortcuts for "Open in App Browser"
2020-05-15 04:38:26 -05:00
Rizwan Mohamed Ibrahim
c9ebb6bd75
adds "Open In App Browser" shortcut 2020-05-15 12:39:33 +05:30
Rizwan Mohamed Ibrahim
f7f7f4dddb
adds keyboard shortcuts for open in Safari 2020-05-14 17:58:38 +05:30
Maurice Parker
06e91aa8b7 Add the Add Reddit Feed dialog 2020-05-10 11:44:30 -05:00
Maurice Parker
faab33ab2e Save and toggle full screen state. Issue #2053 2020-05-09 14:14:46 -05:00
Maurice Parker
80e9cdba5e Change H1 padding to take a little off the bottom 2020-05-09 11:35:10 -05:00
Maurice Parker
55cb4d5af8 Back out demo css change 2020-05-09 10:24:37 -05:00
Maurice Parker
c16dbc125d Add support for pseudo subreddits 2020-05-09 10:23:37 -05:00
Maurice Parker
78cefecaad Make sure we are only going after a given URL once 2020-05-04 17:48:53 -05:00
Stuart Breckenridge
f58ac4d160
Wraps Alert strings in NSLocalizedString
Also removes `tel` scheme handling.
2020-05-04 13:25:02 +08:00
Maurice Parker
0344992cf4 Fix extension point id serialization bugs 2020-05-03 14:15:57 -05:00
Maurice Parker
ccd600b880 Make authorize endpoint async 2020-05-03 13:23:36 -05:00
Stuart Breckenridge
e825a5d516
Adds handling of tel url schemes 2020-05-03 22:37:01 +08:00
Stuart Breckenridge
f901436211
mailto links now open on iOS
fixes #2036

Extends `URL` with an email address `var` for `mailto` schemes and adds a decisionHandler for `mailto` schemes on `WebViewController`. If the device cannot send mail, an alert is displayed.
2020-05-03 21:33:57 +08:00
Maurice Parker
e681fd6402 Stub out Reddit Feed Provider / Extension Point 2020-05-02 19:38:57 -05:00
Maurice Parker
41a17dfb06 Restrict build button on iOS so that it only appears if Twitter is enabled 2020-05-02 17:21:01 -05:00
Nate Weaver
688b24f18e Swap baseDescriptor and currentDescriptor to allow semibold to come through 2020-05-01 01:56:19 -05:00
Nate Weaver
37f1ebc025 Remove the color parameter as it's no longer needed 2020-05-01 01:45:12 -05:00
Nate Weaver
cc0bfd95b2 Add a comment 2020-05-01 01:42:44 -05:00
Nate Weaver
ae40172b7c Make superscript/subscript work again 2020-05-01 01:42:44 -05:00
Nate Weaver
5d8604714c Revert setting bold to heavy if the base font is semibold
- It was causing conflicts with nested bold + other styles.
- We don't want bold in titles anyway.
2020-05-01 01:42:44 -05:00
Nate Weaver
406a8e0cc0 Set weight for bold fonts 2020-05-01 01:42:44 -05:00
Nate Weaver
d47767d8b4 Remove tagStack 2020-05-01 01:42:44 -05:00
Nate Weaver
951ffeb899 Move declaration/initialization of attributes dictionary closer to use 2020-05-01 01:42:44 -05:00
Nate Weaver
cce4b56ee5 Fix building for iOS 2020-05-01 01:42:44 -05:00
Nate Weaver
f38406e3ac Make the return type of CountedSet's subscript non-optional 2020-05-01 01:42:44 -05:00
Nate Weaver
62737bd94f Add <var> and <dfn> to italicized tags 2020-05-01 01:42:44 -05:00
Nate Weaver
7297bf837d Re-add use of custom initializer 2020-05-01 01:42:43 -05:00
Nate Weaver
c555646fb2 Add attributed title support in the timeline 2020-05-01 01:42:43 -05:00
Nate Weaver
ec49030081 Consolidate some repeated code 2020-05-01 01:42:43 -05:00
Nate Weaver
2672dbb8f1 Remove old comment 2020-05-01 01:42:43 -05:00
Nate Weaver
8006d816a9 Style(tag:) -> Style(forTag:) 2020-05-01 01:42:43 -05:00
Nate Weaver
fcbfce4ace Move duplicated code outside of the if 2020-05-01 01:42:43 -05:00
Nate Weaver
b7916f7d31 Convert to an if-let since currentStyles are being stored instead of a single style 2020-05-01 01:42:43 -05:00
Nate Weaver
7f3b77b760 Quote nested <q> tags with alternating quote marks 2020-05-01 01:42:43 -05:00
Nate Weaver
e6cbdb5d23 Remove font parameter 2020-05-01 01:42:43 -05:00
Nate Weaver
ee4830022e Mark some stuff private 2020-05-01 01:42:43 -05:00
Nate Weaver
d06e7447f0 Call out to RSParser for entity decoding 2020-05-01 01:42:43 -05:00
Nate Weaver
e8d39ded0d tagBuf -> tag 2020-05-01 01:42:43 -05:00
Nate Weaver
bdd5796a10 Use a custom CountedSet for styles so nested tags work 2020-05-01 01:42:43 -05:00
Nate Weaver
b722e75d9e Use a nested function for superscript/subscript features 2020-05-01 01:42:43 -05:00
Nate Weaver
fd672c5ce6 Add a custom HTML -> NSAttributedString initializer 2020-05-01 01:42:43 -05:00
Maurice Parker
86fb98c17b
Revert "WIP: Title tags" 2020-04-24 20:24:24 -05:00
Nate Weaver
b437ddab5c Move NSAttributedString+NetNewsWire into Shared/Extensions 2020-04-24 18:25:56 -05:00
Nate Weaver
d84ed6068f Add a convenience initializer for attributed strings from an html string 2020-04-24 16:20:41 -05:00
Nate Weaver
06b3d2f8e1 Declare UTF-8 to avoid mojibake 2020-04-24 16:20:40 -05:00
Nate Weaver
3d509a94d4 Add attributed title support in the timeline 2020-04-24 16:20:40 -05:00
Maurice Parker
ee92cf69d2 Merge branch 'extension-point' 2020-04-24 13:34:13 -05:00
Maurice Parker
d1ca2cac79 Remove username from WebFeed and put it in the URL 2020-04-24 13:33:43 -05:00
Nate Weaver
37ae46ea4c Merge more styles and fix styling of tables with explicit thead/tbody/tfoot
Also use :matches() to simplify some rules.

# Conflicts:
#	Mac/MainWindow/Detail/styleSheet.css
#	iOS/Resources/styleSheet.css
2020-04-23 23:21:22 -05:00
Maurice Parker
530f06dfca Merge branch 'master' into extension-point 2020-04-23 16:40:41 -05:00
Maurice Parker
ac45ba57a9 Merge branch 'ios-release' 2020-04-23 15:32:55 -05:00
Brent Simmons
bc2d325022 Remove an error log that’s just noise. 2020-04-22 20:41:13 -07:00
Maurice Parker
0ac5a6dbca Disable Twitter Extension Point for Developer Build. 2020-04-22 14:16:50 -05:00
Maurice Parker
d0d29fd7da Merge branch 'master' into extension-point 2020-04-19 19:01:11 -05:00
Nate Weaver
2a6d9994ea Move shared CSS into its own file 2020-04-19 18:38:33 -05:00
Nate Weaver
183d703fd3 Use classList instead of string manipulation 2020-04-17 07:09:49 -05:00
Maurice Parker
660cf29305 Add username storage on WebFeed 2020-04-16 18:19:49 -05:00
Maurice Parker
9b39165018 Merge branch 'master' into extension-point 2020-04-16 16:37:18 -05:00
Maurice Parker
afdfe5fe71 Merge branch 'ios-release' 2020-04-16 16:36:53 -05:00
Maurice Parker
d4b5d7bde4 Add FeedProviderManager 2020-04-16 15:06:56 -05:00
Maurice Parker
96dd4bb731 Merge branch 'master' into extension-point 2020-04-16 13:37:38 -05:00
Maurice Parker
5afda76134 Merge branch 'accent-color-experimental' 2020-04-16 13:35:12 -05:00
Maurice Parker
eb02568409 Made Feed Providers part of the Account project 2020-04-16 11:15:39 -05:00
Maurice Parker
d168658e05 Add Extension Point maintenance to the iOS app. 2020-04-16 08:25:40 -05:00
Maurice Parker
f8a664d035 Cache the feed provider results to make it as fast as the other icon look up types. 2020-04-16 02:17:38 -05:00
Maurice Parker
c44759fdb2 Add web feed icon downloader support for Feed Providers. 2020-04-15 20:17:33 -05:00
Maurice Parker
c414d22666 Merge branch 'master' into extension-point 2020-04-15 19:02:20 -05:00
Nate Weaver
8bb249b1ad Fix typo 2020-04-15 16:39:58 -05:00
Maurice Parker
266e136787 Design and stub out FeedProvider protocol 2020-04-15 16:35:09 -05:00
Maurice Parker
d883981afd Move oauth1 provider implementation fo main TwitterFeedProvider class. 2020-04-15 14:14:33 -05:00
Maurice Parker
42853fe487 Renamed source file to match usual conversions for extensions. 2020-04-15 14:12:31 -05:00
Maurice Parker
e15462fd61 Persist twitter tokens in the keychain. 2020-04-14 23:19:06 -05:00
Maurice Parker
9e0248c494 Correctly save Twitter ExtensionPoints 2020-04-14 23:03:08 -05:00
Maurice Parker
df79da291f Change how ExtensionPoint titles are handled. 2020-04-14 22:33:05 -05:00
Maurice Parker
e206909237 Refactor ExtensionPoints to make them easier to create in the future. 2020-04-14 16:47:05 -05:00
Maurice Parker
266c28d9be Add new OAuth1 credential requirements for Twitter 2020-04-14 10:15:24 -05:00
Maurice Parker
a168c2ce80 Merge branch 'master' into accent-color-experimental 2020-04-13 07:20:57 -05:00
Brent Simmons
6d9eda442f Remove userDeleted support. The read-items filter seems to fill the need to hide things. We’re simplifying the backend by removing this unused feature. 2020-04-12 17:12:36 -07:00
Maurice Parker
a131c01e77 Merge branch 'master' into extension-point 2020-04-11 18:14:30 -05:00
Maurice Parker
e6c5d2f199 Merge branch 'ios-release' 2020-04-11 15:59:37 -05:00
Maurice Parker
3ba9ca8c8a Added new Secrets framework project 2020-04-09 21:07:56 -05:00
Brent Simmons
f54f65781c Update some slightly-changed feed URLs in the defaults. Replace Omni’s blog with Craig Hockenberry’s. 2020-04-08 21:25:23 -07:00
Maurice Parker
d49eabbcb3 Add extension management for our two SendToCommand implementations 2020-04-08 20:22:13 -05:00
Maurice Parker
61b755486a Flesh out the ExtensionPointManager a little 2020-04-08 13:46:15 -05:00
Maurice Parker
14189b19e9 Change extension point so that multiple of the same type can exist. 2020-04-08 10:12:06 -05:00
Maurice Parker
49cff8eb8e Add basic ExtensionPoint support. 2020-04-07 15:25:33 -05:00
Maurice Parker
3459f23461 Merge branch 'master' into accent-color-experimental 2020-04-06 09:20:44 -05:00
Maurice Parker
f68d523a15 Merge branch 'ios-release' 2020-03-30 11:50:58 -05:00
Maurice Parker
d0852d8954 Fix scenario where incorrect platform specific icon image could be returned. 2020-03-30 10:56:52 -05:00
Maurice Parker
2afdd26c9d Change function names using the find suffix to use the existing suffix to match precedent. 2020-03-29 12:00:02 -05:00
Maurice Parker
e23cc4d8a6 Merge branch 'master' into accent-color-experimental 2020-03-28 00:56:53 -05:00
Maurice Parker
6d085fdacf Inline videos and enable player controls for both Mac and iOS. Issue #1952 2020-03-28 00:56:29 -05:00
Maurice Parker
c6bd60eb1e Merge branch 'master' into accent-color-experimental 2020-03-24 12:24:59 -05:00
Maurice Parker
d0680bcc73 Merge branch 'ios-release' 2020-03-24 12:21:32 -05:00
Maurice Parker
a6e75df412 Send out an event if we found a cached favicon downloader for new homepage URL. Issue #1940 2020-03-24 12:21:08 -05:00
Maurice Parker
6a384d99e6 Darken and lighten the accent color for the article view. 2020-03-20 08:13:39 -05:00
Maurice Parker
1e1fce59da Use system accent color to tint the article view 2020-03-20 06:41:38 -05:00
Brent Simmons
910e14b441 Use a serial queue for RSImage.scaledForIcon, so we don’t end up having a ton of threads and doing too much at once, which hurts performance. Fix #1489. 2020-03-19 22:22:58 -07:00
Maurice Parker
4d18c34759 Update to the latest RSCore 2020-03-18 16:08:17 -05:00
Maurice Parker
770206df60 Merge branch 'ios-release' 2020-03-17 17:19:31 -05:00
Maurice Parker
36841602a5 Change article rendering to use loadHTMLString instead of JavaScript. Issue #1923 2020-03-17 17:18:24 -05:00
Maurice Parker
5b5eaf6bb7 Merge branch 'ios-release' 2020-03-14 17:13:25 -05:00
Maurice Parker
dd3fde7812 Changed from using the main screen scale which might change to using the max screen scale. Issue #396 2020-03-14 15:40:40 -05:00
Maurice Parker
73e7fb40ed Fixed macOS compile error for new brightness code detection. 2020-03-13 10:51:49 -05:00
Maurice Parker
e0f8f7c5eb Increase brightness threshold to reduce false positives. Issue #1731 2020-03-13 10:45:02 -05:00
Maurice Parker
d0cf04bd4f
Merge pull request #1892 from flowinho/ios-release
Add background to pure white icons
2020-03-13 10:04:56 -05:00
Flowinho
d282181269 Add isBright function to Shared Logic 2020-03-13 11:43:17 +01:00
Maurice Parker
77fd3020cc Correct font used to specify font size. Issue #1878 2020-03-12 19:01:10 -05:00
Nate Weaver
781dd2ff73 Fix null error in wrapTables() 2020-03-12 18:32:42 -05:00
Nate Weaver
5bbda2a68e "footnotes" -> ".footnotes"; use idFromHash() 2020-03-12 18:32:42 -05:00
Nate Weaver
76dd3abff2 Properly style footnotes that have been absoluted 2020-03-12 18:32:42 -05:00
Nate Weaver
509ef01213 URL-decode the ID to make it work with non-ASCII characters
Fixes #1812.
2020-03-12 18:32:42 -05:00
Maurice Parker
61a2e95d2b Manually specify the font size to work around a WKWebView resizing bug. Issue #1878 2020-03-12 18:07:40 -05:00
Maurice Parker
343f705cd7 Fix article read filter which wasn't persisting correctly. 2020-03-12 12:07:01 -05:00