aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/controller/report_inspect.t
Commit message (Collapse)AuthorAgeLines
* Make sure all MapIt tests can run offline.Matthew Somerville2017-03-23-3/+1
|
* Allow cobrands to control which states affect reputationDave Arter2017-02-15-3/+18
| | | | | | | | | | | | Rather than assigning +1 to a user's reputation every time a report is inspected, this allows cobrands to specify which states should increment or decrement the reputation value when a report is inspected. The default behaviour is for reputation to never be changed, but the Oxfordshire cobrand will increment the reputation when a report is marked as 'action scheduled'. For mysociety/fixmystreetforcouncils#119
* Clarify ‘inspected’ behaviourDave Arter2017-02-15-7/+8
| | | | | | A report is now considered 'inspected' if its state was changed by an inspector. Additionally, an AdminLog entry is created so the time of inspection and inspector can be recorded.
* [Oxfordshire] Show simpler state list on inspect formDave Arter2017-02-08-4/+4
| | | | | | | | | | Limits the state dropdown to those states which will be useful to OCC inspectors, as well as removing a few from the base template on the inspect form. Some slight template refactoring has made it easier for other cobrands to override the list, as well as sharing the template with the admin report_edit form to allow all states to be selected. Fixes mysociety/fixmystreetforcouncils#129
* [Oxfordshire] Allow cobrand-specific traffic management optionsDave Arter2017-02-08-0/+10
| | | | Fixes mysociety/fixmystreetforcouncils#159
* Merge branch 'issues/forcouncils/20-offline-inspecting'Matthew Somerville2016-12-16-2/+2
|\
| * Default inspect form to save with public update.Matthew Somerville2016-12-16-2/+2
| |
* | Merge branch 'issues/forcouncils/108-pick-up-a-priority'Matthew Somerville2016-12-15-2/+2
|\ \ | |/ |/|
| * Update priorities in inspect form on cat. change.Matthew Somerville2016-12-15-2/+2
| | | | | | | | | | Different categories may have a different list of priorities, so store them all and update as the category changes.
* | Make it clearer that report is closed when marked as duplicateDave Arter2016-12-13-7/+39
| | | | | | | | | | | | - 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
* | If a problem has duplicates, display them on its detail pageDave Arter2016-12-13-1/+5
| |
* | Add test for correct display of duplicate reportDave Arter2016-12-13-0/+19
|/
* Redirect to correct cobrand when category changed.Dave Arter2016-10-26-1/+35
|
* Merge branch 'issues/forcouncils/67-mop-up'Matthew Somerville2016-10-24-1/+1
|\
| * Fix warning in report inspect test.Matthew Somerville2016-10-24-1/+1
| |
* | Have report page show inspect form if available.Matthew Somerville2016-10-24-10/+13
|/
* Merge branch 'issues/forcouncils/36-mobile-inspector-improvements'Matthew Somerville2016-10-04-22/+9
|\
| * Remove separate “Public update” form sectionZarino Zappia2016-10-04-2/+2
| | | | | | | | | | | | Inspectors can now tick the optional “Save with a public update” checkbox, to reveal the “Public update” textarea. This means there is no longer a need for two separate submit buttons.
| * Restructure Inspect form into logical sectionsZarino Zappia2016-10-04-3/+3
| | | | | | | | | | | | | | | | IDs and locations at the top, then location-related actions (including a new “navigate to this problem” button), then status and category inputs (since these can have an effect on how we display the rest of the form), then any status/category-related inputs, and finally inputs for internal details like priority and traffic management.
| * Factor out contains_or_lacks test function.Matthew Somerville2016-09-29-9/+4
| |
* | Update user reputation when inspecting reportDave Arter2016-09-23-2/+28
|/
* Require inspector to provide update when instructing reportDave Arter2016-09-12-0/+22
| | | | | | | This adds an update field to the bottom of the inspect form, requiring the inspector to provide an update to be added to the report as it's sent. See mysociety/fixmystreetforcouncils#64
* Add manage screen for editing priority/category.Matthew Somerville2016-09-09-0/+97
This is a cut-down version of the full inspect screen. We truncate the co-ordinates just in case (they should be anyway but e.g. the test report isn't).