216 Commits

Author SHA1 Message Date
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
Maurice Parker
5cb099aee6 Add next unread as a user activity and more aggressively invalidate user activities 2019-09-03 15:52:59 -05:00
Maurice Parker
189af8d816 Invalidate user activities when collapsed and returning to Feeds scene 2019-09-01 15:31:11 -05:00
Maurice Parker
1a9acdcc50 Remove TreeController from Delete command as it is no longer used there 2019-09-01 14:56:27 -05:00
Maurice Parker
56c81bba1f Delete code that was doing an unnecessary rebuild of the treeController. This will be done by the controllers receiving the batch update notification. 2019-09-01 10:57:08 -05:00
Maurice Parker
87030a5921 Implement stateRestorationActivity to save most relevant current user activity 2019-08-31 19:30:21 -05:00
Jim Correia
5f11c42fc2 Use noContentHTML rather than noSelectionHTML for prepared web views.
Added a noContentHTML to ArticleRenderer. Use that for the initial content
for queued web views so that we don't see a temporary flash of "No
Selection" when pushing to an article that doesn't load instantly.
2019-08-31 15:03:03 -07:00
Maurice Parker
fe2e0155da Add scoped searching of articles 2019-08-31 15:53:47 -05:00
Maurice Parker
89a38fa2b5 Change Feeds to use diffable data sources 2019-08-28 18:06:27 -05:00
Maurice Parker
d7ec92ef34 Delete unnecessary user activity property value 2019-08-28 11:46:03 -05:00
Maurice Parker
5aba61ea04 Update user activity if a feed has been selected and its best icon has been downloaded 2019-08-28 11:44:54 -05:00
Maurice Parker
9c66f6160e Clean activities when the associated data is deleted 2019-08-28 11:30:40 -05:00
Maurice Parker
ba9f7ac426 Add navigation support for Folder and Feed view activities 2019-08-27 17:43:15 -05:00
Maurice Parker
d641223536 Add Activities for viewing Feeds and Folders 2019-08-27 14:20:34 -05:00
Maurice Parker
17fef112d6 Merge branch 'mac-release' 2019-08-26 19:40:56 -05:00