Permalink
Switch branches/tags
Nothing to show
Commits on Jun 8, 2012
  1. Merge remote branch 'upstream/master'

    git001 committed Jun 8, 2012
    Conflicts:
    	r2/r2/lib/media.py
Commits on Jun 5, 2012
Commits on Jun 4, 2012
  1. Dual-write last visit timestamp.

    spladug committed May 25, 2012
  2. Add model for new Last Modified system.

    spladug committed May 25, 2012
    This will replace the current stuff in thing_utils.py. The idea is that
    by storing the various last modified timestamps for a thing in a single
    row together, we can save Cassandra round trips and seeks per request.
  3. tdb_cassandra: Use Cassandra-native serialization for Date columns.

    spladug committed May 25, 2012
    This has a couple of advantages:
     * interoperability with Cassandra tools (cassandra-cli / cqlsh)
     * smaller by 5-6 bytes on every column
    
    From here on out, date columns will be written in the Cassandra
    standard 8-byte integer (number of milliseconds since epoch) format.
    Old-style stringified epoch seconds will be read properly.
    
    This relies on Pycassa's new UTC-based behaviour in 1.7.
  4. Add install script.

    spladug committed Jun 2, 2012
Commits on Jun 1, 2012
  1. Reorganize queries.

    bsimpson63 committed with spladug May 30, 2012
    del_or_ban, unban, clear_reports handle QueryCache queries more clearly.
  2. Losslessly optimize JPEGs.

    spladug committed Jun 1, 2012
    Disabled by default in example.ini. Install jpegoptim
    or an equivalent and set the configuration properly.
  3. Don't show "Saved" tab on front page to unlogged users.

    spladug committed with kemitche Jun 1, 2012
    It 404s right now and is only there for legacy reasons anyway.
  4. more detailed promotion logging

    shlurbee committed May 29, 2012
    Log creation/deletion of campaigns and include campaign id in promotion logs.
    This change will make it easier to troubleshoot self-serve bugs.
Commits on May 31, 2012
  1. Add queue consumer upstart jobs.

    spladug committed May 31, 2012
  2. Add upstart tasks for cron jobs.

    spladug committed May 30, 2012
Commits on May 30, 2012
Commits on May 29, 2012
  1. Add script to wrap cron jobs.

    spladug committed May 4, 2012
  2. Remove user id from authorize.net invoice number

    shlurbee committed May 29, 2012
    Previously, invoice number was [user_id]T[link_id]C[campaign_id].
    Since campaigns are represented as Things now, their ids are longer, putting
    us over the 20 char limit for invoice numbers defined in the authorize.net
    xml api.
    (see https://api.authorize.net/xml/v1/schema/AnetApiSchema.xsd )
    
    Now invoice number will be T[link_id]C[campaign_id], which is still unique
    across campaigns since a link is always associated with only one user
Commits on May 25, 2012
  1. Update config with new promocampaign thing table

    shlurbee committed May 25, 2012
    Adds promocampaign table (needed for the PromoCampaign model introduced in the
    previous commit) to example.ini
Commits on May 24, 2012
  1. Creates campaign model and dual-write campaigns to Thing table

    shlurbee committed May 22, 2012
    First step of breaking campaigns out into their own data object.
    
    Campaigns are still stored as an attribute on their promoted Link as before,
    and all reads are still done from the link attribute, but writes (creation of
    a campaign and edits to a campaign) are also written into a Thing table.
    
    NOTE: This change has a configuration dependency in another repository.
    The following lines must be added to the .ini file:
    db_table_promocampaign = thing
    db_servers_promocampaign = [YOUR SERVER NAMES HERE]
Commits on May 23, 2012
  1. Merge remote branch 'upstream/master'

    git001 committed May 23, 2012
    Conflicts:
    	r2/r2/lib/strings.py
    	r2/r2/public/static/css/reddit.css
    	r2/r2/templates/selfserveblurb.html
Commits on May 22, 2012
  1. Removes two extraneous quotes in template HTML around IE-specific sty…

    bcarl committed with spladug May 11, 2012
    …lesheet includes.