aboutsummaryrefslogtreecommitdiffstats
path: root/t
Commit message (Collapse)AuthorAgeLines
* Merge branch '1939-questionnaire-links'Matthew Somerville2018-02-19-6/+106
|\
| * Store questionnaire data as soon as opened.Matthew Somerville2018-02-16-0/+17
| | | | | | | | | | | | 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-4/+12
| |
| * Link update made during questionnaire to it.Matthew Somerville2018-02-16-4/+21
| | | | | | | | | | 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-2/+2
| |
| * Add some /photo and questionnaire update tests.Matthew Somerville2018-02-16-3/+61
| |
* | [Oxfordshire] Remove response days, add home page message.Matthew Somerville2018-02-15-51/+0
| |
* | Merge branch 'issues/forcouncils/276-staff-only-reports'Matthew Somerville2018-02-13-3/+39
|\ \ | |/ |/|
| * Allow inspectors to see/change non_public reports.Matthew Somerville2018-02-09-3/+39
| |
* | Merge branch 'banes-improvements-grab-bag'Matthew Somerville2018-02-12-0/+58
|\ \
| * | Cobrands can pass `components` to Google Geocoder.Dave Arter2018-02-12-0/+58
| |/ | | | | | | | | | | 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
* / prevent timezone related util test failureStruan Donald2018-02-09-1/+3
|/ | | | | | | | Make sure that the prettify_dt tests use the same timezone as FMS otherwise the test can fail if now in the local timezone is actually yesterday/tomorrow in the FMS timezone. Fixes #1984
* Allow updates to be left as another user with phone numberDave Arter2018-02-07-7/+66
|
* Don’t require SMS_AUTHENTICATION to view/edit user email/phone_verifiedDave Arter2018-02-07-0/+14
| | | | | | | Previously this would force phone_verified to false for all user edits, as well as forcing email_verified to true - which would be the wrong thing to do if the user had been created/verified via the ‘report as another user’ flow.
* Allow ‘report as another user’ to only provide a phone numberDave Arter2018-02-07-2/+65
|
* Merge branch '2fa-superuser'Matthew Somerville2018-02-07-10/+83
|\
| * Allow two-factor to work during creation flow.Matthew Somerville2018-02-07-4/+30
| |
| * Add two-factor authentication for superusers.Matthew Somerville2018-02-07-6/+53
| |
* | Merge branch '1944-admin-remove-account'Matthew Somerville2018-02-07-6/+28
|\ \
| * | Admin ability to remove user account details.Matthew Somerville2018-02-06-0/+16
| | |
| * | Add admin ability to log user out.Matthew Somerville2018-02-06-6/+12
| |/
* | Merge branch 'password-tests'Matthew Somerville2018-02-06-2/+39
|\ \
| * | Add length/common password checking.Matthew Somerville2018-02-06-2/+39
| |/
* | Upgrade Number::Phone.Matthew Somerville2018-02-05-3/+3
| | | | | | | | | | This brings in my new format_for_country function which allows for nicer display of phone numbers to people.
* | Ask for current pw/send email on password change.Matthew Somerville2018-02-01-2/+61
|/ | | | | 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-1669/+1937
|\
| * Split up admin test file into many separate files.Matthew Somerville2018-01-31-1694/+1937
| |
| * Admin ability to hide a user's reports/updates.Matthew Somerville2018-01-31-1/+14
| |
| * Admin ability to make user anonymous.Matthew Somerville2018-01-31-0/+12
| |
* | Hide 'updates not sent' message on reports sent via Open311Dave Arter2018-01-23-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-9/+0
| |
* | Merge branch 'issues/commercial/988-c6-email-address-link'Matthew Somerville2018-01-18-61/+33
|\ \ | |/ |/|
| * [Zurich] Allow publishing of individual photos.Matthew Somerville2018-01-18-61/+33
| | | | | | | | | | When more than one photo has been uploaded, allow each one to be published/not independently.
* | Fix error sending `requires_inspection` reports.Matthew Somerville2018-01-16-3/+0
| | | | | | | | | | 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-16/+21
|/
* Add some example fixture images.Matthew Somerville2018-01-11-0/+0
|
* Merge branch 'add-samesite-lax-cookie'Matthew Somerville2018-01-05-0/+9
|\
| * Include "SameSite=Lax" with all set cookies.Matthew Somerville2018-01-04-0/+9
| | | | | | | | | | 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-5/+16
|/ | | | The list of existing categories wasn't being checked correctly.
* Fix spelling of administrator.Matthew Somerville2017-12-15-2/+2
|
* Merge branch 'issues/forcouncils/939-new-chart-marketing-dashboard'Matthew Somerville2017-12-15-43/+84
|\
| * [fixmystreet.com] CSV download from marketing pageStruan Donald2017-12-15-42/+84
| | | | | | | | | | | | Limited to most recent 100 rows and not full data. Factor the two CSV generations together.
| * [fixmystreet.com] Marketing page, filterable statsStruan Donald2017-12-15-1/+0
| | | | | | | | | | Uses the dashboard stats code to display a rough table of stats which can be used as the basis for a chart later
* | Merge branch 'yodenuncio'Matthew Somerville2017-12-13-0/+61
|\ \ | |/ |/|
| * Bypass /around from postcode form if required.Dave Arter2017-12-13-0/+61
| | | | | | | | | | | | | | | | | | | | Cobrands can provide a `skip_around_page` method which means the user will be taken from the front page form directly to /report/new with a pin in the map at the location entered. This also preserves the category parameter, if specified on the front page form. Fixes #1730.
* | [UK] Make sure jQuery is loaded where it is neededMatthew Somerville2017-12-12-1/+1
|/ | | | | | | Bromley uses jQuery for its A-Z on all pages; only load Bristol map JavaScript on map pages (same as Angus); drop Oxfordshire JS use of jQuery; fix Zurich load order; and improve jQuery checking in other JavaScript.
* Ensure Mock::Nominatim JSON is encoded in en-gb localeDave Arter2017-12-05-1/+3
| | | | | This was causing an error in "Test ajax decimal points" in fixamingata.t due to "importance" being encoded with a comma decimal separator.
* Store group on Contacts in Open311 PopulateServiceListDave Arter2017-12-05-0/+9
|
* Only allow one auto-response template per category/state.Dave Arter2017-12-04-5/+107
|
* Use response template for Open311 updates without ‘description’ textDave Arter2017-12-04-3/+27
| | | | | | | If an Open311 service request update with an empty description field is received and there is a matching ResponseTemplate for the problem's category & state (and it's marked as auto-response) then the text from that ResponseTemplate will be used for the created update.