aboutsummaryrefslogtreecommitdiffstats
path: root/perllib
Commit message (Collapse)AuthorAgeLines
* 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
|
* Increase two-factor skew to 2 time periods.Matthew Somerville2018-02-07-1/+1
|
* Merge branch '2fa-superuser'Matthew Somerville2018-02-07-22/+232
|\
| * Allow two-factor to work during creation flow.Matthew Somerville2018-02-07-14/+53
| |
| * Add two-factor authentication for superusers.Matthew Somerville2018-02-07-9/+180
| |
* | Merge branch '1944-admin-remove-account'Matthew Somerville2018-02-07-1/+60
|\ \
| * | 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/+36
| |/
* | 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
| | |
* | | [UK] Re-include Bristol in open311-populate-service-listDave Arter2018-01-18-1/+2
| |/ |/| | | | | | | | | | | | | | | | | | | | | Bristol's Open311 endpoint still seems to be returning empty metadata for some services that claim to have metadata. They have made changes to their published services since the change was made to exclude their endpoint, which is causing issues for new reports. Rather than exclude their endpoint entirely from being updated, this commit just silences the noisy error message for Bristol. Reverts the change made in 491eb26e4.
* | 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.
* | Fix bug specifying category in URL on /around.Matthew Somerville2018-01-04-1/+1
|/ | | | The list of existing categories wasn't being checked correctly.
* Ignore deleted/area-less bodies in dashboard list.Matthew Somerville2018-01-03-1/+2
|
* Prefetch translations in /reports list of bodies.Matthew Somerville2018-01-03-1/+1
|
* Add some new Body model helper methods.Matthew Somerville2018-01-03-131/+177
| | | | And use the existing ones more.
* Merge branch 'version-2.3'v2.3Matthew Somerville2017-12-18-1/+1
|\
| * Fix spelling of administrator.Matthew Somerville2017-12-15-1/+1
| |
* | Generate state_map later on, for use by bar chart.Matthew Somerville2017-12-15-10/+3
|/ | | | | | The summary page calls generate_grouped_data, which requires state_map in order to sort the states appropriately, so generate it there rather than earlier.
* Merge branch 'issues/forcouncils/939-new-chart-marketing-dashboard'Matthew Somerville2017-12-15-106/+265
|\
| * [fixmystreet.com] CSV download from marketing pageStruan Donald2017-12-15-63/+138
| | | | | | | | | | | | Limited to most recent 100 rows and not full data. Factor the two CSV generations together.
| * [fixmystreet.com] Council average response time.Struan Donald2017-12-15-24/+40
| |
| * [fixmystreet.com] Marketing page, filterable statsStruan Donald2017-12-15-19/+87
| | | | | | | | | | Uses the dashboard stats code to display a rough table of stats which can be used as the basis for a chart later