aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
...
* | | [Northamptonshire] Update not-a-road message.Matthew Somerville2019-09-05-2/+3
| | |
* | | Merge branch 'issues/commercial/1543-asset-ordering'Matthew Somerville2019-09-05-37/+57
|\ \ \ | |/ / |/| |
| * | Make sure extras hidden when only_send is active.Matthew Somerville2019-09-04-1/+11
| | | | | | | | | | | | | | | | | | | | | | | | The extras may be a confusing stopper message that only applies to the 'main' body, or it may be extra questions that are now not required. Either way, we should hide this information, and we need to make sure the server no longer checks if required extra questions have been answered.
| * | Always perform layer loadend one-off setup.Matthew Somerville2019-09-04-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | This was previously restricted to coming directly to /report/new, but this meant it wasn't being run when e.g. Buckinghamshire winter routes or Westminster TfL roads were being loaded after the appropriate category selection, so their effects did not occur (as the checkFeature code was called prior to the layer finishing loading).
| * | [Westminster] Run stopper check after layer check.Matthew Somerville2019-09-04-0/+4
| | | | | | | | | | | | | | | | | | | | | The stopper check runs first, which could mean that if the asset layer has not yet loaded, the form is disabled when it should not be (e.g. on a TfL road in a road category). Make sure that we always run the stopper check after the TfL layer check, in case it changes something.
| * | Factor out stopper matching check function.Matthew Somerville2019-09-04-34/+39
| |/
* | Merge branch 'allow-undevolving'Matthew Somerville2019-09-05-1/+20
|\ \
| * | Allow contact send method to be unset always.Matthew Somerville2019-09-05-1/+20
| | | | | | | | | | | | | | | | | | 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.
* | | [Hounslow] Disable trees asset layer again.Dave Arter2019-09-05-34/+36
|/ / | | | | | | | | | | It's still not working as expected, with lots of rejected reports. This reverts commit 49c74ded4275005e766a948ec47d4cc722e0567e.
* / [UK] Do not show error on HE page.Matthew Somerville2019-09-04-0/+1
|/
* [Bromley] Use live map server.Matthew Somerville2019-09-04-1/+1
|
* [UK] Fix issue with body_overrides.Matthew Somerville2019-09-03-7/+7
| | | | | | | | Note how in road_not_found, the Highways England check could never pass because the only_send was being removed the line before. When the Buckinghamshire and Northamptonshire code was factored together, it looks like bits were taken from one that weren't present in the other, and so should not have been present in the shared code.
* [UK] Empty category meta when HE selected.Matthew Somerville2019-09-03-0/+2
| | | | | Any message being included there will be for the appropriate council and not relevant.
* Allow more characters in name splitting.Matthew Somerville2019-09-03-2/+2
| | | | Not sure how this has not arisen before!
* [Hounslow] Re-enable trees asset layerDave Arter2019-09-03-36/+34
|
* [Westminster] Update emergency message handling.Matthew Somerville2019-08-30-23/+6
|
* Fix display of single group name in admin form.Matthew Somerville2019-08-30-1/+1
|
* [Northamptonshire] add roadworks.org layerStruan Donald2019-08-30-0/+21
| | | | Fixes mysociety/fixmystreet-commercial#1293
* [Bristol] Include ID in closed-to-updates message.Matthew Somerville2019-08-30-0/+6
|
* [UK Councils] Config specifying of update closure.Matthew Somerville2019-08-30-11/+118
| | | | | 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-80/+256
|\
| * Allow form-disabling per Open311 question answer.Matthew Somerville2019-08-29-11/+63
| |
| * Add admin to disable reporting form per category.Dave Arter2019-08-29-81/+205
| | | | | | | | | | Remove all existing hard-coded register_category calls, and have a new way of implementing staff_ignore.
| * Do not show 9 empty rows initially.Matthew Somerville2019-08-29-1/+1
| |
* | Change ‘locate me automatically’ to ‘use my location’Dave Arter2019-08-29-4/+4
| | | | | | | | For mysociety/fixmystreet-commercial#1496
* | Make sure anonymous reports are marked anon irrespective of permissionsDave Arter2019-08-29-0/+57
|/ | | | | | | | | | | | | | 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-3/+164
|\
| * [Open311] Add 'protected' category extra flag.Struan Donald2019-08-23-3/+164
| | | | | | | | | | If an extra field on a category has a protected flag then do not overwrite or remove it when populating categories.
* | [Hounslow] Disable trees asset layerDave Arter2019-08-28-34/+36
| | | | | | | | | | | | The asset data we hold is out of date with Confirm, and is causing problems sending reports as the central_asset_id field is being rejected by Confirm.
* | [Hounslow] Add pin_colour functionDave Arter2019-08-27-0/+6
| |
* | Fix bug with body public display text.Matthew Somerville2019-08-27-1/+1
| | | | | | | | | | | | The CSV utils function returns an array of arrays, not just an array, which this code did not realise. All this affected was sometimes both bodies were shown in a two-tier area when the code meant to show one.
* | [Buckinghamshire] Fix road placement question bug.Matthew Somerville2019-08-27-4/+16
|/ | | | | 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.
* Ignore very new reports in admin unsent list.Matthew Somerville2019-08-23-0/+2
|
* [Oxfordshire] Change update state display name.Matthew Somerville2019-08-23-0/+3
|
* Merge branch 'bucks-email-change'Matthew Somerville2019-08-23-8/+15
|\
| * [Buckinghamshire] Update email addresses.Matthew Somerville2019-08-23-8/+15
| |
* | $user->latest_visible_problem() convenience methodZarino Zappia2019-08-23-10/+11
| |
* | Include user admin links in contact form emailsZarino Zappia2019-08-23-1/+111
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Display dummy content in /_dev/email/contact previewZarino Zappia2019-08-23-0/+15
| |
* | [Bristol] add flooding assetsStruan Donald2019-08-23-0/+7
|/
* Always return a name string if login successful.Matthew Somerville2019-08-22-1/+2
| | | | The app checks if name is set as a test for successful login.
* [Rutland] Remove pin colour function.Matthew Somerville2019-08-22-6/+0
|
* [fixmystreet.com] Include Westminster assets on mapDave Arter2019-08-21-0/+1
|
* [Westminster] Default to open status on map viewDave Arter2019-08-20-0/+2
|
* [Westminster] Add archive email templateDave Arter2019-08-20-0/+82
|
* [Westminster] Switch assets to live tilmaDave Arter2019-08-19-4/+4
|
* Fix filter_group/filter_category links for categories with spacesDave Arter2019-08-19-2/+2
| | | | These were being double-escaped, but c.uri_for returns a string that’s already URI-safe
* [Westminster] Hide email categories from cobrandDave Arter2019-08-19-2/+9
|
* Don’t reveal private report lat/lon in ‘report another’ linkDave Arter2019-08-19-3/+11
|
* Treat DMARC quarantine same as reject.Matthew Somerville2019-08-19-1/+1
|