Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | [Zurich] Prefetch report users, cache body lookups | Matthew Somerville | 2018-03-19 | -2/+6 |
| | ||||
* | Pass columns CSV needs into Problem->as_hashref. | Matthew Somerville | 2018-03-19 | -21/+16 |
| | | | | Then it can skip working out some things as they are not needed. | |||
* | Fix disappearing large-width visited navigation. | Matthew Somerville | 2018-03-19 | -0/+3 |
| | | | | The change to base in fc172603 affected the layout display. | |||
* | Add browser testing symlink to `t` directory. | Matthew Somerville | 2018-03-19 | -0/+1 |
| | ||||
* | [Zurich] Make sure fixed states are translated. | Matthew Somerville | 2018-03-19 | -2/+2 |
| | | | | The code now uses this translation as the hard-coded way was removed. | |||
* | Merge branch '2023-bad-open311-dates' | Matthew Somerville | 2018-03-16 | -4/+18 |
|\ | ||||
| * | Truncate dates in Open311 output to the second. | Matthew Somerville | 2018-03-15 | -4/+18 |
| | | | | | | | | This fixes #2023 by removing the comma. | |||
* | | Merge branch 'rutland-integration' | Struan Donald | 2018-03-15 | -41/+1043 |
|\ \ | ||||
| * | | permit blank updates to be fetched over Open311 | Struan Donald | 2018-03-15 | -2/+81 |
| | | | | | | | | | | | | | | | Add a per body configuration option to allow Open311 updates to contain only a status change, rather than emitting a warning when this happens. | |||
| * | | Deal with 'automated' Open311 service attributes. | Struan Donald | 2018-03-15 | -5/+100 |
| | | | | | | | | | | | | | | | | | | This is part of the integration with our open311-adapter. The automated property indicates that it's an expected value but either it's going to be set by the server, or appear as a hidden field. | |||
| * | | send multiple photos over open311 | Struan Donald | 2018-03-15 | -1/+93 |
| | | | | | | | | | | | | | | | | | | | | | | | | Per cobrand configurable option to send multiple photos over open311 instead of just a single one. Does this by sending multiple media_url parameters in the POST body. The default remains to send the first photo associated with a report. | |||
| * | | [Rutland] cobrand files for Rutland | Struan Donald | 2018-03-15 | -0/+199 |
| | | | | | | | | | | | | | | | Web and email template changes, CSS plus cobrand file with open311 config | |||
| * | | fetch new problems over open311 | Struan Donald | 2018-03-15 | -35/+572 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This enables the display of existing reports from the back end on FMS if the body is configured to do this. Reports will not be created if they are missing an id, a lat or a long, if the lat/long is outside the area covered by the body, if there is already a report with a matching id, or if we can't parse out the request time. | |||
* | | | [Zurich] Fix typo causing crash on /report/ajax | Dave Arter | 2018-03-15 | -1/+10 |
| | | | ||||
* | | | Fix JSON-encoding crash on /report/ajax | Dave Arter | 2018-03-15 | -1/+13 |
|/ / | ||||
* | | Merge branch 'add-cypress' | Matthew Somerville | 2018-03-15 | -49/+272 |
|\ \ | ||||
| * | | Add Cypress testing. | Matthew Somerville | 2018-03-15 | -44/+270 |
| | | | ||||
| * | | Remove need for List::MoreUtils from setenv.pl | Matthew Somerville | 2018-03-15 | -5/+2 |
| | | | ||||
* | | | Display ‘pick an option’ placeholder for report extra dropdowns | Dave Arter | 2018-03-14 | -2/+5 |
| | | | ||||
* | | | Prevent override of mobile nav visited links. | Matthew Somerville | 2018-03-14 | -0/+3 |
| | | | ||||
* | | | Fix broken map when logging to /report/new with active asset layers | Dave Arter | 2018-03-14 | -36/+44 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The event handlers for category changing were being added too early, before fixmystreet.map had been created. For cobrands with category grouping enabled this was causing a crash in the JS because the grouping code emits a category change event during its setup (which runs between fixmystreet.assets.add and .assets.init). This commit adds the event handlers for each layer during fixmystreet.assets.init - at point at which fixmystreet.map has been set up. Also extracts the code for initing each layer into its own function for clarity. | |||
* | | | Allow searching for user reports if you have the user_edit permission | Dave Arter | 2018-03-14 | -3/+13 |
| | | | | | | | | | | | | | | | This allows users (e.g. customer service staff) to search for a user's reports in the admin without being able to edit them. | |||
* | | | Preserve category extra values when form fields are reloaded | Dave Arter | 2018-03-14 | -0/+4 |
|/ / | | | | | | | | | This commit re-sets the values of any form inputs when the category extra elements are reloaded, e.g. when the category is changed. | |||
* | | Merge branch 'issues/commercial/987-zurich-csv-updates' | Matthew Somerville | 2018-03-14 | -929/+756 |
|\ \ | ||||
| * | | [Zurich] Switch to more modern database states. | Matthew Somerville | 2018-03-07 | -295/+263 |
| | | | | | | | | | | | | | | | | | | | | | 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] Fix display of deleted categories in admin. | Matthew Somerville | 2018-03-07 | -5/+5 |
| | | | ||||
| * | | [Zurich] Let SDM view awaiting reports. | Matthew Somerville | 2018-03-07 | -10/+21 |
| | | | ||||
| * | | [Zurich] Make wish state publicly visible. | Matthew Somerville | 2018-03-07 | -20/+18 |
| | | | ||||
| * | | [Zurich] Add abbreviation option to contacts. | Matthew Somerville | 2018-03-06 | -8/+25 |
| | | | ||||
| * | | Add a way to store extra cobrand data on contacts. | Matthew Somerville | 2018-03-06 | -0/+10 |
| | | | ||||
| * | | Remove category_options_copy. | Matthew Somerville | 2018-03-06 | -4/+10 |
| | | | | | | | | | | | | | | | | | | | | | | | | This variable existed to keep a copy of the categories before it was overwritten by report_edit_location (if a bad location was provided) calling the variable setup functions again. But really, the function shouldn't be overwriting the stash, it's only testing the lookup and so should restore the stash at its end. | |||
| * | | [Zurich] Factor two admin category forms together. | Matthew Somerville | 2018-03-06 | -28/+18 |
| | | | ||||
| * | | [Zurich] Add fixture script. | Matthew Somerville | 2018-03-06 | -441/+254 |
| | | | | | | | | | | | | Remove old unused setup-contacts code, superceded by fixtures. | |||
| * | | [Zurich] Admin stats/CSV per category. | Matthew Somerville | 2018-03-06 | -22/+49 |
| | | | | | | | | | | | | Adapt look of default dashboard filtering. | |||
| * | | [Zurich] Include user email/phone/name in CSV export. | Matthew Somerville | 2018-03-05 | -2/+7 |
| | | | ||||
| * | | [Zurich] Refactor to use same CSV generation code. | Matthew Somerville | 2018-03-05 | -111/+93 |
| | | | ||||
* | | | Merge branch 'js-event-handling' | Matthew Somerville | 2018-03-14 | -79/+80 |
|\ \ \ | ||||
| * | | | Update some tight JS coupling to use events. | Matthew Somerville | 2018-03-13 | -72/+72 |
| | | | | | | | | | | | | | | | | Remove 'hooks' functions, and Split out USRN handling to its own object. | |||
| * | | | Minor refactor of assets object. | Matthew Somerville | 2018-03-13 | -7/+8 |
| | |/ | |/| | ||||
* | | | Merge branch 'warks-email-archive' | Matthew Somerville | 2018-03-14 | -20/+66 |
|\ \ \ | |/ / |/| | | ||||
| * | | [Warwickshire] Add archive script data. | Matthew Somerville | 2018-03-14 | -20/+66 |
| | | | | | | | | | | | | Add an update with each report closure. | |||
* | | | Show default start date on dashboard. | Matthew Somerville | 2018-03-13 | -24/+12 |
|/ / | | | | | | | This makes it clearer what is being shown. | |||
* | | Revert using a Devel::Cover::Report::Codecov fork. | Matthew Somerville | 2018-03-12 | -1/+1 |
| | | | | | | | | | | Our fork was merged upstream. This reverts commit 77d4d709. | |||
* | | Autofocus on 2FA input field. | Matthew Somerville | 2018-03-12 | -1/+1 |
| | | ||||
* | | Monitor whole conf directory in dev server | Matthew Somerville | 2018-03-07 | -1/+1 |
|/ | | | | | When running on a Mac, the dev server only watches changes to directories, not files. | |||
* | Merge branch 'issues/commercial/974-closed-report-incorrectly-reopened' | Matthew Somerville | 2018-03-02 | -4/+8 |
|\ | ||||
| * | [Zurich] Do not reopen closed reports by mistake. | Matthew Somerville | 2018-03-02 | -4/+6 |
| | | | | | | | | | | 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. | |||
* | | Merge branch 'issues/commercial/1007-zurich-planned-hidden-reports' | Matthew Somerville | 2018-03-02 | -59/+47 |
|\ \ | ||||
| * | | [Zurich] Fix admin nav display on map pages. | Matthew Somerville | 2018-03-02 | -21/+1 |
| | | | | | | | | | | | | Plus remove some now-unneeded CSS. | |||
| * | | Fix post-edit issues on admin report edit page. | Matthew Somerville | 2018-03-02 | -34/+37 |
| | | | | | | | | | | | | | | | 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. |