Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Branch: master
Commits on Oct 13, 2015
  1. @Pokechu22 @MelissaCole

    Add missing modlog icons for `setpermissions` and `setsuggestedsort`.

    Pokechu22 authored MelissaCole committed
    The setsuggestedsort icon is famfamfam's silk's `arrow_switch` icon,
    and the setpermissions icon is a combination of `shield` and the pencil.
  2. @13steinj @MelissaCole

    Fix /hidden tab when votes are public

    13steinj authored MelissaCole committed
    The /hidden tab (although, unusable) is mistakenly added publicly when the user has public votes enabled.
    This commit resolves the above.
  3. @13steinj @MelissaCole

    Log setting / unsetting of contest mode

    13steinj authored MelissaCole committed
    Log the setting / unsetting of contest mode in the subreddit modlog.
  4. @Deimos

    Exclude inactive subreddits from front page sets

    Deimos authored
    When selecting which subreddits should be included in a user's front
    page, this makes sure to only include subreddits if they have had a post
    made recently enough to be included in the front page. This will prevent
    wasting "front page slots" on subreddits that won't contribute anything
    to the page anyway.
  5. @Deimos

    Track which subreddits have front-page-able posts

    Deimos authored
    A user's front page will only include posts that are newer than
    g.HOT_PAGE_AGE, so there's no point including subreddits in the front
    page set if they haven't had a post inside that period. This commit
    creates a new CF and adds a value to it (with a TTL equal to
    g.HOT_PAGE_AGE) whenever a new post is made in a subreddit.
    This should be deployed separately and left to collect data for at least
    g.HOT_PAGE_AGE, then the following commit that actually uses this data
    can be deployed.
    Potential future enhancement: also update this data on post deletion,
    removal, and approval since there are cases where the result from this
    won't correctly match up with whether the subreddit actually has a valid
    post for inclusion. This only tracks whether one was *made* during the
    time period, not whether it's visible.
  6. @florenceyeun

    Move archived/locked validation into VSubmitParent

    florenceyeun authored
    Move the archived and locked validation out of the controller into
  7. @florenceyeun

    Refactor VSubmitParent

    florenceyeun authored
  8. @florenceyeun
Commits on Oct 12, 2015
  1. @Deimos

    Fix error with other_theme through OAuth prefs API

    Deimos authored
    The OAuth prefs API was removing any preference validators where the
    attribute wasn't in Account._defaults. The only thing this affected was
    pref_other_theme, which caused an other_theme setting to come through as
    a string instead of a Subreddit since it was no longer going through the
    VSrByName validator. This would cause a crash on the .can_view check in
    filter_prefs, since that assumes that the theme subreddit is an actual
    Subreddit object.
Commits on Oct 10, 2015
  1. @MelissaCole @bsimpson63

    Events: isolate target function

    MelissaCole authored bsimpson63 committed
  2. @bsimpson63
Commits on Oct 8, 2015
  1. @madbook
  2. @madbook
  3. @MelissaCole

    Disallow muting of system users

    MelissaCole authored
    Don't allow u/AutoModerator or u/reddit to be muted.
  4. @MelissaCole
Commits on Oct 6, 2015
  1. @florenceyeun

    Modmail: Add accent color if moderating > 1 subreddit

    florenceyeun authored
    Only show color coded modmail if moderating more than one subreddit
    (any permission type).
  2. @florenceyeun
  3. @MelissaCole

    Fix sr style toggle for older subreddits

    MelissaCole authored
    Some of the subreddits weren't able to be switched to
    stylesheet_url because of validation errors.
  4. @zeantsoi
  5. @bsimpson63 Requirements are based on ubuntu version.

    bsimpson63 authored
    This will let us simultaneously support precise and trusty.
  6. @bsimpson63

    Un-pin sqlalchemy.

    bsimpson63 authored
    We use the default ubuntu package.
  7. @bsimpson63

    Un-pin requests.

    bsimpson63 authored
    The pinning was added in 7d93774
    and the response.json/response.json() incompatibility was fixed
    by 644f098.
  8. @bsimpson63

    Un-pin python-routes and python-pylons.

    bsimpson63 authored
    We are using the default ubuntu packages.
  9. @bsimpson63 Remove check for distribute>=0.6.16.

    bsimpson63 authored
    This check was in place for c20db7e to make
    sure that we were using a new enough version of distribute to handle
    the "cythonize" command. distribute was a now-deprecated fork of setuptools,
    and the versions of setuptools on precise and trusty are new enough to not
    need this check.
Commits on Oct 5, 2015
  1. @dwick
  2. @dwick
  3. @dwick Fix update_query for urls with existing params

    dwick authored
    urlparse.parse_qs parses values into lists. `doseq` is required
    to properly convert these values back to a qs.
    >> urllib.urlencode({"foo":[1,2,3]},doseq=True)
    >> 'foo=1&foo=2&foo=3'
    >> urllib.urlencode({"foo":[1,2,3]})
    >> 'foo=%5B1%2C+2%2C+3%5D'
  4. @bsimpson63

    Always do `from PIL import Image`.

    bsimpson63 authored
    Previously we had been just doing `import Image`, but that's not
    allowed in newer versions of python-imaging that use Pillow. It
    still works sometimes when a compatability package is installed
    but we shouldn't rely on that.
  5. @Deimos

    OAuth authorization page: hide mobile web banner

    Deimos authored
    This is confusing when someone's trying to authorize a third-party app.
Commits on Oct 1, 2015
  1. @MelissaCole
  2. @MelissaCole

    Record changing of ban length

    MelissaCole authored
    If a mod changes the length of a user's subreddit ban, make
    a record of this in the mod log to keep things public.
  3. @Deimos

    /r/friends: use friends that posted most recently

    Deimos authored
    This takes advantage of the new last_submit_time and last_comment_time
    timestamps on the Account objects to determine which friends have posted
    most recently.
    Ideally the ability to sort on data columns would have been added into
    the general _query() function, but that seems to be fairly complex, so
    this was a lot simpler of a method for addressing this specific problem.
Commits on Sep 30, 2015
  1. @MelissaCole
  2. @MelissaCole

    Remove quarantine flag from subreddit settings

    MelissaCole authored
    This is being moved to the sidebar of the subreddit with the ability
    to send modmail at the same time.
  3. @MelissaCole
Something went wrong with that request. Please try again.