Permalink
Commits on Dec 20, 2011
  1. [bug 676265] Upgrade to version of arecibo that tolerates data in the…

    … request that isn't UTF-8 encodable.
    erikrose committed Dec 20, 2011
  2. [bug 648258] Mark new threads read, at least.

    James Socol committed Dec 20, 2011
  3. [bug 712301] fx9 default.

    rlr committed Dec 20, 2011
  4. [bug 706631] Disable new/edit/review buttons until page is loaded.

    * Some ux-consistency fixes included.
    rlr committed Dec 19, 2011
Commits on Dec 19, 2011
  1. [bug 693989] Hide Maemo from showfor dropdown.

    * Maemo shows if user shows up on a Maemo device
    * Maemo shows if url has #os=maemo
    rlr committed Dec 16, 2011
  2. Fix pagination problems with elastic search

    * Paginating wasn't working correctly for questios or forum post search
      results.  The pages would get generated, but all results would be
      shown on every page.  A typo was preventing the question_s and
      discussion_s from picking up the sliced s.
    * Also, this changes type_ to kind so it's less built-inny
    * Quoting the comment I modified and added to:
    
      If we're doing elasticsearch, then we need to update
      the _s variables to point to the sliced versions of
      S so that, when we iterate over them in the
      following list comp, we hang onto the version that
      does the query, so we can call excerpt() on it
      later.
    
      We only need to do this with elasticsearch.  For Sphinx,
      search_s at this point is an ObjectResults and not an S
      because we've already acquired object_ids on it.  Thus
      if we update the _s variables, we'd be pointing to the
      ObjectResults and not the S and then excerpting breaks.
    
    * This tests that excerpting works for elasticsearch.  If it works then
      it means that we're excerpting with the same S that we did the query
      with.
    willkg committed Dec 15, 2011
Commits on Dec 18, 2011
Commits on Dec 16, 2011
  1. [bug 708885] Make queries case-insensitive, among other things.

    * Switch default searchers from term queries to text ones, so they actually match against the tokenized, filtered stuff.
    * String fields default to being indexed. Stop explicitly setting that.
    erikrose committed Dec 15, 2011
Commits on Dec 15, 2011
  1. [bug 687871][bug 703448][bug 703438][bug 703442] UX!

    * Add ability to show/hide editor tools
    * Remove Be Awesome pitch
    * Cookie to remember show/hide status
    * Move subscribe link
    * Everything behind waffle flag: editing-tools-show-hide
    rlr committed Dec 15, 2011
  2. [bug 711191] Fix elasticsearch timeout problem

    If elasticsearch (the process) isn't available, then the ESTestCases set
    settings.ES_LIVE_INDEXING to True, then go to do some indexing stuff and
    throw an exception.  Since that happens in setUp of ESTestCase, that means
    that tearDown never gets called and therefore teardown_indexes never gets
    called and settings.ES_LIVE_INDEXING never gets set back to False and
    then a whole bunch of tests run with incremental indexing on.  Gah!
    
    This is a mediocre fix where we change the order of setup_indexes so
    we only set settings.ES_LIVE_INDEXING to True if indexing works.  The
    better fix is to mock the setting in the specific tests so we don't
    end up in this situation.
    willkg committed Dec 15, 2011
  3. Print error if elasticsearch isn't running

    If elasticsearch process isn't running, print an error to the console
    that's more informative than the pyes exception and a traceback.
    willkg committed Dec 15, 2011
Commits on Dec 14, 2011
  1. Make sure NOT NULL columns are not NULL.

    James Socol committed Dec 14, 2011
  2. Upgrade Waffle and add setting.

    James Socol committed Dec 14, 2011
  3. [Bug 708776] Improved handling of redis errors.

    * Record redis errors to statsd.
    * Removed KarmaAction.objects since it depended on redis being
    available at import time and wouldn't recover otherwise.
    rlr committed Dec 13, 2011
Commits on Dec 13, 2011
  1. Fix flag in settings_test

    This makes the flag in settings_test.py match settings.py.
    willkg committed Dec 9, 2011
  2. [bug 690086] tweak vendor.rst language

    This tweaks the language to make it clearer that the vendor stuff
    is in the kitsune repository and not a separate one.
    
    It also turns a caveat thing into a warning so it shows up better.
    willkg committed Dec 13, 2011
  3. Change ES_TIMEOUT to 5

    The default is 1, but that kicks up a lot of timeout issues.  So we're
    raising it to 5.
    willkg committed Dec 13, 2011
  4. [bug 710279] Fix test_creator_nums_redis test

    KarmaManager() gets created before we stomp on the REDIS_BACKENDS settings
    with REDIS_TEST_BACKENDS.  This switches all that testy stuff around to use
    settings_test.py which stomps on everything before modules get imported.
    willkg committed Dec 13, 2011
  5. [bug 706237] Karma graph

    readevalprint committed Dec 2, 2011
Commits on Dec 12, 2011
Commits on Dec 9, 2011
  1. rm ipython

    readevalprint committed Dec 9, 2011
  2. [bug 694979] [bug 698474] [bug 698475] [bug 706638] Add optional, exp…

    …erimental support for ElasticSearch.
    
    The advanced search works, but the front-page search and the searching from within the questions app are still buggy (returning 0 results). Thus, we'll leave the waffle flags off for now.
    erikrose committed Dec 9, 2011
  3. Have different dispatch UIDs for the 2 wiki signal handlers.

    This couldn't ever have caused a problem, though, since they'd never have been fired as a result of the same event anyway.
    erikrose committed Dec 9, 2011
  4. Rename a var.

    erikrose committed Dec 9, 2011
  5. Set USE_ELASTIC to False by default so it doesn't immediately kick in…

    … in production.
    
    We should manually run esreindex and only then turn this on.
    erikrose committed Dec 9, 2011