Commit Graph

557 Commits

Author SHA1 Message Date
Brent Simmons
e71d763443 Save feed.authors. 2017-12-02 14:20:58 -08:00
Brent Simmons
b5d8233955 Fix bug saving related objects for articles — authors, tags, and attachments. 2017-12-02 13:20:27 -08:00
Brent Simmons
a5c1bf41cb Bump version. 2017-12-01 21:15:51 -08:00
Brent Simmons
e5f036b799 Update next-unread toolbar icon (2x size) with new one from Brad. 2017-12-01 21:15:03 -08:00
Brent Simmons
0b4ba7f4d8 Update appcast for 1.0d20. 2017-12-01 21:14:39 -08:00
Brent Simmons
f28d921aff Avoid skipping parsing Dr. Drang’s JSON Feed, which can’t be detected that it’s a JSON Feed with only partial data, since it has the version element at the end. Add a test for this. 2017-12-01 13:19:30 -08:00
Brent Simmons
efcc4fedaa Add tests for Dr. Drang’s JSON Feed. 2017-11-30 13:19:22 -08:00
Brent Simmons
b817213393 Hide timeline header view for now, since it needs more design. 2017-11-30 13:06:42 -08:00
Brent Simmons
6c135c80b0 Add TimelineHeaderView. 2017-11-29 13:35:25 -08:00
Brent Simmons
229a376a86 Don’t show avatars in the timeline (for now). Also: align to the top, and scale down-only (not up). This will allow us to use favicons when a bigger icon isn’t available. 2017-11-29 13:10:01 -08:00
Brent Simmons
dd05a24704 Do the first parts of showing feed avatars. 2017-11-28 21:39:09 -08:00
Brent Simmons
1e528ee8b0 Fix bug detecting Macworld’s RSS feed as an RSS feed. The feed doesn’t start with the standard XML header. 2017-11-28 21:29:09 -08:00
Brent Simmons
7bf8d51c38 Add stub for laying out avatar image view. 2017-11-27 13:16:08 -08:00
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