aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App/Controller/Admin
Commit message (Collapse)AuthorAgeLines
* Add user admin log page.Matthew Somerville2019-11-08-0/+32
|
* Store a moderation history on admin report edit.Matthew Somerville2019-11-08-1/+16
|
* Add admin log entry for more objects and things.Matthew Somerville2019-11-08-17/+20
| | | | | Namely templates, roles, bodies, categories, various user edits, and when using the inspect form and changing category.
* Refactor user controller to use chained action.Matthew Somerville2019-11-08-9/+14
|
* Factor out admin reports code to own controller.Matthew Somerville2019-11-08-1/+501
|
* Factor out admin template code to own controller.Matthew Somerville2019-11-08-0/+176
|
* Merge branch 'remove-extra-cat-heading'Matthew Somerville2019-10-31-2/+1
|\
| * Sort reporting categories in display order.Matthew Somerville2019-10-31-2/+1
| |
* | Remove unused inspection required/reputation code.Matthew Somerville2019-10-28-37/+0
|/
* [BANES] Override category display name.Matthew Somerville2019-10-25-2/+3
|
* Allow editing of category name.Matthew Somerville2019-10-25-1/+17
|
* Make contact edit note optional on staging sites.Matthew Somerville2019-10-25-1/+1
|
* Refactor admin body creation/editing together.Matthew Somerville2019-10-25-153/+154
|
* Refactor Reports controller a bit.Matthew Somerville2019-10-14-0/+1
| | | | | Split load_and_group_problems in two, split out category list/map setup, and factor out sort stash setting. No actual changes.
* [Oxfordshire] Remove unused Exor RDI code.Matthew Somerville2019-10-10-81/+0
|
* Merge branch '2469-improve-admin-category-form'Matthew Somerville2019-09-30-0/+16
|\
| * Add top disable-form field to admin category form.Matthew Somerville2019-09-30-0/+16
| |
* | Merge branch 'zurich-staging'Matthew Somerville2019-09-30-1/+5
|\ \
| * | [Zurich] Allow external body to link to a categoryMatthew Somerville2019-09-30-1/+5
| |/
* | [IsleOfWight] do not send comment recording triage actionStruan Donald2019-09-27-1/+2
| | | | | | | | | | This is only used for audit purposes on FixMyStreet and not required in Confirm.
* | do not send triage comments in alertsStruan Donald2019-09-27-1/+14
| | | | | | | | | | | | add a check into the Alerts script to skip comments that have `triage_report` set in extra. Otherwise we send these our in new_updates alerts.
* | [IsleOfWight] add an admin interface to triage reportsStruan Donald2019-09-27-0/+149
|/ | | | | | | | | | | | | | | | | | On reports with a state of `for_triage` override the `_inspect.html` template to display one which allows only allows the user to change the category from one with a 'Triage' send_method to a non Triage send_method. When saved this records a comment with the original category and the category it was triaged to. This is hidden from the site as it's only used for audit purposes and sending over Open311. This assumes that the triage categories have the same names as the groups of the confirm categories. It uses this to select the first confirm category in the group corresponding to the triage category. This also makes the sidebar geolocation onclick handler check for the presence of the button, as the triage inspect form does not have it.
* Allow contact send method to be unset always.Matthew Somerville2019-09-05-1/+1
| | | | | | If a body was set to Open311, and a contact set to Email, it was impossible to unset the contact's send method and set an Open311 code, because it would always demaned a valid email address.
* Redirect correctly after editing user to remove them from cobrandDave Arter2019-08-07-2/+15
|
* Allow password hash setting in user import.Matthew Somerville2019-07-10-10/+10
|
* admin interface for adding multiple groups to a categoryStruan Donald2019-06-17-2/+7
|
* Move ResponsePriority admin to HTML::FormHandler.Matthew Somerville2019-06-07-72/+68
|
* Some small Roles fixes.Matthew Somerville2019-06-07-4/+7
| | | | | | Code: Prefetch body data to reduce queries, remove an unused variable. Form: Move outer <ul> class to form from widget, and include <li>. Template: Escape role.name, and mark "Create" for translation.
* Add role to users from admin user list page.Matthew Somerville2019-05-28-0/+17
|
* User import allowing roles.Matthew Somerville2019-05-28-8/+19
|
* Add role search to users page.Matthew Somerville2019-05-28-20/+44
|
* Add way to pick role for a user.Matthew Somerville2019-05-28-10/+42
|
* Add Role adding/editing/deleting admin.Matthew Somerville2019-05-28-0/+96
|
* Fix uses of != instead of not_in.Matthew Somerville2019-05-28-4/+4
|
* Consistent status message block.Matthew Somerville2019-05-28-2/+1
|
* Show field entries if error on add user formMatthew Somerville2019-05-28-4/+5
|
* Remove need for add detachMatthew Somerville2019-05-28-1/+0
|
* If report hidden, also purge update photos cache.Matthew Somerville2019-05-07-1/+1
|
* Rename DB::ReportExtraFields to ReportExtraField.Matthew Somerville2019-05-02-3/+3
| | | | It was not being caught by rerun_dbic_loader.pl otherwise.
* Factor to common FixMyStreet::MapIt call.Matthew Somerville2019-04-04-8/+6
|
* Make sure MapIt generation always used if given.Matthew Somerville2019-04-01-2/+6
|
* Add DateRange class.Matthew Somerville2019-03-04-7/+9
| | | | | This simplifies the places where a date range is used; it also makes Dashboard date parsing more flexible.
* Fix admin index body dropdown redirect.Matthew Somerville2019-02-26-2/+2
|
* Refactor admin body/user functions to own files.Matthew Somerville2019-02-22-0/+1159
|
* Speed up fetching lists of bodies.Matthew Somerville2018-09-25-0/+1
| | | | | | 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).
* [Oxfordshire] Fix admin exor download page.Matthew Somerville2018-04-16-1/+1
| | | | | 07906f40 changed the HTML date input form, but did not update the server parsing of the format.
* [fixmystreet.com] Add admin page to list refused.Matthew Somerville2018-03-21-0/+27
|
* Consolidate summary statistics pages.Matthew Somerville2017-11-29-307/+1
|
* Refactor stats pages to their own controller.Matthew Somerville2017-11-29-0/+156
|
* correctly handle average state changes of 0 days in area statsStruan Donald2017-10-04-1/+6
| | | | | If no problems have changed status then set the average to -1 so we can cope with an average status change of 0 days.