Commit graph

60 commits

Author SHA1 Message Date
Samuel Clay
275b0ff9e4 Handling socket error on page fetch. 2013-05-29 15:59:54 -07:00
Samuel Clay
b3744e3ac6 Merge branch 'master' into circular
* master:
  Warning on missing maintenance.
  Further pushing out feed updates.
  Using @dcramer's excellent getsentry.com for all exceptions. Turning off exception emails.
  Further pushing down feed fetches to handle load until db is scaled out.
  Scrolling code blocks.
  New task servers.
  Turning down feed fetches.
  If requests.raw won't work, sut fudge it with a StringIO for now.
  Further turning down feed fetches until mongo is ready to replicate.
  Fixing Facebook image calculation.
  Fixing facebook posting.
  Moving shared story unread recalc to background task. Will greatly speed up sharing.
  Ramping down feed fetching until they can be handled.
  Only show time breakdown when > 1 sec.
  Fixed API docs for /reader/river_stories
  make fabfile.py use requirements.txt
  Make sure to send the proper content-type with social feeds
  Restore default whitespace to pre/code blocks
  Phase 2: switching to using story_hash index instead of compound unique story_feed_id/story_guid index.
  document keyboard shortcut to add site/folder

Conflicts:
	apps/social/views.py
2013-03-20 10:49:09 -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
a3383e1bd6 New icons. 2013-03-02 11:18:12 -08:00
Samuel Clay
ce5663b20b Preparing original pages node server for launch. 2013-01-07 11:16:52 -08:00
Samuel Clay
a90518fd31 Merge branch 'master' into original_pages_node
* master: (81 commits)
  Adding font size choices to web preferences.
  Closing #66 with both integration of #68 and using the same fonts. Users can add an optional class if they want these other convenient fonts. Also using a few fonts as backups for non-Mac users.
  Fix default theming hook
  Add multiple targeted font stacks
  Fixing #75: shared stories should use story permalink, not story guid. Doh. Thanks @denubis!
  Categorizing preferences. Adding window title count back in.
  Adding email lookup to forgot password flow.
  Adding email lookup to forgot password flow.
  Fixing typo in logging.
  Fixing autocomplete behavior on add dialog.
  Adding broken search for feeds.
  Logging
  Switching to guid-based read story counts from range based counts. Let's see what this screws up.
  Everybody gets unread count in title.
  Backporting collections.Counter to python2.6
  Fixing broken reply interaction with links.
  Prototype of a dupe checker using real-time update times to figure out which feeds are the same. Last time I walked down this road I got run over.
  Adding delete user flow. About time, since I'm sick of doing this myself.
  Deractivating premiums.
  Adding a lock for the intelligence slider for focus stories. If the user selects focus and there are actually focus stories, lock it for the future when there are no unread focus stories.
  ...

Conflicts:
	fabfile.py
2013-01-07 10:48:42 -08:00
Samuel Clay
17899d0e2a Adding a lock for the intelligence slider for focus stories. If the user selects focus and there are actually focus stories, lock it for the future when there are no unread focus stories. 2013-01-02 18:40:12 -08:00
Samuel Clay
6311bf41d7 Updating sessions handling on page importer in anticipation of ugprading to latest python requests. 2012-12-24 00:39:52 -08:00
Samuel Clay
9f896d0493 Removing unused original pages from S3 when stored on node server. 2012-12-17 18:42:55 -08:00
Samuel Clay
e4fa40b428 Refactoring original page saving toa ccount for node server being down. 2012-12-17 18:30:14 -08:00
Samuel Clay
a00c462457 Moving original pages to a node server from s3. Still needs conversion from s3. 2012-12-14 16:28:06 -08:00
Samuel Clay
2b5a13ce8c Allowing S3 to be turned off and on again. 2012-12-10 11:13:45 -08:00
Samuel Clay
4a7516cb83 Fixing a bunch of feed fetch errors. 2012-10-01 19:31:33 -07:00
Samuel Clay
79d07cac05 Fixing JS issues around stories with no feeds clobbering the river view. 2012-09-27 10:44:55 -07:00
Samuel Clay
db3b2ae4d6 Removing old feed pages from mongo. 2012-09-19 12:36:50 -07:00
Samuel Clay
00ba259c66 Migrating to S3 for feed pages. 2012-09-18 17:09:07 -07:00
Samuel Clay
f4add87dc6 Fixing a couple of update bugs -- story cascading potentially resulting in invalid ids (probably not), and not unique errors on new page fetches. 2012-09-17 17:01:56 -07:00
Samuel Clay
6e9c604241 Fixing bug where publisher-disabled original pages were not properly disabled. 2012-09-05 12:18:06 -07:00
Samuel Clay
15df6b6b47 Making the icon importer a bit faster and more slave lag resilient by using page fetch data. Also fixing title on blurblogs. 2012-07-30 11:12:58 -07:00
Samuel Clay
345bce1e7c Merge branch 'master' into social
* master:
  Ignore requests errors and just try urllib fallback.
2012-07-19 21:29:18 -07:00
Samuel Clay
e82387f47c Ignore requests errors and just try urllib fallback. 2012-07-19 13:12:47 -07:00
Samuel Clay
febd0ae0a3 Lots of little bugs: avatar images, icon importer, page importer, adding analytics tracking to intro. 2012-07-12 12:57:35 -07:00
Samuel Clay
b3bbdd6c5c Mongoengine difficulties again, forcing insert on feed pages. 2012-05-02 15:59:06 -07:00
Samuel Clay
226ea80d53 Handling LookupError in requests. 2012-04-12 15:45:35 -07:00
Samuel Clay
fa558f6157 Adding locals to feed fetch errors. 2012-04-12 15:41:19 -07:00
Samuel Clay
f30b35acd1 Fixing Cyrillic text issue by both using encoded text from server with the help of requests, and then serving it with a defined charset encoding back to the client. 2012-03-29 14:45:19 -07:00
Samuel Clay
18fbd5e5c6 Upgrading requests's ConnectionError to a first-class error, marking page as bad url. 2012-03-03 10:12:51 -08:00
Samuel Clay
d7574c9742 Python module requests now throwing ConnectionError on bad urls. Handling by not emailing me about it. 2012-03-03 09:58:25 -08:00
Samuel Clay
1c761c8eb0 Adding error checking on requests in page fetching. 2012-02-27 17:01:42 -08:00
Samuel Clay
24c31662a4 Catching errors in page links with ill-formed urls. 2012-02-23 15:18:59 -08:00
Samuel Clay
742403e51d Fixing issue around empty original pages. 2012-02-22 10:17:13 -08:00
Samuel Clay
3334383a04 Turning off the page fetcher requests vs. urllib2 discrepency checker. I bet I've caught them all by now. 2012-01-05 21:57:18 -08:00
Samuel Clay
288d6c8e49 The @kennethreitz commit: logging all discrepencies between requests and urllib2. This should take a few hours. 2012-01-05 20:59:48 -08:00
Samuel Clay
7dfab76b47 Adding two error classes to requests exception handling. 2012-01-04 18:24:12 -08:00
Samuel Clay
7aeb1fdab8 Adding two error classes to requests exception handling. 2012-01-04 18:14:28 -08:00
Samuel Clay
6606c2d015 Adding two error classes to requests exception handling. 2012-01-04 18:09:15 -08:00
Samuel Clay
716b34c5ac Adding more advanced exception handling for new requests module, with fallback to urllib2. 2011-12-21 17:11:33 -08:00
Samuel Clay
259bbca9d9 Adding urllib fallback to requests in page fetching. 2011-12-21 09:11:39 -08:00
Samuel Clay
6637c05adf Adding a little bit more leeway in page importer by falling back to urllib2 when requests fail. 2011-12-20 22:30:55 -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
870b428253 Fixing issue around broken pages that have urn:uuid: in their URL. WTF, Google? 2011-09-07 22:35:03 -07:00
Samuel Clay
d2bcce4b6f Better error handling around broken feed pages. 2011-09-04 14:47:47 -07:00
Samuel Clay
acfd9e7614 Adding feed.has_page to weed out feeds with no original page. This should've been in 2 years ago. 2011-09-04 10:59:29 -07:00
Samuel Clay
96d8283ed0 Updating unit tests, fixing datetime issue in json serialization. 2011-08-31 09:41:34 -07:00
Samuel Clay
e9b88c8cc9 Fixing a few issues here and there around feed fetching. 2011-08-27 14:13:28 -07:00
Samuel Clay
dadef6c7b8 Fixing issue around original pages not including a <HEAD> section, so all URLs are relative to NewsBlur. Thanks to Cramer http://getsatisfaction.com/newsblur/topics/problem_with_relative_urls_in_for_example_rarestblog?utm_medium=widget&utm_source=widget_newsblur 2011-08-07 21:44:57 -07:00