Commit message (Collapse) | Author | Age | Lines | ||
---|---|---|---|---|---|
... | |||||
* | send unresponsive details back with category extras | Struan Donald | 2018-06-20 | -0/+6 | |
| | | | | | | | This allows the mobile app to explicitly detect when a body is unresponsive and display the category_extra text. For mysociety/fixmystreet-mobile#266 | ||||
* | Merge branch 'issues/commercial/1064-main-road-br5' | Matthew Somerville | 2018-06-20 | -3/+0 | |
|\ | |||||
| * | [Bromley] Deal with partial postcodes in search. | Matthew Somerville | 2018-06-20 | -3/+0 | |
| | | |||||
* | | cobrand hook to deny access to pages | Struan Donald | 2018-06-19 | -0/+15 | |
|/ | | | | | | | Add a check in the root controller `auto` to a cobrand hook that denies access if it returns true. This goes here so that cobrands and users are set up, which is not the case for `check_login_required`. Used to do things like deny site access unless the user is a superuser. | ||||
* | Merge branch 'issues/commercial/1038-bromley-tfl-direct' | Matthew Somerville | 2018-06-14 | -3/+3 | |
|\ | |||||
| * | If single_body_only set, skip contact body check. | Matthew Somerville | 2018-06-14 | -3/+3 | |
| | | | | | | | | This assumes the SendReport code will deal with the issue. | ||||
* | | Use correct created column in problem timeline. | Matthew Somerville | 2018-06-13 | -0/+4 | |
|/ | | | | The User model now also has a created column. | ||||
* | include automated field when editing contacts | Struan Donald | 2018-06-11 | -0/+56 | |
| | | | | | | | | Display fields that are automatically filled in the contact editing form otherwise the data is lost. Also include the automated field in the form. Fixes #2136 | ||||
* | error on bad update ids passed to contact form | Struan Donald | 2018-06-05 | -6/+60 | |
| | | | | | Return an error if an id for either a hidden update or one not associated with the problem id is passed to the contact form. | ||||
* | Add admin tickbox to close report to updates. | Matthew Somerville | 2018-05-23 | -2/+44 | |
| | |||||
* | 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 | |
|/ | |||||
* | Provide API key to MapIt proxy if present. | Matthew Somerville | 2018-04-12 | -0/+13 | |
| | |||||
* | 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 | |
| | | |||||
* | | [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! | ||||
* | 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 | |
| | |