Commit graph

199 commits

Author SHA1 Message Date
Samuel Clay
1c80bcf126 Finishing up manage menu for social feeds. Needed a fix for unfollows. 2012-03-30 14:56:16 -07:00
Samuel Clay
6e29d85c57 Beginning the process of getting anonymous users able to read social feeds. Also setting up unread counts for new machines. 2012-03-29 17:24:23 -07:00
Samuel Clay
a82f508e8e Merge branch 'master' into social
* master:
  Adding dev role, updating hosts, and checking for wp-cron in broken wordpress plugin PuSH pings.
  Stupid broken Wordpress PuSH plugin tries to set wp-admin/post.php to its topic.
  Adding logging to PuSH push requests.
  Change OPML export filename to use ISO date format
  Fixing broken redirected PuSH urls. Typo on datetime.
  Refactoring updated urls in PuSH feeds.
  Adding db04 to hosts.
  Feeds are OneToOne with PushSubscriptions, so remove the db inconsistency.
  Cranking manual refresh polling when disconnected from pubsub.
  Client-side push/pubsub should reconnect and degrade gracefully.
2012-03-29 13:57:47 -07:00
Samuel Clay
f49f5ebc04 Adding dev role, updating hosts, and checking for wp-cron in broken wordpress plugin PuSH pings. 2012-03-29 13:57:38 -07:00
Samuel Clay
494a89f060 Merge branch 'master' into social
* master:
  Adding task04 to fabfile.
  Updating Safari helper app.
  Goodbye StatHat. Hello better logging.

Conflicts:
	utils/feed_fetcher.py
2012-03-28 12:05:51 -07:00
Samuel Clay
f881d56236 Adding task04 to fabfile. 2012-03-27 16:41:22 -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
6cc53f42c7 Fixing missing status code in feed fetcher. 2012-03-26 17:24:57 -07:00
Samuel Clay
4bee53f4a4 Adding task04 to fabfile. 2012-03-26 10:08:33 -07:00
Samuel Clay
c8eed328d4 Adding django 1.4 compatibility. 2012-03-25 14:08:56 -07:00
Samuel Clay
c9f978d8b1 Merge branch 'master' into social
* master:
  Adding tests in prep for Mother Jones duping.
  Fixing rss feed tests.
  Adding press story from Italian site Skimbu.
  Adding Cuk.ch story about NewsBlur.
2012-03-06 16:56:34 -08:00
Samuel Clay
74ba777099 Adding press story from Italian site Skimbu. 2012-03-06 10:41:42 -08:00
Samuel Clay
485d3bddbd Merge branch 'master' of github.com:samuelclay/NewsBlur into social
* 'master' of github.com:samuelclay/NewsBlur:
  Adding all mongodb munin plugins, and adding fab command to install munin plugins for mongo.
  Upgrading requests's ConnectionError to a first-class error, marking page as bad url.
  Python module requests now throwing ConnectionError on bad urls. Handling by not emailing me about it.

Conflicts:
	fabfile.py
2012-03-05 11:55:42 -08:00
Samuel Clay
a16c25fce9 Merge branch 'master' of github.com:samuelclay/NewsBlur
* 'master' of github.com:samuelclay/NewsBlur: (39 commits)
  Upgrading requests's ConnectionError to a first-class error, marking page as bad url.
  Python module requests now throwing ConnectionError on bad urls. Handling by not emailing me about it.
  Fixing bug where next unread story would be run twice when in Story view and opening a feed. Thanks to @dalmet for the issue.
  Adding preference for default SSL. Redirects user to https.
  Changing copy on premium/feedchooser dialog.
  Styling errors on stripe payment form.
  Final stripe.js tweaks before launch.
  Adding Pay by Credit Card as an option to feed chooser dialog. Thus concludes Stripe.js integration. Time to launch!
  Styling the stripe.js background.
  Using correct kwargs for stripe signal.
  Wrapping up stripe.js form. Has validation, styling, and does the right thing for new subscriptions. Needs a link to the form, though.
  Setting up correct customer model for stripe webhook.
  Moving JS assets to bottom of the page for faster loadtimes.
  Fixing exception on missing param in feed address searching.
  Fixing recommendation date serialization bug.
  Fixing bugs around login with blank password using full password. Also fixing bug in signups with no username.
  Stripe.js payments using zebra. Adding zebra as a vendored dependency. Webhooks and views all in. Needs styling, custom username and email fields, and loads of testing.
  Adding error checking on requests in page fetching.
  Using a probability from redis to determine whether or not to skip a fetch.
  Allowing any password to be used on accounts with no password set.
  ...
2012-03-05 09:24:41 -08:00
Samuel Clay
20c78d52cf Adding all mongodb munin plugins, and adding fab command to install munin plugins for mongo. 2012-03-05 09:24:32 -08:00
Samuel Clay
aaa5aa1cd6 Merge branch 'master' into social
* master:
  Changing copy on premium/feedchooser dialog.
  Styling errors on stripe payment form.
  Final stripe.js tweaks before launch.
  Adding Pay by Credit Card as an option to feed chooser dialog. Thus concludes Stripe.js integration. Time to launch!
  Styling the stripe.js background.
  Using correct kwargs for stripe signal.
  Wrapping up stripe.js form. Has validation, styling, and does the right thing for new subscriptions. Needs a link to the form, though.
  Setting up correct customer model for stripe webhook.
  Moving JS assets to bottom of the page for faster loadtimes.
  Fixing exception on missing param in feed address searching.
  Fixing recommendation date serialization bug.
  Fixing bugs around login with blank password using full password. Also fixing bug in signups with no username.
  Stripe.js payments using zebra. Adding zebra as a vendored dependency. Webhooks and views all in. Needs styling, custom username and email fields, and loads of testing.
  Adding error checking on requests in page fetching.
  Using a probability from redis to determine whether or not to skip a fetch.
  Allowing any password to be used on accounts with no password set.
  Adding paypal logo.

Conflicts:
	assets.yml
	media/js/newsblur/reader/reader_feedchooser.js
	settings.py
	templates/base.html
2012-02-29 16:22:47 -08:00
Samuel Clay
c649f84949 Changing copy on premium/feedchooser dialog. 2012-02-29 15:08:23 -08:00
Samuel Clay
fa917389a8 Adding Pay by Credit Card as an option to feed chooser dialog. Thus concludes Stripe.js integration. Time to launch! 2012-02-29 12:15:01 -08:00
Samuel Clay
e2e0d1e09d Moving JS assets to bottom of the page for faster loadtimes. 2012-02-28 12:18:44 -08:00
Samuel Clay
29234a8bac Stripe.js payments using zebra. Adding zebra as a vendored dependency. Webhooks and views all in. Needs styling, custom username and email fields, and loads of testing. 2012-02-27 21:46:34 -08:00
Samuel Clay
603ac08faa Merge branch 'master' into social
* master:
  Allow login from signup form.
  Reducing celery prefetch to get more accurate queue sizes.
  Removing RabbitMQ dependency. Moving to redis for task queuing.
  Counting queue size for celery/redis.
  Switching to redis to feed queuing. Also adding a weight for skipping feed fetches under high load.
  Skipping feed resurrection.
  Fixing last update problem that has been choking feed fetchers.
  Fixing last update problem that has been choking feed fetchers.
  Typo in feed pool drain.
  Adding ability to wind down feed queue by faking requests.
  Adding debug message about counting errors.

Conflicts:
	fabfile.py
2012-02-27 13:13:27 -08:00
Samuel Clay
a1eb207d90 Removing RabbitMQ dependency. Moving to redis for task queuing. 2012-02-27 08:45:00 -08:00
Samuel Clay
408cb7e801 Merge branch 'master' into social
* master:
  Fixing starred stories from not loading past the second page due to a missing flag reset.
  Fixing user-found bug around tooltips continuing to show if the original dom element (and the reference to the tooltip) are destroyed too early, leaving a tooltip floating in the air.
  Geometrically delaying the fetching of bad feeds, while they're still somewhat fresh.
  Fixing error codes on statistics. Also fixing simple error on invalid feed.
  Update media/js/newsblur/reader.js

Conflicts:
	media/js/newsblur/reader/reader.js
2012-02-24 13:01:48 -08:00
Samuel Clay
3dd04f521f Fixing user-found bug around tooltips continuing to show if the original dom element (and the reference to the tooltip) are destroyed too early, leaving a tooltip floating in the air. 2012-02-24 12:08:11 -08:00
Samuel Clay
307e36622b Merge branch 'master' into social
* master:
  Adding asset-less deployment.
  Upgrading feedparser from 5.0.1 to 5.1.
  Catching errors in page links with ill-formed urls.
  Not showing the world favicon until favicons are downloaded.
  Fixing feed exception dialog to actually reload feeds on the page.
  Geometrically decaying feed fetches on known good feeds that have gone bad.
  Fixing issue around empty original pages.

Conflicts:
	media/js/newsblur/reader/reader.js
2012-02-23 15:40:38 -08:00
Samuel Clay
f70b1f32c6 Adding asset-less deployment. 2012-02-23 15:39:39 -08:00
Samuel Clay
6c7034343b Geometrically decaying feed fetches on known good feeds that have gone bad. 2012-02-23 13:20:10 -08:00
Samuel Clay
8ef2bf31b1 Merge branch 'master' into social
* master:
  Re-styling the crap out of all taskbar buttons. Much more streamlined now.
  Tweaking the living crap out of the intelligence control's colors. Lightened.
  User feedback: hiding positive and negative unread counts in title if there are no unread stories outside of neutral.
  Correcting typo in dupe feed resolution.
  Local settings in fabfile.
  Fixing up a minor detail in the new intelligence control.
  Rewriting intelligence slider to be an intelligence control (segmented control). Should make a ton more intuitive sense.
  Trying to fix IE troubles by forcing single requests per read story.
  Fixing nginx conf to support ssl.
  Adding PID files to gitignore.
  Ignoring files.
  Adding certificates to ignore.
  Adding https to nginx.

Conflicts:
	media/css/reader.css
	media/js/newsblur/common/assetmodel.js
2012-02-10 09:24:48 -08:00
Samuel Clay
9236ecc6f6 Correcting typo in dupe feed resolution. 2012-02-09 07:50:40 -08:00
Samuel Clay
1c4a5c975e Local settings in fabfile. 2012-02-08 20:33:20 -08:00
Samuel Clay
14d7849878 Adding Original page for social shared feeds. 2012-01-31 10:15:11 -08:00
Samuel Clay
b9cf65c834 Merge branch 'master' into social
* master:
  Renaming static.tar to static.tgz to reflect its gzippedness.
  Fixing ghost unread counts on folder when last story in a feed is read.
  Fixing link to scipy-superpack. (Thanks @boursier)
  Handling negative feature page bug. Also showing server errors on bad emails.
  Fixing missing username in dupe USF.
  Handling errors on river in client. Also fixing starred stories.
  Suppressing error on starring an already starred story.
  Re-enabling mobile site. /m/
  Fixing typo in aggressive feed fetching.
  No longer being aggressive about finding a feed's correct address if it returns a 400 or 500 error code, unless it is still the first run or an exception refresh.
  Adding SSL to nginx conf.

Conflicts:
	apps/reader/views.py
	assets.yml
	media/js/newsblur/reader/reader.js
2012-01-23 17:53:59 -08:00
Samuel Clay
1ad335a929 Renaming static.tar to static.tgz to reflect its gzippedness. 2012-01-23 17:51:19 -08:00
Samuel Clay
d679b5ad4f Merge branch 'master' into social
* master:
  Fixing #42: a long-time bug of drag-and-drop not respecting order.
  Removing application media types from enclosures. Nobody needs that.
  Forcing Jammit asset path to be absolute, relative to configured directory.

Conflicts:
	media/js/newsblur/reader/reader.js
	utils/story_functions.py
2012-01-15 19:16:41 -08:00
Samuel Clay
5e3ce30c0b Fixing #42: a long-time bug of drag-and-drop not respecting order. 2012-01-14 18:54:59 -08:00
Samuel Clay
850a12fea9 Merge branch 'master' into social
* master:
  Minor changes to fabfile. Needs to only run the pre_deploy step once.
  Adding uglify-js.
  Fixing paypal return.
  Fixing default state while waiting for statistics data to come in.
  Adding feed update interval for non-premium users in Statistics.
  Adding Chrome Notifier to Goodies page.
  Adding Tumblr to share menu.
  Ordering unmoderated recommended feeds by date.

Conflicts:
	utils/json_functions.py
2012-01-13 22:26:16 -08:00
Samuel Clay
1e05def772 Minor changes to fabfile. Needs to only run the pre_deploy step once. 2012-01-13 22:25:06 -08:00
Samuel Clay
abf53cca3c Adding uglify-js. 2012-01-13 21:56:15 -08:00
Samuel Clay
edb76d8c83 Adding feed update interval for non-premium users in Statistics. 2012-01-13 17:54:17 -08:00
Samuel Clay
3567922ae2 Merge branch 'jammit' into social
* jammit:
  Adding node's 8888 to app ufw. Also adding redis's 6379 to express server.
  Adding socket.io-client
  Adding node modules.
  Retooling fabfile's deploy code to support serial asset packaging with parallel code deploys.
  Upgrading nginx version.
  Fixing public_root in assets.yml to be readbale by old yml.
  Adding static/ to gitignore.
  Moving images and theme assets around.
  Relative to absolute urls for all embedded images.
  Fixing up jammit branch for launch by adding socket.io, bookmarklet, and compressed static assets. Still needs icons.
  Fixing css conflicts in jammit. Adding code rendering to jammit for bookmarklet.
  Adding /static to nginx conf.
  Adding jQuery 1.7 and new static directory.
  JS is now complete. Need to fix css embeds.
  Initial stub of Jammit assets.

Conflicts:
	media/css/reader.css
2012-01-03 09:30:28 -08:00
Samuel Clay
3750fd0d10 Adding node's 8888 to app ufw. Also adding redis's 6379 to express server. 2012-01-03 08:31:04 -08:00
Samuel Clay
b32acb0daa Adding node modules. 2012-01-02 18:22:06 -08:00
Samuel Clay
f5c5afb8f9 Retooling fabfile's deploy code to support serial asset packaging with parallel code deploys. 2012-01-02 18:11:40 -08:00
Samuel Clay
1abc4e10e0 Upgrading nginx version. 2012-01-02 17:49:09 -08:00
Samuel Clay
0dbe86605b Fixing public_root in assets.yml to be readbale by old yml. 2012-01-02 17:32:12 -08:00
Samuel Clay
dd0e8ce9af Adding follow counts to profile badge. 2011-12-27 21:38:32 -08:00
Samuel Clay
786a170f4c Adding my very special mongo serialization backup utility to get around the damn unrepairable mongo database. This is taking 14 hours to run. 2011-12-18 20:57:18 -08:00
Samuel Clay
fd2b778363 Simplifying ufw ports in fabfile. Adding env.user. 2011-12-13 17:50:33 -08:00
Samuel Clay
6d0b8baa83 Cleaning up mongoengine imports and settings for default MongoDB. 2011-12-11 11:41:12 -08:00
Samuel Clay
1e9517c9d3 Fixing #41: Adding REDIS to local_settings.py.template. 2011-11-26 16:40:04 -05:00