Commit graph

274 commits

Author SHA1 Message Date
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
Samuel Clay
b87a5de6ce Lots of work towards the eventual release of recommended feeds. Now can try feeds (maybe taste would've been a better name?). 2011-03-15 23:42:27 -04:00
Samuel Clay
24aa214346 Refactoring feed canonical representations. Split Feed from UserSubscription for use in the feed recommended module. Hooked up Statistics and Intelligence Trainer modals to the recommended feed. Still need Try/Add, and paging. 2011-03-04 12:27:31 -05:00
Samuel Clay
de80258365 Adding *'s to premium users during logging. 2011-02-23 13:46:47 -05:00
Samuel Clay
95abe1aac2 Allowing adding a url even if already subscribed. Just checks for dupes in the specific folder, but otherwise, dupes are allowed. 2011-02-14 01:15:45 -05:00
Samuel Clay
48afe91758 Refactoring how feeds are found using urls in the add modal. Also fixing a display issue around showing the river icon in a collapsed feed and showing the manage menu. Lastly, changing the feedfinder's user agent because some assclown website was disallowing on the string 'feedfinder' 2011-02-08 22:07:59 -05:00
Samuel Clay
4fd6a7cfe0 Fixing a metric-ton of bugs: Google Reader import on badly parsed xml, refreshing toplevel feeds loses their manage menu, retrying exception feeds now de-dupes and correctly updates on the page. Plus a bunch of other bugs. 2011-02-06 15:04:21 -05:00
Samuel Clay
a31717b7ca Refactoring folder creation. This could be done a lot more abstractly as to make sense to new functions I build which include folder subscription creating. Let this be a reminder as to how shoddy code is born. And let this be quickly remedied. 2011-01-23 02:13:55 -05:00
Samuel Clay
a46329fcb6 Adding all error cases for the bookmarklet. Added styling to all elements. Ready to launch? 2011-01-22 21:42:58 -05:00
Samuel Clay
6e19d4d88b Using correct domain, not adding the same site twice, messaging, better styling. 2011-01-22 18:25:16 -05:00
Samuel Clay
5606a2cd8d Adding feeds through the bookmarklet now works over JSONP. 2011-01-22 11:22:14 -05:00
Samuel Clay
567840ffff Bookmarklet now shows a modal where you can select which folder to add the site. Includes JS and CSS, uncompressed, on host page. 2011-01-21 20:29:19 -05:00
Samuel Clay
c909e333b9 By adding an entire minute on to the mark_as_read date, we are inadvertantly ignoring all read stories during that minute, which may lead to stories being shown as unread, when they are in fact read. 2011-01-20 18:20:38 -05:00
Samuel Clay
0ab880f855 Dropping a bunch of extra postgres tables. 2011-01-17 23:20:25 -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
f4114e038f Removing items before the mark_read_date. Paging is broken though. 2011-01-07 16:26:17 -05:00
Samuel Clay
7d3a173422 Rudimentary makring as unread. Also repositioning starring. 2010-12-31 10:34:31 -05:00
Samuel Clay
328b1cd4cf Changing colors of red folder mod items. 2010-12-13 17:36:40 -05:00
Samuel Clay
21b6c7ffc1 Finishing up folder renames on the server. All set for launch. 2010-12-11 17:16:12 -05:00
Samuel Clay
3b9e950c37 Feed renaming on the server-side. 2010-12-11 15:26:45 -05:00
Samuel Clay
f12ada9613 A whole bunch of colored logs. 2010-12-05 23:50:48 -05:00
Samuel Clay
725d4e5905 A whole bunch of colored logs. 2010-12-05 21:05:34 -05:00
Samuel Clay
fd88d41f74 Showing starred stories in their own feed view. 2010-12-02 20:18:33 -05:00
Samuel Clay
b66080ca4d Fixing how duplicate feeds are handled and found. When a subscription is not found, check for duplicate feeds and then switch accordingly. When merging feeds, don't forget to bring along the dupe feed's dupe feeds. 2010-11-09 09:55:44 -05:00
Samuel Clay
e7646d7e98 Adding change password to Preferences. Also changing timing for feed updates. 2010-11-08 12:09:55 -05:00
Samuel Clay
44fcee1568 Adding uniqueness on Folders. Also removing unused indexes in mongo. 2010-11-04 22:47:18 -04:00
Samuel Clay
7b4060a384 Fixing errors around a user trying to open a feed that has been de-duped and lost. The server now finds the de-duped feed and sends it back. 2010-10-25 20:20:59 -04:00