Commits on May 2, 2016
  1. Update dead urls in docs

    willkg committed May 2, 2016
Commits on Apr 30, 2016
  1. Update urls

    * update to new readthedocs urls
    * switch to https
    willkg committed Apr 30, 2016
Commits on Dec 15, 2015
  1. [bug 1232637] Fix extract_db re: empty strings

    Empty string msgids are super bad. This reduces the likelihood we have
    willkg committed Dec 15, 2015
Commits on Dec 10, 2015
  1. Comments on pr 2742

    willkg committed with mythmon Dec 10, 2015
Commits on Dec 8, 2015
  1. [bug 1217076] Switch signal to focus

    willkg committed Dec 8, 2015
Commits on Nov 19, 2015
  1. [bug 917754] Nix the mention of redis in the search chapter

    The Elasticsearch admin no longer uses redis to maintain the
    scoreboard for outstanding indexing chunks. This updates the
    documentation accordingly.
    willkg committed Nov 19, 2015
Commits on Nov 17, 2015
  1. Merge pull request #2727 from mythmon/remove-extra-setuptools

     Remove extra setuptools from requirements.
    willkg committed Nov 17, 2015
  2. [bug 1225557] Remove index troubleshooting code

    The index troubleshooting code hasn't been used in ages. It's likely
    the problems that was written to look into are gone now. Given that
    there are no tests for this code and we don't use it anymore, it
    seems prudent to remove it.
    willkg committed Nov 17, 2015
  3. [bug 1225557] Remove db/index reconcile code

    Mike and I talked about this for a while and he didn't know this code
    existed and we're pretty sure there's been no use of it for over a
    year. Given that, I claim the problem this code was written to solve
    is gone or something along those lines. Further this code needs to be
    hand tested since there are no unit tests for it.
    Given that, I'm removing it which will make it easier to overhaul
    elasticsearch stuff.
    willkg committed Nov 17, 2015
  4. [bug 917754] Re-add pickleable exception

    This raises a pickleable exception because this code runs in
    willkg committed Nov 17, 2015
  5. [bug 917754] Rewrite bookkeeping for indexing from admin

    This redoes the bookkeeping for indexing from the admin. It fleshes
    out the Record model to allow us to group records in batches. It
    cleans up the admin page so it's easier to see outstanding records and
    recent records and the data is more informative. It no longer uses
    redis to keep track of the overall status. Plus it should be better
    with celery since we're passing class paths around and not actual
    willkg committed Nov 10, 2015
  6. [bug 917754] Clean up action section of index maintenance admin page

    This cleans up the action section of the index maintenance page making
    it a little easier to associate the actions with relevant text and
    warnings. Further, this uses slightly less vertical space which is
    good because this is a busy page.
    willkg committed Nov 9, 2015
Commits on Nov 12, 2015
  1. [bug 1224351] Fix language default in advanced search

    This fixes the form so that English is the default in the language
    dropdown. The problem was that we weren't setting the language in
    the request.GET before creating the form.
    willkg committed Nov 12, 2015
Commits on Nov 11, 2015
  1. Remove ComposedList

    We're not using it anymore, so time to nix it.
    willkg committed Nov 11, 2015
Commits on Nov 10, 2015
  1. Add missing migrations

    These migrations update the various LocaleField and TimezoneField
    using models.
    willkg committed Nov 10, 2015
  2. [bug 1125866] Nix l10n completion code

    This removes the script that was figuring out l10n completion status
    every day and updating the relevant file. That code now runs on
    people.m.o and is maintained in another repository.
    willkg committed Nov 10, 2015
  3. [bug 1223370] Clarify header

    People keep submitting pull requests that make changes to the
    kitsune/sumo/ file. This is a generated file, so any
    changes made directly to it will get stomped on the next time it's
    generated. Changes should be made to the relevant content in the db.
    These changes to the header hopefully clarifies the situation to
    future editors of this file.
    willkg committed Nov 10, 2015
Commits on Nov 6, 2015
  1. [bug 1215110] Move json and search things around and fix tests

    * rename to because it's used by
      simple and advanced search
    * move json utility functions to base/ and add tests
    * gut the file and move those tests to more appropriate
    * add a test for 'forum_post' doc type and an else clause that
      throws an error if the doc type isn't recognized
    willkg committed Nov 6, 2015
Commits on Nov 4, 2015
  1. [bug 1221244] Remove coolsearch

    This removes the frontend and backend parts for the coolsearch
    prototype. We definitely want a replacement for advanced search and
    this gave us some interesting ideas and was a good experiment, but
    there's no future development planned and it's not currently being
    used. Given that, we're going to remove it so we don't have to
    maintain it. If at some future point we want to resurrect and finish
    it, that's easily done because it's in git history.
    willkg committed Nov 4, 2015
Commits on Nov 3, 2015
  1. [bug 1215110] Refactor simple and advanced search

    * centralize duplicate code to both get it out of the way and also make
      it easier to reason about
    * remove intermediary variables that aren't needed
    * clean up comments
    * reduce complexity
    * reorganize view into the same 5 steps the basic view is in
    * nix ComposedList use in search views
    willkg committed Oct 15, 2015
Commits on Oct 28, 2015
  1. [bug 1218973] Clean up script

    This cleans up the script and hardens it a bit to make it less likely
    to be flaky.
    willkg committed Oct 28, 2015
Commits on Oct 27, 2015
  1. [bug 1218973] Implement buddyup merge script

    This merges buddyup.po files using a shell script rather than using
    "./ merge". This makes it easier to implement a Tower
    replacement with fewer moving parts.
    willkg committed Oct 27, 2015
Commits on Oct 20, 2015
  1. Merge pull request #2685 from mythmon/update-taggit-1216295

    [Bug 1216295] Upgrade django-taggit to 0.17.1
    willkg committed Oct 20, 2015
Commits on Oct 16, 2015
  1. Update Elasticsearch docs

    * fix version numbers
    * update links for download and installation instructions
    * Cosmetic: change "Elastic Search" to "Elasticsearch" and "Elastic Utils"
      to "ElasticUtils"
    willkg committed Oct 16, 2015
Commits on Oct 14, 2015
  1. [bug 1194899] Massage the code

    This tweaks the code to be a bit better and removes a FIXME that is no
    longer pertinent.
    willkg committed Oct 14, 2015
  2. Fix Sphinx build issues

    willkg committed Oct 14, 2015
  3. Add Pygments and sphinxcontrib-httpdomain

    * need Pygments for Sphinx to work at all
    * adding sphinxcontrib-httpdomain to make documenting APIs easier
    willkg committed Oct 14, 2015
  4. [bug 1214396] Move sumo/ to sumo/

    This will fix some issues with bootstrapping when we start adding api
    view code to sumo/
    willkg committed Oct 14, 2015
  5. [bug 1212476] Put the Elasticsearch-touching stuff in the try/except

    This puts the Elasticsearch-touching stuff back into the try/except so
    we can handle Elasticsearch errors.
    willkg committed Oct 14, 2015
Commits on Oct 13, 2015
  1. Cosmetic: Minor code cleanup

    willkg committed Oct 13, 2015
  2. Nix ComposedList

    This removes use of ComposedList in simple_search and reduces some of
    the code complexity. A long time ago, we showed results in groups by
    type, so ComposedList helped us paginate that. We now show mixed
    results, so we can use a regular paginator.
    willkg committed Oct 13, 2015
  3. [bug 1212476] Refactor simple search to share code

    * moves some things over to the SimpleSearchForm
    * extracts S building code into
      so that it can be re-used between simple_search and
    * redoes opensearch_suggestions to use the new generate_simple_search
    One thing this does is changes how opensearch_suggestions works.
    Previously, it would do a search and show the top 5 kb articles followed
    by the top 5 questions. That's what simple search used to do eons ago.
    This changes that so that it does what simple search does and shows the
    top 10 mixed results. This reduces the number of different kinds of
    search we're doing by 1 and reduces the likelihood that
    opensearch_suggestions gets totally out of sync with the other searches
    like it did.
    willkg committed Oct 12, 2015