Switch branches/tags
Commits on Jan 18, 2012
Commits on Jan 10, 2012
  1. [bug 714795] Initial support for marketplace.

    * New landing page at /marketplace
    * Added "marketplace" product for KB articles
    * Fixed base template not linking to right landing page
    rlr committed Jan 4, 2012
Commits on Jan 6, 2012
  1. [bug 715536] Multi-index-task squashing

    Incremental updates (not delete!) tasks all get tossed in a thread-local
    queue. At request_finished, there's a handler that creates tasks from the
    queued tasks. Because the queue is a set, this removes task duplicates
    so we're only creating one index task per request per document.
    This also fixes refresh calls so they pass timesleep=0--we don't need to
    wait for a second to update the index.
    Note: I didn't change deletes because they only get triggered by one
    model per document (e.g. Question model for question documents in the
    index) and therefore aren't going to hit the same issue we have with
    inserts/updates where in a single http request, we could trigger > 1
    for a specific object.
    willkg committed Jan 5, 2012
Commits on Jan 5, 2012
  1. Always turn the elasticsearch waffle flag on during ES tests.

    It doesn't cost us significant performance, it'll go away eventually, and it saves repetition in test code.
    erikrose committed Jan 5, 2012
  2. Make the rest of our ES tests use modelmakers rather than direct (noi…

    …sier) calls to model constructors.
    erikrose committed Jan 5, 2012
  3. Refactor wiki tests to jibe with elastic testcase changes.

    test_added was redundant with test_deleted, so I removed it. What was the uuid stuff for?
    erikrose committed Jan 5, 2012
  4. Turn the elastic testcase mixin into a proper TestCase subclass, and …

    …remove dependency on fixtures.
    This way, we don't need an almost identical ESTestCase subclass in every app.
    Refactor questions tests to compensate.
    erikrose committed Jan 4, 2012
Commits on Jan 4, 2012
  1. Remove redundant deletion of ES indexes in test setup.

    Also kill useless fallthrough subclass of TestCase.
    erikrose committed Jan 4, 2012
  2. [bug 714171] add statsd calls for "search unavailable"

    * adds statsd.incr calls for the various things that cause a
      "search unavailable" page so we can track them
    * moves some ES-related names to es_utils
    * cleans up double-space-after-period i did in a previous commit
    willkg committed Jan 4, 2012
  3. [bug 714149] Add status to search admin page

    This adds some status bits to the search admin page so we know what's going
    on ES-wise in a very basic sense.
    willkg committed Jan 3, 2012
Commits on Jan 3, 2012
  1. [bug 694075] collect information about why an article wasn't helpful

    * Changed vote form container to use a class instead of id to support multiple on a page.
    * Show vote form on sidebar (behind waffle flag).
    * Show survey when voting No.
    rlr committed Dec 21, 2011
  2. [bug 714064] Showfor selector missing.

    * The showfor selector was missing on review of new article/translation.
    rlr committed Dec 29, 2011
Commits on Dec 30, 2011
  1. Cache list of question contributors.

    rlr committed Dec 30, 2011
  2. Cache question tags.

    rlr committed Dec 30, 2011
  3. [Bug 714282] Update From: email addresses.

    James Socol committed Dec 30, 2011
Commits on Dec 29, 2011
  1. [bug 709202] fix wiki, forums and questions

    * added tests simulating front page searches for questions and
    * added test for forums advanced search
    * moved questions test over to search app where it's more appropriate
    * changed tests to use model makers rather than fixtures
    * fixed model makers for questions and answers
    * added model makers for forums, threads and posts
    * added indexing of tags for questions and wiki documents--this
      essentially fixes the 709202 bug
    * changed indexing massive concatenated strings to indexing arrays
      of strings
    * fixed incremental indexing so it refreshes after indexing documents
    * minor cleanup
    willkg committed Dec 19, 2011
  2. [bug 714064] Fix button enabling.

    rlr committed Dec 29, 2011
  3. Updated webtrends tag for .org

    rlr committed Dec 29, 2011