Permalink
Commits on Mar 9, 2013
  1. Reorganize how routing deals with FfA.

    mythmon committed Mar 4, 2013
    I didn't like the way this was originally implemented. It split routing
    logic into several functions, and it seemed inelegant to me. This change
    makes the special case of handling Firefox for Android's old feedback
    method relatively self contained in a separate view. Then it collapses
    all the routing logic back into a single function.
    
    To handle the CSRF problem, the routing view is now csrf_exempt, and
    each individual prodchan view is marked as csrf_project, except for
    FfA's specific view.
    
    This commit essentially removes the changes from commit
    70bfa70 and rewrites them a in
    different way.
Commits on Mar 8, 2013
  1. Update django-statsd to 7af5cbf9

    willkg committed Mar 8, 2013
    Changes:
    
    7af5cbf Merge pull request #24 from crankycoder/vng/metlog_prefix
    bd9235e * added support to moz_metlog client to support the STATSD_PREFIX in django settings * forced the use of django < 1.5 f
    bb60197 bump version to 0.3.8.5
    f229781 Merge pull request #21 from youngbob/master
    f8d3860 Merge pull request #20 from ConsumerAffairs/master
    7f4ee09 Update url imports for Django 1.4+
    0b061de don't report 500 for Http404
    9ccb0f8 add in gauge support
    97f37ea Merge pull request #19 from youngbob/master
    ce8c1b8 Implement gauge. Alternate clients now inherit from the null client.
    940dab3 Merge pull request #18 from robhudson/formatting
    e269ef7 Cleaned up table formatting and padding
    d578cf1 bump version with the last two bug fixes
    fcf57a3 Merge pull request #17 from tominsam/master
    5dc7a6e self-closing divs aren't valid, and this one is trapping the global debug toolbar djDebugWindow view.
    fe2de5c Merge pull request #16 from glogiotatidis/master
    0934a1f Cope with non Tastypie URLs.
    43a8e95 cope with non tastypie urls
    163507a add in some tastypie middleware
    cca1a3d add in message about the client
    79d2534 add in a nose client
  2. [bug 848960] Fix deprecated celery.decorator usage

    willkg committed Mar 8, 2013
    This should nix the warnings from celery about celery.decorators
    being deprecated.
  3. Add mobile login_failure page

    willkg committed Mar 7, 2013
    This isn't possible to get to because we don't have links to log in
    when on mobile. But ... when we do, then this will be important.
    
    Also adds tests.
Commits on Mar 7, 2013
  1. Add missing about page

    willkg committed Mar 7, 2013
    It was stubbed out before. This implements it.
    
    I also implmeneted it for mobile, but the mobile templates don't have
    a footer, so there's no way to get there right now.
  2. Add samplesize option to generatedata

    willkg committed Mar 7, 2013
    * rework response model maker to have better defaults
    * rework sampledata so that there's less code, more variations, and
      also supports "give me a ton of data right now"
    * add a note to the hacking howto docs
Commits on Mar 6, 2013
  1. Fix login

    willkg committed Mar 6, 2013
    If there's no index or ES is down, then you see the es_down page. That
    page has no histogram, so the dashboard.js code was erroring out which
    prevented the browserid stuff from setting up and thus you couldn't
    log in.
    
    This fixes that.
Commits on Mar 5, 2013
  1. Nix fjord/locale/ directory

    willkg committed Mar 5, 2013
    This was from importing from playdoh, but I have no idea what
    it's doing here and we don't use it.
  2. Add test for generatedata

    willkg committed Mar 5, 2013
  3. [bug 847752] Fix ua parser

    willkg committed Mar 5, 2013
    * fix a couple of edge cases in the parser so it's more resilient
    * change parser so it returns None for browser_version rather than
      0.0.0. None is what we use to denote that we couldn't parse
      anything useful.
    * add test cases for issues fixed
    * add some docs including a note about how this function should
      never throw an exception and if it does, that's a bug
    * minor pep-8 stuff
  4. Update django-browserid to 07a6ee5f

    willkg committed Mar 5, 2013
    07a6ee5f is likely to become django-browserid 0.8. This updates us
    to that.
  5. Add persona include.js to dashboard

    willkg committed Mar 5, 2013
    I screwed up when I un-super()'d things before and missed this. Without
    this, persona login doesn't work.
  6. Fix bad test

    willkg committed Mar 5, 2013
    This fixes a test that was always returning true despite the fact that
    one of the cases fails. This fixes the test, but one case still fails.
Commits on Mar 4, 2013
  1. Handle ElasticHttpError in dashboard

    willkg committed Mar 4, 2013
    If the index doesn't exist or the mapping type is wrong, then
    pyelasticsearch kicks up an ElasticHttpError. This picks up the fix
    in elasticutils that handles that in the es_required_or_50x decorator.
  2. Change "Simple" to "Response"

    willkg committed Mar 4, 2013
    The plan has changed since when we originally envisioned it.
    "Response" is a better name for it than "Simple" which isn't a
    noun and is harder to talk about.
  3. Bundle inheritance is bad

    willkg committed Mar 4, 2013
    Pretty sure I added this a bit ago. Now nixing it because it was
    dumb.
Commits on Feb 26, 2013
  1. Tweak to update_site.py

    willkg committed Feb 26, 2013
    * tell us the current date/time
    * tell us log -3 so we know where it's at
  2. Cosmetic tweaks

    willkg committed Feb 26, 2013
Commits on Feb 25, 2013
  1. [bug 832569] Support Firefox for Android

    willkg committed Feb 22, 2013
    * add two fields to the Simple table: device and manufacturer.
    * tweak _handle_feedback_post so that it knows about _type which is
      the old way of doing things
    * tweak the mapping code so it's easier to read (it's probably not the
      best idea, but it is easier to read)
    * add a bunch of tests
Commits on Feb 22, 2013
  1. Fix site so there is no more admin login page

    willkg committed Feb 22, 2013
    If you logged in with persona, went to the admin, then clicked on
    "logout", you'd end up on the admin login page which you had
    to manually leave by typing a url in the urlbar.
    
    This fixes that.
  2. Rearrange how mobile files are stored.

    mythmon committed Feb 22, 2013
    * 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.
  3. Tweak dashboard template for mobile

    willkg committed Feb 22, 2013
    * add a better stub that uses the mobile base
    * nix the dev-banner for mobile templates --- it's too big and hard
      to get to go away. we'll do something different later.
  4. [Bug 781715] Add mobile feedback.

    mythmon committed Feb 11, 2013
    * 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.
  5. Add mock library.

    mythmon committed Feb 21, 2013
  6. Update playdoh-lib: this is a no-op

    willkg committed Feb 22, 2013
    Picks up:
    
    b9ee4a5 Update to Django 1.4.5
Commits on Feb 21, 2013
  1. Add TODO for removing stubs

    willkg committed Feb 12, 2013
  2. Nix unused import

    willkg committed Feb 12, 2013