Also: * cleans up a TODO for edit question in the flagged_question.html template. * checks if content_object is set before attempting to show it. Downside is that we won't find integrity errors if they occur otherwise, but those shouldn't occur in the first place.
…o None (bug 585313)
…nk. Add migration to lock threads from forum 6.
… html entity.
…stions management command and turns it from migrating forum 1 to forum 6 (FxHome forum).
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.