Commit graph

374 commits

Author SHA1 Message Date
Samuel Clay
d49e9569a5 Fixing #377. Killing XSS attacks by sanitizing feed titles. 2013-07-29 14:25:43 -07:00
Samuel Clay
ee5c00bce5 Using latest feedparser. 2013-07-10 16:10:19 -07:00
Samuel Clay
cf36df47fa Bumping feed blast limit from 50 to 100 stories at a time. 2013-07-10 15:13:19 -07:00
Samuel Clay
5f7ae25fc4 Normaling user agents between feed/page/icon fetchers. Adding full site permalink. 2013-07-10 14:14:55 -07:00
Samuel Clay
6fda0b6a35 Timing out on PuSH hubs when down. 2013-07-01 18:46:21 -07:00
Samuel Clay
9826a6499b Moving all pubsub to a dedicated redis box (called REDIS2). 2013-06-18 12:21:27 -07:00
Samuel Clay
e3f2677ee7 Upgrading mongoengine prep. 2013-05-29 18:00:09 -07:00
Samuel Clay
b98d129d1b Removing MUserStory entirely. 2013-05-10 16:11:30 -07:00
Samuel Clay
550a33d9ab Using story cache when calculating unreads, for those who need unread counts updating. 2013-05-03 09:43:21 -07:00
Samuel Clay
6011e4f2da Moving from feed/page/push histories to capped fetch history. 2013-04-15 14:30:31 -07:00
Samuel Clay
532d1a67a7 No longer doing overly zealous read story cleanup. 2013-04-08 11:47:39 -07:00
Samuel Clay
36e76759e8 Adding in timing on feed cleanup. 2013-04-07 17:49:34 -07:00
Samuel Clay
48c5d4d53e Adding logging, feed cleanup to forced fetch feeds, and expirations on user read stories. 2013-04-07 17:19:59 -07:00
Samuel Clay
f2281ec7bc Refunding stripe payments. 2013-04-05 17:54:22 -07:00
Samuel Clay
3d190cc3ec Fixing a few small feed collision errors. 2013-04-04 17:18:27 -07:00
Samuel Clay
8a7ea248fd Fixing feed address change by feed link when colliding with existing feed. 2013-04-04 17:09:16 -07:00
Samuel Clay
5898ea9df0 Feed may not longer exist. Toss it. 2013-04-03 21:20:19 -07:00
Samuel Clay
9e2fa3115d Cache busting feeds on force and 1% of the time. 2013-03-24 15:50:57 -07:00
Samuel Clay
d793946e3a If not active subs, turn off real-time. 2013-03-20 16:17:20 -07:00
Samuel Clay
a75554374b Using @dcramer's excellent getsentry.com for all exceptions. Turning off exception emails. 2013-03-20 08:24:11 -07:00
Samuel Clay
e4fc8b6c49 Turning off PuSH if no hub url found. 2013-03-07 10:58:05 -05:00
Samuel Clay
bdd60bf3f7 Fixing push re-sub logging. 2013-03-06 14:47:15 -08:00
Samuel Clay
00f59821be Resubscribing to PuSH feeds that have expired. 2013-03-06 14:45:01 -08:00
Samuel Clay
5170b56689 If last_modified fails, clear it. 2013-01-31 12:21:10 -08:00
Samuel Clay
79c6ea09cd Don't collide stories that are too short to be collided. 2013-01-28 16:56:01 -08:00
Samuel Clay
4e09e4db81 Fixing user agent. 2013-01-22 18:18:07 -08:00
Samuel Clay
bcc24c1253 Fixing PuSH by using the correct hub url. Thanks to @donmelton for finding the bug. 2013-01-22 18:15:28 -08:00
Samuel Clay
cb30fe2ae8 Bumping up duplicate address length for feeds. 2013-01-07 16:35:29 -08:00
Samuel Clay
1cc128b5a2 Doubling resync likelihood. 2012-12-17 18:20:26 -08:00
Samuel Clay
53b5c4e2db Clearing out old read stories for 1% of all feed fetches with new stories. 2012-12-17 17:28:45 -08:00
Samuel Clay
5a5aa0d17b Turning off deletion of old stories until the db can be prepped. 2012-12-17 16:19:28 -08:00
Samuel Clay
28d5f44182 Deleting old stories. 2012-12-17 15:48:43 -08:00
Samuel Clay
033a56dfe9 Deleting old user stories again. This time going out to 5 times the unread bounds. 2012-12-17 15:14:48 -08:00
Samuel Clay
1387d7cfc4 Upgrading celery just in case it's causing priority loss. 2012-12-17 13:44:10 -08:00
Samuel Clay
2716d0c404 Cleaning up invalid story dates. 2012-12-10 15:48:05 -08:00
Samuel Clay
17c1450951 Merge branch 'master' into ios_story
* master:
  Cleanup.
  Gutting dynamodb and just keeping good changes.
  Bumped version number.
  Modified to remove default URL-encoding for GSON.
  Fixed email field not being visible on some smaller screen devices.
  Modified CSS to include max-width for divs, overriding inline styles and reduce max-width.
  Added padding to share button.
  Shifting mgirations for DStory.
  Optional backked by dynamodb.
  First half of DynamoDB trial, converting stories from mongo to dynamodb. Still needs to be updated/inserted on feed update, and then processed with all MStory uses.
2012-11-27 17:34:53 -08:00
Samuel Clay
61aac7fc06 Merge branch 'master' into dynamodb
* master: (331 commits)
  Adding blurblog permalink to story on blurblog. Adding story slug to permalink. Fixing story guid hashes.
  Re-enabling message property for facebook.
  Ignoring image for facebook shares.
  Commenting out facebook share message until they approve it.
  Cleaning up Facebook og description.
  Facebook using a website instead of article.
  Facebook being a PITA.
  Facebook wants ISO8601 datetime format.
  Facebook doesn't like going to other URLs.
  Facebook doesn't like going to other URLs.
  Dumb typo in new facebook og crap.
  Using blurblog permalink for new facebook shares.
  Fixing Facebook share to use fancy actions.
  Adding scroll to comments button to share bar. Thanks @afita.
  Turning off microformats for more errors.
  Fixing errors in timeouts to show the correct error. Also fixing microformats parsing issue and allow IPv6 URLs in enclosures to be ignored, fixing a bunch of feeds.
  Cleaning redis stories for 1% of all feed fetches.
  Refreshing feed on fetch.
  Fiddling with logging on dupe feeds.
  Adding bs facebook assets.
  ...

Conflicts:
	apps/rss_feeds/models.py
	settings.py
	utils/feed_fetcher.py
2012-11-27 16:39:39 -08:00
Samuel Clay
1ad7031fbb Fixing tests. 2012-11-27 16:22:03 -08:00
Samuel Clay
c61ba75988 Turning off microformats for more errors. 2012-11-26 11:50:13 -08:00
Samuel Clay
04d61ceff4 Fixing errors in timeouts to show the correct error. Also fixing microformats parsing issue and allow IPv6 URLs in enclosures to be ignored, fixing a bunch of feeds. 2012-11-26 11:41:31 -08:00
Samuel Clay
cf554bb598 Cleaning redis stories for 1% of all feed fetches. 2012-11-26 10:39:10 -08:00
Samuel Clay
6b9c737366 Refreshing feed on fetch. 2012-11-26 10:27:08 -08:00
Samuel Clay
240f5e4c6e Cleaning up RSS feed header for shared stories feeds. 2012-10-30 15:06:30 -07:00
Samuel Clay
fa692d746c Forcing all unread counts to be counted from primary mongo. 2012-10-30 10:57:12 -07:00
Samuel Clay
2ec10bcf7e Readying unread counting to incorporate the new read preference in mongoengine. 2012-10-29 12:25:28 -07:00
Samuel Clay
b543640554 Fixing raven client on feed fetchers. 2012-10-25 16:23:35 -07:00
Samuel Clay
e572b3d53f Moving to better feed finder (in the case of dupe feeds). 2012-10-25 16:14:25 -07:00
Samuel Clay
7e281e1d7b Adding timeout errors to raven/sentry error reporting. 2012-10-25 16:09:06 -07:00
Samuel Clay
c0b791a01b Fixing an uncaught exception around feeds that change ids. 2012-10-25 15:16:21 -07:00
Samuel Clay
b81381b120 Merge branch 'master' into dynamodb
* master:
  Updating favicon to include 64x64 icon for Metro.
  Marking shared stories as read.
  Coering story content into unicode to handle changes.
  Fetching more stories.
  Moving from Aaron Swartz's html diff lib to lxml's html diff lib. Should fix issues around disappearing content.
  Favicon for IE9 and for 32x32.
  Trying to repair favicon for ie9 users.
2012-09-24 14:25:35 -07:00