This repository has been archived by the owner. It is now read-only.
Switch branches/tags
Nothing to show
Commits on Oct 16, 2017
  1. Update README for archival

    bsimpson63 committed Oct 14, 2017
  2. Remove

    bsimpson63 committed Oct 14, 2017
    The repository is archived and not accepting contributions.
  3. ApiDocs: Don't link to code

    bsimpson63 committed Oct 14, 2017
    The docs are generated from the production code, but the links are to the
    deprecated opensource repository (, so the
    links and line references are wrong.
  4. Fix https config

    bsimpson63 committed Oct 12, 2017
  5. Fix expando icons

    bsimpson63 committed Oct 12, 2017
Commits on Oct 12, 2017
Commits on Apr 18, 2017
  1. SimpleSillyStub: Add __exit__ and __exit__ for context managers

    elnuno authored and bsimpson63 committed Mar 23, 2017
Commits on Mar 9, 2017
  1. setup_cassandra: Increase the per-thread stack size

    bsimpson63 committed Mar 1, 2017
    This used to be set to 256k in cassandra version 1.2.19, but we
    recently downgraded to version 1.2.11 where it's set too low.
  2. Install plugins before attempting first startup

    bsimpson63 committed Feb 28, 2017
    This lets Cassandra CFs in the plugins get created at the same time,
    avoiding some weird conflict or race condition.
Commits on Feb 21, 2017
  1. Randomize scores of all top level comments for shuffle sort

    bsimpson63 committed Feb 20, 2017
    This will ensure that all top level comments are considered for
    display. It also makes it more clear that the sorting of child
    comments is uneffected.
  2. Ignore IDN decoding errors.

    rram committed Feb 15, 2017
Commits on Feb 15, 2017
  1. Remove defunct ads tables.

    rram committed Feb 15, 2017
    These used to back the sidebar 300x250 ad space. This was replaced a long time
Commits on Feb 14, 2017
  1. Remove last vestiages of the jury system.

    rram committed Feb 14, 2017
    This was removed in 2012.
Commits on Jan 19, 2017
  1. tracing: Add traces for Cassandra

    bsimpson63 committed Jan 13, 2017
Commits on Jan 12, 2017
  1. search: Disable faceting

    bsimpson63 committed Jan 11, 2017
    Faceting returns counts of query matches per subreddit name so we can
    show the user all the subreddits that contain links for their query.
    This ends up returning many unpopular subreddits, which when looked up
    by name are often missing from cache and result in a postgres query. This
    is bad for performance, and the feature is not popular with users so it is
    safe to remove.
Commits on Jan 4, 2017
  1. Sanitize trailing ? when stripping analytics parameters from URL

    andytuba committed Jan 3, 2017
    Safari doesn't remove the ? from a URL when setting ` = ''`
    which results in links not correctly applying `:visited`.
    For example, before this change: ->
    and links to don't render as :visited
    After this change, ->
    and links to are properly empurpled.
    Additionally, hash is preserved: ->
Commits on Dec 21, 2016
  1. Replace link href with inbound tracking url on click

    andytuba committed Dec 19, 2016
    If a link has an inbound tracking url (regular url plus utm query parameters)
    or outbound tracking url (redirect via outbound link tracker service),
    then replace the link's `href` with the tracking url when clicked.
    This ensures links to the same resource with different tracking details
    (e.g. comments flatlist button vs self-post title vs self-post source-url)
    correctly render as `:visited` despite different `?utm_content=button-name`.
    This commit also includes fixes to properly split the cache for rendered
    link and comment templates when inbound tracking URLs are enabled.
Commits on Dec 20, 2016
  1. Revert "Generate mobile bi-directional links"

    wting committed Dec 20, 2016
    This reverts commit 920abaf
Commits on Dec 19, 2016
  1. Remove /mobile

    wting committed Dec 16, 2016
    This subdomain is going away, and redirects should be happening via the
    "mobile website" link at the bottom.
Commits on Dec 14, 2016
  1. Remove beta references to 2X.

    wting committed Dec 14, 2016
  2. MultiApiController: fix on_validation_error() to set code

    bsimpson63 committed Dec 14, 2016
    Some errors don't have a code associated with them so we need to
    supply a default value to abort_with_error. This fixes the
    USER_DOESNT_EXIST errors that are causing exceptions.
Commits on Dec 8, 2016
  1. Use stale subreddit lookup for saved subreddits

    bsimpson63 committed Dec 8, 2016
Commits on Dec 2, 2016
  1. Add missing import to printablebuttons

    andytuba committed Dec 2, 2016
  2. Add utm query parameters onto links for comments/messages

    andytuba committed Nov 4, 2016
    Link.tracking_link adds utm query parameters onto links inside reddit
    to track which button was clicked, what component type contains the button
    (e.g. post listing, inbox, post listing embedded on a comments page),
    what page type the user is visiting, and the page's subreddit.
    This feature is enabled via feature flag and disabled by admin mode.
    This commit affects programmatically-generated links to comments and messages.
Commits on Dec 1, 2016
  1. Fix documentation for GET_rules in subreddit

    avinashbot authored and bsimpson63 committed Sep 27, 2016