Switch branches/tags
Commits on Jan 26, 2012
  1. [bug 721415] Update django-waffle

    This fixes the problem where calling flag_is_active twice during the same
    request when using flag.percent can result in two different values.
    willkg committed Jan 26, 2012
Commits on Jan 25, 2012
  1. [bug 721184, 716999] Fixes wiki indexing

    Actively remove from the index and prevent from being indexed wiki documents
    that are redirects or have no revisions.
    willkg committed Jan 25, 2012
  2. [bug 711524] Changes to defer revision form

    * this changes the instructions at the top and nixes (optional)
    * this makes the form require a comment if the user != revision.creator
    willkg committed Jan 24, 2012
  3. Fix ES indexing timeout

    I missed a spot earlier when I changed indexing to use an ES with
    timeout=settings.ES_INDEXING_TIMEOUT. This only affects incremental
    indexing where it gets its own ES.
    In the process of fixing that one line, I renamed es_utils.get_es
    to es_utils.get_indexing_es so it's clearer what it's for.
    willkg committed Jan 25, 2012
  4. [bug 720865] Remove race conditions that were causing mapping conflic…

    …ts in production.
    * Remove support for putting different doctypes in different indices.
    * Remove the ability to limit reindexing to given doctypes.
    * Make get_mapping() return less boilerplate. Factor that up.
    erikrose committed with willkg Jan 25, 2012
Commits on Jan 24, 2012
  1. Make MetricKind.code unique.

    erikrose committed Jan 24, 2012
  2. [bug 718767] KPI dashboard chart for question votes.

    * Adds caching of API results.
    * Changed charts to line charts.
    * Added link to sidebar.
    rlr committed Jan 23, 2012
Commits on Jan 23, 2012
  1. [bug 718456] fixes approved mail

    When approving a revision, kitsune sends email to people subscribed to
    approvals. The email now has the approver of the revision (not the
    creator of the revision) in the email body. The email also now has
    the diff of the newly approved version from the most recent approved
    In the process of doing that, I:
    * removed a couple of carriage returns from the email template
    * updated the test code
    * cosmetically changed some code removing end of line \s
    * wrote a big TODO in the test code about how I think the test
      should get fixed so that it's less duplicative
    willkg committed Jan 23, 2012
  2. Cosmetic

    Remove a \ at the end of the line and line things up a bit better so it's
    more readable.
    willkg committed Jan 20, 2012
  3. [bug 718698] KB Article votes in KPI dashboard.

    * Refactorings to api views for reuse.
    * Refactored js into a backbone app.
    rlr committed Jan 20, 2012
Commits on Jan 20, 2012
  1. [Bug 718451, Bug 718321] Disable lazyloading on review pages and fix …

    …broken anchor link functionality (due to lazyloading).
    tgavankar committed Jan 16, 2012
Commits on Jan 19, 2012
  1. Removes get_queue_status from cron.

    rlr committed Jan 19, 2012
  2. [bug 658686] Retrieve username flow.

    * Adds "I forgot my username." link on login page
    * Form to submit your email
    * Email that includes username
    * Tests for the flow
    rlr committed Jan 18, 2012
  3. Add message about reindexing in progress

    I had no idea what the bar was until I asked. This makes it a little
    willkg committed Jan 19, 2012
Commits on Jan 18, 2012
  1. [bug 718826, 715932] Make ES indexing less sucky

    * the ES connection already has code for forcing bulk, so we don't need to
      repeat that. this changes the code to push the setting to ES.
    * this also tweaks the estimation code so that it shows minutes and seconds and
      shows the total delta later. Now I can stop running
      "time ./ esreindex".
    * fix esreindex so that you can specify doctypes. This will appropriately
      create/delete indexes so that what you don't want to delete won't get
    * adds basic handling for bad data.
      This does a log.exception, but we really should log more than that and/or
      make it more obvious to developers that there's bad data out there.
      In the meantime, this allows us to continue indexing.
    * reduced memory usage of indexing by iterating over ids---now it runs on
      my laptop.
    * ghanges _get_index() to get_es_index(). We use it so often it might as
      well be part of the "public API".
    * fixed create/delete indexes so that to switch doctypes to their own index
      is now just a change in settings---no code changes needed.
    * fix DEBUG = True case by reseting queries
    * this also adds a bunch of helpful comments, moves reindex_model to
      SearchMixin.index_all, and has some other cosmetic code cleanup.
    End result of this is that indexing doesn't die if it hits bad data, indexing
    takes much less memory to run, you can specify specific doctypes to index at
    the command line, and the code is better.
    willkg committed Jan 13, 2012
Commits on Jan 17, 2012
  1. [bug 714917] Test zendesk calls.

    rlr committed Jan 13, 2012
  2. [bug 714798] Marketplace AAQ.

    * New form for marketplace question flow.
    * Added zendesk lib to vendor.
    * Integrated to zendesk.
    * Linked to from marketplace landing page.
    * Tests.
    rlr committed Jan 11, 2012
  3. fix merge

    readevalprint committed Jan 17, 2012