aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/controller/report_display.t
Commit message (Collapse)AuthorAgeLines
* Show user details for users with correct permissionspezholio2017-01-17-3/+54
|
* Make it clearer that report is closed when marked as duplicateDave Arter2016-12-13-1/+1
| | | | | | - Record state change when leaving update and marking as duplicate - Change save button wording to match problem state when inspecting - Make it clearer that updates marking a report as duplicate actually close the report
* Signpost users to original version of duplicate reportsDave Arter2016-12-13-24/+26
| | | | This stops updates being left on duplicates.
* Use improved TestMech::create_user_ok instead of User::find_or_createDave Arter2016-07-19-9/+3
| | | | | This improves create_user_ok to work more like create_body_ok where extra params can be passed in and set on the model.
* [Zurich] Update de_CH .po fileHakim Cassimally2015-10-06-3/+1
|
* [Zurich] Override MAP_TYPE in tests where appropriateDave Arter2015-10-06-0/+2
|
* [Zurich] Updated email templatesMatthew Somerville2015-10-06-1/+3
| | | | | | | - submit-external-wish.txt includes a link with report's coordinates, template values are interpolated Conflicts: perllib/FixMyStreet/SendReport/Zurich.pm
* [Zurich] admin workflow changes available statesHakim Cassimally2015-10-06-62/+78
| | | | | | | | | | | | | | | | | | | | | | | | | | See mysociety/FixMyStreet-Commercial#690 - external_message for Extern/Wunsch states - as per PDF mockups, the "public response" field is now editable from more states, namely: - Ruckmeldung ausstehend - Extern - Zustandigkeit unbekannt - Wunsch - Nicht kontaktierbar - Unsichtbar - test fixes NB: slight hack to reorder Zurich report_display tests As these remove 'investigating' from hidden_states, these break tests for default cobrand (the FMS::App code expects to be called once on request start, not multiple times within one test) - Not contactable button and tests for this and the similar `send_back` functionality (previously untested). NB: Unsure why we need to specify form_number=2 just for these submits, but test won't find the buttons otherwise. - Make sure SDMs' "time_spent" figure is recorded. (See mysociety/FixMyStreet-Commercial#718)
* By default, use area-based alerts.Matthew Somerville2014-12-12-16/+13
| | | | | | | | | 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/+14
|
* Reported via mobile device rather than byStruan Donald2013-10-02-4/+4
| | | | Fixes #586
* Don't use a domain name when testing that the default ALLOWED_COBRANDS will ↵Edmund von der Burg2013-09-10-2/+2
| | | | match to the wrong cobrand.
* Update state name from Erledigt to Beantwortet.Matthew Somerville2013-04-19-2/+2
|
* Translation update, update test to match.Matthew Somerville2013-02-04-1/+1
|
* Merge remote branch 'origin/zurich'Matthew Somerville2013-02-04-14/+100
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: bin/open311-populate-service-list bin/send-comments bin/update-all-reports conf/crontab.ugly db/schema.sql perllib/FixMyStreet/App/Controller/Admin.pm perllib/FixMyStreet/App/Controller/Report/New.pm perllib/FixMyStreet/App/Controller/Reports.pm perllib/FixMyStreet/Cobrand/Default.pm perllib/FixMyStreet/Cobrand/LichfieldDC.pm perllib/FixMyStreet/DB/Result/Open311conf.pm perllib/FixMyStreet/DB/Result/Problem.pm perllib/FixMyStreet/DB/ResultSet/Problem.pm perllib/FixMyStreet/SendReport.pm perllib/FixMyStreet/SendReport/Email.pm perllib/FixMyStreet/SendReport/Open311.pm perllib/Open311/GetServiceRequestUpdates.pm perllib/Open311/PopulateServiceList.pm t/app/controller/report_new.t t/app/controller/rss.t templates/web/bromley/report/display.html templates/web/default/admin/council_contacts.html templates/web/default/common_header_tags.html templates/web/default/dashboard/index.html templates/web/default/front/stats.html templates/web/default/report/_main.html templates/web/default/report/update-form.html templates/web/emptyhomes/index.html templates/web/emptyhomes/report/display.html templates/web/emptyhomes/report/new/councils_text_all.html templates/web/emptyhomes/reports/body.html templates/web/emptyhomes/reports/index.html templates/web/fixmystreet/report/new/fill_in_details_form.html templates/web/fixmystreet/report/update-form.html web/cobrands/fixmystreet/fixmystreet.js web/js/fixmystreet.js
| * Add some Zurich banner tests.Matthew Somerville2013-01-23-3/+73
| |
| * Allow unconfirmed reports to be seen on Zurich site.Matthew Somerville2012-12-19-0/+13
| |
| * Make from_body a foreign key.Matthew Somerville2012-12-15-1/+4
| |
| * Update tests for new names of things and bodies needing to exist.Matthew Somerville2012-12-15-8/+8
| |
| * Rename council column to bodies_str, and all the related code.Matthew Somerville2012-12-15-2/+2
| |
| * Rename from_council to from_body, and small related changes.Matthew Somerville2012-12-15-5/+5
| |
* | add internal review status to problemsStruan Donald2013-01-17-0/+8
| |
* | Merge branch 'bromley-new-statuses'Struan Donald2013-01-16-1/+33
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: bin/send-comments conf/crontab.ugly db/schema.sql perllib/FixMyStreet/App/Controller/Admin.pm perllib/FixMyStreet/DB/Result/Open311conf.pm perllib/FixMyStreet/DB/ResultSet/Problem.pm perllib/Open311.pm t/app/controller/report_updates.t t/open311.t templates/web/default/report/display.html templates/web/default/report/updates.html templates/web/fixmystreet/report/display.html
| * display correct banner for new statusesStruan Donald2012-10-02-1/+1
| |
| * update tests with new statusesStruan Donald2012-10-02-1/+33
| |
* | display non public reports to creator if logged inStruan Donald2012-08-31-0/+22
| |
* | return 403 for non public reportsStruan Donald2012-08-31-0/+9
|/
* Have a whole fake mapit (for #182) that works if MAPIT_URL is set accordingly.Matthew Somerville2012-07-13-10/+14
| | | | | | | | | 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).
* fix date format for dates that are now from a previous yearStruan Donald2012-01-06-9/+9
|
* Fix tests, and remove unwanted height.Matthew Somerville2011-09-08-4/+6
|
* correct council list delimiterStruan Donald2011-08-19-1/+1
|
* use the correct council separator characterStruan Donald2011-07-27-1/+1
|
* allow council user to update state on problem sent to multiple councilsStruan Donald2011-07-27-0/+17
|
* change to use from_council in users table and store the council id inStruan Donald2011-06-27-6/+13
| | | | | there so we can check that the problem is for the council the user is from
* in progress bannerStruan Donald2011-06-23-0/+24
|
* display state dropdown on updates to authority usersStruan Donald2011-06-23-2/+27
|
* rename will not fix to closedStruan Donald2011-06-16-1/+1
|
* handle new states in report display and updatingStruan Donald2011-06-16-49/+24
|
* update report display to handle new statusesStruan Donald2011-06-15-0/+49
|
* Fix bug whereby 'old and of unknown status' was shown on all open reports.Matthew Somerville2011-05-21-0/+9
|
* default add_alerts to onStruan Donald2011-05-20-1/+1
|
* Starting tests for /reports, fix for warning.Matthew Somerville2011-05-19-1/+1
|
* actually compare the problem meta information in the testsStruan Donald2011-05-17-3/+5
|
* replace more old template tags with TT onesStruan Donald2011-05-17-4/+12
|
* tests for different banner statesStruan Donald2011-05-16-14/+61
|
* display/hide problem fixed checkboxStruan Donald2011-05-16-0/+19
|
* few more tests for correct problem displayStruan Donald2011-05-16-1/+3
|
* tests for correct problem page meta informationStruan Donald2011-05-16-0/+81
|
* deal with trailing garbage on urlEdmund von der Burg2011-04-15-0/+5
|
* Show 410 page for hidden reports, and 404 for ones that are not confirmed yet.Edmund von der Burg2011-04-15-2/+18
|