130 Commits

Author SHA1 Message Date
Andrew Brehaut
5fea81971b #554 newsfoot.js and css are included in the page
These changes are the bare minimum required to get footnotes to appear and function on the article page.
 * The newsfoot.js script now wraps everything in an IIFE to prevent bleed to other scripts
 * Stylesheets are included in the main stylesheet, with the colors extracted out into separate selectors

Currently missing the arrow pointing to the footnote link, and no consideration exists for mobile presentation
beyond a max-width: 100vh on the footnote popover.
2019-09-22 14:06:51 +12:00
Andrew Brehaut
20f8fe91df Merge branch 'master' of https://github.com/brentsimmons/NetNewsWire 2019-09-22 08:37:01 +12: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
0c00150849 Externalize javascript code into separate main.js file 2019-09-21 04:34:11 -05:00
Andrew Brehaut
a605d9cd1f #544 Adds newsfoot.js footnote script to project 2019-09-21 13:54:17 +12:00
Maurice Parker
3decd23c45 Convert iOS to use Javascript rendering 2019-09-20 20:33:28 -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
Maurice Parker
76056e4fef Add menu and keyboard shortcut to Reader 2019-09-19 17:25:36 -05:00
Maurice Parker
d3a5bdf6d3 Merge branch 'mac-release' 2019-09-19 11:59:01 -05:00
Nate Weaver
4a0bbeacc2 Disable Web Inspector for App Store builds
- Hide the "Enable Web Inspector" menu item.
- #if-out notifications/defaults/etc.
- Make toggleWebInspectorEnabled(_) a no-op.
2019-09-19 10:38:17 -05:00
Ben Ubois
1728f4d198 Made indents consistent. 2019-09-18 22:53:25 -07:00
Ben Ubois
1c9117ab8e Reset scroll position to top on render.
Prevents an issue where the next article would inherit the previous
article's scroll position.
2019-09-18 22:39:07 -07:00
Ben Ubois
0b6683d073 Render with evaluateJavaScript.
Replaced loadHTMLString based rendering for improved performance.
2019-09-18 22:03:23 -07:00
Maurice Parker
8cd6f107e5 Add basic Article Content extraction 2019-09-18 18:15:55 -05:00
Maurice Parker
372fb06716 Implement different icons for each individual smartfeed 2019-09-17 20:26:49 -05:00
Maurice Parker
786a4e48c4 Merge branch 'mac-release' 2019-09-17 15:01:01 -05:00
Maurice Parker
9c9517d7d9
Merge pull request #1026 from Wevah/enable-inspector
Enable inspector
2019-09-17 14:44:06 -05:00
Maurice Parker
8a8dcde387 Add javascript to remove styling from articles. Issues ##499, #999, and #947 2019-09-17 14:32:18 -05:00
Nate Weaver
e39fa31bf7 Add a menu item to the Debug menu to enable the Web Inspector
Just enables the "Inspect Element" item in a WKWebView's contextual menu at the moment.
2019-09-17 05:04:05 -05:00
Brent Simmons
1ece325112 Merge mac-release. 2019-09-16 20:09:04 -07:00
Brent Simmons
a05fd61085 Merge branch 'imagecache' into mac-release 2019-09-16 20:07:31 -07:00
Brent Simmons
2d22f061a5 Remove no-longer-needed functions for compositing the avatar on a background. 2019-09-16 20:07:07 -07:00
Maurice Parker
18d6a278c7 Merge branch 'mac-release' 2019-09-16 16:37:18 -05:00
Maurice Parker
0458fd3838 Delete avatar and favicon image caches every three days 2019-09-16 16:26:40 -05:00
Brent Simmons
8a2d1f5f6a Create TimelineAvatarView, which draws the background for images that need it. 2019-09-15 23:02:13 -07:00
Maurice Parker
b0b3f58036 Merge branch 'mac-release' 2019-09-15 04:10:50 -05:00
Maurice Parker
7c3c78b796 Remove debug print statement 2019-09-15 04:08:10 -05:00
Maurice Parker
90cc8ffa6f Merge branch 'mac-release' 2019-09-15 04:06:52 -05:00
Maurice Parker
20dda3727b Change to use the scaled avatar version of the favicon. 2019-09-15 04:05:11 -05:00
Maurice Parker
b07bf73f78 Revert "Scale images, when needed, before generating inline HTML data in ArticleRenderer — this keeps us from getting huge amounts of data, which slows down rendering."
This reverts commit c3e26ea307248b5ed0b8638098a17b2abfd94f2e.
2019-09-15 04:00:24 -05:00
Brent Simmons
7d738baef3 Merge branch 'mac-release' 2019-09-14 22:41:44 -07:00
Brent Simmons
c3e26ea307 Scale images, when needed, before generating inline HTML data in ArticleRenderer — this keeps us from getting huge amounts of data, which slows down rendering. 2019-09-14 22:41:13 -07:00
Phil Viso
8a6e3c9f37 Merge branch 'master' of https://github.com/brentsimmons/NetNewsWire into GroupArticlesByFeed
# Conflicts:
#	Mac/MainWindow/Timeline/TimelineViewController.swift
2019-09-13 08:23:31 -05:00
Phil Viso
61d3dae10e Re-wrote sorting code to be smaller and easier to understand 2019-09-13 08:03:56 -05:00
Phil Viso
269364a337 Re-worked sorting logic to handle multiple feeds having the same name 2019-09-13 07:43:28 -05:00
Maurice Parker
2737f07906 Add folder picker to share extension 2019-09-12 12:33:05 -05:00
Brent Simmons
2eccfbb90e Merge branch 'mac-release' 2019-09-08 21:44:28 -07:00
Brent Simmons
41c82eca15 Rename existingFeed(with:) to existingFeed(withFeedID:) to make it more clear. Make account.idToFeedDictionary private — callers should use existingFeed(withFeedID:). 2019-09-08 21:44:05 -07:00
Maurice Parker
77373c5bc0 Merge branch 'mac-release' 2019-09-08 18:56:53 -05:00
Phil Viso
00e009a82c Added ability to group sorted articles by feed 2019-09-08 16:48:50 -05:00
Brent Simmons
ecc8854f59 Merge mac-release. 2019-09-07 20:59:19 -07:00
Brent Simmons
5b15285e8e Make sure that article.preferredLink doesn’t return an empty string. 2019-09-07 18:27:48 -07:00
Maurice Parker
c9fd7d01d9 Add delete feed keyboard shortcut 2019-09-05 15:54:58 -05:00
Maurice Parker
8a5ae8c2a8 Remove the title from a couple of shortcuts. The shortcuts still work, they just don't show in the discovery view. 2019-09-05 11:29:49 -05:00
Maurice Parker
40ff8c3048 Add titles to keyboard configuration files for use on iOS 2019-09-04 04:37:03 -05:00
Maurice Parker
722d486018 Move keyboard config files to Shared location in repo as they will now be used in the iOS app as well as the Mac app 2019-09-04 03:11:55 -05:00
Maurice Parker
a59f223043 Moved FetchRequestOperation and FetchRequestQueue to Shared section of the repo since they are used by both Mac and iOS 2019-09-04 02:40:35 -05:00