Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | Merge branch 'user-inactivity' | Matthew Somerville | 2018-05-24 | -2/+58 |
|\ | ||||
| * | Add admin tickbox to close report to updates. | Matthew Somerville | 2018-05-23 | -2/+44 |
| | | ||||
| * | Refactor out some session functions. | Matthew Somerville | 2018-05-23 | -0/+14 |
| | | ||||
* | | Escape data attributes in template. | Matthew Somerville | 2018-05-23 | -39/+28 |
|/ | | | | | | This fixes a bug whereby a double quote in an item would not be JSON-escaped due to being HTML-escaped first, meaning it would not parse as JSON on the client. | |||
* | ajax endpoint to return closest address. | Struan Donald | 2018-05-09 | -1/+3 |
| | | | | | | | | /ajax/closest will return ajax with details of the closest address to the lat/lon passed in from the Bing geocoder. Tidy up find_closest() to use overloaded string rather than passing in whether you want a string or not. | |||
* | Add small test of category groups. | Matthew Somerville | 2018-05-08 | -0/+16 |
| | ||||
* | Remove needless category mappings. | Matthew Somerville | 2018-05-08 | -1/+0 |
| | | | | | Both filter categories and new report category lists went through mappings to different data structures, which doesn't seem to be needed. | |||
* | Merge branch 'collideoscope-anew' | Matthew Somerville | 2018-05-02 | -1/+9 |
|\ | ||||
| * | Allow cobrands to give extra parameters for pins. | Steven Day | 2018-05-02 | -1/+9 |
| | | | | | | | | | | | | | | So that you can build functionality to add extra limitations on to the map pins displayed. Useful for Collideoscope initially to filter out (or in) reports from the Department of Transport's Stats19 Data. | |||
* | | display the contents of report's extra field in admin | Struan Donald | 2018-04-26 | -0/+76 |
|/ | | | | | | | | Instead of just a Yes/No display a formatted list of values in extra. Has special handling for known fields otherwise just prints them out dumbly. Fixes #1809 | |||
* | Merge branch 'collideoscope-anew' | Matthew Somerville | 2018-04-26 | -0/+4 |
|\ | ||||
| * | Have only one bodies_to_list variable. | Matthew Somerville | 2018-04-23 | -0/+1 |
| | | ||||
| * | Add a cobrand hook to table dashboard generation. | Matthew Somerville | 2018-04-23 | -0/+3 |
| | | | | | | | | This allows a cobrand to categorise the reports however it wishes. | |||
* | | Sign up inspector, not creator, on inspection. | Matthew Somerville | 2018-04-25 | -2/+2 |
|/ | ||||
* | Merge branch 'mapit-proxy-api-key' | Matthew Somerville | 2018-04-13 | -0/+13 |
|\ | ||||
| * | Provide API key to MapIt proxy if present. | Matthew Somerville | 2018-04-12 | -0/+13 |
| | | ||||
* | | Don’t send alert emails when archiving old reports | Dave Arter | 2018-04-12 | -0/+35 |
|/ | ||||
* | admin UI to configure fetch_all_problems Open311 option | Struan Donald | 2018-04-11 | -0/+39 |
| | | | | | | UI to update the fetch_all_problems setting in extra for a body. This also adds handling for extra body values in the Admin in a similar manner to the way other body params are handled. | |||
* | Add link to edit current report in admin | Dave Arter | 2018-04-11 | -0/+25 |
| | | | | | | | I find myself wanting to view the current report in the admin all the time - this commit adds a link to the top of the inspector column that goes right there. Only visible for superusers and staff users with permission to actually view the admin. | |||
* | Add test for update name in HTML part of email. | Matthew Somerville | 2018-04-04 | -3/+2 |
| | ||||
* | limit problem body to single body if required | Struan Donald | 2018-04-03 | -2/+23 |
| | | | | | | Add a single_body_only form value to reports that contains the name of the only body to send the problem to. If the name doesn't match any of the valid bodies for the report then send to all. | |||
* | test for multiple bodies for one contact | Struan Donald | 2018-04-03 | -0/+108 |
| | | | | | test to check creating a new report for a category for which there are multiple bodies | |||
* | fix timezone problems with offline inspector comments | Struan Donald | 2018-03-29 | -1/+5 |
| | | | | | | | Comments added offline by an inspector set the time in JavaScript using a UTC epoch. We need to add the FMS timezone to this so it's in the timezone the database expects for timestamps otherwise it's incorrect when we fetch it back out | |||
* | Don’t show empty ‘provide extra detail’ section | Dave Arter | 2018-03-29 | -0/+46 |
| | | | | | | Hides the empty “Help <council> resolve your problem quicker” section of the new report form if report metas for the selected category are all hidden fields. | |||
* | Add external_status_code to ResponseTemplate admin editing forms | Dave Arter | 2018-03-29 | -0/+51 |
| | ||||
* | Store server_set automated, but ignore for input. | Matthew Somerville | 2018-03-21 | -14/+73 |
| | | | | | We do need to store them, so that the sending knows which fields are being requested, but we do not want them output to the client at all. | |||
* | [fixmystreet.com] Add admin page to list refused. | Matthew Somerville | 2018-03-21 | -0/+26 |
| | ||||
* | Store contributed-as data. | Matthew Somerville | 2018-03-20 | -1/+30 |
| | | | | | Store if the report/update was created by someone using the contributed-as dropdown, and use that information to perhaps not send report-sent emails. | |||
* | Merge branch '2023-bad-open311-dates' | Matthew Somerville | 2018-03-16 | -0/+13 |
|\ | ||||
| * | Truncate dates in Open311 output to the second. | Matthew Somerville | 2018-03-15 | -0/+13 |
| | | | | | | | | This fixes #2023 by removing the comma. | |||
* | | Fix JSON-encoding crash on /report/ajax | Dave Arter | 2018-03-15 | -0/+6 |
| | | ||||
* | | 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 | -100/+0 |
|\ \ | ||||
| * | | [Zurich] Switch to more modern database states. | Matthew Somerville | 2018-03-07 | -100/+0 |
| |/ | | | | | | | | | | | | | 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! | |||
* / | [Warwickshire] Add archive script data. | Matthew Somerville | 2018-03-14 | -5/+11 |
|/ | | | | Add an update with each report closure. | |||
* | 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. | |||
* | Add development email previewer. | Matthew Somerville | 2018-03-01 | -0/+33 |
| | ||||
* | 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 |
| | | ||||
* | | Allow inspectors to see/change non_public reports. | Matthew Somerville | 2018-02-09 | -3/+39 |
|/ | ||||
* | 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 |
| | |