Commit message (Collapse) | Author | Age | Lines | ||
---|---|---|---|---|---|
... | |||||
* | | Display ‘pick an option’ placeholder for report extra dropdowns | Dave Arter | 2018-03-14 | -2/+3 | |
| | | |||||
* | | Merge branch 'issues/commercial/987-zurich-csv-updates' | Matthew Somerville | 2018-03-14 | -127/+111 | |
|\ \ | |||||
| * | | [Zurich] Switch to more modern database states. | Matthew Somerville | 2018-03-07 | -127/+102 | |
| | | | | | | | | | | | | | | | | | | | | | The Zurich code was written a long time ago, and used overriding so that e.g. the hard-coded 'investigating' state referred to Wunsch (wish). Now that states are stored in the database, we can create ones specially for Zurich and use them instead. Hooray! | ||||
| * | | [Zurich] Let SDM view awaiting reports. | Matthew Somerville | 2018-03-07 | -0/+6 | |
| | | | |||||
| * | | [Zurich] Make wish state publicly visible. | Matthew Somerville | 2018-03-07 | -0/+3 | |
| |/ | |||||
* / | [Warwickshire] Add archive script data. | Matthew Somerville | 2018-03-14 | -5/+11 | |
|/ | | | | Add an update with each report closure. | ||||
* | Merge branch 'issues/commercial/974-closed-report-incorrectly-reopened' | Matthew Somerville | 2018-03-02 | -0/+5 | |
|\ | |||||
| * | [Zurich] Do not reopen closed reports by mistake. | Matthew Somerville | 2018-03-02 | -0/+3 | |
| | | | | | | | | | | The code for moving a report to the intermediary state was running even if the report was in a closed state and had not been changed. | ||||
* | | Fix post-edit issues on admin report edit page. | Matthew Somerville | 2018-03-02 | -0/+4 | |
| | | | | | | | | | | If you rotated a photo, updates and the category list weren't loaded. If you changed a report's state, the map pin colour was derived from the old state. | ||||
* | | [Zurich] Show to-be-hidden reports until confirmed | Matthew Somerville | 2018-03-02 | -2/+4 | |
|/ | |||||
* | Add development email previewer. | Matthew Somerville | 2018-03-01 | -0/+33 | |
| | |||||
* | [UK] Improve Open311 update Bromley-only check. | Matthew Somerville | 2018-02-23 | -1/+1 | |
| | | | | | The addition of e.g. questionnaire_id to an update's extra field means this check has to be more nuanced. | ||||
* | Merge branch '1939-questionnaire-links' | Matthew Somerville | 2018-02-19 | -6/+106 | |
|\ | |||||
| * | Store questionnaire data as soon as opened. | Matthew Somerville | 2018-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 Somerville | 2018-02-16 | -4/+12 | |
| | | |||||
| * | Link update made during questionnaire to it. | Matthew Somerville | 2018-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 Somerville | 2018-02-16 | -2/+2 | |
| | | |||||
| * | Add some /photo and questionnaire update tests. | Matthew Somerville | 2018-02-16 | -3/+61 | |
| | | |||||
* | | [Oxfordshire] Remove response days, add home page message. | Matthew Somerville | 2018-02-15 | -51/+0 | |
| | | |||||
* | | Merge branch 'issues/forcouncils/276-staff-only-reports' | Matthew Somerville | 2018-02-13 | -3/+39 | |
|\ \ | |/ |/| | |||||
| * | Allow inspectors to see/change non_public reports. | Matthew Somerville | 2018-02-09 | -3/+39 | |
| | | |||||
* | | Merge branch 'banes-improvements-grab-bag' | Matthew Somerville | 2018-02-12 | -0/+58 | |
|\ \ | |||||
| * | | Cobrands can pass `components` to Google Geocoder. | Dave Arter | 2018-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 failure | Struan Donald | 2018-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 number | Dave Arter | 2018-02-07 | -7/+66 | |
| | |||||
* | Don’t require SMS_AUTHENTICATION to view/edit user email/phone_verified | Dave Arter | 2018-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 number | Dave Arter | 2018-02-07 | -2/+65 | |
| | |||||
* | Merge branch '2fa-superuser' | Matthew Somerville | 2018-02-07 | -10/+83 | |
|\ | |||||
| * | Allow two-factor to work during creation flow. | Matthew Somerville | 2018-02-07 | -4/+30 | |
| | | |||||
| * | Add two-factor authentication for superusers. | Matthew Somerville | 2018-02-07 | -6/+53 | |
| | | |||||
* | | Merge branch '1944-admin-remove-account' | Matthew Somerville | 2018-02-07 | -6/+28 | |
|\ \ | |||||
| * | | Admin ability to remove user account details. | Matthew Somerville | 2018-02-06 | -0/+16 | |
| | | | |||||
| * | | Add admin ability to log user out. | Matthew Somerville | 2018-02-06 | -6/+12 | |
| |/ | |||||
* | | Merge branch 'password-tests' | Matthew Somerville | 2018-02-06 | -2/+39 | |
|\ \ | |||||
| * | | Add length/common password checking. | Matthew Somerville | 2018-02-06 | -2/+39 | |
| |/ | |||||
* | | Upgrade Number::Phone. | Matthew Somerville | 2018-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 Somerville | 2018-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 Somerville | 2018-01-31 | -1669/+1937 | |
|\ | |||||
| * | Split up admin test file into many separate files. | Matthew Somerville | 2018-01-31 | -1694/+1937 | |
| | | |||||
| * | Admin ability to hide a user's reports/updates. | Matthew Somerville | 2018-01-31 | -1/+14 | |
| | | |||||
| * | Admin ability to make user anonymous. | Matthew Somerville | 2018-01-31 | -0/+12 | |
| | | |||||
* | | Hide 'updates not sent' message on reports sent via Open311 | Dave Arter | 2018-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 Somerville | 2018-01-23 | -9/+0 | |
| | | |||||
* | | Merge branch 'issues/commercial/988-c6-email-address-link' | Matthew Somerville | 2018-01-18 | -61/+33 | |
|\ \ | |/ |/| | |||||
| * | [Zurich] Allow publishing of individual photos. | Matthew Somerville | 2018-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 Somerville | 2018-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 Somerville | 2018-01-15 | -16/+21 | |
|/ | |||||
* | Add some example fixture images. | Matthew Somerville | 2018-01-11 | -0/+0 | |
| | |||||
* | Merge branch 'add-samesite-lax-cookie' | Matthew Somerville | 2018-01-05 | -0/+9 | |
|\ | |||||
| * | Include "SameSite=Lax" with all set cookies. | Matthew Somerville | 2018-01-04 | -0/+9 | |
| | | | | | | | | | | This prevents FixMyStreet cookies from being sent from third-party <img>s and the like, in supporting browsers. |