Skip to content
Commits on Apr 20, 2016
  1. @spladug
Commits on Apr 12, 2016
  1. @bsimpson63

    new_vote: Don't queue a commentstree_q update on every vote

    bsimpson63 committed Mar 29, 2016
    When a comment has received enough votes it will only update periodically.
Commits on Apr 6, 2016
  1. @KeyserSosa

    Anti-Evil: extend user blocking to affect comments and links.

    KeyserSosa committed Mar 30, 2016
    Specific features (and test list!)
    -  [x] no user page visibility (display intersitial instead)
    -  [X] links in listings removed by default (disabled for moderators)
    -  [X] comments in listings/trees removed by default (disabled for moderators)
    -  [X] can't reply to blocked (existing behavior -- retested here)
    -  [X] block button on messages (existing behavior -- retested here)
    -  [X] add block button on comment and post replies
    -  [X] messages: no orangered or inbox
    -  [X] self posts replies: no orangered or inbox
    -  [X] self posts comments: no orangered or inbox
    -  [X] /message/messages/ has no blocked users (comments, post replies, or comment replies)
    -  [X] /message/inbox has no blocked users (comments, post replies, or comment replies)
    -  [X] /messages/unread has no blocked users (comments, post replies, or comment replies)
    -  [X] /comments has no blocked users
    -  [X] messaging events for PMs (was just mod mail)
    -  [X] messaging events have with blocked field
    -  [x] spam messages don't show up
    -  [x] no orangereds to oneself
    -  [x] update production.ini to add `events_collector_message_sample_rate`
Commits on Mar 15, 2016
  1. @bsimpson63
Commits on Mar 14, 2016
  1. @spladug

    Revert "Fix URL generation in dev-mode debugger on HTTPS"

    spladug committed Mar 14, 2016
    This reverts commit 1d99057d0bd6037d66ac2218fd80a9e58138ecd8.
    There have been complaints of redirect loops etc. I'm going to debug
    this further before recommitting.
Commits on Mar 11, 2016
  1. @KeyserSosa @umbrae

    Experiments: add a decorator for whitelisting loid-based experiments

    KeyserSosa committed with umbrae Mar 8, 2016
    This will allow us to use loid-based experiments along side the pagecache,
    and intelligently vary the cache accordingly.
  2. @KeyserSosa @umbrae

    Experiments: add A/B tests for logged out users with a loid.

    KeyserSosa committed with umbrae Feb 3, 2016
     * add global `g.enable_loggedout_experiments`
     * The new syntax available is `{"experiment": { "loggedout": true, ... }}`
     * Unify the code path to get whether the experiment is enabled with the one to get the experiment variant.
     * add additional test cases to `` and organize `loid` mocking there.
     * Fixup mocking in ``
    *NOTE*: this is a first pass, and still won't work:
     1. on cached pages if we turn the CDN back on
     2. on the *first* page impression by a user before they get a loid (though this case is handled).
Commits on Mar 10, 2016
  1. @bsimpson63

    Make it possible to precompute comment order

    bsimpson63 committed Feb 18, 2016
    The comment order will be computed and stored in permacache when
    a comment is added or a comment is voted on. Then when the link's
    comment listing is viewed it can be read from permacache.
  2. @spladug

    Fix URL generation in dev-mode debugger on HTTPS

    spladug committed Mar 9, 2016
    The interactive debugger was previously generating HTTP URLs even when
    on HTTPS. This is because it uses wsgi.url_scheme to determine which
    scheme to use when generating URLs and because we're using the paste
    server in development, this environment variable was not being set
    appropriately. PasteDeploy's PrefixMiddleware will set the variable
    correctly based on X-Forwarded-Scheme / X-Forwarded-Proto which we
    were already sending from haproxy.
Commits on Mar 9, 2016
  1. @dellis23
Commits on Mar 3, 2016
  1. @bsimpson63
  2. @bsimpson63
  3. @bsimpson63
Commits on Feb 24, 2016
  1. @Deimos

    Update ChillingEffects references to Lumen

    Deimos committed Feb 1, 2016
    Chilling Effects has changed its name to Lumen and its url to
Commits on Feb 14, 2016
  1. @madbook @umbrae

    Add missing gold config to example.ini

    madbook committed with umbrae Jan 20, 2016
    The gold plugin is throwing an error on a fresh install without this.
Commits on Feb 2, 2016
  1. @ajacksified
  2. @zeantsoi
Commits on Jan 19, 2016
  1. @dellis23
Commits on Jan 11, 2016
  1. @bsimpson63
Commits on Dec 18, 2015
  1. @Deimos

    Add event for new comments

    Deimos committed Dec 9, 2015
Commits on Dec 17, 2015
  1. @spladug

    Add initial test integration with the new activity service

    spladug committed Nov 30, 2015
    This service is used to count active visitors within contexts. This
    initial implementation allows us to shadow-write and shadow-read
    depending on a set of feature flags.
Commits on Dec 11, 2015
  1. Timeouts: Use event collector

    Florence Yeun committed Nov 17, 2015
    Use `EventTracker` to send forbidden client-side actions to the event
    collector, side-by-side with the event pixel.
    Add secrets `events_collector_js_key` and `events_collector_js_secret`
    for the client-side shared secret.
Commits on Dec 9, 2015
  1. @dwick
  2. @dwick

    Add google tag manager

    dwick committed Jul 29, 2015
    Also supports do not track (DNT) as a means of opt out.
    - GMT must be double iframed to not leak the referrer.
    - since the page can be CDN cached we need to check DNT client side.
    - we do not respect the value of DNT in IE10 since they default it
    to on (against the spec).
    - GMT is disabled unless the DNT feature flag is enabled.
  3. @dwick
Commits on Dec 8, 2015
  1. @dwick
  2. @dwick
Commits on Nov 19, 2015
  1. @MelissaCole

    Add events for reports

    MelissaCole committed Nov 17, 2015
    This will pass along the type of report reason, the
    report reason, and information about the target.
Commits on Nov 12, 2015
  1. @dwick @bsimpson63

    Lookup promos sub by name

    dwick committed with bsimpson63 Aug 31, 2015
Commits on Nov 11, 2015
  1. @zeantsoi
Commits on Oct 8, 2015
  1. @MelissaCole
Commits on Oct 5, 2015
  1. @dwick
Commits on Sep 24, 2015
  1. @JordanMilne

    Lock down Employee OAuth2 authorization

    JordanMilne committed Aug 31, 2015
    We don't want random apps to be able to access content and
    subreddits that only employees have access to.
  2. @JordanMilne

    Make force HTTPS a global feature flag rather than a user pref

    JordanMilne committed Aug 25, 2015
    Unfortunately, this involved moving large swaths of code to
    `r2.lib.cookies` because `r2.controllers.reddit_base` is
    an enormous pain to import in tests at the moment.
  3. @JordanMilne

    Remove HSTS code from the app

    JordanMilne committed Aug 25, 2015
    The per-user logic is much more twisty than it needs to be, and a 3
    line nginx rule will do much the same thing.
Something went wrong with that request. Please try again.