Commit graph

57 commits

Author SHA1 Message Date
Richard Fearn
4b84eddcd6 Treat 12:00am as occurring at the start of the day
Otherwise a story published at midnight today is displayed as
"Yesterday, 12:00am".
2013-12-27 16:53:49 +00:00
Samuel Clay
db74119842 Using timezone-aware relative dates (Today, Yesterdays). 2013-11-06 23:39:28 -08:00
Samuel Clay
496b6145bb Rewriting short and long date formatting, both for server and ios. Also loading offline stories when server fails half-way through. 2013-10-10 12:58:40 -07:00
Samuel Clay
88f2a69a93 Fixing a dozen text and feed fetching bugs. 2013-08-06 13:18:55 -07:00
Samuel Clay
fb710c870f Beginning of a long 16-day migration of feed's redis story ids into 30 day retention from 14 day retention. Once this migration is complete, can up the DAYS_OF_UNREAD to 30 day with no issues, except for updating scores. 2013-08-02 15:59:03 -07:00
Samuel Clay
4386b14beb Fixing broken content from RSS feed when summary is actually longer. 2013-07-16 11:59:52 -07:00
Samuel Clay
04442aa890 Fixing three random exceptions in feed fetching. 2013-05-31 17:14:17 -07:00
Samuel Clay
47c2257ef7 Using regular expressions for comment stripping, unless the feed has an error count, in which case switch to lxml. 2013-04-08 16:14:48 -07:00
Samuel Clay
639ad60ba1 Don't allow stories to come from more than 24 hours into the future. 2013-04-07 21:07:34 -07:00
Samuel Clay
681968033b Fixing broken JPG image sizer. 2013-04-04 17:49:38 -07:00
Samuel Clay
4cf2085ee7 Adding timeout to strip comments. 2013-04-03 18:16:52 -07:00
Samuel Clay
61fac02304 If requests.raw won't work, sut fudge it with a StringIO for now. 2013-03-19 17:49:56 -07:00
Samuel Clay
1854f719d3 Fixing Facebook image calculation. 2013-03-19 17:27:04 -07:00
Samuel Clay
63bd36212c Fixing feed fetcher to use updated date if the feed doesn't provide it otherwise. 2012-12-24 00:10:40 -08:00
Samuel Clay
2716d0c404 Cleaning up invalid story dates. 2012-12-10 15:48:05 -08:00
Samuel Clay
bea0b1da51 Fixing dateutil on broken dates. 2012-12-10 15:32:31 -08:00
Samuel Clay
a4267f423e Handling broken publish dates. 2012-12-10 15:31:39 -08:00
Samuel Clay
f33d46fe88 Better to push together than to spread apart. Diffing html is hard. 2012-11-20 09:54:23 -08:00
Samuel Clay
127d98b667 Experimental change to story diffing. Adding spaces back in. 2012-11-09 09:39:43 -08:00
Samuel Clay
68d12d8c24 Using a regex to remove comments. 2012-10-19 13:53:11 -07:00
Samuel Clay
e215082032 Handling invalid html when cleaning. 2012-10-19 13:36:57 -07:00
Samuel Clay
a23b830c06 Removing old lxml attr. 2012-10-19 13:35:05 -07:00
Samuel Clay
5ce475428f Stripping comments from all stories. This fixes the weird bug where '>more>' crap shows up. 2012-10-19 12:49:39 -07:00
Samuel Clay
4a7516cb83 Fixing a bunch of feed fetch errors. 2012-10-01 19:31:33 -07:00
Samuel Clay
ee72253695 Fixing these damn Link: text urls in story modifications. 2012-10-01 19:04:09 -07:00
Samuel Clay
668e78d5d2 Adding two new functions for stories: collect image sizes and grab original article text. Useful for future features. 2012-09-10 17:41:01 -07:00
Samuel Clay
5da380c12e Fixing small bugs: feed sort order, unread/oldest not respecting mark as read date. 2012-08-02 11:04:11 -07:00
Samuel Clay
72655a5116 Unescaping incorrectly escaped and linkified comments and replies. 2012-07-23 23:23:34 -07:00
Samuel Clay
18428a32a1 Auto-linkifying comments and replies, and stripping html from comments, replies, and story titles, tags, and authors. 2012-07-21 16:38:37 -07:00
Samuel Clay
16781c6450 Adding post to twitter/facebook during share. Also adding email for new followers, which includes common followers and common followings. 2012-06-27 23:57:57 -07:00
Samuel Clay
34ce57ca6d Correctly handling story that lack titles but have content. Using a parsed and shucked truncation of content in place of missing titles. 2012-04-17 11:48:28 -07:00
Samuel Clay
9ee6487f58 Correcting a double-encoding bug for story permalinks that was from way back when. 2012-03-27 18:37:04 -07:00
Samuel Clay
5e981635d1 Small cleanup to parameters of feed update method. 2012-03-26 17:04:35 -07:00
Samuel Clay
154ce61a3d New audio control, with Flash fallback for browsers like Firefox/IE. 2012-03-05 12:57:47 -08:00
Samuel Clay
96f6a3d2c7 Fixing numerous feed fetching errors. 2012-02-24 14:39:23 -08:00
Samuel Clay
b2977b73c5 Don't bother showing 'Download Image' enclosure links. Just embed them. 2012-01-15 19:17:17 -08:00
Samuel Clay
6c1c5eab3d Removing application media types from enclosures. Nobody needs that. 2012-01-14 17:13:05 -08:00
Samuel Clay
9d0ce2011a FIXING THE WORST BUG OF MY LIFE -- finally figured out what was causing the story-shows-as-unread bug. Also fixed enclosures on certain types of feeds. 2011-12-14 23:26:07 -08:00
Samuel Clay
221b356494 Refining media enclosures by adding all types and linking to their source. 2011-11-25 10:38:39 -05:00
Samuel Clay
e14a855b05 Refining media enclosure detection. 2011-11-25 00:26:30 -05:00
Samuel Clay
f7c1df266f Correcting for feeds that have incorrect media content. 2011-11-25 00:08:17 -05:00
Samuel Clay
bd38351b8d Adding media enclosures in an audio tag. 2011-11-24 15:58:04 -05:00
Samuel Clay
575e6cb5b8 Fixing nginx fabfile. 2011-03-21 20:07:24 -04:00
Samuel Clay
cae756390a Final cleanup before sending icons to staging. 2011-01-30 10:46:53 -05:00
Samuel Clay
1dc86f3ae8 Merging in river of news but hiding the river functions. 2011-01-16 15:48:27 -05:00
Samuel Clay
f85b757f5b Retooling River of News to use three hueristics: Story date, statistics, and intelligence. So far, this is story date, with the necessary changes to ensure unread stories are within the correct date bounds at all times. 2011-01-15 18:41:41 -05:00
Samuel Clay
40681f6440 Errant print statement. 2011-01-13 08:54:56 -05:00
Samuel Clay
df25c008d2 Fixing timezones! No more "Yesterday, 11:30pm" when it's really today. GMT is 5 hours ahead of EST, so with it goes the Today/Yesterday. But that's FIXED. 2011-01-12 23:30:38 -05:00
Samuel Clay
f4114e038f Removing items before the mark_read_date. Paging is broken though. 2011-01-07 16:26:17 -05:00
Samuel Clay
a6818219d7 Fixing feed parsing for stories with dict ids. This includes all Google Reader feeds and Google News Alerts. Thanks to Richard <richard@lbrc.org>. 2010-12-10 15:58:21 -05:00