Skip to content
Commits on Dec 7, 2015
  1. @bsimpson63

    Add Vagrantfile.

    bsimpson63 committed Dec 3, 2015
Commits on Mar 11, 2014
  1. @bsimpson63
  2. @bsimpson63
Commits on Nov 14, 2013
  1. @bsimpson63
Commits on Jul 16, 2012
  1. @spladug @shlurbee
Commits on Jun 18, 2012
  1. @spladug
Commits on Jan 17, 2012
  1. @buddydvd

    Add run.ini and srv/*/log/main/* to .gitignore

    buddydvd committed with Logan Hanks Jan 13, 2012
Commits on Nov 29, 2011
  1. @spladug

    Use .gzip as extension for pre-gzipped files.

    spladug committed Nov 25, 2011
    Some versions of Safari are stupid about files with
    .gz suffix.
Commits on Nov 15, 2011
  1. @spladug

    Generate gzipped versions of JS/CSS static files.

    spladug committed Oct 30, 2011
    Also, flip the symlinking so that unmangled points to the latest
    mangled file.
Commits on Nov 10, 2011
  1. @kemitche

    Make r2.pot generation work again

    kemitche committed Nov 4, 2011
    Also, blame a random admin on failure
Commits on Aug 25, 2011
  1. @spladug
  2. @spladug

    Clean up setup.py.

    spladug committed Aug 6, 2011
Commits on Jun 20, 2011
  1. @chromakode
Commits on Jun 17, 2011
  1. add vim swap files to .gitignore

    Logan Hanks committed Jun 16, 2011
Commits on Feb 23, 2011
  1. @ketralnis

    February 2011 Merge

    ketralnis committed Feb 23, 2011
    * Upgrade discount to 1.6.8
    * Start reading Votes, Saves, and Hides from Cassandra (while still dual-writing all three)
    * Some XSS fixes
    * Significant Gold buying and gifting improvements
      - Move /api/ipn to /ipn
    * Allow non-US countries to buy sponsored links
    * Increase embed.ly scope
    * redd.it support
    * Allow postgres port number to be specified in ini file (this changes the format of the .ini file)
    * Upgrade Cassandra to 0.7
      - Change g.urlcache to LinksByURL
      - Translate storage-conf.xml to cassandra.yaml
      - TTL support (and enable on Hides)
      - Move permacache keyspace to inside reddit keyspace
    * The stalecache: a local memcached that contains slightly old information to speed up some lookups
    * Switch to patched Paste that is hopefully download.gz-proof
    * Don't store votes on things > 30 days old
    * Many many bugfixes/small features
Commits on Jun 26, 2010
  1. @KeyserSosa

    Bugfixes:

    KeyserSosa committed Jun 25, 2010
         * no-repeat on some background images in the sprite (#797)
         * fix deleted comments on the mobile site -- preserve author anonymity (#624
         * faulty permalinks on pages with all unicode title (#776)
         * no more spreadshirt
         * reorganize comment_tree and _builder.pyx to clean up cache handling
         * fix styling for Bug #78
         * Improve handling of /r/all+all (bug #699), etc (not always a 400 now)
         * Fix the time listings: sometimes we get passed unicode for self.time
         * Don't allow private reddits to show in /r/random
         * Try to allow remote sites to show their own favicons in the reddit
            toolbar
    
      Speed improvements:
      * CommentBuilder refactor rount 1:
         * create new sort and parent permacache entries so that we don't need to loa
         * update sorts and parents when a new comment comes in
         * update non-date sorts when a new comment vote comes in
         * add more trace info to timeouts in CommentBuilder
      * Some misc. performance hacks (incl. adding _utils.pyx)
      * Increase SR description box limit from 1k to 5k
      * Fix a bug where we weren't properly allowing hidden items to be hidden
        on time-filtered listings
      * Make Subreddit._by_name take a list of names like byID
      * Upload thumbs to S3 with reduced_redundancy==True
      * make rss feeds without a 'feed' get parameter act as if the user is not logged in
      * Require a boto that knows about reduced_redundancy
      * remove fast_queries from Message.add_props and put the onus on fetching the unread messages from the permacache
      * Store the list of popular subreddits in the permacache
        * make SubredditTopBar cacheable per-user.
      * add (as safe as we can make it) annotation for sql selects to track down requests hitting the db when they shouldn't be.
    
     User submitted features:
      * Merge and clean up Phire's selfs-only/no-selfs patch.
    
      * Don't show expired items on time-filtered controversy listings
    
      * Also add the 'hide' button to the toolbar just for breakneckridge.
        Next time someone calls me prickly, breakneckridge had better step
        up to the plate for me or I'm rolling it back.
Commits on Jun 17, 2010
  1. @KeyserSosa

    Upgrade Instructions

    KeyserSosa committed Jun 15, 2010
    ====
       * Uninstall the python Cassandra package that we previously depended on (it has a namespace conflict with the new package we depend on).  To find it:
    
         $ python -c "import cassandra; print cassandra.__file__"
    
        and rm -r the .egg directory after "site-packages/"
    
       * This version relies on cython, so if "make" fails, you may have to install cython via your distro's package manager.
    
         $ cd reddit/r2
         $ python setup.py develop # possibly with "sudo" depending on your install
         $ make
    
       * Cassandra is now required for the caching layer.  An example storage-conf.xml can be found in reddit/srv/cassandra.  Make sure that the additional <Keyspace> items are included in your conf file.
    
       * remove the query_queue_reader services if they are running.  add new gen_time_listings.sh instead.  Suggested cron:
    
        0    */2 *   *   *   $SCRIPTS/gen_time_listings.sh year '("month","year")'
        */5  *   *   *   *   $SCRIPTS/gen_time_listings.sh week '("day","week")'
        *    *   *   *   *   $SCRIPTS/gen_time_listings.sh hour '("hour",)'
    
       where $SCRIPTS is the location of this script directory
    
    Features and Bugfixes
    ====
     * Mobile reddit:
       * templates are in r2/templates of the form *.compact
       * css is r2/public/static/css/compact.css
         * beginning of a sass-based (http://sass-lang.com/) compact.scss
       * reachable via .compact extension or from the "i" subdomain.
     * Cassandra is now *required*, and votes are currently written out to both cassandra and postgres (part of an eventual migration).
     * attempt to make the db connection code a little smarter.
       * A dropped DB connection will mark the connection dead and randomly attempt to reconnect.
       * A dropped db connection on start will permanently mark the connection as dead.
     * Calculate the time-filtered top/controversy listings using mapreduce instead of prec_links (new cron job in reddit/scripts)
     * allow default user/pass for database to be specified with '*' to fallback on db_user and db_pass in the INI file
     * Search feedback buttons
     * make deleted comments not show up in your inbox.
     * move last_visited into cassandra
     * Swallow rare, race-conditiony POST_save/hide/subscribe problems
     * Apparently we haven't been breaking properly for the past few weeks.
Commits on May 17, 2010
  1. @KeyserSosa

    New features:

    Mike committed with KeyserSosa May 3, 2010
        * Discount 1.6.1
          * Lines beginning with spaces are considered code. I don't know why markdown.py didn't trigger this.
          * tables in mark down: why not?
          * validation of resulting HTML vial libxml to prevent hax.
        * private RSS and JSON feeds
        * optional whitelists for subreddits
        * Moderator messaging
    
        Additions:
        * destination sanitization to cut down on XSRF
        * cosmetic fix to spam and reported listing
        * make the rss feeds on messages useful
        * /admin/errors
        * Of the types of listings hitting the precomputers (top/controversy by hour/day/week/month/year), the ones over long periods of time don't change often. So we can try to run them at most once per day, and then merge in the day's listings.
        * google analytics
        * logging queue
        * Created empty commentspanel.xml, errorpage.xml, login.xml
        * add subreddit rules/info box to submit page
        * add 'via' link on messages in moderator inbox
        * add a show=all get parameter to link listings to optionally ignore hiding preferences.
        * Raise edited timelimit to three mins
        * Remove UI that makes it look like you can edit deleted selftexts
        * Make it clearer to admins when a link is deleted
        * Fix [S] leak on deleted comments
        * Fix /user/[deleted] misrendering
        * New house ads system
        * updated so that minimalcontrollers actually can use the page cache.
        * Added /admin/usage
    
        Bugfixes:
        * Reduce the number of results that we request from Solr and simplify that caching a bit
        * Require a secret key to shut down app-servers
        * Make get_title a little more resilient to malformed documents and slow remote servers
        * Cause the SearchBuilder to only byID the results that it's going to render instead of all 1000
        * Remove ability for an author to XSS himself
        * fix spam listings and an xsrf
        * More verbose VDestination
        * Fixing the famous ?limit=0.1 error, and one last password-validation one
        * distinguish deleted comments' and deleted links' error messages
        * Don't allow ridiculously long log lines to widen the page
        * Bug with HardCache.add() when existing key is expired
        * Add adminbox next to domain
Commits on Jan 26, 2009
  1. @KeyserSosa
Commits on Aug 26, 2008
  1. @ketralnis

    1. Allow a reddit to have a cname, like www.proggit.com, that renders

    ketralnis committed Aug 26, 2008
       the listing for that reddit
    
    2. Allow a reddit to have a custom CSS stylesheet that appears to
       visitors
    
    3. Allow a reddit to upload a custom reddit alien logo
Commits on Jun 28, 2008
  1. @ketralnis

    Don't show spam in search listings (also avoids adding spam to the se…

    ketralnis committed Jun 27, 2008
    …arch index at all, would could speed up solr)
Commits on Jun 26, 2008
  1. update comment count after deleting a comment

    shuffman committed Jun 26, 2008
Commits on Jun 18, 2008
  1. @KeyserSosa

    we don't use lighttpd anymore

    KeyserSosa committed Jun 17, 2008
  2. @KeyserSosa

    initial checkin

    KeyserSosa committed Jun 17, 2008
Something went wrong with that request. Please try again.