aboutsummaryrefslogtreecommitdiffstats
path: root/t
Commit message (Collapse)AuthorAgeLines
...
| * | [Zurich] Show relevant external bodies in admin.Matthew Somerville2019-09-30-17/+28
| | |
| * | [Zurich] Allow external body to link to a categoryMatthew Somerville2019-09-30-2/+18
| | |
| * | [Zurich] Use Beantwortet on external banner.Matthew Somerville2019-09-30-4/+4
| | |
| * | [Zurich] Wrap all tests in one config override.Matthew Somerville2019-09-30-577/+389
| |/
* | [IsleOfWight] do not send comment recording triage actionStruan Donald2019-09-27-18/+40
| | | | | | | | | | This is only used for audit purposes on FixMyStreet and not required in Confirm.
* | [IsleOfWight] ignore description on fetched reportsStruan Donald2019-09-27-1/+48
| | | | | | | | | | Use a generic report description for fetched reports rather than the one fetched over open311
* | [IsleOfWight] test correct email sent templates usedStruan Donald2019-09-27-1/+15
| | | | | | | | | | Different report sent confirmation text is used for reports when they are submitted to Triage and when they are submitted to Confirm
* | do not send triage comments in alertsStruan Donald2019-09-27-0/+15
| | | | | | | | | | | | 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] correctly handle triage categories on reports/around pagesStruan Donald2019-09-27-4/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | [IsleOfWight] add an admin interface to triage reportsStruan Donald2019-09-27-1/+150
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | [IsleOfWight] add Triage SendReport moduleStruan Donald2019-09-27-1/+50
| | | | | | | | sets the state of the report to `for_triage` upon sending
* | [IsleOfWight] switch to IoW map tilesStruan Donald2019-09-27-0/+1
| |
* | [IsleOfWight] skip sending urgent fieldStruan Donald2019-09-27-0/+35
| | | | | | | | This is only used to determine if we should block sending the form
* | [IsleOfWight] display Island Roads for moderation userStruan Donald2019-09-27-0/+26
| |
* | [IsleOfWight] display external id as ref noStruan Donald2019-09-27-1/+13
| | | | | | | | Fixes mysociety/fixmystreet-commercial#1522
* | [IsleOfWhite] make sure category_extras uses correct nameStruan Donald2019-09-27-1/+28
| |
* | [IsleOfWight] fix some unbranded emailsStruan Donald2019-09-27-0/+92
| | | | | | | | Also tests for confirm report, report sent and alert emails.
* | [IsleOfWight] tests for closing fetched closed updatesStruan Donald2019-09-27-1/+52
| |
* | [IsleOfWight] include FMS prefix on updates sent over open311Struan Donald2019-09-27-1/+2
| |
* | [IsleOfWight] fix all reports linkStruan Donald2019-09-27-0/+13
| | | | | | | | | | | | 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.
* | [IsleOfWight] Open311 fixed update includes message.Matthew Somerville2019-09-27-3/+51
| |
* | [IsleOfWight] Initial cobrand.Struan Donald2019-09-27-20/+65
|/ | | | | | | | | Co-authored-by: Matthew Somerville <matthew@mysociety.org> Configured to allow: - updates only from original reporter - close updates from fetch reports - use OSM geocoder
* [Open311] Spot <groups> parameter rather than CSV.Matthew Somerville2019-09-20-46/+3
|
* [Northamptonshire] No updates on some reports.Matthew Somerville2019-09-20-0/+11
| | | | Fixed, closed, or reports by the body user.
* Merge branch 'bexley-map-tiles'Matthew Somerville2019-09-19-2/+58
|\
| * [Bexley] Add specific geocoder.Matthew Somerville2019-09-19-0/+36
| |
| * Switch geocoders to be pluggable.Matthew Somerville2019-09-19-2/+2
| |
| * [Bexley] Add new map tiles.Matthew Somerville2019-09-19-0/+20
| |
* | Merge branch 'westminster-com-emails'Matthew Somerville2019-09-17-14/+16
|\ \
| * | [Westminster] No email alerts on .com reports.Matthew Somerville2019-09-10-14/+16
| | |
* | | [Hounslow] Send report to inbox after first Open311 send attemptDave Arter2019-09-16-0/+41
| |/ |/|
* | Merge branch 'fix-contact-form-auto-bug'Matthew Somerville2019-09-13-1/+14
|\ \
| * | Make sure determine_contact_type called later.Matthew Somerville2019-09-12-1/+14
| |/ | | | | | | | | | | | | The request cobrand is set on the schema during the app's setup_request(), which is called by the root auto action. So anything in a controller's begin action will access an incorrect cobrand (if one has already been set).
* / do not reproject uk wmts map if no coordinatesStruan Donald2019-09-13-0/+10
|/ | | | | | | | If the coordinates are (0,0) then return that straight back as trying to reproject causes Geography::NationalGrid::GB to fall over as 0 lat is outside UK Fixes #2617
* Improve user flow when JavaScript is not availableMatthew Somerville2019-09-05-0/+47
| | | | | | | This improves the reporting journey to only ask for category, and then category extra questions if appropriate, first, so that if the choice would lead to the form being disabled, this can be shown immediately.
* Slightly simplify new report category handling.Matthew Somerville2019-09-05-9/+0
|
* Allow contact send method to be unset always.Matthew Somerville2019-09-05-0/+18
| | | | | | 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.
* [UK Councils] Config specifying of update closure.Matthew Somerville2019-08-30-0/+55
| | | | | A cobrand feature flag can be used to only allow updates on open reports, by the original reporter, to staff only, or to no-one.
* Merge branch 'issues/1515-disable-form-flag'Matthew Somerville2019-08-29-0/+33
|\
| * Allow form-disabling per Open311 question answer.Matthew Somerville2019-08-29-1/+9
| |
| * Add admin to disable reporting form per category.Dave Arter2019-08-29-0/+25
| | | | | | | | | | Remove all existing hard-coded register_category calls, and have a new way of implementing staff_ignore.
* | Make sure anonymous reports are marked anon irrespective of permissionsDave Arter2019-08-29-0/+55
|/ | | | | | | | | | | | | | There was a small bug where the 'default_to_body' permission would override the 'report anonymously' button when staff users were adding reports to the site. The result of this was that the name of the anonymous user record would be shown. No harm done, as that user's name would likely be set to "Anonymous user" in config, but it resulted in reports pages showing the slightly odd wording along the lines of: Reported in the Bin bags category by Anonymous user at 14:57 today This commit ensures the contributing_as_body flag is mutually exclusive with the 'report_anonymously' request parameter.
* Merge branch 'issues/commercial/1514-extra-data-protected'Matthew Somerville2019-08-29-0/+134
|\
| * [Open311] Add 'protected' category extra flag.Struan Donald2019-08-23-0/+134
| | | | | | | | | | If an extra field on a category has a protected flag then do not overwrite or remove it when populating categories.
* | [Buckinghamshire] Fix road placement question bug.Matthew Somerville2019-08-27-3/+3
|/ | | | | The question was being asked for even when it should not, because the error key had been changed to start with an 'x' in 120b57d1.
* Merge branch 'bucks-email-change'Matthew Somerville2019-08-23-4/+10
|\
| * [Buckinghamshire] Update email addresses.Matthew Somerville2019-08-23-4/+10
| |
* | Include user admin links in contact form emailsZarino Zappia2019-08-23-0/+64
|/ | | | | | | | | | | | | | | If a message is sent via the contact form, with a stated email address matching a user in the database, the resulting email will now include quick links to: - Admin page for editing the user - Admin page for viewing the user’s reports And if the user has made at least one report, also: - Admin page for the user’s most recent report This should speed up admin email triage considerably.
* [Westminster] Switch assets to live tilmaDave Arter2019-08-19-2/+2
|
* Don’t reveal private report lat/lon in ‘report another’ linkDave Arter2019-08-19-0/+6
|