aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App/Controller/Moderate.pm
Commit message (Collapse)AuthorAgeLines
* Fix superusers creating anonymous reports.Matthew Somerville2019-04-05-6/+1
|
* Spot moderation conflicts.Matthew Somerville2019-01-25-0/+19
| | | | | If someone tries to moderate after someone else has, re-show the form and an error.
* Stop redirecting on moderation error.Matthew Somerville2019-01-25-29/+37
| | | | This will also be used by the moderation conflict code.
* Allow state editing via moderation.Matthew Somerville2019-01-16-1/+36
| | | | | If a state is passed in (on a cobrand), update problem state and add a comment to record this (as state changes are updates not moderations).
* Delete cache photos upon photo moderation.Matthew Somerville2019-01-10-0/+1
|
* Associate moderation history with admin log.Matthew Somerville2018-11-27-27/+17
|
* Show moderation history in report/update admin.Matthew Somerville2018-11-26-2/+2
|
* Store all moderation change history in database.Matthew Somerville2018-11-26-47/+25
| | | | | Currently keeping the same front end functionality of only reverting to the original.
* Store more original stuff on moderation.Matthew Somerville2018-11-16-8/+33
|
* Allow moderation to edit category.Matthew Somerville2018-11-07-0/+18
|
* Allow moderation to edit extra fields/location.Matthew Somerville2018-10-26-2/+41
| | | | If a cobrand provides those fields.
* Allow moderation to potentially change photos.Matthew Somerville2018-10-22-2/+23
|
* Add cobrand hook for disallowing title moderation.Matthew Somerville2018-09-13-1/+3
|
* Allow cobrand to add extra ability to moderate.Matthew Somerville2018-08-29-9/+8
|
* Move moderation check to own function, tidy up.Matthew Somerville2018-08-28-1/+1
|
* Refactor together similar moderate functions.Matthew Somerville2018-08-28-127/+57
|
* Admin ability to hide a user's reports/updates.Matthew Somerville2018-01-31-1/+2
|
* Allow cobrands to disable moderation emailsDave Arter2017-11-22-1/+1
| | | | | | | This adds a new send_moderation_notifications method which can be overridden by cobrands to prevent “your report has been moderated” emails from being sent. Fixes mysociety/fixmystreet-commercial#936
* Tidy up report page permission checkings.Matthew Somerville2017-10-18-4/+1
|
* log all state changes in admin as commentsStruan Donald2017-10-16-1/+1
| | | | | | | | | | | | Create a comment on a problem when the admin is used to change the state of the problem. If only the state is changed then create a comment with blank text. If the category and state are changing then include details of the category change in the comment. Not all the state changes are displayed at the template level by default. Fixes #1846
* Adapt things that assume email will be present.Matthew Somerville2017-09-30-13/+15
| | | | | | This includes stopping some emails being sent (moderation, alert, questionnaire), dealing with Open311/email report sending, and tokenised_url.
* do not replace deleted text with [...] when moderatingStruan Donald2017-07-27-26/+3
| | | | | | | | Replacing deleted text with [...] when moderating reports and comments leads to very odd looking reports when correcting minor typos so just leave the text as deleted. Fixes #1774
* Use name at time of moderation, include superusersMatthew Somerville2017-03-14-2/+7
| | | | This works better if e.g. a user stops being associated with a body.
* Remove from_body requirement from User::has_permission_toDave Arter2016-09-20-1/+1
|
* Direct report moderated emails correctly.Matthew Somerville2016-08-10-7/+3
|
* Improve CSRF tokens and add to more forms.Matthew Somerville2016-06-20-0/+2
|
* Add default sender to send_email_cron.Matthew Somerville2015-08-19-4/+0
| | | | | Matches send_email, remove unneeded setting of sender in one call, and add contact name to report sent email.
* Factor out all uses of param()/params.Matthew Somerville2015-07-07-13/+13
| | | | | | | Use a central get_param and get_param_list functions dependent on whether we're after a scalar or a list (almost always a scalar). This prevents any possibility of confusion where param() could return a list, or params->{} an arrayref.
* Version 1.5.2.v1.5.2Matthew Somerville2014-12-17-1/+6
| | | | | | | Includes: * [UK] Don't show topic form field when reporting abuse. * Use token in moderation response URL to prevent hidden report leak. * Make sure successful submission page is full width.
* Remove unused variable.Matthew Somerville2014-11-07-1/+0
| | | | | Also, s///r isn't present in 5.10, and FixMyStreet should still install on squeeze.
* Tests for moderationHakim Cassimally2014-08-14-1/+1
|
* Report moderationHakim Cassimally2014-08-13-0/+365
- redaction marked with [...] - of report and comments - stores original data - uses a single form, on the report/_main view - requires additional permissions (user_body_permissions) - Hide report functionality - Moderation notification/contact form - Moderation writes to admin_log