| Commit message (Collapse) | Author | Age | Lines |
| |
|
| |
|
|
|
|
|
|
|
| |
This means any variable used in a template is automatically
HTML-escaped, unless it is marked as safe either in code by
using a SafeString, or in the template with the `mark_safe`
function or the `safe` filter.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Use Island Roads in place of council in not responsible message.
Fixes mysociety/fixmystreet-freshdesk#93
|
| |
|
|
|
|
|
| |
This is only used for audit purposes on FixMyStreet and not required in
Confirm.
|
|
|
|
|
| |
Use a generic report description for fetched reports rather than the one
fetched over open311
|
|
|
|
|
| |
Different report sent confirmation text is used for reports when they
are submitted to Triage and when they are submitted to Confirm
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add in some cobrand handlers to make sure
a) the appropriate categories are show to staff/non staff users on the
around and reports pages
b) that those categories are correctly expanded to the child
categories when using the category filter to search reports
This is because non staff users should only be shown Isle of Wight
categories with a send_method of 'Triage', however once those reports
are triaged the post triage categories need to be included in any
filtering
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
sets the state of the report to `for_triage` upon sending
|
|
|
|
| |
This is only used to determine if we should block sending the form
|
| |
|
|
|
|
| |
Fixes mysociety/fixmystreet-commercial#1522
|
| |
|
|
|
|
| |
Also tests for confirm report, report sent and alert emails.
|
| |
|
| |
|
|
|
|
|
|
| |
The area name does not match the council name so it redirects to the
national site, so check for the all_reports_single_body and use that as
the matching instead.
|
| |
|
|
Co-authored-by: Matthew Somerville <matthew@mysociety.org>
Configured to allow:
- updates only from original reporter
- close updates from fetch reports
- use OSM geocoder
|