Commit graph

5044 commits

Author SHA1 Message Date
Samuel Clay
bff2baf067 If not active subs, turn off real-time. 2013-03-20 16:17:49 -07:00
Samuel Clay
d793946e3a If not active subs, turn off real-time. 2013-03-20 16:17:20 -07:00
Samuel Clay
670093e3bf Skipping real-time fetch for non-premium active feeds. 2013-03-20 16:13:10 -07:00
Samuel Clay
7111b362fb Upgrading django 1.5 manage.py. 2013-03-20 16:06:02 -07:00
Samuel Clay
d8a43d394f Upgrade to django 1.5 script. Also handling story lookups with objectids. 2013-03-20 15:43:35 -07:00
Samuel Clay
9ea3be9999 Moving HAProxy's config to secrets so I can set a password. 2013-03-20 15:12:56 -07:00
Samuel Clay
b958619c95 Allowing_hosts for django 1.5. 2013-03-20 15:10:46 -07:00
Samuel Clay
90c2425db0 Upgrading django from 1.3 to 1.5. 2013-03-20 15:05:52 -07:00
Samuel Clay
cd9b9929b4 Adding revsys fab command. 2013-03-20 12:24:36 -07:00
Samuel Clay
87f1a6a4a0 Warning on missing maintenance. 2013-03-20 10:48:36 -07:00
Samuel Clay
8f41ecfb96 Merge branch 'story_hash_2'
* story_hash_2:
  Phase 2: switching to using story_hash index instead of compound unique story_feed_id/story_guid index.
2013-03-20 10:22:37 -07:00
Samuel Clay
5eebcfc546 Merge branch 'master' into story_hash_2
# By Samuel Clay (10) and others
* master:
  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.
  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
  document keyboard shortcut to add site/folder
2013-03-20 10:22:30 -07:00
Samuel Clay
d167788f29 Further pushing out feed updates. 2013-03-20 10:04:25 -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
ca43ea8555 Further pushing down feed fetches to handle load until db is scaled out. 2013-03-20 08:13:07 -07:00
Samuel Clay
ff1f79eddf Scrolling code blocks. 2013-03-19 18:29:10 -07:00
Samuel Clay
991318face New task servers. 2013-03-19 18:27:06 -07:00
Samuel Clay
bd25172798 Merge pull request #84 from modelm/document-shortcut-addsite
document keyboard shortcut to add site/folder
2013-03-19 18:12:16 -07:00
Samuel Clay
b86de9c518 Merge pull request #97 from wombleton/master
Restore default pre/code block styling
2013-03-19 18:10:07 -07:00
Samuel Clay
459065e80e Merge pull request #100 from gms8994/master
Adds content_type header to /social/rss/ requests
2013-03-19 18:09:24 -07:00
Samuel Clay
23dee4fbce Merge pull request #102 from t-8ch/update_requirements.txt
make fabfile.py use requirements.txt
2013-03-19 18:08:56 -07:00
Samuel Clay
c42bf85b12 Merge pull request #103 from Livven/patch-1
Fixed API docs for /reader/river_stories
2013-03-19 18:07:51 -07:00
Samuel Clay
7ad6c594a3 Turning down feed fetches. 2013-03-19 17:57:24 -07:00
Samuel Clay
61fac02304 If requests.raw won't work, sut fudge it with a StringIO for now. 2013-03-19 17:49:56 -07:00
Samuel Clay
0db41bc853 Further turning down feed fetches until mongo is ready to replicate. 2013-03-19 17:38:36 -07:00
Samuel Clay
1854f719d3 Fixing Facebook image calculation. 2013-03-19 17:27:04 -07:00
Samuel Clay
d5b7266380 Fixing facebook posting. 2013-03-19 17:00:22 -07:00
Samuel Clay
d9289bd3c8 Merge branch 'master' into story_hash_2
* master:
  Moving shared story unread recalc to background task. Will greatly speed up sharing.
  Ramping down feed fetching until they can be handled.
2013-03-19 16:21:13 -07:00
Samuel Clay
b2e52858ea Moving shared story unread recalc to background task. Will greatly speed up sharing. 2013-03-19 16:14:19 -07:00
Samuel Clay
db92d3ca10 Ramping down feed fetching until they can be handled. 2013-03-19 15:32:25 -07:00
Samuel Clay
cb0c70d8d3 Merge branch 'master' into story_hash_2
* master:
  Only show time breakdown when > 1 sec.
2013-03-19 13:54:19 -07:00
Samuel Clay
2ec2e8cbb1 Only show time breakdown when > 1 sec. 2013-03-19 13:53:58 -07:00
Samuel Clay
ed2c5796b3 Merge branch 'master' into story_hash_2
* master:
  Double clicking the unread counts now marks a feed as read.
  Fixing log for non-requests.
  Fixing share bar for tons of sharers.
  Cleaning double the analytics.
  Reducing page load logging to only abre essentials.
2013-03-19 13:48:42 -07:00
Liwen Guo
f81b239287 Fixed API docs for /reader/river_stories
read_filter on /reader/river_stories defaults to unread, however the parameter wasn't even documented before on this endpoint.
2013-03-19 20:18:33 +01: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
Glendon Solsberry
bffe3b11df Make sure to send the proper content-type with social feeds 2013-03-19 08:12:48 -04:00
Samuel Clay
dedd9c3076 Double clicking the unread counts now marks a feed as read. 2013-03-18 18:46:17 -07:00
Samuel Clay
e9bae8bba8 Fixing log for non-requests. 2013-03-18 18:20:45 -07:00
Samuel Clay
631f78951c Fixing share bar for tons of sharers. 2013-03-18 18:19:35 -07:00
Samuel Clay
a37300716e Cleaning double the analytics. 2013-03-18 15:28:05 -07:00
Samuel Clay
8f7f5a2976 Reducing page load logging to only abre essentials. 2013-03-18 15:27:14 -07:00
Samuel Clay
7b3b8ac2d2 Merge branch 'master' into story_hash_2
* master:
  Adding port handling for socket.io when not on www. Useful for dev and debugging.
2013-03-18 15:18:48 -07: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
27a2dfbfa0 Merge branch 'master' into story_hash_2
# By Samuel Clay (70) and adriano petrich (1)
# Via Samuel Clay (3) and adriano petrich (1)
* master: (71 commits)
  Adding new task servers.
  Activating premiums immediately for stripe users.
  Adding X-server to headers to figure out request pinning.
  removing dependency to dop.client for common fab tasks
  Increase file descriptor limits with fabric.
  Opening up gunicorn for use by HAProxy directly.
  Naively connecting to real-time socket.io.
  Preventing socket.io buildups.
  Rewriting HAProxy config to include gunicorn and maintenance. Much better monitoring.
  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?!
  Trying out a gunicorn haproxy backend.
  Re-upping 12 to 64 free feeds.
  Removing Redis state for socket.io. Too many open mongo connections.
  Referencing new secret hosts.
  Removing hosts.
  Adding dev hosts.
  Using new secrets repo instead of ignored files.
  Fixing homepage copy.
  Using redisstore for socketio.
  Forcing reconnection for socket.io.
  ...
2013-03-18 13:35:17 -07:00
Samuel Clay
2aaadfdd17 Adding new task servers. 2013-03-18 13:35:11 -07:00
Samuel Clay
8281a1f3ec Activating premiums immediately for stripe users. 2013-03-18 13:14:50 -07:00
Samuel Clay
7c8c965dd5 Merge pull request #96 from frac/master
Remove dependency to dop.client
2013-03-18 12:14:18 -07:00
Samuel Clay
d283294bcc Adding X-server to headers to figure out request pinning. 2013-03-18 11:32:24 -07:00
Rowan Crawford
5481d11623 Restore default whitespace to pre/code blocks 2013-03-19 00:02:00 +13:00
adriano petrich
6b8d1e1206 Merge branch 'master' of git://github.com/samuelclay/NewsBlur 2013-03-18 09:51:27 +00:00