Commit graph

53 commits

Author SHA1 Message Date
Samuel Clay
3ba68122d7 Updating postgres standby commands. 2015-08-03 12:23:49 -07:00
Samuel Clay
c4a37cb9b2 Better config verification for (upgraded) haproxy. Updating certificates. 2015-07-14 17:42:55 -07:00
Samuel Clay
7cb1726ab2 Preparing the great expense cutting. Adding munin data transfer. 2015-05-06 21:53:11 -07:00
Samuel Clay
983e19148f Disabling RC4 in nginx config. 2015-03-16 14:57:50 -07:00
Samuel Clay
39fe1573f8 Upgrading to redis 2.8. 2015-03-10 13:45:15 -07:00
Samuel Clay
ca27d81131 Fixing duplicate Pocket share extension message. 2015-02-25 12:58:03 -08:00
Samuel Clay
6e5848714e Merge pull request #434 from quad/patch-1
Prefer forward secure and ECC cipher suites
2014-07-13 15:00:38 -07:00
Samuel Clay
f36e7ceae3 Adding RealIP to nginx/gunicorn. 2014-05-22 09:21:47 -07:00
Scott Robinson
ed4bc34288 Prefer forward secure and ECC cipher suites
I saw https://getsatisfaction.com/newsblur/topics/weak_crypto_available and realized a pull request might better communicate the ease in this improvement.

Configuration changes guided by https://community.qualys.com/blogs/securitylabs/2013/08/05/configuring-apache-nginx-and-openssl-for-forward-secrecy

Test results can be confirmed with https://www.ssllabs.com/ssltest/analyze.html?d=newsblur.com
2013-11-16 17:51:01 +08:00
Samuel Clay
f9dd57a531 Adding nginx haproxy health check. 2013-07-30 18:28:53 -07:00
Samuel Clay
e04cfec056 Adding postgres apt script. 2013-06-23 14:01:32 -07:00
Samuel Clay
41f9257d7f Merge branch 'master' into circular
* master:
  Refactoring real-time socketio clientside to fix multiple client updates.
  Unread counts only for logged in users.

Conflicts:
	media/js/newsblur/reader/reader.js
2013-04-15 18:00:00 -07:00
Samuel Clay
76cbbd8d8b Refactoring real-time socketio clientside to fix multiple client updates. 2013-04-15 17:59:06 -07:00
Samuel Clay
c9f64f8193 Merge branch 'master' into circular
* master:
  Moving elastic search hosts.
  Fixing haproxy install.
  Changing dev/debug host for socketio.
  Ripping out memcache in favor of redis.
  Migrating original page servers and munin servers.
  Adding Paypal API.
2013-04-01 16:07:14 -07:00
Samuel Clay
5ffcf84432 Migrating original page servers and munin servers. 2013-04-01 12:21:20 -07:00
Samuel Clay
61dde968b8 Merge branch 'master' into circular
# By Samuel Clay (12) and Lance Johnson (1)
* master:
  Updating postgres config, celery queue.
  Boosting feed fetching.
  Android: show server error message to user when add feed fails. The error message was being sent when non-premium users tried to search for feeds and was causing the App to crash.
  Removing unused feed hash index (keeping the unique constraint).
  Adding two indexes and killing one unused one from feeds.
  Returning index on active subs.
  Changing logging on feed queueing.
  Turning off autocomplete for the time being.
  Removing unused indexes.
  Upgrade to postgres 9.2.
  Culling some graphs on feed counts.
  Cleaning up week old feeds.
  Boosting feed fetching way up for the weekend.
2013-03-30 19:05:20 -07:00
Samuel Clay
03c27b42e8 Removing unused feed hash index (keeping the unique constraint). 2013-03-29 22:41:16 -07:00
Samuel Clay
a67df54101 Merge branch 'master' into circular
* master:
  Adding task servers to db firewall.
  Adding redis cache. Returning favicon server.
  Better munin plugins for redis and mongo.
  Removing unused redis keys for shared/comments. Dry-run.
  Adding read preference to migration.
  Migration to create story_hash for missing feeds.
  Making a clearer description of slow feeds.
  Upping feed fetches, slowing down fetch interval for less active feeds, setting premium expire time to one year from most recent payment date (as opposed to borked payment gap logic), and adding logginf or tasking feeds.
  Switching check for HAProxy'ied socket.io to dev instead of www. Thanks @anaconda!
  Sync delay in mongodb and updating story hash migration.
  Upping feed fetches.
  Fix force close when attempting to fetch a user with a null user.id value
  Fix force close updating ProfileActivityFragment if no profile response was received
  Move creating ImageLoader in NewsBlurApplication to onCreate to ensure that base context has been set and prevent force close
  Boosting fetches.
  Fix duplicate requirement

Conflicts:
	fabfile.py
2013-03-28 19:09:14 -07:00
Samuel Clay
bbd7d5060e Adding task servers to db firewall. 2013-03-28 19:08:46 -07:00
Samuel Clay
bc6b5a025b Adding redis cache. Returning favicon server. 2013-03-28 18:13:08 -07:00
Samuel Clay
e39dee98be Upping feed fetches, slowing down fetch interval for less active feeds, setting premium expire time to one year from most recent payment date (as opposed to borked payment gap logic), and adding logginf or tasking feeds. 2013-03-28 11:16:43 -07:00
Samuel Clay
1b80b37dc9 Merge branch 'master' into circular
* master:
  Adding dev and debug to firewall
  Adding hyphens to allowed hosts for blurblogs.
  Adding X-nginx-server and X-gunicorn-server.
  Adding RStats, necessary to remove mongodb analytics.
  Fixing firewall setup.
  Using secondary mongos for feed fetch histories.
  Moving to a single hosts and hosts.yml file, used to control logs, deployment, firewalls, and communication. Awesome!
  Moving hosts to secrets.
  Cache busting feeds on force and 1% of the time.

Conflicts:
	config/nginx.newsblur.conf
2013-03-25 12:47:16 -07:00
Samuel Clay
cd6bddb2a5 Adding hyphens to allowed hosts for blurblogs. 2013-03-25 12:32:15 -07:00
Samuel Clay
3e8c3b7e4b Adding X-nginx-server and X-gunicorn-server. 2013-03-25 11:53:31 -07:00
Samuel Clay
5e4b1be626 Adding X-server to headers to figure out request pinning. 2013-03-19 10:18:21 -07:00
Samuel Clay
80cc1ef6fb Rewriting HAProxy config to include gunicorn and maintenance. Much better monitoring. 2013-03-19 10:18:21 -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
065df8a196 Rewriting HAProxy config to include gunicorn and maintenance. Much better monitoring. 2013-03-17 14:06:17 -07:00
Samuel Clay
3d12b24042 Merge branch 'master' into circular
* master: (589 commits)
  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.
  Uppiung the find next unread story titles page limit from 12 to 50.
  Hiding folders with no unread stories in Unread/Focus mode.
  Adding autocomplete to emailing a story dialog.
  Using queue for scheduling feed fetches on load.
  Renaming celerybeat supervisor task.
  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.
  ...

Conflicts:
	.gitignore
	apps/reader/views.py
	apps/social/views.py
	templates/social/social_page.xhtml
	templates/social/social_story.xhtml
	templates/social/story_comments.xhtml
2013-01-03 12:00:09 -08:00
Samuel Clay
aa8157b669 Updating munin for new version. 2012-12-24 14:57:43 -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
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
05d257e89b Adding circularapp.com to nginx conf. 2012-08-16 22:19:15 -07:00
Samuel Clay
90bcb4c62b Adding subdomain support for blurblogs. 2012-06-27 01:02:09 -07:00
Samuel Clay
9b2ed2944d Adding new db server, updating db deploy. 2012-06-26 11:19:53 -07:00
Samuel Clay
613fcd91b4 Merge branch 'master' into social
* master:
  Adding app04, updating new app server bootstrap script.

Conflicts:
	fabfile.py
2012-05-21 09:44:17 -07:00
Samuel Clay
731d9a3b76 Adding app04, updating new app server bootstrap script. 2012-05-21 09:40:44 -07:00
Samuel Clay
1955dca844 Shortening activities/interactions to 4, to make room for coming user recomendations table. Also speeding up favicons. 2012-04-18 22:04:13 -07:00
Samuel Clay
e83852af16 Adding node.js favicon server, for serving favicons super-fast from the db. 2012-04-07 14:40:04 -07:00
Samuel Clay
d8a343b67b Adding munin graph for pushed feed queue and nginx conf. 2012-03-28 16:43:04 -07:00
Samuel Clay
afda20c3f9 Trying to fix IE troubles by forcing single requests per read story. 2012-02-08 16:22:21 -08:00
Samuel Clay
f73c48ef84 Fixing nginx conf to support ssl. 2012-02-08 12:51:44 -08:00
Samuel Clay
594d8c22f0 Adding https to nginx. 2012-02-08 12:42:19 -08:00
Samuel Clay
5eb1f88f63 Adding SSL to nginx conf. 2012-01-21 16:50:57 -08:00
Samuel Clay
d247ab6206 Merge branch 'master' into jammit
* master:
  Fixing bogus type error, caused by duplicate feeds.
  Correcting styling on site settings loader icon.
  Removing dupe migration from feed_settings.
  Revert "Switching to requests from urllib2/httplib. Bring on the page errors."
  Fixing #41: Adding REDIS to local_settings.py.template.
  Revert "Revert "Switching to requests from urllib2/httplib. Bring on the page errors.""
  Revert "Switching to requests from urllib2/httplib. Bring on the page errors."
  Switching to requests from urllib2/httplib. Bring on the page errors.
  Adding a bunch fo keyboard shortcuts.
  Adding elapsed time field to river and feed view.
  Fixing autolinking of text links to no longer indiscriminately replace text, causing double encoding of html entities.
  Fixing the space bar key to not queue, so it's actually useful now!
  Refining media enclosures by adding all types and linking to their source.
  Refining media enclosure detection.

Conflicts:
	config/nginx.newsblur.conf
2011-11-27 03:17:23 -05:00
Samuel Clay
81332e3b11 Correcting styling on site settings loader icon. 2011-11-27 03:07:03 -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
5b244eafaa Updating nginx conf to support better amintenance pages giving a 503 status code. 2011-11-18 09:13:30 -08:00