Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Jul 8, 2013
  1. @ketralnis @shlurbee

    Remove trailing whitespace.

    ketralnis authored shlurbee committed
Commits on Feb 23, 2011
  1. @ketralnis

    February 2011 Merge

    ketralnis authored
    * 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 Oct 18, 2010
  1. @ketralnis

    * Combine cassandra clusters into a single one

    ketralnis authored
    * Add a new Cassandra CF for comment-sort caching
    * Add JSONP support
    * Support non-auto-renewing PayPal IPNs
    * Gold accounting
    * Gold features: comments tracking, larger comment limit
    * Autorenewing gold
    * Google checkout support
    * Profile-page sorting for all
    * Title-text on the logo
    * Hardcache sharding and profiling
    * Self serve enhancements
    * Add /r/foo/faq
    * Make self-centred reddits allow for more verbose selftext
    * Much better down-handling of databases
    * Add the ability to take a thread-dump from a running process
    * Remove the comscore tracker
    * Add comments to modqueue (does not back-populate)
Commits on Jul 22, 2010
  1. @ketralnis

    21 Jul 2010 merge

    ketralnis authored
    * Use Flaptor's Indextank product for search, including santip's patch
    * for their new API
    * Add Cassandra ConsistencyLevels to the ini file, and storage-conf.xml
    * to the public repo
    * Patch contributed by umbrae in ticket #929: Add jumpToContent support
    * for Keyboard Accessibility
    * reddit gold
        - paypal/postcard support
        - friends with benefits
        - profile-page sorting for gold members
        - move domain listings into the permacache
Commits on May 17, 2010
  1. @ketralnis @KeyserSosa

    Features:

    ketralnis authored KeyserSosa committed
        * Cassandra
          * Add new cassandra libraries that we'll need to setup.py
          * Select Cassandra seeds at random rather than in order
          * Bugfix in CassandraCache.delete and a faster permacache migration function
          * Like other caches, CassandraCaches need to be able to take (and ignore) a 'time' parameter
          * add Cassandra to the permacache chain
        * beginning of jury duty (later called deputy moderation)
    
        Additions:
        * Make /r/friends much cheaper at the expense of sorting
        * Add Jury.delete_old(), which removes Account-Trial relations > 3 days old
        * Make the pretty_button() template function's callback optional, so that
          actionless pretty-buttons can be used on the admin details page
        * make .embed listings work for permalink pages (think of this as a first pass to getting blog comments working).  Adds 'limit' and 'depth' parameter to permalink pages
        * Added final redditheader.html pretty-button class
        * new iframe ads; also make button.js static
        * Usage sampling
    
        Bugfixes:
        * Stop adding batched time query recalculations to the queue at all except through the catch_up_batch_queries function
        * Superflous comma might be causing IE7 to barf
        * Change the byurl keys again, to fit in memcaches 251 character limit
        * Indentation error causing non-sponsors to be able to get to the advert listing
        * Move to a custom build of pylibmc that doesn't hold the GIL during blocking operations
        * Convert some cache.gets to cache.get_multis, and implement our own thread-safety around pylibmc's client
        * Make search caching a little smarter for time searches
        * Make the ads not be cached for 30 seconds each, ie. more random
        * fix deleted things on profile pages
  2. @ketralnis

    New features:

    ketralnis authored
        * Activate negative-result caching for HardCache chain
        * begin migration to pylibmc:
           * Add pylibmc to the list of required packages in preparation for the replacement of the memcached library
           * Start using pylibmc for the rendercaches
        * Tweak the computation of the normalized hot page to be a bit faster when the precomputer is available, by relying on the precomputer's internal permacached structure.
        * Default to a SelfEmptyingCache for scripts run from `paster run'.  Note that processes that run forever are still responsible for resetting their local-caches, but this can now be done with g.reset_caches()
        * threaded messaging patch part 1: backend changes only.  This will allow migrate.py to be run to move new onto inbox and will start tracking message trees for users.
        * Specify some queries to run at most once per day
        * Refactored safemarkdown() and added soup testing
    
        Additions:
        * Added _byID_rel()
        * Made error messages more verbose for:
           1. byID lookups of too-big thing_ids
           2. memcache failures
           3. Solr Nones
        * Award._all_awards() now sorts by date
        * Trophy.by_{account,award}() now cache properly
        * new feedback page with helpful links
        * Try to reduce the length of the query-queue by not adding known-long queries at all, rather than adding them and skipping them
        * whitespace clean up
        * simplify the 'why did my CC get denied' email checking.
        * added missing translation strings and users now get PMs when they are added as translators
    
        Bugfixes:
        * Fix a bug in unsaving
        * BeautifulSoup stopped hosting 3.0.7a, but 3.0.8 still uses the good parser
        * Better search error handling
        * Properly reset the cache-chains (incl. the hardcache; d'oh!) per-request
        * Fix an attribute error on listings where some items have author_ids and some don't
        * Bug when forcing recalculation of memoized functions
        * the subreddit creation and edit form aren't dealing with errors properly
        * buttons fix
Commits on May 13, 2009
  1. @ketralnis

    Don't show very young links on the new page, so that the thumbnail fe…

    ketralnis authored
    …tcher et al have had time to act on them
Commits on Mar 11, 2009
  1. @ketralnis
Commits on Feb 20, 2009
  1. @ketralnis
Commits on Dec 10, 2008
  1. @ketralnis

    Don't override __class__ on LinkCompressed or PromotedLink. Fixes a c…

    ketralnis authored
    …lass of especially annoying bugs
Commits on Dec 4, 2008
  1. @ketralnis

    Fix miscellaneous bugs with promoted links, and reduce app-server load

    ketralnis authored
    by reducing calls to apy.py:POST_onload
Commits on Dec 1, 2008
  1. @ketralnis

    * now caching one organic list per user again

    ketralnis authored
    * tracking for promoted links is now done via an authenticated hash to prevent replays
    * organic list now properly ignores spam (even for moderators) and deleted links
    * clicks and views on promoted links are now only tracked when they occur in the organic box or on the comments page
    * organic boxes for users with lots of Subreddit subscriptions no longer pollute the cache
    * properly validating URLs for promoted links (same rules as for regular submissions)
Commits on Nov 20, 2008
  1. @ketralnis
Commits on Nov 6, 2008
  1. @ketralnis

    * decorate promoted links

    ketralnis authored
    * interface for creating promoted links
    * store one organic list per unique list of subreddits rather than per user
Commits on Oct 2, 2008
  1. @ketralnis
Commits on Sep 30, 2008
  1. @ketralnis

    Tools for webmasters to monitor their content on reddit (uses Solr

    ketralnis authored
    for pulling domain information).
    
    Also includes a re-factor of solrsearch.py and its usage, which
    should fix bug #179 as a side-effect
Commits on Sep 18, 2008
  1. @ketralnis
Commits on Aug 26, 2008
  1. @ketralnis

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

    ketralnis authored
       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 24, 2008
  1. @ketralnis

    Add a listing of random articles, similar to serendipity, but because

    ketralnis authored
    it's a listing, it can be pulled via RSS or JSON. Available at /randomrising
Something went wrong with that request. Please try again.