aboutsummaryrefslogtreecommitdiffstats
path: root/t
Commit message (Collapse)AuthorAgeLines
* [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
|
* [Westminster] Disallow TfL categories on cobrandDave Arter2019-08-18-1/+1
| | | | Also tidies up the categories_restriction query for Northamptonshire.
* Allow OIDC auth to provide its own ‘change password’ URIDave Arter2019-08-16-0/+5
|
* [Westminster] Server-side UPRN lookup for categories where it’s presentDave Arter2019-08-16-2/+52
| | | | Also updates client-side UPRN lookup config to handle renamed fields.
* [Westminster] Do not create any reporter alerts.Matthew Somerville2019-08-16-0/+16
|
* [Westminster] Allow staff to leave updatesDave Arter2019-08-16-5/+44
|
* Add test for viewing existing reports when using social sign-inDave Arter2019-08-16-1/+11
|
* [Westminster] Remove confirm/sign in by email.Matthew Somerville2019-08-16-2/+2
|
* [Westminster] Warnfix.Matthew Somerville2019-08-16-0/+1
|
* [Westminster] Lookup USRN for app reportsDave Arter2019-08-16-0/+32
|
* Enable passing of ‘filter_group’ param to / to pre-filter /around mapDave Arter2019-08-16-2/+3
|
* Enable passing of ‘filter_category’ param to / to pre-filter /around mapDave Arter2019-08-16-0/+6
|
* [Westminster] Disable all updates.Matthew Somerville2019-08-16-0/+9
|
* Add test for OIDC logout redirectionDave Arter2019-08-16-0/+17
|
* Improve checking of OIDC ID tokens, and handle OIDC forgotten password flow ↵Dave Arter2019-08-16-1/+4
| | | | correctly
* [Open311] Include account_id in POST Service Requests if presentDave Arter2019-08-16-0/+30
|
* [Westminster] Store user CRM ID when logging in via MyWestminsterDave Arter2019-08-16-1/+25
|
* Allow anonymous submission by a button.Matthew Somerville2019-08-16-0/+72
|
* Improve user-anonymous reporting.Matthew Somerville2019-08-16-0/+92
| | | | | Make it more like the staff-creation, with no confirmation email, and no messing with the user.
* [Westminster] Allow social login on cobrandDave Arter2019-08-16-0/+74
|
* Add OpenID Connect login functionalityDave Arter2019-08-16-41/+173
|
* DB changes to support OIDC authDave Arter2019-08-16-0/+25
|
* [Northamptonshire] do not send comments on defectsStruan Donald2019-08-14-1/+57
| | | | | | There is no support for updates to defects so if a report was created from a defect (i.e. the user is the comment_user) then skip sending the comment
* Make sure existing attribute answers set up.Matthew Somerville2019-08-09-3/+28
| | | | | | | If you come to /report/new with a part-filled report (say you've gone via an OAuth flow), then the stash needs to get the category from the report, not a query parameter, and report_meta needs initializing, as that is what the template uses to fill in existing attribute answers.
* Merge branch 'westminster-report-dupe-bugs'Matthew Somerville2019-08-08-4/+4
|\
| * Set default mock area to default browser test areaMatthew Somerville2019-08-07-4/+4
| | | | | | | | | | | | This should make it easier to add browser tests as you won't have to get the click precisely on the right pixel in order to have it match the correct area.
* | Redirect correctly after editing user to remove them from cobrandDave Arter2019-08-07-0/+43
|/
* prevent including email address in report titleStruan Donald2019-08-02-0/+23
| | | | | | | | If autofill on Chrome is turned on and has saved the user's login it can autofill the user's email address in the report title, so add validation to make sure the title does not look like an email. Fixes #2570
* [open311] unset the external_status_code if blankStruan Donald2019-07-31-0/+30
| | | | | | If an update with a blank external_status_code is fetched then unset it otherwise we will always a detect a change in the external_status_code which might mean phantom updates.
* Merge branch 'open311-receive-update'Matthew Somerville2019-07-16-31/+176
|\
| * [Open311] Receive update from external request.Matthew Somerville2019-07-15-0/+99
| |
| * [Open311] Refactor GetServiceRequestUpdates a bit.Matthew Somerville2019-07-15-26/+72
| |
| * [Open311] Improve JSON output of controller.Matthew Somerville2019-07-15-5/+5
| |
* | [UK] Allow multiple admin user domains.Matthew Somerville2019-07-16-1/+13
|/
* Merge branch '1456-do-not-store-display-only-attributes'Matthew Somerville2019-07-15-0/+1
|\
| * Do not store display-only extra fields on reports.Matthew Somerville2019-07-12-0/+1
| |
* | [Bexley] Include subcategory in dashboard export.Matthew Somerville2019-07-12-1/+9
|/
* [UK] Make sure all asset JS in footer_extra.Matthew Somerville2019-07-10-4/+4
| | | | | This provides consistent ordering of loading, and makes it easier to change map type and maintain assets.