Permalink
Switch branches/tags
Nothing to show
Commits on Jul 10, 2012
  1. Use CL ONE for Cassandra Save/Hide lookups.

    Looking up saves and hides generally results in a big multi-get that'll
    end up hitting most of the ring. During load spikes this is a big issue.
    Let's try reducing the CL to reduce load.
    spladug committed with bsimpson63 Jul 9, 2012
Commits on Jul 9, 2012
  1. Gracefully degrade when cassarel lookups fail.

    The relation lookups currently do a multiget that will likely end up
    hitting every node in the ring, until this can be fixed they are very
    susceptible to load spikes. Rather than losing the whole request and
    returning a 500/YBR to the user, if one of these lookups fail, we'll
    just plow on.
    spladug committed May 31, 2012
  2. setup.py: Ensure webhelpers==0.6.4.

    Newer webhelpers packages cause issues with Routes.
    spladug committed Jul 9, 2012
  3. setup.py: Add missing lxml dependency.

    filters.py depends on lxml. This dependency was missing.
    spladug committed Jul 9, 2012
  4. setup.py: Add temporary Pycassa 1.7 download link.

    reddit relies on pycassa/pycassa@91a5887
    but at time of writing there still isn't a release that contains this
    patch. Until that's available, we'll add a custom download link.
    spladug committed Jul 9, 2012
Commits on Jul 6, 2012
  1. Fix encoding and do escaping in authorize.net xml

    - Escapes &, <, and > except in extraOptions tags, which need to allow special
        characters
    - Encodes string as UTF-8 before sending it over the wire
    - Replaces xml entities in responses with the correct chars
    
    This change should fix some of the 500 server errors people were getting when
    they had unusual characters in their payment info.
    shlurbee committed Jul 6, 2012
  2. Make POST_hide only allow Links through VByName.

    Someone has been sending Comment fullnames to POST_hide and that
    results in an error on our side and a 500 for them. They really
    should be getting a proper error message back instead.
    spladug committed with shlurbee Jul 6, 2012
  3. Validate lengths of self-serve payment address fields

    Fixes a bug where customers were seeing a 500 error if they entered an address that was too long.
    shlurbee committed Jul 5, 2012
Commits on Jun 28, 2012
  1. tdb_sql: Optimistically do UPDATES and fall back to INSERTS.

    Doing a SELECT on the data table to determine which keys already
    exist was adding too much extra load to the Account master. This
    attempts to alleviate that by optimistically trying an UPDATE and
    if no rows were actually changed by the UPDATE, doing an INSERT
    instead.
    spladug committed Jun 28, 2012
Commits on Jun 27, 2012
  1. Make is_charged_transaction safer

    Returns False immediately if trans_id is 0 since this value means no record has
    been created and therefore the transaction can't have been charged.
    shlurbee committed Jun 27, 2012
Commits on Jun 26, 2012
  1. Also scrapes https pages.

    nanaya committed with spladug Jun 13, 2012
  2. whitespace

    bsimpson63 committed with spladug Jun 20, 2012
  3. Reorganize promote.

    Functions charge_pending and get_scheduled used accepted_iter
    decorator thing which obscured what they were doing. Removed unused
    function get_scheduled_campaign.
    bsimpson63 committed with spladug Jun 20, 2012
  4. ModContribSR inherits from MultiReddit.

    Now has get_all_comments method.
    bsimpson63 committed with spladug Jun 18, 2012
  5. Don't write Liked/Disliked timestamps.

    We'll just use LinkVote instead. It'll be slightly
    inaccurate for one of the two, but it'll be easier
    to maintain.
    spladug committed Jun 14, 2012
  6. Fix SpotlightListing to save max_num for spacing calculation.

    The max_num property is used to calculate the width for the .rank
    element so that listing items line up. This was getting overwritten by
    Listing.listing(), causing the spotlight items to not line up with the
    rest of the page.
    chromakode committed Jun 25, 2012