Commit graph

175 commits

Author SHA1 Message Date
Samuel Clay
90c2425db0 Upgrading django from 1.3 to 1.5. 2013-03-20 15:05:52 -07:00
Thomas Weißschuh
88812a77f9 make fabfile.py use requirements.txt
The '$(<FILE)' syntax expands to a single line, separating the lines of FILE by
spaces. This works on recent shells (means: not dash, busybox sh).
For more backward compability one could use '$(cat FILE)' or even '`cat FILE`'.

The new requirement.txt includes all optional dependencies (taken straight from
fabfile.py) and misses gunicorn and psycopgs2, as those are installed
separately by fabric.
(Better getting fast 90% of packages and some superfluous ones than none at
all)
2013-03-19 18:06:01 +00:00
Samuel Clay
3803776cf7 Adding port handling for socket.io when not on www. Useful for dev and debugging. 2013-03-18 15:18:43 -07:00
Samuel Clay
8281a1f3ec Activating premiums immediately for stripe users. 2013-03-18 13:14:50 -07:00
Samuel Clay
d283294bcc Adding X-server to headers to figure out request pinning. 2013-03-18 11:32:24 -07:00
Samuel Clay
1e1bbdb702 Opening up gunicorn for use by HAProxy directly. 2013-03-17 16:03:02 -07:00
Samuel Clay
def69cb0e3 Naively connecting to real-time socket.io. 2013-03-17 14:41:29 -07:00
Samuel Clay
1db8bc0c54 Preventing socket.io buildups. 2013-03-17 14:27:58 -07:00
Samuel Clay
065df8a196 Rewriting HAProxy config to include gunicorn and maintenance. Much better monitoring. 2013-03-17 14:06:17 -07:00
Samuel Clay
a073cec282 Fixing HAProxy to use http headers so a 502 error code doesn't get served with a 200 status code. I mean seriously, WTF HAProxy?! 2013-03-17 12:39:13 -07:00
Samuel Clay
644751414f Trying out a gunicorn haproxy backend. 2013-03-17 11:25:16 -07:00
Samuel Clay
ee4fd11ca7 Re-upping 12 to 64 free feeds. 2013-03-17 10:28:26 -07:00
Samuel Clay
dca245762c Removing hosts. 2013-03-16 18:02:52 -07:00
Samuel Clay
403210be47 Adding dev hosts. 2013-03-16 17:58:39 -07:00
Samuel Clay
6114aaefe4 Reconnecting to socket.io when disconnected or failing reconnection. 2013-03-15 17:05:44 -07:00
Samuel Clay
89439fff9d Updating website copy to show /year instead of . 2013-03-15 12:35:10 -07:00
Samuel Clay
0b81276c90 Upgrading socket.io, widening reconnection delay. 2013-03-15 12:11:29 -07:00
Samuel Clay
16db855454 Trimming subdomains used for testing. 2013-03-15 11:50:58 -07:00
Samuel Clay
872e1f459f Removing unused ec2 app servers. 2013-03-15 11:49:02 -07:00
Samuel Clay
225a38486e New host, moving socket.io to non-port. 2013-03-15 11:11:47 -07:00
Samuel Clay
98d76a53af Adding hosts to HAProxy. 2013-03-14 23:16:37 -07:00
Samuel Clay
7eb4012542 Min of 4 gunicorn servers. 2013-03-14 22:41:03 -07:00
Samuel Clay
881f24859b Adding HAProxy config. 2013-03-14 22:39:58 -07:00
Samuel Clay
e73f3aa66d Increasing feed fetches quite a bit. 2013-03-14 19:26:22 -07:00
Samuel Clay
8f5814bf1f More gunicorn servers. 2013-03-14 19:03:33 -07:00
Samuel Clay
c27c5f311a More gunicorn servers. 2013-03-14 19:00:10 -07:00
Samuel Clay
5e6e4b2a97 Upping gunicorn processes. 2013-03-14 18:57:35 -07:00
Samuel Clay
f62ce742b5 Hiding 12 option to cut back on number of new premiums. 2013-03-14 18:43:01 -07:00
Samuel Clay
85c85ab565 Pushing out feed updates until able to handle the giant influx. 2013-03-14 15:52:34 -07:00
Samuel Clay
0d0baebc73 Moving redis to digital ocean. 2013-03-14 13:41:46 -07:00
Samuel Clay
9052636418 Moving task feeds to its own beat queue. 2013-03-14 12:55:15 -07:00
Samuel Clay
4720d6ccbb New postgres standby db. 2013-03-14 12:41:24 -07:00
Samuel Clay
5dee81c08b Redis to db01. 2013-03-14 10:49:44 -07:00
Samuel Clay
e8b33af53c Minimum of MEMORY/256 workers. 2013-03-13 23:26:03 -07:00
Samuel Clay
97fa31eed8 Minimum of MEMORY/256 workers. 2013-03-13 23:25:08 -07:00
Samuel Clay
a49f734721 Bumping gunicorn workers. 2013-03-13 23:21:30 -07:00
Samuel Clay
37c8d36eb7 sclay -> /srv 2013-02-25 19:01:11 -08:00
Samuel Clay
a8e3f4bc63 New servers 2013-02-01 14:42:55 -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
9e067ebb37 Merge branch 'master' of github.com:samuelclay/NewsBlur
* 'master' of github.com:samuelclay/NewsBlur: (32 commits)
  Fixing insta-fetching.
  Attempting to correctly save duplicate feeds.
  Adding tons of logging (especially user-facing) to feed exception handling. Much much better feed address and link fetch history.
  New enterprise ios build includes full training.
  Changing intelligence training on social feeds to apply to original feed as well.
  Using a popover for training on the iPad. Also adding the train button to the bottom of every story.
  Finishing training on iPad. Works in river too. Just need to test social and it's shipping.
  Fixing title selectin bug when the title was too short to register the selection loupe.
  Training feeds and stories in feeds. Needs testing on ipad, in river, and on social.
  Finish look and feel of ios training for both story and feed. Just need to send requests, redraw intelligence, recount and reclassify stories, and update scores. All already written to support inline training.
  A few more log color tweaks.
  Adding clean stories task. Updating log colors.
  Reducing queue size of push feeds when overloaded.
  Showing tags, authors, title, and publisher, but only for stories. Needs to be hooked up to send to the server, redraw, and handle site training and popular tags.
  Showing maintenance mode message. One day ... put in a live chat.
  Preventing the double tasking fo feeds.
  Preventing the double tasking fo feeds.
  Migration to increase max length of feed address.
  Cleaning up task feeds logging.
  Stubbing in new modal trainer for ios.
  ...
2013-01-02 09:58:07 -08:00
Samuel Clay
e8d2c3975f Renaming celerybeat supervisor task. 2013-01-02 09:57:59 -08:00
Samuel Clay
57ef407bc8 Adding analytics cleaning task. 2012-12-24 20:24:45 -08:00
Samuel Clay
aa8157b669 Updating munin for new version. 2012-12-24 14:57:43 -08:00
Samuel Clay
90dd709b5b Adding SSL to real-time unread counts. Long time coming. 2012-12-24 11:53:00 -08:00
Samuel Clay
905b2e32f9 Trimming more stories from feeds. 2012-12-21 15:55:25 -08:00
Samuel Clay
9c930e33b3 Adding new maintenance page. 2012-12-21 15:05:50 -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
67ea1019d4 Better error code templates. 2012-12-12 17:06:54 -08:00
Samuel Clay
9626f48f73 Major cleanup on comments in iOS app. 2012-12-11 17:53:17 -08:00
Samuel Clay
36377040e3 Adding monit for gunicorn + kill gunicorn script for doing the dirty work. 2012-12-10 10:50:04 -08:00