Commit graph

1095 commits

Author SHA1 Message Date
Samuel Clay
eddcf1eddb Merge branch 'master' into circular
* master:
  Using regular expressions for comment stripping, unless the feed has an error count, in which case switch to lxml.
2013-04-08 16:15:29 -07:00
Samuel Clay
47c2257ef7 Using regular expressions for comment stripping, unless the feed has an error count, in which case switch to lxml. 2013-04-08 16:14:48 -07:00
Samuel Clay
e2a4546eb1 Merge branch 'master' into circular
* master:
  No longer doing overly zealous read story cleanup.
  Adding error_feeds count to munin.
2013-04-08 11:47:45 -07:00
Samuel Clay
532d1a67a7 No longer doing overly zealous read story cleanup. 2013-04-08 11:47:39 -07:00
Samuel Clay
eebba16d89 Adding error_feeds count to munin. 2013-04-08 10:53:11 -07:00
Samuel Clay
ff9bf4fad8 Merge branch 'master' into circular
* master:
  Skipping tasking of feeds when queue is too high. Use the random queue.
  Pushing out feed updates to cope with influx.
  Don't allow stories to come from more than 24 hours into the future.
  Removing force from new feeds.
  Adding in timing on feed cleanup.
  Increasing fetches for long tail feeds.
  Adding logging, feed cleanup to forced fetch feeds, and expirations on user read stories.
  Adding supervisord.conf config to include minfds (ulimit -a) support.

Conflicts:
	utils/feed_fetcher.py
2013-04-08 09:50:08 -07:00
Samuel Clay
639ad60ba1 Don't allow stories to come from more than 24 hours into the future. 2013-04-07 21:07:34 -07:00
Samuel Clay
36e76759e8 Adding in timing on feed cleanup. 2013-04-07 17:49:34 -07:00
Samuel Clay
1175b306cd Adding logging, feed cleanup to forced fetch feeds, and expirations on user read stories. 2013-04-07 17:20:17 -07:00
Samuel Clay
48c5d4d53e Adding logging, feed cleanup to forced fetch feeds, and expirations on user read stories. 2013-04-07 17:19:59 -07:00
Samuel Clay
35158e7a8b Merge branch 'master' into circular
* master:
  Upping Android to version 1.2.
  Bumping up feed fetching for premiums.
  Refunding stripe payments.
  ActionBar is part of the repo now (vendorized).
  Make initial sync on creation of Main activity folllow recommended two-step API pattern.
  Fix feed parsing issue when user has no feeds
  Fix crash when new user registers. For some unknown reason the code was doing a feed pull and then always expecting folders when there obviously wouldn't be any if the user just registered.
  When login fails go back to login activity rather than previous view
  Handle new user registration error reply by informing user of issue with regiration attempt

Conflicts:
	apps/profile/models.py
2013-04-05 19:05:45 -07:00
Samuel Clay
f2281ec7bc Refunding stripe payments. 2013-04-05 17:54:22 -07:00
Samuel Clay
6ca3320c44 Merge branch 'master' into circular
# By ojiikun (8) and others
# Via Samuel Clay (3) and ojiikun (1)
* master:
  Handling 0 images found for shared story.
  Fixing broken JPG image sizer.
  Handling timeouts for feed link change.
  Fixing a few small feed collision errors.
  Adding feedparser trunk, in case I want more pain.
  Fixing feed address change by feed link when colliding with existing feed.
  Fixing feed address change by feed link when colliding with existing feed.
  Revert change that disabled user images for shared/commented on a story and liked comments
  Undoing whitespace changes in APIManager.
  Undo whitespace changes in APIClient.
  Fully remove redundant sync during login.
  Remove extra debug.  Add full API logging.
  Cleanup comment views.
  Prevent force close in SetupCommentSectionTask if there is no data in the reply user cursor.
  Added .gitignore so ant files aren't accidentally comiitted.
  Clarify shell HOWTO instructions.
  Added shell build HOWTO.
  Remove extra sync in login frag. Disable favicos. Better Debug.
2013-04-04 17:54:42 -07:00
Samuel Clay
681968033b Fixing broken JPG image sizer. 2013-04-04 17:49:38 -07:00
Samuel Clay
2645eff5ad Fixing a few small feed collision errors. 2013-04-04 17:22:52 -07:00
Samuel Clay
0fac7eda3b Adding feedparser trunk, in case I want more pain. 2013-04-04 17:22:52 -07:00
Samuel Clay
179338135e Fixing feed address change by feed link when colliding with existing feed. 2013-04-04 17:22:52 -07:00
Samuel Clay
3d190cc3ec Fixing a few small feed collision errors. 2013-04-04 17:18:27 -07:00
Samuel Clay
c02c1c4c98 Adding feedparser trunk, in case I want more pain. 2013-04-04 17:14:15 -07:00
Samuel Clay
8a7ea248fd Fixing feed address change by feed link when colliding with existing feed. 2013-04-04 17:09:16 -07:00
Samuel Clay
941726f51d Feed may not longer exist. Toss it. 2013-04-03 22:51:21 -07:00
Samuel Clay
d18e287834 Broken nb-full-container implementation. 2013-04-03 22:33:01 -07:00
Samuel Clay
5898ea9df0 Feed may not longer exist. Toss it. 2013-04-03 21:20:19 -07:00
Samuel Clay
c3548105f9 Merge branch 'master' into circular
* master:
  Cleaning up counts in munin and work log.
  What the f? strip_comments now eats CPU on bad stories. But why now and not a few months ago when I introduced it?
  Adding timeout to strip comments.
  Using proper hostname for task server. Adding verbosity to feed fetching.
2013-04-03 19:04:52 -07:00
Samuel Clay
6b262f8557 Cleaning up counts in munin and work log. 2013-04-03 19:04:30 -07:00
Samuel Clay
4cf2085ee7 Adding timeout to strip comments. 2013-04-03 18:16:52 -07:00
Samuel Clay
20698e9bc5 Merge branch 'master' into circular
* master:
  Adding tasked_feeds set to handle dropped feeds.
  Fixing missing feed bug.
  Adding new task server role: only new and push feeds.
  Fixing munin counts.
2013-04-03 17:26:10 -07:00
Samuel Clay
702e7c8e57 Fixing munin counts. 2013-04-03 16:16:15 -07:00
Samuel Clay
c42689a99e Merge branch 'master' into circular
* master:
  Cleaning up queue migration.
  Handling decayed feeds with no more active subscribers. They don't get returned to the scheduled_updates queue until there are enough active users.
  Only need next scheduled update.
  Fixing feeds that fall through.
  Moving task queue from postgres db backed to redis backed.
2013-04-03 16:08:29 -07:00
Samuel Clay
9aafd8eab2 Adding delaying to reader import. Adding reader starred story import. 2013-04-02 15:41:50 -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
ba5919d760 Moving task queue from postgres db backed to redis backed. 2013-03-30 19:05:13 -07:00
Samuel Clay
25d21c9f69 Updating postgres config, celery queue. 2013-03-30 12:43:11 -07:00
Samuel Clay
65e976e4a0 Culling some graphs on feed counts. 2013-03-29 16:36:13 -07:00
Samuel Clay
0f53acdf6d Merge branch 'master' into circular
* master:
  Fixing stripe reimport
  Upping feed fetching by quite a bit.
  Fixing double counting stripe payment bug by clearing out striep purchase history when inserting.
2013-03-29 14:27:04 -07:00
Samuel Clay
0572dbf0b7 Fixing stripe reimport 2013-03-29 14:27:00 -07:00
Samuel Clay
aa4bf71b34 Upping feed fetching by quite a bit. 2013-03-29 14:14:29 -07:00
Samuel Clay
5d609355ee Merge branch 'master' into circular
# By Samuel Clay (2) and Lance Johnson (1)
# Via Samuel Clay (2) and Lance Johnson (1)
* master:
  Moving from MongoDB's page_loads analytics table to Redis page loads.
  Adding MongoDB MMS agent.
  Several changes in one commit (bad me)
2013-03-29 13:19:12 -07:00
Samuel Clay
9086e93c3b Moving from MongoDB's page_loads analytics table to Redis page loads. 2013-03-29 13:14:19 -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
e159a7223d Adding read preference to migration. 2013-03-28 15:15:24 -07:00
Samuel Clay
328ca6b386 Migration to create story_hash for missing feeds. 2013-03-28 15:04:54 -07:00
Samuel Clay
ceaf07ac87 Adding dev to tlnb. 2013-03-26 10:11:27 -07:00
Samuel Clay
2ec2e0a2e4 Adding dev to tlnb. 2013-03-25 12:48:36 -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
79200d7bc1 Adding RStats, necessary to remove mongodb analytics. 2013-03-25 11:10:41 -07:00
Samuel Clay
a4238d20b3 Moving to a single hosts and hosts.yml file, used to control logs, deployment, firewalls, and communication. Awesome! 2013-03-24 22:31:46 -07:00
Samuel Clay
568081eb0b Merge branch 'master' into circular
* master:
  Fixing Google+ sharing.
  64 sites, not 12 sites. Doh!
  Adding expires header to icons.
  Downgrading from Pillow, which is incompatible with PIL.
  Pushing feed history deletion to end of stats collection.
  Logging feed fetch deletions.
  Fixing missing scipy import missing form PILlow.
  Last imports for pillow.
  Boosting feed fetches.
  Upgrading from PIL to Pillow.
  Upgrading from PIL to Pillow.
  Upgrading from PIL to Pillow.
  Adding cached template loader. Adding new mongodb.
  Cutting number of feeds for fetching until mongo is sharded.

Conflicts:
	fabfile.py
2013-03-24 21:13:32 -07:00
Samuel Clay
9e2fa3115d Cache busting feeds on force and 1% of the time. 2013-03-24 15:50:57 -07:00
Samuel Clay
9da98efcf6 Upgrading from PIL to Pillow. 2013-03-22 15:06:40 -07:00