This updates elasticutils to master tip. The changes are mostly cosmetic: * 1578b37 - Issue 85. Fix IndexMissingException. * 7dcc034 - Issue 84. Fix get_indexes/get_doctypes silliness * cd76217 - Fix v0.5/v0.6 issues in changelog * 675419f - Update hacking_howto about django reqs. * 374d224 - Fix boosted text_phrase queries * a478db3 - Update release date for 0.5; add TOC * 292e18d - Add Giorgos to CONTRIBUTORS list * afbd458 - Update CHANGELOG
This adds a checkbox and a input box to the survey form. The checkbox is to indicate the user wants to give an email address, and the input field is for the email address, and only shows up after the box has been checked. This email address is stored in a seperate table with a foreign key, for possible security benefits down the road.
This should have been done when we changed this in the model, but it wasn't.
We no longer need to set SETTINGS_MODULE in override_settings now that we have an up-to-date tower with the fix.
* update playdoh-lib: this pulls in our fixes to tower and jingo-minify * remove jingo-minify from vendor-local: don't need it anymore because playdoh-lib has the changes we need
In particular this adds safety for the `TypeErrors` thrown by `strptime` when the string contains null bytes, but it is also a generally good thing.
This makes it super easy to test strings issues on a site.
I spent some time extracting the sampledata application out as a separate project so we could use it in Kitsune (and other places as well). This switches fjord over to using that. One nice thing eadred has is the ability to pass parameters from the command line to the generate_sampledata functions. This allows us to easily allow for different kinds of sample data generation: reproducible data set for contributors, randomized large data set for testing the dashboard, icky data set for testing security and unicode handling, ...
This includes a jquery-ui datepicker for selecting dates.
Page numbers now use a util function smart_int, that will return a default value in the case of any problems.
This uses elastic search text, text_phrase, and fuzzy queries.
* add app settings view so we can see server configuration * add celery settings view so we can see celery configuration * add wsgi env view so we can see the wsgi environment (though we haven't needed this, yet) Note: The template is a Django template, so it uses Django template stuff. Also, I lifted this from Kitsune so it's pretty much the same code that's in Kitsune with some very minor cleanup.
Add live indexing code to Simple feedback items. This is a bit simpler than how kitsune does it, because a) we use a newer better version of EU, and we have a simpler elasticsearch set up. Also, this does live unindexing when objects are deleted from the database. * Added a decorator that can be used to easily set up live indexing for any model that can be indexed. * Added a setting, `ES_LIVE_INDEX`, which defaults to True. * The default TestCase clsas now sets ES_LIVE_INDEX to False, so non-ES tests work with ES.
Before the notice looked different on the feedback and the dashboard pages, because of different included styles. Now the style is included with the notice, so it will be consistent across the site.
This fixes the dashboard page so that if there are any ElasticSearch-related errors, it shows the es_down.html template. In doing this, I tweaked the structure of the dashboard.html template so that I could extend it for the es_down.html template. I also pulled in a new version of ElasticUtils.
This helps Jenkins not fail things.
Line 11 and 20 had the same string but it was slightly different. This tweaks the title so that they're the same.