Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Feb 6, 2015
  1. Will Kahn-Greene

    [bug 1122539] Handle the 0 case for documents

    willkg authored
    * handle when max_documents is 0 in a way that's almost a no-op
    * add testing infrastructure to test that documents show up in search
      results and that the code does the right thing when max_documents=0
  2. Will Kahn-Greene

    [bug 1122539] Handle the 0 case

    willkg authored
    If max_questions or max_documents (or both) are 0, then we should do the
    least amount of work and just return [].
Commits on Jan 5, 2015
  1. Will Kahn-Greene

    [bug 1111801] Fix git checkout on Windows

    willkg authored
    Windows file system doesn't like the really long filename we had for
    this test and will balk on git checkout. So we change the test to create
    the file first, then run the test rather than have the file in the repo
Commits on Dec 18, 2014
  1. Will Kahn-Greene

    Update dennis to 0.6.1

    willkg authored
    This alleviates some errors with the bg and sq locales.
  2. Will Kahn-Greene
Commits on Dec 17, 2014
  1. Will Kahn-Greene

    Update dennis to 0.6

    willkg authored
    This updates dennis to 0.6. This should add line numbers to the postatus
    reports which will be very nice.
Commits on Dec 11, 2014
  1. Will Kahn-Greene

    Add postatus webapp url to emails

    willkg authored
    The webapp has links to auto-generate bug reports which makes it super
    handy. Adding a link to the email connects the two.
Commits on Dec 4, 2014
  1. Will Kahn-Greene

    [bug 1056298] Fix createsuperuser

    willkg authored
    This adds a patch call to The problem is that various
    Django-specific subcommands at some point import Jingo which eventually
    results in a circular import. Adding the patch call here guarantees
    that Jingo and all that stuff is imported before we import the things we
    need to import to execute the subcommand.
Commits on Oct 9, 2014
  1. Will Kahn-Greene
  2. Will Kahn-Greene

    [bug 1071565] Update ElasticUtils to 0.10.1

    willkg authored
    * update ElasticUtils to 0.10.1
    * update elasticsearch-py to 1.2.0
    * remove lots of calls to .values_dict() so that we're returning
      DefaultMappingTypes instead of calling .values_dict() with no
      arguments which now returns just the document type and id
    * wrote reshape and some code to handle reshaping results to deal
      with the fact that values in search results executed with
      .values_list() or .values_dict() are now always lists
    * removed the verify object code in the es_verify_cmd--seems like
      we don't need it anymore, it takes hours to run and it wasn't
  3. Will Kahn-Greene

    Pin elasticutils at 0.9.1 and elasticsearch at 0.4.5

    willkg authored
    The requirements file has elasticutils pulling from a github-hosted
    tarball. The commit is the one tagged with v0.9.1.
    This changes the requirements file to pull version 0.9.1 from pypi
    rather than the github-hosted tarball.
    Similarly for elasticsearch-py.
Commits on Sep 22, 2014
  1. Will Kahn-Greene

    Fix docs typo

    willkg authored
  2. Will Kahn-Greene

    Revert "Docs fix"

    willkg authored
    Totally didn't mean to push this.
    This reverts commit a41c586.
  3. Will Kahn-Greene

    Docs fix

    willkg authored
Commits on Sep 5, 2014
  1. Will Kahn-Greene

    Tweak the __unicode__ method to be more resilient

    willkg authored
    We're seeing raven fall down when calling __unicode__ on Profile which
    turns around and calls __unicode__ on User which for some reason doesn't
    have a username.
    This handles that case and if there's any exception thrown there, it
    does a goofy thing and shows the profile id and the exception it kicked
    up when doing unicode(self.user).
    The purpose of this is to give us some information about what's going
    on, but mostly to not create cascading errors which raven possibly
    doesn't handle well.
  2. Will Kahn-Greene
Commits on Sep 3, 2014
  1. Will Kahn-Greene

    Fix the lint script to ignore migrations files

    willkg authored
    The migrations files are machine-generated shite and linting them is an
    exercise in futility. We're better off spending that time writing dubstep
    remixes of popular ragtime songs, recording them on wax cylinders and
    setting them on fire.
    This fixes the lint script to ignore migrations files.
Commits on Aug 21, 2014
  1. Will Kahn-Greene ricky rosario

    [bug 1053837] Update django to 1.6.6

    willkg authored rlr committed
Commits on Aug 9, 2014
  1. Will Kahn-Greene

    Fix cosmetic issues

    willkg authored
    Fixes some cosmetic issues when building the postatus errors email.
Commits on Aug 8, 2014
  1. Will Kahn-Greene
  2. Will Kahn-Greene

    [bug 1050450] Update pystatsd to v2.0.3

    willkg authored
    This version has gauges which I need to use.
Commits on Aug 5, 2014
  1. Will Kahn-Greene

    Add send_postatus_errors cron job

    willkg authored
    This cron job should run once a day. It'll keep an eye on postatus.txt
    in production and send out an email if there are errors blocking locales
    from having their strings get updated.
Commits on Jul 22, 2014
  1. Will Kahn-Greene
  2. Will Kahn-Greene

    Add yaocho to STANDALONE_DOMAINS

    willkg authored
    This allows yaocho.pot files to get merged into all the yaocho.po
Commits on May 28, 2014
  1. Will Kahn-Greene
Commits on May 15, 2014
  1. Will Kahn-Greene

    [bug 1011039] Update selenium to 2.41

    willkg authored
    This fixes SeleniumTestCase and also reduces the amount of time it takes
    to run tests. FLAWLESS VICTORY!
Commits on May 13, 2014
  1. Will Kahn-Greene

    Update to dennis 0.4.2

    willkg authored
    This fixes errors when running in non-tty situations (aka our deploys).
Commits on May 12, 2014
  1. Will Kahn-Greene

    Fix false positive linting errors regarding %

    willkg authored
    These strings use %, but the problem is that translations of these
    strings could use % such that dennis thinks there's a python variable
    there which kicks up an "invalid variables" error which prevents the .po
    file from being compiled to an .mo file.
    This fixes the strings by adding a dennis-ignore note to the extracted
    comments. Dennis will see the note and skip running the lint rules on
    those strings.
  2. Will Kahn-Greene

    Update dennis to 0.4.1

    willkg authored
    This allows us to deal with false positives in linting.
Commits on May 2, 2014
  1. Will Kahn-Greene
Commits on May 1, 2014
  1. Will Kahn-Greene Mike Cooper

    [Bug 991099] Add urllib3.

    willkg authored mythmon committed
    This is needed for elasticsearch-py
  2. Will Kahn-Greene

    Document comments for trans blocks

    willkg authored
    This took me 30 minutes to find, so I figured I'd document it.
Commits on Apr 21, 2014
  1. Will Kahn-Greene

    Update dennis to 0.3.11

    willkg authored
    This picks up a fix in dennis to catch errors where the translated
    string has a } but no {.
Commits on Mar 6, 2014
  1. Will Kahn-Greene

    [bug 979434] Fix _check_username

    willkg authored
    The argument passed into _check_username can sometimes be None because
    it's coming out of cleaned_data, but wasn't valid. Because of that,
    username_allowed returns False and then everything goes to straight to
    This commit fixes that.
Commits on Mar 4, 2014
  1. Will Kahn-Greene

    Move username_allowed, write basic test

    willkg authored
    This moves username_allowed from passwords to forms which seems better.
    It also adds a basic test that we can flesh out at some point to make
    sure things are kosher.
Something went wrong with that request. Please try again.