Commit Graph

844 Commits

Author SHA1 Message Date
Brent Simmons 09926490a6 Add avatarImageView to timeline cell. 2017-11-27 13:10:57 -08:00
Brent Simmons 6a99534378 Add initial layout constants for avatar image. 2017-11-27 13:00:48 -08:00
Brent Simmons 657a74fe96 Bump version. 2017-11-26 21:42:33 -08:00
Brent Simmons 6c36107320 Prefer Apple touch icons to other feed icons. 2017-11-26 20:40:07 -08:00
Brent Simmons 4e50529b16 Add FeaturedImageDownloader. 2017-11-26 19:57:45 -08:00
Brent Simmons edba636121 Add HTMLMetadataDownloader. 2017-11-26 14:03:08 -08:00
Brent Simmons 82dace2acc Start FeedIconDownloader. 2017-11-26 13:48:40 -08:00
Brent Simmons 441a8f49b3 Add AuthorAvatarDownloader. 2017-11-26 13:16:32 -08:00
Brent Simmons bfccda8c88 Get twitter:image:src from HTML metadata. 2017-11-26 11:49:01 -08:00
Brent Simmons ff7695c290 Parse Open Graph images when parsing metadata from an HTML page. 2017-11-26 11:38:03 -08:00
Brent Simmons e08acc9837 Make the status bar text color 25% instead of completely black. 2017-11-25 21:31:26 -08:00
Brent Simmons 4052f85e10 Add avatar and featuredImage to TimelineCellData. 2017-11-25 21:27:35 -08:00
Brent Simmons b9c562b77a Keep track of bad URLs and URLs in progress in ImageDownloader. 2017-11-25 20:24:38 -08:00
Brent Simmons 18f6b177e9 Fix typo. 2017-11-25 20:24:12 -08:00
Brent Simmons 33fef5ea1c Add ImageDownloader. 2017-11-25 20:12:53 -08:00
Brent Simmons e026e159d1 Rebuild the feed dictionary at appropriate times. Fix #169. 2017-11-25 18:05:20 -08:00
Brent Simmons 1047fa5a02 Use the proper index sets and so on to make deleting work from the sidebar again. Fix #192. 2017-11-25 17:44:54 -08:00
Brent Simmons 7d579733f0 Add tests to HTMLFeedFinder for finding the best feed from a web page. 2017-11-25 16:48:42 -08:00
Brent Simmons fce95bb5b6 Pull JSON feed from web page metadata (along with RSS and Atom, which already worked). 2017-11-25 16:48:13 -08:00
Brent Simmons 23af6b4d29 Adjust scoring in FeedSpecifier to slightly prefer JSON feeds. 2017-11-25 16:47:36 -08:00
Brent Simmons 489cf8e29b Start redoing HTMLFeedFinderTests. 2017-11-25 16:34:40 -08:00
Brent Simmons 50f4e46913 Add 'json' as possible-feed match string. 2017-11-25 16:34:20 -08:00
Brent Simmons 4ddf886012 Log a debug message when importing default feeds. 2017-11-25 16:16:19 -08:00
Brent Simmons 17662ef337 Simplify functions for applying functions to cells. 2017-11-25 16:16:03 -08:00
Brent Simmons cf57e1be32 Log a message when favicon download fails. 2017-11-25 16:15:36 -08:00
Brent Simmons d373662484 Print logged messages to Console. 2017-11-25 16:15:17 -08:00
Brent Simmons ba638ecda1 Normalize homePageURL in FaviconDownloader — this avoids doing duplicate work for http://foo.com/ and http://foo.com — they’re both treated as http://foo.com/ 2017-11-25 16:11:24 -08:00
Brent Simmons 61c429d45c Log a debug message only when it’s first run. 2017-11-25 16:10:19 -08:00
Brent Simmons 7b964e05f9 Avoid looking for favicon when updating only a cell’s unread count. Micro-optimization. 2017-11-25 15:21:35 -08:00
Brent Simmons 5e41460849 Edit a couple feeds in the Feed Directory to use JSON Feed. 2017-11-25 15:08:53 -08:00
Brent Simmons 68c01491fc Note when feed settings change and update the sidebar cells. 2017-11-25 13:48:14 -08:00
Brent Simmons 16f1791b95 Put the Favicons cache folder inside a com.ranchero.evergreen folder. 2017-11-25 13:47:26 -08:00
Brent Simmons 8425e9033b Fix bug getting Dr. Drang’s favicon. 2017-11-25 13:46:48 -08:00
Brent Simmons 9865bd8e51 Fix a crash on startup — detect when there are no feeds and don’t hit database. 2017-11-25 13:11:19 -08:00
Brent Simmons 97079108be Add Atom parser test for getting the home page link. It passed, which means the bug I’m currently hunting (no favicon for Dr. Drang) is somewhere else. 2017-11-25 13:02:21 -08:00
Brent Simmons 0b5f470654 Check "icon" as well as "shortcut icon" when finding the favicon link in a web page. (See Macdrifter.com, for instance.) 2017-11-25 13:01:20 -08:00
Brent Simmons 55166e0979 Update a Feed with settings taken from the raw feed. (Some Feeds had no homePageURL set, which meant, in most cases, no favicons.) 2017-11-25 12:17:49 -08:00
Brent Simmons 09c5d09c4e Bump version number. Update appcast. 2017-11-25 11:56:47 -08:00
Brent Simmons 013e4dac0e Add some vertical spacing between rows in the source list. 2017-11-25 11:45:06 -08:00
Brent Simmons 605227c27d Return sidebar to source list translucency. We’ll try it, anyway. 2017-11-25 11:40:15 -08:00
Brent Simmons 8fe2810a90 Show favicons in the Feed Directory. Fix #109. 2017-11-25 11:33:07 -08:00
Brent Simmons 5ddf9ea284 Update sidebar when favicon becomes available. Fix #125. 2017-11-25 11:14:42 -08:00
Brent Simmons 22ec7d670a Use temp directory for favicons, so they’ll automatically get cleaned up by the system. 2017-11-25 11:14:06 -08:00
Brent Simmons bd8b7c6ed9 Implement debugDropConditionalGetInfo command. Fix #197. 2017-11-25 11:13:15 -08:00
Brent Simmons e4008b677f Fix two typos in JSONFeedParser which kept the parser from getting the feed’s favicon and icon URLs. Also added a test for this. 2017-11-25 10:34:48 -08:00
Brent Simmons 226a7d05b6 Use 97% white background for source list, since favicons look so very terrible on standard translucent sidebar background. 2017-11-24 22:05:10 -08:00
Brent Simmons f7e3a4e914 Make progress on showing favicons in the source list. 2017-11-24 21:57:28 -08:00
Brent Simmons 4cf3f8dfe7 Create and use SidebarCellAppearance and SidebarCellLayout with SidebarCell. 2017-11-24 21:39:59 -08:00
Brent Simmons f8a05badcb Make further progress on favicons. Should be close to a first cut now. 2017-11-24 13:12:18 -08:00
Brent Simmons 32973c4c85 Fix an ambiguous call to download in DownloadWithCacheManager. I’m honestly not sure what function would have been called. 2017-11-24 13:11:41 -08:00