Commit graph

400 commits

Author SHA1 Message Date
Samuel Clay
aa42f098cf Adding a ton of activities. Fixing numerous bug saround interactions. 2012-04-16 11:21:52 -07:00
Samuel Clay
1c245f1e0a Clicking on a comment/reply in interactions takes you to it. Also upgrading backbone.js. 2012-04-11 15:21:03 -07:00
Samuel Clay
451485d32e Splitting interactions into public/private interactions and activities. 2012-04-11 12:14:18 -07:00
Samuel Clay
c4731c8211 Merge branch 'master' into social
* master:
  Wordpress PuSH errors aren't really errors, so don't log them.
  Dealing with broken Wordpress PuSH plugin by subscribing to its requested topic url.
  Dealing with broken Wordpress PuSH plugin by subscribing to its requested topic url.
  Fixing Tumblr PuSH by sending the address instead of the link when subscribing.
  Subscribing to a topic or hub sets the urls.
  Launching real-time for premiums. Also fixing a few dupe feed refresh bugs.

Conflicts:
	apps/reader/views.py
	media/js/newsblur/common/assetmodel.js
2012-03-30 17:15:31 -07:00
Samuel Clay
f0e9e25a1b Launching real-time for premiums. Also fixing a few dupe feed refresh bugs. 2012-03-30 16:03:07 -07:00
Samuel Clay
8efefc6cdb Merge branch 'master' into social
* master:
  Fixing hub url change subscription.
  Adding failed push feeds to munin.
  Showing correctly real-time status if feed is push.
  Showing correct real-time status if feed is push.
  Emergency fix to not have to reverse url in task fetchers.
  Setting up push feeds for removal.
  Adding munin graph for pushed feed queue and nginx conf.
  Logging real-time.
  Resubscribing to real-time feeds on add/remove feed.
  Adding push feeds queue. Ignoring fat ping, since it might not match URLs.
  Cleanup
  Forgive push subscription errors.
  Adding # of push feeds to munin.
  Correcting a double-encoding bug for story permalinks that was from way back when.
  Fixing the shit out of the feed fetcher's deleted feed handling. Also fixing PuSH support to correctly give parameters to PuSH server.
  Checking for push hub links safetly.
  Adding subscription callbacks for PuSH.
  Stubbing in PuSH support. Need to work it in with Feeds and upgrade rel='hub'.

Conflicts:
	apps/reader/models.py
	media/js/newsblur/reader/reader.js
	settings.py
	utils/feed_fetcher.py
2012-03-28 18:42:35 -07:00
Samuel Clay
a74be1b604 Adding push feeds queue. Ignoring fat ping, since it might not match URLs. 2012-03-28 15:49:21 -07:00
Samuel Clay
e0d6454a5f Merge branch 'master' into social
* master:
  Fixing missing status code in feed fetcher.
  Fixing missing status code in feed fetcher.
  Adding stathat stats for feed fetching and parsing.
  Small cleanup to parameters of feed update method.
  Refactoring starred stories indexes and adding hints.
  Removing hints.
  Adding hints, revising indexes on user stories, and trying to quicken feed fetching meta work.
  Refactoring refresh feed unread counts. Fixing tests.
  Adding task04 to fabfile.
  Adding django 1.4 compatibility.
  If feed no longer exists after update, find it, then schedule fetch.
  Don't skip unfetched feeds.
  Don't skip unfetched feeds.

Conflicts:
	apps/reader/models.py
	apps/reader/views.py
	fabfile.py
	utils/feed_fetcher.py
2012-03-26 21:06:13 -07:00
Samuel Clay
1321ade17a Adding hints, revising indexes on user stories, and trying to quicken feed fetching meta work. 2012-03-26 12:40:13 -07:00
Samuel Clay
7313339dbc Refactoring refresh feed unread counts. Fixing tests. 2012-03-26 11:04:05 -07:00
Samuel Clay
5b71327531 Merge branch 'master' into social
* master:
  Error handling in orphan detection.
  Collecting orphaned feeds for users. These somehow got lost, and I'm not sure how. Eventually I'd like to run this on every user account.
  Fixing issue around feed titles that disappear. This just confirms that the new feed title is substantive.
  Uncommenting Readability sharing. This was written a loooong time ago, but their API is finally ready.
  Fixing an issue around mal-formed requests aginst WordPress's Bad Behavior plugin, which checks for the 'Accept: *' header.
  Fixing missing folder issue in iOS app. Occurs when user has no feeds in top level, when the Everything psuedo-folder obscures the top folder.

Conflicts:
	apps/reader/models.py
2012-03-20 10:33:15 -07:00
Samuel Clay
f4319d22db Error handling in orphan detection. 2012-03-20 10:32:17 -07:00
Samuel Clay
46c294f298 Collecting orphaned feeds for users. These somehow got lost, and I'm not sure how. Eventually I'd like to run this on every user account. 2012-03-19 21:29:19 -07:00
Samuel Clay
d2cb186d56 Following and unfollowing from intro. 2012-03-19 16:35:56 -07:00
Samuel Clay
2200aa282a Subscribe to blog during intro. 2012-03-19 15:46:59 -07:00
Samuel Clay
28e3871b6c Stubbing in social feed count calculations. 2012-02-08 12:20:05 -08:00
Samuel Clay
193201061e A whopper: marking stories as read in a social feed. 2012-02-03 11:41:01 -08:00
Samuel Clay
248a3b65d2 Marking social stories as read. Doesn't work quite right though. 2012-01-30 08:53:19 -08:00
Samuel Clay
53efae20ff Fixing a few bugs introduced with feed_id conversions. 2012-01-27 15:29:14 -08:00
Samuel Clay
2b9ad97b51 Switching a ton of feed and user fetches to simple ID matches. ".user.pk -> .user_id" 2012-01-26 09:32:24 -08:00
Samuel Clay
5ca577e378 Adding index to router. 2012-01-18 17:39:00 -08:00
Samuel Clay
47c6eda862 Building folder delete into iOS app. 2011-12-05 09:26:02 -08:00
Samuel Clay
2ec7c55eac Fixing delete site in nested folders. Also refactoring and adding tail truncating to feed gradients. 2011-12-04 21:09:16 -08:00
Samuel Clay
85feadb3f1 Fixing the crap out of the move feed/folder dialog in iOS app. Completely done with this dialog. Yay! 2011-12-04 13:55:57 -08:00
Samuel Clay
6920b92dd6 Correctly updating feed exceptions by refreshing the feed on page. Also transferring over classifiers and read stories. 2011-11-29 09:43:16 -08:00
Samuel Clay
ba46291644 Speeding up refresh-feeds by correctly using the last updated story date. 2011-11-28 18:01:39 -08:00
Samuel Clay
174d6febb6 Merge branch 'master' into feed_settings
* master:
  Adding linux.com story to press page.
  Uniqifying stories when read.
  Moving from sha module to hashlib.
  Syncing time to account for time drift on VPS.
  Fixing issue around showing too many Oh Nos on abort.
  Save hash for address+link migration. necessary for a unique index.
  Deprecating db02, moving redis and rabbitmq over to db01.
  Updating nginx conf to support better amintenance pages giving a 503 status code.
  Moving NewsBlur counts to beginning of title.
2011-11-23 15:09:42 -05:00
Samuel Clay
53973ce52a Uniqifying stories when read. 2011-11-22 13:02:55 -05:00
Samuel Clay
82c25b1160 Refactoring feed rewriting to take advantage of new feed link changer. Seems to work. Still needs some better duplicate locking during fetch. 2011-11-16 10:00:03 -08:00
Samuel Clay
68d956e80b Fixing bug in send_story_email -- newlines in the subject line. Doh. Also adding story_Date to read_stories, in the hopes it could fix another bug for bad unread counts. 2011-11-11 11:26:34 -08:00
Samuel Clay
038105a44e Fixing mark_feed_stories_as_read, and fixing a bad MStory query. 2011-11-10 18:29:41 -08:00
Samuel Clay
74a2ca1c6e Adding mark_story_as_unread to API. Now works flawlessly up to settings.DAYS_OF_UNREAD (currently 2 weeks). 2011-11-08 19:12:56 -08:00
Samuel Clay
4546aa8753 Move folder to folder now complete. Ready to launch! 2011-11-08 09:20:10 -08:00
Samuel Clay
ea06efe874 Moving feed to folder, end-to-end. Just needs move folder to folder. 2011-11-07 20:50:46 -08:00
Samuel Clay
c91016a1ce Adding new API endpoint: mark_feed_stories_as_read. Refactored mark_story_as_read. 2011-11-05 16:25:04 -07:00
Samuel Clay
6b1d0edb67 Fixing exception when deleting bad user subs. 2011-11-02 09:08:58 -07:00
Samuel Clay
a266d3b2c7 Fixing a number of server bugs -- google reader import choking on bad xml, handling duplicate feeds properly. 2011-11-01 09:25:59 -07:00
Samuel Clay
ae367bf8ba Fixing a range of server issues -- sendign story emails, failing silently on SES outages, and giving a 404 instead of a 500 on bad params. 2011-10-28 10:29:11 -07:00
Samuel Clay
12a63afaca Trying to correct the unreadable story issue by updating the correct story_id during story_guid changes. 2011-10-10 20:46:13 -07:00
Samuel Clay
ad80f8897e Moving read stories from story_date based to story_id based. 2011-09-14 18:03:25 -07:00
Samuel Clay
ad4bc10c92 Updating all unit tests. So far Reader and Feed import pass. Still need to fix RSS feeds. 2011-08-31 18:04:45 -07:00
Samuel Clay
591d5d9660 Fixing two major issues: utf-8 encoding on cjson encoding (doh!) and when feeds are moved through de-duping, let the client know about the new feed id. This will help all new users. 2011-08-29 20:51:40 -07:00
Samuel Clay
af9f9beda5 Migration to make loading read stories faster, by using a bounding box on read stories, far fewer can be fetched. 2011-08-18 21:47:38 -07:00
Samuel Clay
4f46b358db Major optimization on mongo queries. No longer using .rewind(), which is actually re-running the damn query! Wrapping repetitive querysets in list() for performance. 2011-06-09 15:36:24 -04:00
Samuel Clay
d195b3803c Deleting feeds from folders if they are coming from the toplevel (i.e. no folder specified). This is to handle the cases where we no longer know the feed's folder, but we're deleting it anyhow. Only deletes the first case, anyway. Not ideal, but pretty close. 2011-05-11 09:51:16 -04:00
Samuel Clay
cc94f3fd12 Double duty: Adding /rss_feeds/search_feed endpoint for discovering feeds through the API. Also adding in a new preference for the sort order of feeds. A bit broken, but it'll do for now. Thanks to @heliostatic for the idea. 2011-04-25 20:53:29 -04:00
Samuel Clay
d76aeacb3a Stubbing in a few API endpoints in documentation. 2011-04-04 12:01:29 -04:00
Samuel Clay
45cf8f5cf8 Fixing issues around adding a folder in the add site bookmarklet. Cleaning up the modal by taking out the folder icon. 2011-03-21 20:37:58 -04:00
Samuel Clay
eaadabeb78 Adding in functionality to add new folder during add site bookmarklet. Needs testing (and maybe some UI love), but it should be feature complete. 2011-03-21 10:15:18 -04:00
Samuel Clay
691898e922 Changing how unreads are calculated. If all stories are red, that's OK for now. Prevents the weird situation when training a feed and everything switches colors at once (same author or something), and when the unreads cycle through red, then everything gets marked as read. Not the desired behavior. And who is this helping, anyhow? 2011-03-17 22:15:29 -04:00