aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet
Commit message (Collapse)AuthorAgeLines
* Fix duplicate report selectionDave Arter2018-02-20-2/+2
| | | | | | | | The underlying DOM structure returned from /report/xx/nearby.json had changed, meaning the "Which report is it a duplicate of?" list on the inspector form wasn't displaying any reports. This commit introduces a template specifically for the nearby URL instead of overloading the on_map_list_items template.
* [Bristol] Always include an email address for Open311 reportsDave Arter2018-02-19-0/+6
|
* Merge branch '1939-questionnaire-links'Matthew Somerville2018-02-19-27/+59
|\
| * Store questionnaire data as soon as opened.Matthew Somerville2018-02-16-21/+40
| | | | | | | | | | | | This means the questionnaire is considered 'answered' as soon as a (HTML) link is clicked, which I think is okay. Then filling in the questionnaire form will update the same questionnaire.
| * Show any ‘steady-state’ questionnaire response.Matthew Somerville2018-02-16-1/+4
| |
| * Link update made during questionnaire to it.Matthew Somerville2018-02-16-2/+11
| | | | | | | | | | This means we don't show separate 'Still open' messages when an update was also left at the same time.
| * Prefill first question from questionnaire email.Matthew Somerville2018-02-16-3/+4
| |
* | [Oxfordshire] Remove response days, add home page message.Matthew Somerville2018-02-15-1/+5
| |
* | [Bristol] Switch back to own map tiles/assetsDave Arter2018-02-13-1/+1
| | | | | | | | This reverts commit 549d1cc66e591cf2da6b5243fbd28c7f40e75f14.
* | Merge branch 'issues/forcouncils/276-staff-only-reports'Matthew Somerville2018-02-13-33/+79
|\ \ | |/ |/|
| * Show non_public reports to staff on list pages.Matthew Somerville2018-02-13-16/+51
| |
| * Allow inspectors to see/change non_public reports.Matthew Somerville2018-02-09-2/+11
| |
| * Only leave inspect update if text or state change.Matthew Somerville2018-02-08-15/+17
| | | | | | | | | | We don't want to leave a blank update when e.g. only internal things have changed.
* | Merge branch 'banes-improvements-grab-bag'Matthew Somerville2018-02-12-10/+19
|\ \
| * | Cobrands can pass `components` to Google Geocoder.Dave Arter2018-02-12-4/+12
| | | | | | | | | | | | | | | | | | This allows more fine grained control over the geocoder search, e.g. to specify the administrative area or town. See the geocoder api docs: https://developers.google.com/maps/documentation/geocoding/intro#ComponentFiltering
| * | Improvements to report_sent_confirmation_email functionDave Arter2018-02-12-6/+7
| |/ | | | | | | | | | | - Send ‘report sent’ emails from cobrand’s contact address - Don’t send email when report is made using contribute-as-other and report_sent_confirmation_email is active.
* | Fix warning when sending reports from user with no emailDave Arter2018-02-09-1/+1
| |
* | [Bristol] Switch map to OSM temporarilyDave Arter2018-02-08-1/+1
|/ | | | maps.bristol.gov.uk is currently offline, so the Bristol map tiles aren’t loading.
* Allow updates to be left as another user with phone numberDave Arter2018-02-07-2/+10
|
* Allow ‘report as another user’ to only provide a phone numberDave Arter2018-02-07-6/+20
|
* Merge branch '2fa-superuser'Matthew Somerville2018-02-07-22/+91
|\
| * Allow two-factor to work during creation flow.Matthew Somerville2018-02-07-13/+34
| |
| * Add two-factor authentication for superusers.Matthew Somerville2018-02-07-9/+57
| |
* | Merge branch '1944-admin-remove-account'Matthew Somerville2018-02-07-1/+37
|\ \
| * | Admin ability to remove user account details.Matthew Somerville2018-02-06-0/+24
| | |
| * | Add admin ability to log user out.Matthew Somerville2018-02-06-1/+13
| |/
* | Merge branch 'password-tests'Matthew Somerville2018-02-06-8/+82
|\ \
| * | Add length/common password checking.Matthew Somerville2018-02-06-8/+82
| |/
* | Upgrade Number::Phone.Matthew Somerville2018-02-05-1/+2
| | | | | | | | | | This brings in my new format_for_country function which allows for nicer display of phone numbers to people.
* | [Oxfordshire] Switch mapping style to OS.Matthew Somerville2018-02-01-2/+0
| |
* | Increase bcrypt cost.Matthew Somerville2018-02-01-7/+18
| | | | | | | | Though when running tests, decrease it for speed.
* | Ask for current pw/send email on password change.Matthew Somerville2018-02-01-6/+28
|/ | | | | If they have a current password, ask for it; if they don't, send a confirmation email.
* Merge branch '1942-admin-anonymize'Matthew Somerville2018-01-31-19/+64
|\
| * Admin ability to hide a user's reports/updates.Matthew Somerville2018-01-31-17/+53
| |
| * Admin ability to make user anonymous.Matthew Somerville2018-01-31-2/+11
| |
* | Never skip sending reports with --debug flagDave Arter2018-01-29-3/+5
| | | | | | | | | | | | | | It’s a little annoying to have to fiddle with the database between runs of send-reports when debugging a stuck/failing report or working on a new Open311 integration. This commit disables skipping of reports when the --debug flag is used.
* | Reinstate old pin loading URL for mobile app use.Matthew Somerville2018-01-25-2/+2
| |
* | Hide 'updates not sent' message on reports sent via Open311Dave Arter2018-01-23-0/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The 'updates are not sent to the council' message was incorrectly being shown on reports where updates would in fact be sent. This was affecting non-Bromley/Stevenage reports on fms.com and all cobrands using Open311. This commit moves the logic out of the template and adds the Problem->updates_sent_to_body method which inspects the receiving body's Open311 configuration to determine whether updates will be sent. The duplication of the Lewisham/Oxfordshire logic between Problem.pm and send-comments isn't ideal but hopefully there won't be any new Open311 bodies that only send and don't receive updates. If there are we'll have to look at refactoring that list.
* | Remove SameSite=Lax from cookies.Matthew Somerville2018-01-23-69/+0
| |
* | [fixmystreet.com] Stop double '.csv' on download.Matthew Somerville2018-01-19-1/+1
| |
* | [fixmystreet.com] Change clashing ward field name.Matthew Somerville2018-01-19-1/+1
| | | | | | | | The code expects ward to be used to redirect to a ward page, not as a filter.
* | [Zurich] Fix for request with empty category.Matthew Somerville2018-01-18-1/+1
| |
* | Merge branch 'issues/commercial/988-c6-email-address-link'Matthew Somerville2018-01-18-87/+118
|\ \ | |/ |/|
| * [Zurich] Allow publishing of individual photos.Matthew Somerville2018-01-18-81/+97
| | | | | | | | | | When more than one photo has been uploaded, allow each one to be published/not independently.
| * [Zurich] Update list of public holidays.Matthew Somerville2018-01-16-6/+21
| |
* | Fix error sending `requires_inspection` reports.Matthew Somerville2018-01-16-0/+1
| | | | | | | | | | has_permission_to() is called in Reports.pm and requires the cobrand to be set on the schema. The test was manually doing this which hid the problem.
* | Remove unused (except by tests) send_reports() fn.Matthew Somerville2018-01-15-6/+0
|/
* Add some example fixture images.Matthew Somerville2018-01-11-1/+2
|
* Merge branch 'add-samesite-lax-cookie'Matthew Somerville2018-01-05-1/+70
|\
| * Include "SameSite=Lax" with all set cookies.Matthew Somerville2018-01-04-1/+70
| | | | | | | | | | This prevents FixMyStreet cookies from being sent from third-party <img>s and the like, in supporting browsers.