Pins the migration to the master database, and also does some code refactoring to improve performance just a little bit.
…ments -> questions.question model Migrates answers, metadata, and cleans up content. Uses a converter from apps/sumo/converter.py to turn the TikiWiki syntax into MediaWiki syntax. Content cleanup is necessary because all our new tiki_comments contain the useragent, issue, troubleshooting information, plugins, firefox version and OS version. Creates answers and sets solutions as well, based on the 'o' type of the rows in tiki_comments. Alters tiki_comments_metadata to add an id column, since django does not support compound primary keys. Tweaks the h2's in question content to make them flow better with the text.
Tried not to add any more whitespace to the tops of the mails. This fixes the confirmation email cited in 583527 and a similar bug with the answer-notification mails. Also took the opportunity to call the super() tearDown first rather than last in AAQTemplateTestCase.
… same time.
… question. * Added offset and limit kwargs to SearchClient.query(): handy now for AAQ suggestion search, maybe handy later for more efficient pagination. * Refactored search clients. They now have a _prepare() method for setting up the sphinx client prior to querying, so we don't have to repeat query().
…between wiki and question models. Makes the aaq suggestions simpler and stops bothering me.
…uirks with error reporting in the modal dialog to improve UX.
subclass, and advanced search UI. Still some tests being skipped or not written, but things seem to be working. Will finish up the tests next week, but committing to unblock other work. Paul did at least half the work on this branch.
…S, and FF version. Drop "Intel" and "PPC" from Mac OS names. * Tags are added for full and tenths-place variants (e.g., 4.0.1 and 4.0) of known Firefox versions. * An OS will be auto-tagged if there exists a tag with its name (case insensitive). (I posit ease of administration outweighs risk of abuse.) * Finished off questions_config based on Cww's etherpad. * Show user agent string in System Details pop-up.