66 Commits

Author SHA1 Message Date
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
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
512e83d786 Refactor Styles to now be Themes 2021-09-07 16:58:06 -05:00
Maurice Parker
26d27913ae Make external links span the full width of the article area 2021-07-21 17:01:57 -05: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
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
Maurice Parker
948998382d Make article view text adjustable via the app preferences. Fixes #42 2020-11-03 17:08:56 -06: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
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
c652486663 Change all 10.16 version checks to be 11.0 2020-08-10 11:43:18 -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
206f0e7263 Add SWIFTUI compiler directive 2020-07-10 15:21:47 -05:00
Maurice Parker
0e3ee19e3a Made Article View match system accent color 2020-07-08 17:26:53 -05:00
Maurice Parker
2ad01885c1 Increase link brightness for darkmode to make links more easy to read 2020-05-27 10:37:50 -05:00
Nate Weaver
c555646fb2 Add attributed title support in the timeline 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
3d509a94d4 Add attributed title support in the timeline 2020-04-24 16:20:40 -05:00
Maurice Parker
5afda76134 Merge branch 'accent-color-experimental' 2020-04-16 13:35:12 -05:00
Nate Weaver
8bb249b1ad Fix typo 2020-04-15 16:39:58 -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
Maurice Parker
36841602a5 Change article rendering to use loadHTMLString instead of JavaScript. Issue #1923 2020-03-17 17:18:24 -05:00
Maurice Parker
77fd3020cc Correct font used to specify font size. Issue #1878 2020-03-12 19:01:10 -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
Brent Simmons
cac67f8ac4 Use percent-encoding — via URLComponents — on the articleID in the nnwImageIcon URL scheme. 2020-02-08 17:21:55 -08:00
Nate Weaver
447cc44b8e Put <title> and <base> in the <head> instead of <body>
This also means renderHTML() is no longer needed.
2020-01-30 06:15:14 -06:00
Maurice Parker
3a99e6430f Make the article icon code specify the desired article so that it can't pull the wrong one by mistake. Issue #1707 2020-01-27 12:58:32 -07:00
Maurice Parker
97d6c69431 Change to always reload the page when rendering an article. Issue #1713 2020-01-26 20:29:58 -07:00
Maurice Parker
f15ade5ebb Make the article datetime always a link to the article permalink. Issue #1655 2020-01-19 17:28:06 -07:00
Maurice Parker
7e35bd1ec4 Remove unused parameter. It was obsoleted, but not removed. 2020-01-19 15:36:19 -07:00
Nate Weaver
645c3deba1 Use new MacroProcessor replacement 2020-01-07 16:06:41 -06:00
Maurice Parker
198dec68b1 Reload Article images when their availablity notification arrives. Issue #1317 2019-11-18 19:33:31 -06:00
Maurice Parker
06bd5b3a6f Renamed Feed and related classes/instances to WebFeed 2019-11-14 20:11:41 -06:00
Maurice Parker
701070f2dd Make Article icons/avatars match Timeline icons/avatars. Issue #1273 2019-11-12 09:22:23 -06:00
Maurice Parker
4f294c4d20 Make Article icons/avatars match Timeline icons/avatars Issue #1274 2019-11-07 14:29:16 -06:00
Maurice Parker
560f36621f Add IconImage to encapsulate our icon processing logic 2019-11-05 18:05:57 -06:00
Maurice Parker
9d54a1de74 Enable always on Reader View for feeds 2019-09-21 15:03:42 -05:00
Maurice Parker
b49aeca577 Moved page.html location information to ArticleRenderer 2019-09-21 12:36:35 -05:00
Maurice Parker
710abf30c7 Make stylesheet external to page.html 2019-09-20 19:28:13 -05:00
Maurice Parker
9c6d47eaa1 Merge branch 'pr/1033' 2019-09-20 17:51:27 -05:00
Maurice Parker
108226d17d Fix article extractor base url 2019-09-19 17:41:56 -05:00
Ben Ubois
0b6683d073 Render with evaluateJavaScript.
Replaced loadHTMLString based rendering for improved performance.
2019-09-18 22:03:23 -07:00