aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/controller/report_new_open311.t
Commit message (Collapse)AuthorAgeLines
* Make sure all MapIt tests can run offline.Matthew Somerville2017-03-23-4/+4
|
* [fixmystreet.com] Remove friendly A/B test.Matthew Somerville2017-03-16-1/+0
| | | | This has been running for a year, added in e17eb20.
* Fix check for old-style parsed XML.Dave Arter2016-06-16-0/+8
| | | | | It errored on new-style parsed XML, rather than let it through. Add a new category to the test that highlights this.
* [fixmystreet.com] Friendly A/B test setup.Zarino Zappia2016-03-11-0/+1
| | | | | | | | Includes a smiley, bright yellow homepage, and updated nav bar and footer across the entire site; a few content changes; request for gender information from users. Fixes #1341.
* Add multiple photo upload support.Zarino Zappia2015-12-16-1/+3
| | | | | | | | | | Three file inputs, progressively enhanced with dropzone. This moves the photo input higher up, so that photos can upload while you're filling out the form. It standardises and improves photo error handling. [fixmystreet.com] Guidance for what photos should and shouldn’t include.
* [fixmystreet.com] Unresponsive bodies page/warningMatthew Somerville2015-07-28-1/+1
| | | | | | | | | Add a special category email address used to show an unresponsive message and page when trying to report in that category. Add a "Refused" send method for setting a whole body to be unresponsive and show the message immediately, not on category selection. Factor out category template, and put at top where needed.
* Add Extra role to ease use of {extra} field.Hakim Cassimally2015-03-20-1/+1
| | | | | | | | | Historically, the extra field has been used in two different ways by different cobrands, both as a list (e.g. Open311 category fields) and a hash (e.g. the Zurich cobrand). This commit consolidates usage, adding an API to make use of the field easier and always returning a hash for the code to use. Fixes #1018.
* Factor out test contact creation to function.Matthew Somerville2015-03-13-18/+8
|
* By default, use area-based alerts.Matthew Somerville2014-12-12-2/+2
| | | | | | | | | The body-based alert only works if the body ID matches the MapIt ID. This fixes #959. Further work needs to be done to enable proper body-based alerts that work properly in all circumstances. Consequently, factor out fixed body IDs from many tests. Also fix a couple of tests not overriding geocoder correctly.
* Fix test suite to run regardless of config setup.Matthew Somerville2013-10-24-12/+22
|
* Disable info level logging in some testsEdmund von der Burg2013-09-05-0/+5
|
* Allow bodies to span multiple area IDs, and areas can be covered by more ↵Matthew Somerville2012-12-19-6/+6
| | | | than one body.
* Rename area_id on Contacts table to body_id.Matthew Somerville2012-12-15-2/+2
| | | | Add foreign key constraint from contacts to body.
* Rename 'open311conf' database table to 'body'.Matthew Somerville2012-12-15-1/+1
|
* change the way we get open311 singlelist data so we can order itStruan Donald2012-10-22-1/+1
| | | | correctly for display
* Have a whole fake mapit (for #182) that works if MAPIT_URL is set accordingly.Matthew Somerville2012-07-13-4/+4
| | | | | | | | | Setting MAPIT_URL to .../fakemapit/ will then return one area, ID 161 and type ZZZ, whatever co-ordinate it is given. This means the default area type is now ZZZ, the UK specific types are moved into the UK cobrands, and the tests updated accordingly to still function (they assume UK-ness a lot, so probably need an ALLOWED_COBRANDS entry of "fixmystreet: 'localhost'" and for your host's domain to show fixmystreet too).
* check that the generated select has all the elements we expectStruan Donald2011-08-04-0/+9
|
* unit tests for extra open311 fields in report pagesStruan Donald2011-08-04-0/+158