aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet
Commit message (Collapse)AuthorAgeLines
* [UK Councils] Config specifying of update closure.Matthew Somerville2019-08-30-11/+58
| | | | | 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/+30
|\
| * Allow form-disabling per Open311 question answer.Matthew Somerville2019-08-29-7/+18
| |
| * Add admin to disable reporting form per category.Dave Arter2019-08-29-0/+19
| | | | | | | | | | 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/+2
|/ | | | | | | | | | | | | | 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/+2
|\
| * [Open311] Add 'protected' category extra flag.Struan Donald2019-08-23-0/+2
| | | | | | | | | | If an extra field on a category has a protected flag then do not overwrite or remove it when populating categories.
* | [Hounslow] Add pin_colour functionDave Arter2019-08-27-0/+6
| |
* | [Buckinghamshire] Fix road placement question bug.Matthew Somerville2019-08-27-1/+1
|/ | | | | 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-4/+5
|\
| * [Buckinghamshire] Update email addresses.Matthew Somerville2019-08-23-4/+5
| |
* | $user->latest_visible_problem() convenience methodZarino Zappia2019-08-23-10/+11
| |
* | Include user admin links in contact form emailsZarino Zappia2019-08-23-0/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
|/
* 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
|
* [Westminster] Default to open status on map viewDave Arter2019-08-20-0/+2
|
* [Westminster] Switch assets to live tilmaDave Arter2019-08-19-1/+1
|
* [Westminster] Hide email categories from cobrandDave Arter2019-08-19-2/+9
|
* [Westminster] Only show 3 months of reports on /around by defaultDave Arter2019-08-18-0/+2
|
* [Westminster] Disallow TfL categories on cobrandDave Arter2019-08-18-1/+9
| | | | Also tidies up the categories_restriction query for Northamptonshire.
* Allow OIDC auth to provide its own ‘change password’ URIDave Arter2019-08-16-12/+40
|
* Add Open311::always_upload_photos flag to send all photos, not just privateDave Arter2019-08-16-0/+1
| | | | This is intended to be used by Westminster, but not quite yet.
* [Westminster] Server-side UPRN lookup for categories where it’s presentDave Arter2019-08-16-9/+26
| | | | Also updates client-side UPRN lookup config to handle renamed fields.
* [UK Councils] Allow lookup_site_code to handle Point geometriesDave Arter2019-08-16-3/+12
|
* [Westminster] Do not create any reporter alerts.Matthew Somerville2019-08-16-0/+3
|
* Preserve partial report if resetting password during OIDC loginDave Arter2019-08-16-1/+10
|
* [Westminster] Allow staff to leave updatesDave Arter2019-08-16-1/+10
|
* [Westminster] Lookup USRN for app reportsDave Arter2019-08-16-11/+63
|
* [Westminster] Disable all updates.Matthew Somerville2019-08-16-0/+2
|
* Tidy up closed_updates/updates_disallowed a bit.Matthew Somerville2019-08-16-2/+14
|
* [Westminster] Use OSM geocoderDave Arter2019-08-16-0/+4
|
* Add test for OIDC logout redirectionDave Arter2019-08-16-9/+27
|
* Improve checking of OIDC ID tokens, and handle OIDC forgotten password flow ↵Dave Arter2019-08-16-3/+25
| | | | correctly
* Handle forgotten password OIDC flowDave Arter2019-08-16-3/+21
|
* Add support for OIDC logoutDave Arter2019-08-16-0/+15
|
* [Westminster] Include CRM ID in Open311 POST Service RequestsDave Arter2019-08-16-0/+8
|
* [Westminster] Store user CRM ID when logging in via MyWestminsterDave Arter2019-08-16-0/+14
|
* Allow cobrand to store extra fields on user when logging in via oauthDave Arter2019-08-16-3/+34
|
* [Westminster] Anonymous submission.Matthew Somerville2019-08-16-1/+13
|
* Allow anonymous submission by a button.Matthew Somerville2019-08-16-3/+12
|
* Improve user-anonymous reporting.Matthew Somerville2019-08-16-7/+17
| | | | | 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/+6
|
* Add OpenID Connect login functionalityDave Arter2019-08-16-39/+152
|
* DB changes to support OIDC authDave Arter2019-08-16-16/+36
|
* Set user’s name when creating user via OAuthDave Arter2019-08-16-0/+4
|
* [Westminster] Initial cobrand.Zarino Zappia2019-08-16-0/+29
| | | | | | | | | Include a demo fixture file that creates Westminster categories and two example users: bin/westminster/set-up-categories --commit Co-authored-by: Martin Wright <martin@mysociety.org> Co-authored-by: Matthew Somerville <matthew@mysociety.org>
* [Rutland] update default map status to be openStruan Donald2019-08-15-0/+2
| | | | Fixes mysociety/fixmystreet-commercial#1495