Skip to content
Commits on Feb 22, 2013
  1. Rearrange how mobile files are stored.

    * Instead of `static/mobile/{css,img,js}/` use `static/{css,img,js}/mobile/`
    * Call the mobile minification bundles 'mobile/foo' instead of 'foo-mobile'
    * Use a consistent pattern for relative urls in css.
    committed Feb 22, 2013
  2. [Bug 781715] Add mobile feedback.

    * Add a mobile base template.
    * Beef up routing to handle this workflow.
    * Extract some behavior from the desktop view to reuse it.
    * Tests for all of this.
    committed Feb 11, 2013
  3. Add mock library.

    committed Feb 21, 2013
  4. @willkg

    Update playdoh-lib: this is a no-op

    Picks up:
    
    b9ee4a5 Update to Django 1.4.5
    willkg committed Feb 22, 2013
Commits on Feb 21, 2013
  1. @willkg

    Add TODO for removing stubs

    willkg committed Feb 12, 2013
  2. @willkg

    Nix unused import

    willkg committed Feb 12, 2013
  3. @willkg

    [bug 834279] Add persona authentication

    * add persona support for authentication. it's set up such that it doesn't
      create new accounts--accounts must be created manually by an admin.
    * put browserid.js file in base bundle
    * change the dashboard templates to inherit the site_js block
      from base.html
    * attempt to add comments that explain what's going on so it makes
      sense to future developrs
    * add documentation to help new people set persona
    * tweak navbar to add a section on the right
    willkg committed Feb 11, 2013
Commits on Feb 19, 2013
  1. @willkg

    [bug 841770] Update playdoh-lib

    72cace3 Update to django 1.4.4  r=peterbe
    baf3a33 Update funfactory  r=peterbe
    1db7782 upgrade django-arecibo, r=andymckay
    willkg committed Feb 19, 2013
Commits on Feb 13, 2013
  1. @willkg

    [bug 832574] Allow admin to delete feedback

    In the case where someone adds feedback to the site that needs to be
    deleted, we need a way to delete it. This adds that to the admin, but
    prevents admin from adding new feedback via the admin and also
    changing existing feedback.
    willkg committed Feb 13, 2013
Commits on Feb 11, 2013
  1. @willkg

    Cosmetic: Fix docs

    We're not using django-compressor at the moment.
    willkg committed Feb 11, 2013
Commits on Feb 7, 2013
  1. @willkg
Commits on Jan 25, 2013
  1. User agent is two words.

    committed Jan 25, 2013
  2. [Bug 832572] Add support for detecting FxOS.

    Also, ditch django-mobility's detection, because we are doing all of
    it's work anyways. Mobility is still used for the mobile view decorator,
    because that still works fine, and doesn't need rewritten.
    committed Jan 24, 2013
Commits on Jan 24, 2013
  1. Wait for a yellow status when setting up indexes.

    Before, I would get random errors about shards not being available. Erik
    Rose told me that this is because I made an index, but then didn't wait
    for it to propogate to the shards. He gave me a line of code to wait for
    the sync.
    
    I noticed I had to add it in several places, always right after a call
    to `setup_indexes()`. So I made that function do that. I also removed
    the refresh calls right after any `setup_index()` calls, because refresh
    is called in that function.
    
    The old way of working around this was to sleep a bit during refreshes.
    That isn't as good as this way, so I nuked the old way, including the
    docs for it.
    committed Jan 24, 2013
  2. @willkg

    PEP-8 pass.

    willkg committed Jan 17, 2013
  3. @willkg

    [bug 832037] Switch to pyelasticsearch master tip

    pyelasticsearch 0.3 has a problem where it uses an endpoint for bulk
    indexing that doesn't work with ES prior to 0.18.0. I fixed it and
    this switches us to using a fixed version.
    willkg committed Jan 24, 2013
  4. @willkg

    [Bug 832037] Update for pyelasticsearch-based elasticutils

    This updates the codebase to use the pyelasticsearch-based elasticutils
    from master tip.
    
    Generally the changes are pretty minor. Most of them are to handle
    the pyelasticsearch exceptions rather than the pyes ones. A few are
    because some of the API bits changed in elasticutils. Then there's
    some very minor cleanup.
    willkg committed Jan 17, 2013
Commits on Jan 17, 2013
  1. @willkg

    [Bug 832037] Update elasticutils; get new requirements

    This updates to the master tip of elasticutils which uses pyelasticasearch.
    It ditches pyes.
    It adds pyelasticsearch and its requirements.
    
    It fails tests because the code changes haven't been made, yet.
    willkg committed Jan 17, 2013
  2. @willkg

    Fix vendor docs for vendor-local/packages/

    I feel like I keep twiddling with these and somehow they're always
    slightly wrong. It's weird.
    willkg committed Jan 17, 2013
Commits on Jan 2, 2013
  1. [Bug 799693] Zero fill histogram data.

    Fill the graph with data at every day along the X axis, instead of
    allowing missing data to be interpolated. Care is taken to make sure
    that these extra zero points align to the spacing of the rest of the
    points (24 hours per point).
    
    Other, related changes:
    
    - If start or end is not specified, they have default values now.
    - The infinity date selector was replaced with a 90 day button.
    - The one day selector now hides the graph.
    
    The zero fill algorithm benefits from having non-None start and end
    times, and these changes help with that.
    committed Oct 18, 2012
  2. @willkg

    [bug 825912] Upgrade playdoh-lib and django

    This updates playdoh-lib:
    
    ffb6542 Merge pull request #29 from peterbe/revert-django-browserid-0.7.1
    0b784af Revert "upgrade to django-browserid==0.7.1"
    5f367d6 Merge pull request #27 from peterbe/upgrade-django-browserid
    d1d4eed upgrade to django 1.4.3, r=mkelly
    a78e698 upgrade to django-browserid==0.7.1
    8508fd6 Merge pull request #25 from willkg/ordereddict-fix
    9ea2e90 Add ordereddict
    d357594 upgrading funfactory for latest urlencode() fix, r=willkg
    22bfbe9 Merge pull request #23 from willkg/celery-2.5-update
    275892b Add celery 2.5.5 and friends
    92de02f Remove celery 2.1.4, djcelery 2.1.4 and amqplib 0.8
    willkg committed Jan 2, 2013
Commits on Oct 24, 2012
  1. [Bug 799691] The histogram data is in UTC.

    This makes the graph lines and the graph data points line up. This only
    changes flot's expectations to match what elastic is ending it.
    
    When elasticsearch returns histogram data with a period of 1 day (like
    we are doing on the histogram) the timestamps it returns have the hours
    of a UTC midnight date, regardless of what timezone the aggregate set
    represents.
    
    This means that when the server is working in Pacific time, it
    aggregates a Pacific day worth of data, sums it up, and then returns it
    labeled with a timestamp. This timestamp, when output, is the midnight
    of a UTC day (calculating the hours past midnight only returns 0 if you
    assume UTC), even if localtime on the server is Pacific.
    
    Even if we change to forcing a particular timezone in the future, this
    will still be true, and elasticwill still label this data with UTC,
    regardless of the input.
    
    Because of this, flot needs to be told the data is UTC, not browser
    local time.
    committed Oct 22, 2012
  2. [Bug 805020] Don't checkout any branch on vendor.

    Vendor is a gitsubmodule, which means we should be obeying git's idea of
    what commit it should be on. We should not checkout out a particular
    branch, because this can cause changes to come in to early, such as the
    celery 2.6 upgrade, which caused bug 805020.
    
    Additionally, I added --recursive to the submodule checkout in the main
    repo, since we aren't doing this explicitly in vendor anymore.
    committed Oct 24, 2012
Commits on Oct 23, 2012
  1. [Bug 799693] Zero fill histogram data.

    Fill the graph with data at every day along the X axis, instead of
    allowing missing data to be interpolated. Care is taken to make sure
    that these extra zero points align to the spacing of the rest of the
    points (24 hours per point).
    
    Other minor, related changes:
    
    - If start or end is not specified, they have default values now.
    - The infinity date selector was replaced with a 90 day button.
    - The one day selector now hides the graph.
    - Due to the fixed, relative time frame, tests have been changed to use
      relative dates.
    
    The zero fill algorithm benefits from having non-None start and end
    times, and these changes help with that.
    committed Oct 18, 2012
Commits on Oct 18, 2012
  1. Update playdoh-lib to pick up django 1.4.2

    Will Kahn-Greene committed Oct 18, 2012
  2. Update elasticutils to master tip

    This updates elasticutils to master tip. The changes are mostly
    cosmetic:
    
    * 1578b37 - Issue 85. Fix IndexMissingException.
    * 7dcc034 - Issue 84. Fix get_indexes/get_doctypes silliness
    * cd76217 - Fix v0.5/v0.6 issues in changelog
    * 675419f - Update hacking_howto about django reqs.
    * 374d224 - Fix boosted text_phrase queries
    * a478db3 - Update release date for 0.5; add TOC
    * 292e18d - Add Giorgos to CONTRIBUTORS list
    * afbd458 - Update CHANGELOG
    Will Kahn-Greene committed Oct 17, 2012
Commits on Oct 17, 2012
  1. [Bug 722388] Collect emails from users.

    This adds a checkbox and a input box to the survey form. The checkbox is
    to indicate the user wants to give an email address, and the input field
    is for the email address, and only shows up after the box has been
    checked.
    
    This email address is stored in a seperate table with a foreign key, for
    possible security benefits down the road.
    committed Oct 8, 2012
Commits on Oct 8, 2012
  1. Add migration for datetime change.

    This should have been done when we changed this in the model, but it
    wasn't.
    committed Oct 8, 2012
Commits on Oct 3, 2012
  1. Ignore locales.

    James Socol committed Oct 3, 2012
  2. [fix bug 790046] Add statsd middleware.

    James Socol committed Oct 3, 2012
  3. Add requirements for statsd.

    James Socol committed Oct 3, 2012
Commits on Oct 2, 2012
  1. Fix pep8 issues.

    Will Kahn-Greene committed Oct 2, 2012
  2. Nix tower-related hacks

    We no longer need to set SETTINGS_MODULE in override_settings now that
    we have an up-to-date tower with the fix.
    Will Kahn-Greene committed Oct 2, 2012
  3. Update playdoh-lib; remove local jingo-minify

    * update playdoh-lib: this pulls in our fixes to tower and jingo-minify
    * remove jingo-minify from vendor-local: don't need it anymore because
      playdoh-lib has the changes we need
    Will Kahn-Greene committed Oct 2, 2012
Commits on Sep 28, 2012
  1. [Bug 795049] Use smart_datetime for date ranges.

    In particular this adds safety for the `TypeErrors` thrown by `strptime`
    when the string contains null bytes, but it is also a generally good
    thing.
    committed Sep 28, 2012
Something went wrong with that request. Please try again.