Commit graph

225 commits

Author SHA1 Message Date
Samuel Clay
de71c414c5 Reducing celery prefetch to get more accurate queue sizes. 2012-02-27 12:35:07 -08:00
Samuel Clay
d901ccdae1 Switching to redis to feed queuing. Also adding a weight for skipping feed fetches under high load. 2012-02-26 22:33:06 -08:00
Samuel Clay
1c4a5c975e Local settings in fabfile. 2012-02-08 20:33:20 -08:00
Samuel Clay
fc438d9efe Forcing Jammit asset path to be absolute, relative to configured directory. 2012-01-14 10:59:10 -08:00
Samuel Clay
329e09d954 Merge branch 'master' into jammit
* master:
  Moving to proper unicode string for feed fetching.
  Colorizing feed fetching.
  Colorizing feed fetching.
  Adding two error classes to requests exception handling.
  Adding two error classes to requests exception handling.
  Adding two error classes to requests exception handling.
  jQuery 1.6.1 -> 1.7.1. Fixes massive Chrome issues.
  Adding shift+u as a shortcut for marking a story unread.
  Adding more advanced exception handling for new requests module, with fallback to urllib2.
  Adding urllib fallback to requests in page fetching.
  Adding a little bit more leeway in page importer by falling back to urllib2 when requests fail.
  Adding slight bit of color to feed fetcher.
  Revert "Revert "Switching to requests from urllib2/httplib. Bring on the page errors.""

Conflicts:
	media/js/jquery-1.6.1.js
	media/js/jquery-1.7.1.js
	node/node_modules/socket.io-client/support/test-runner/public/javascript/jquery.js
2012-01-05 08:35:17 -08:00
Samuel Clay
fdaa25c2fc Merge branch 'master' of github.com:samuelclay/NewsBlur into requests
* 'master' of github.com:samuelclay/NewsBlur:
  jQuery 1.6.1 -> 1.7.1. Fixes massive Chrome issues.
  Adding shift+u as a shortcut for marking a story unread.
  Boosting fillout pages.
  Small cleanup in ajax manager.
2012-01-04 21:50:06 -08:00
Samuel Clay
63d7cc1fa5 jQuery 1.6.1 -> 1.7.1. Fixes massive Chrome issues. 2012-01-04 16:40:22 -08:00
Samuel Clay
962b763bb6 Merge branch 'master' into jammit
* master: (30 commits)
  Boosting fillout pages.
  Small cleanup in ajax manager.
  Abort old requests and don't cache responses. Trying to fix IE read story bug.
  Force jquery to never cache.
  Checking for exceptions earlier in order to show fixed site.
  Changing user agent to hopefully override overly-sniffy websites.
  Fixing inaccurate substitution on feed urls. Ugh, can't believe this was here this long.
  Adding the setting of a feed's view settings to Site Settings dialog. This should've been in there a loooong time ago.
  Fixing feed loads only once for those with skipping stories.
  Adding handler to to_json calls on all serialized models.
  Fixing two major bugs: auto filling stories now works far better nad doesn't lock you in. Also fixing the infernal unicode json parsing bug that's been effecting a bunch of sites.
  Adding WP7 as user agent.
  Adding necessary import when not running from the REPL.
  Too many stories? Don't animate transitions when switching intelligence levels.
  Fixing typo in iphone app that preventing mark folder as read when the visible stories option was showing.
  Updating the mongo db copy util to also look for updated stories.
  Globals.is_staff on user, not profile. Make the stats referesh every minute instead of every 10 minutes for staff.
  Fixing offsets in river of news.
  Adding ciphering to usernames in log, so I can finally take screenshots of the most colorful logs of all time.
  Adding my very special mongo serialization backup utility to get around the damn unrepairable mongo database. This is taking 14 hours to run.
  ...

Conflicts:
	templates/base.html
2012-01-02 16:48:54 -08:00
Samuel Clay
b5efad9142 Merge branch 'master' into requests
* master: (66 commits)
  Too many stories? Don't animate transitions when switching intelligence levels.
  Fixing typo in iphone app that preventing mark folder as read when the visible stories option was showing.
  Updating the mongo db copy util to also look for updated stories.
  Globals.is_staff on user, not profile. Make the stats referesh every minute instead of every 10 minutes for staff.
  Fixing offsets in river of news.
  Adding ciphering to usernames in log, so I can finally take screenshots of the most colorful logs of all time.
  Adding my very special mongo serialization backup utility to get around the damn unrepairable mongo database. This is taking 14 hours to run.
  Auto-refreshing feedback (1 min for staff, 10 min for everybody).
  Fixing exception around multiple feeds during Google Reader import process. Also switching rate limit to status code 429.
  Adding Nokia MeeGo client to user agents.
  Only show raw feeds in feed autocomplete.
  Handling iphone version for new users on ios app.
  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.
  Fixing menu manage open position to compensate for additional menu items.
  Reducing the amount of work done by feed fetching when there are no new stories.
  Fixing emergency bug around trimming feeds where the cursor is changing. Dammit mongo.
  Simplifying ufw ports in fabfile. Adding env.user.
  Launching the iPhone app on the front-page. Big deal.
  Minor cleanup of river stories view.
  Cleaning up mongoengine imports and settings for default MongoDB.
  ...

Conflicts:
	local_settings.py.template
2011-12-20 21:47:55 -08:00
Samuel Clay
befa6eb26f Adding ciphering to usernames in log, so I can finally take screenshots of the most colorful logs of all time. 2011-12-18 23:49:10 -08:00
Samuel Clay
a493d9f240 Merge branch 'master' into jammit
* master: (45 commits)
  Launching the iPhone app on the front-page. Big deal.
  Minor cleanup of river stories view.
  Cleaning up mongoengine imports and settings for default MongoDB.
  Killing off the old slave_db pattern.
  Moving from slave_db to ReplicaSetConnection in pymongo 2.1.
  Adding title and subtitle. (Big thanks to @ericflo for the inspiration.)
  Adding title and subtitle. (Big thanks to @ericflo for the inspiration.)
  Fitting the iphone web page on smaller screens.
  The @jashkenas treatment -- cleaning up the iphone app page.
  Adding rotation to iphone website.
  Using the correct story permalink (if it is not correctly in the link key of the feed).
  Finishign up interaction of iphone app trailer page. Need auto switching.
  iPhone screenshots, iPhone page, complete with animations.
  Adding current version to iPhone app so it can update from the server.
  Removing unnecessary return to selected story on paging of story titles.
  Scrolling the story titles view to the feedbar when a page is loading. Experimental, but may help a bunch of users know what's happening.
  Stubbing in iphone page.
  Solving the Read button dilemma for Everything vs. folders vs. feeds.
  Disabling feed settings button on Everything river view.
  Building folder delete into iOS app.
  ...
2011-12-11 16:48:50 -08:00
Samuel Clay
6d0b8baa83 Cleaning up mongoengine imports and settings for default MongoDB. 2011-12-11 11:41:12 -08:00
Samuel Clay
f3d2f8e5b5 Moving from slave_db to ReplicaSetConnection in pymongo 2.1. 2011-12-11 10:54:07 -08:00
Samuel Clay
b112717d95 Revert "Revert "Switching to requests from urllib2/httplib. Bring on the page errors.""
This reverts commit a827b2c864.
2011-11-27 02:41:12 -05:00
Samuel Clay
a827b2c864 Revert "Switching to requests from urllib2/httplib. Bring on the page errors."
This reverts commit 617dc3bb56.

Conflicts:

	local_settings.py.template
2011-11-27 02:40:44 -05:00
Samuel Clay
d07b03a7a4 Revert "Revert "Switching to requests from urllib2/httplib. Bring on the page errors.""
This reverts commit 7972d0bb5c.
2011-11-26 11:15:01 -05:00
Samuel Clay
7972d0bb5c Revert "Switching to requests from urllib2/httplib. Bring on the page errors."
This reverts commit 617dc3bb56.
2011-11-26 02:16:14 -05:00
Samuel Clay
617dc3bb56 Switching to requests from urllib2/httplib. Bring on the page errors. 2011-11-26 02:07:31 -05:00
Samuel Clay
957dc7ca7c Fixing up jammit branch for launch by adding socket.io, bookmarklet, and compressed static assets. Still needs icons. 2011-11-24 14:58:04 -05:00
Samuel Clay
b41704339d Merge branch 'master' into jammit
* master: (48 commits)
  Updating copy on homepage.
  Marking all as read on Everything view should clear folder unread counts.
  Fixing error on committing to cache for rate limits when the dummy cache backend is used.
  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.
  Fixing that crummy missing existing story issue.
  Updating feedparser.
  Fixing broken hashlib issue with feeds and no link.
  Adding MongoDB slave to local_settings template.
  Adding two new columns, necessary for the feed_settings branch: hash of address+link, and locking address.
  Marking read stories in Feed view as very much read. Gradientizing, too.
  Fixing /m/ for no good reason.
  File under "fucking finally": Adding client-side error handling and callbacks for feeds and river.
  ...

Conflicts:
	config/nginx.newsblur.conf
2011-11-24 00:29:57 -05:00
Samuel Clay
596c00a281 Deprecating db02, moving redis and rabbitmq over to db01. 2011-11-18 10:13:39 -08:00
Samuel Clay
2d53d148c9 Bumping up the subscriber expire, now that I've got my wits back. 2011-11-14 09:18:15 -08:00
Samuel Clay
d3804e3265 JS is now complete. Need to fix css embeds. 2011-11-07 09:35:51 -08:00
Samuel Clay
a8c62eb7eb Initial stub of Jammit assets. 2011-11-07 08:48:00 -08:00
Samuel Clay
936774b654 Adding update_counts to /feeds API endpoint, to force a recalculation of feed unread counts (WARNING: slower than calling /feeds then /refresh_feeds). 2011-11-07 08:27:59 -08:00
Samuel Clay
ac3609bf7d Merge branch 'master' into realtime
* master:
  Adding 'E' as a keyboard shortcut for the Everything view.
  Doubling the amount Space pages in a story.
  Auto-linkify urls in stories.
  Reading stories from slave db during feed update.

Conflicts:
	settings.py
2011-11-06 15:28:37 -08:00
Samuel Clay
4e382e5caf Adding fabfile config for redis. 2011-11-06 15:19:58 -08:00
Samuel Clay
dcedbe1e40 Adding socket.io communication and feed updating on client-side. Ready to ship? 2011-11-06 12:21:27 -08:00
Samuel Clay
07fa01ed9a Adding server half of redis real-time unread count updates. That was the easy part. 2011-11-05 17:08:31 -07:00
Samuel Clay
040b755694 Reading stories from slave db during feed update. 2011-11-04 09:45:10 -07:00
Samuel Clay
40cf11f5e3 Adding new db03 to mongodb mix. 2011-11-01 22:51:10 -07:00
Samuel Clay
bd1c4347c9 Using mongodb nifty db resolution. 2011-11-01 21:55:23 -07:00
Samuel Clay
a7d542396f Testing out a slave read for getting stories. 2011-11-01 21:20:07 -07:00
Samuel Clay
7e0bef73de Ratcheting down subscriber expire to a single day to alleviate strain. 2011-11-01 13:26:31 -07:00
Samuel Clay
b16c052dc9 Adding undersocre.string.js. Fixing bug in River with using _.contains instead of new _.includes. 2011-10-30 20:24:12 -07:00
Samuel Clay
3b38be1676 Seacucumber -> Django-ses. Celery isn't playing well. 2011-09-21 22:08:53 -07:00
Samuel Clay
8a258f91c7 Adding seacucumber as a dependency. 2011-09-21 22:01:02 -07:00
Samuel Clay
afae94cf7d Templating emails -- new account and new premium. 2011-09-19 08:56:16 -07:00
Samuel Clay
66eaaf6114 Stubbing in email templates using django-ses. 2011-09-09 17:42:35 -07:00
Samuel Clay
8f5a4c612d Updating rss_feeds tests for completeness. Updating README to include how to run test suite. 2011-09-01 09:11:29 -07:00
Samuel Clay
5389350368 Adding starred stories import to Google Reader import. Also moving to db backed session engine (from memcache). 2011-08-29 18:43:17 -07:00
Samuel Clay
8c60347532 Typo in mongodb host settings. 2011-08-27 16:25:17 -07:00
Samuel Clay
6a8981f1bf Using defaults for mongo settings to simplify settings. 2011-08-27 16:22:52 -07:00
Samuel Clay
bd0ba19c97 Adding slaveOK to mongo connection. 2011-08-26 23:40:56 -07:00
Samuel Clay
551eebe66a Final iphone tweaks -- favicon in titlebar. Also updating broker url. 2011-08-25 12:09:41 -07:00
Samuel Clay
ffe3653c37 Cleaning up reader import, subscriber expire down to 2, and adding favicon to title in iphone app feed detail. 2011-08-24 10:24:02 -07:00
Samuel Clay
de98a4e49b Adding account dialog. Also remvoing colorama as a third-party. 2011-07-27 09:33:34 -07:00
Samuel Clay
229bd75281 Went nuts and restyled a bunch of table cells. Also hooked up accounts. Need to clean up the login view, as well as finish the reading flow. 2011-07-20 21:08:57 -07:00
Samuel Clay
66cd29fee1 Cleaning up readme and commenting out the wacky devserver. 2011-07-17 21:50:37 -07:00
Samuel Clay
ff50d85d7d Updating a bunch of defaults to make NewsBlur installable on anybody's machine. Fleshing out README installation instructions. 2011-07-17 20:53:30 -07:00