aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App/Controller/Moderate.pm
Commit message (Collapse)AuthorAgeLines
* 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