aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/controller/admin
Commit message (Collapse)AuthorAgeLines
* Rename DB::ReportExtraFields to ReportExtraField.Matthew Somerville2019-05-02-4/+6
| | | | It was not being caught by rerun_dbic_loader.pl otherwise.
* Refactor admin body/user functions to own files.Matthew Somerville2019-02-22-24/+24
|
* Allow user to be associated with multiple areas.Matthew Somerville2019-02-14-8/+10
| | | | | | Update database to store an array of IDs rather than only one; consequential changes to the admin and the dashboard to allow selection.
* Improve update display on admin report edit page.Matthew Somerville2018-11-26-1/+1
|
* add report_prefill user permissionStruan Donald2018-11-19-0/+1
| | | | | | | If set then when the user creates a new body report it will prefill the report title and description with some basic text. For mysociety/freshdesk#23
* add default_to_body permissionStruan Donald2018-11-19-0/+1
| | | | | | | If a user has this permission then the report_as dropdown will default to reporting as the body. For mysociety/freshdesk#23
* add report_mark_private permissionStruan Donald2018-11-12-0/+1
| | | | | | | | Allows user's to see the inspector panel to mark reports as Private, and also to view those non-public reports. Useful for call centre staff who want to record private reports but don't need to other permissions. Fixes mysociety/fixmystreet-commercial#1213
* add alert editing to user edit page in adminStruan Donald2018-10-19-0/+58
| | | | disable, enable and delete for user alerts on user_edit page
* display alert count on admin report pageStruan Donald2018-10-17-0/+26
| | | | | | | Add a count of currently active alerts on new updates for a report to the admin page. Fixes #669
* [Oxfordshire] remove access to inspector toolStruan Donald2018-09-28-0/+19
|
* Speed up fetching lists of bodies.Matthew Somerville2018-09-25-0/+14
| | | | | | Use a HashRefInflator wherever all_sorted is used, with consequential changes to deal with it now not being an object (e.g. add some with_* functions for manual fetching of extra data).
* Don't lose from_body if edited by non-superuser.Matthew Somerville2018-09-20-0/+10
| | | | | If an admin with the user_edit permission but not user_assign_body edited a user with from_body set, the from_body field was lost.
* Enable editing of category group in adminDave Arter2018-06-26-1/+52
| | | | Fixes mysociety/fixmystreetforcouncils#275
* add a send login email button to user edit pageStruan Donald2018-06-25-0/+65
| | | | | | | | | Add a button to the user edit page that sends a login token email to the user. Helpful for user support situations where someone is having trouble logging in. Also for situations where you have added a user and want to get them logged in. Fixes #2041
* Use correct created column in problem timeline.Matthew Somerville2018-06-13-0/+4
| | | | The User model now also has a created column.
* include automated field when editing contactsStruan Donald2018-06-11-0/+56
| | | | | | | | Display fields that are automatically filled in the contact editing form otherwise the data is lost. Also include the automated field in the form. Fixes #2136
* Add admin tickbox to close report to updates.Matthew Somerville2018-05-23-2/+44
|
* Remove needless category mappings.Matthew Somerville2018-05-08-1/+0
| | | | | Both filter categories and new report category lists went through mappings to different data structures, which doesn't seem to be needed.
* display the contents of report's extra field in adminStruan Donald2018-04-26-0/+76
| | | | | | | | Instead of just a Yes/No display a formatted list of values in extra. Has special handling for known fields otherwise just prints them out dumbly. Fixes #1809
* admin UI to configure fetch_all_problems Open311 optionStruan Donald2018-04-11-0/+39
| | | | | | UI to update the fetch_all_problems setting in extra for a body. This also adds handling for extra body values in the Admin in a similar manner to the way other body params are handled.
* Add external_status_code to ResponseTemplate admin editing formsDave Arter2018-03-29-0/+51
|
* [fixmystreet.com] Add admin page to list refused.Matthew Somerville2018-03-21-0/+26
|
* Fix post-edit issues on admin report edit page.Matthew Somerville2018-03-02-0/+4
| | | | | If you rotated a photo, updates and the category list weren't loaded. If you changed a report's state, the map pin colour was derived from the old state.
* Don’t require SMS_AUTHENTICATION to view/edit user email/phone_verifiedDave Arter2018-02-07-0/+14
| | | | | | | Previously this would force phone_verified to false for all user edits, as well as forcing email_verified to true - which would be the wrong thing to do if the user had been created/verified via the ‘report as another user’ flow.
* Admin ability to remove user account details.Matthew Somerville2018-02-06-0/+16
|
* Add admin ability to log user out.Matthew Somerville2018-02-06-0/+10
|
* Split up admin test file into many separate files.Matthew Somerville2018-01-31-0/+2855