Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | Add is_in_progress Problem helper. | Matthew Somerville | 2017-03-10 | -0/+10 |
| | ||||
* | Refactor SendReport::Open311 to use cobrand hooks. | Matthew Somerville | 2017-03-09 | -3/+16 |
| | | | | | | | | | | | | | | Avoid doing cobrand-specific logic within SendReport::Open311. The hooks defined are: open311_config: set extra fields open311_pre_send: set endpoints and munge data These are tested in the new t/app/sendreport/open311.t, which does not send any actual reports, but just checks that all the data is munged into the expected format. (tests under t/open311* should already test the actual sending) Remove unused Open311 special cases. | |||
* | [Oxfordshire] Use 'days ago' format on problem lists | pezholio | 2017-02-27 | -0/+14 |
| | | | | Fixes mysociety/fixmystreetforcouncils#98 | |||
* | [Oxfordshire] Add Exor RDI file download feature | Dave Arter | 2017-02-15 | -0/+9 |
| | | | | | | | | | | The RDI file format encapsulates information about inspections that have taken place, and can be uploaded into Exor to create defects in bulk. This commit adds a page to the Oxfordshire cobrand's admin allowing RDI files to be generated and downloaded from FMS. For mysociety/fixmystreetforcouncils#127 | |||
* | Add external_id field to ResponsePriority for use with Exor | Dave Arter | 2017-02-15 | -2/+4 |
| | ||||
* | Add cobrand call_hook fn, calls a fn if defined. | Matthew Somerville | 2017-02-15 | -14/+5 |
| | ||||
* | Add Problem->tokenised_url for logging user in | pezholio | 2017-02-15 | -0/+26 |
| | | | | | | This method creates a token that logs the reporting user in, optionally with some parameters which are stored with the token for use when redirecting after login. | |||
* | Add Problem->time_ago for pretty-printed duration | pezholio | 2017-02-15 | -0/+14 |
| | ||||
* | [Oxfordshire] Allow cobrand-specific traffic management options | Dave Arter | 2017-02-08 | -0/+13 |
| | | | | Fixes mysociety/fixmystreetforcouncils#159 | |||
* | Fix crash on reports with empty bodies_str | Dave Arter | 2017-02-07 | -1/+4 |
| | ||||
* | [Greenwich] Add a badge to official status updates | rbg-joe | 2017-02-06 | -0/+2 |
| | | | | | | | | | Adding an official badge to Greenwich updates so as to avoid exchanges in which public contributions are mistaken for official ones. As per the Bromley version e.g. https://fix.bromley.gov.uk/report/973784 - this helps to avoid situations where public contributions are mistaken for official ones. | |||
* | Merge branch 'version-2.0.2'v2.0.2 | Matthew Somerville | 2017-02-03 | -4/+2 |
|\ | ||||
| * | Show ‘unable to fix’ state as ‘no further action’. | Dave Arter | 2017-02-02 | -4/+2 |
| | | | | | | | | Bromley had this already in its update state change messages. | |||
* | | Add a 'closest_address' hidden Open311 attribute. | Matthew Somerville | 2017-02-03 | -1/+1 |
|/ | | | | This joins easting, northing and an external ID field. | |||
* | No need to translate this string at present. | Matthew Somerville | 2017-01-21 | -1/+1 |
| | ||||
* | Merge remote-tracking branch ↵ | pezholio | 2017-01-17 | -4/+12 |
|\ | | | | | | | 'origin/issues/forcouncils/136-show-user-details-for-council-report' | |||
| * | Show user details for users with correct permissions | pezholio | 2017-01-17 | -4/+12 |
| | | ||||
* | | Merge remote-tracking branch ↵ | pezholio | 2017-01-17 | -1/+87 |
|\ \ | | | | | | | | | | 'origin/issues/forcouncils/142-allow-anonymous-council-updates' | |||
| * | | Allow users with permission to see update username | pezholio | 2017-01-17 | -1/+5 |
| | | | ||||
| * | | Refactor updates metadata output into model | pezholio | 2017-01-17 | -1/+83 |
| |/ | ||||
* | | Merge branch 'listshort' | Matthew Somerville | 2017-01-12 | -0/+2 |
|\ \ | |/ |/| | ||||
| * | Add shortlist buttons to report lists. | Matthew Somerville | 2017-01-12 | -0/+2 |
| | | | | | | | | | | | | | | This includes adding/removing reports from a user's shortlist, and manual reordering of a shortlist with up/down buttons. The backend code can cope with an item moving to any point in the list. | |||
* | | Update has_body_permission_to to allow superusers. | Matthew Somerville | 2017-01-10 | -6/+9 |
|/ | ||||
* | Add ‘state’ field to ResponseTemplate model | Dave Arter | 2017-01-10 | -2/+4 |
| | ||||
* | Only load user body permissions once per request. | Matthew Somerville | 2016-12-16 | -8/+16 |
| | | | | This should help if a template uses has_permission_to a lot. | |||
* | Merge branch 'issues/forcouncils/108-pick-up-a-priority' | Matthew Somerville | 2016-12-15 | -11/+24 |
|\ | ||||
| * | Update priorities in inspect form on cat. change. | Matthew Somerville | 2016-12-15 | -10/+23 |
| | | | | | | | | | | Different categories may have a different list of priorities, so store them all and update as the category changes. | |||
| * | Fail in has_permission_to if given an empty arrayref. | Matthew Somerville | 2016-12-13 | -1/+1 |
| | | ||||
* | | Display nearby candidate reports when marking as duplicate | Dave Arter | 2016-12-13 | -0/+1 |
| | | | | | | | | | | | | | | | | - Use Problem->pin_data for single report page - Promote markers_highlight to fixmystreet.maps API We want to highlight map pins on the duplicate report selection UI, so let's use what's already there instead of writing something new. - Make sure duplicate report pins aren’t draggable | |||
* | | If a problem has duplicates, display them on its detail page | Dave Arter | 2016-12-13 | -0/+12 |
| | | ||||
* | | Add test for correct display of duplicate report | Dave Arter | 2016-12-13 | -2/+3 |
| | | ||||
* | | Store and display selected duplicate report | Dave Arter | 2016-12-13 | -0/+11 |
|/ | ||||
* | Always return arrayref from bodies_str_ids. | Matthew Somerville | 2016-11-29 | -1/+1 |
| | | | | Prevents potential odd-element hash in e.g. response_priorities. | |||
* | Merge branch 'issues/forcouncils/99-sorting' | Matthew Somerville | 2016-11-04 | -11/+23 |
|\ | ||||
| * | Add sort order options to list pages. | Matthew Somerville | 2016-11-04 | -11/+23 |
| | | | | | | | | | | | | | | | | Includes newest, oldest, least/most recently updated, and most comments. The default remains the same, which is last updated on /reports, and newest on /my and /around (the latter plus not-in-view sorted-by-distance ones). | |||
* | | Merge branch 'issues/forcouncils/116-inspect-show-bug' | Matthew Somerville | 2016-11-04 | -4/+2 |
|\ \ | |/ |/| | ||||
| * | Only return active shortlisted user for a problem. | Matthew Somerville | 2016-10-28 | -4/+2 |
| | | ||||
* | | Pre-filter map pages if user has categories assigned | Dave Arter | 2016-10-31 | -0/+15 |
|/ | | | | | This pre-filters the 'all reports' link in the main nav and the /around page reached via the front page postcode form | |||
* | Merge branch 'issues/forcouncils/100-fix-template-list' | Matthew Somerville | 2016-10-20 | -4/+6 |
|\ | ||||
| * | Fix list of response templates for a problem. | Matthew Somerville | 2016-10-20 | -4/+6 |
| | | | | | | | | | | Instead of returning all templates for the problem's body, return those for the problem's category (or with no category). | |||
* | | Clarify category behaviour for response priorities | Dave Arter | 2016-10-19 | -1/+1 |
| | | | | | | | | | | - Priorities with no categories selected are available to all categories - Display active categories in response priorities table | |||
* | | Add ‘description’ field to ResponsePriority model | Dave Arter | 2016-10-19 | -2/+4 |
|/ | | | | Used internally to provide more details about when a priority is applicable. | |||
* | Merge branch 'issues/forcouncils/95-multi-select-list-filters' | Matthew Somerville | 2016-10-13 | -4/+4 |
|\ | ||||
| * | Allow multiple selections in report list filter. | Zarino Zappia | 2016-10-13 | -4/+4 |
| | | | | | | | | | | | | This lets people filter by multiple categories or states. It uses our jQuery multi-select plugin to turn the <select multiple>s into little overlay lists of checkboxes. HTML5 history is also supported. | |||
* | | Show shortlist owner on report page. | Matthew Somerville | 2016-10-11 | -0/+12 |
| | | ||||
* | | Adding report to shortlist removes from others. | Matthew Somerville | 2016-10-11 | -5/+33 |
| | | ||||
* | | Fix bug in fetching existing shortlisted report. | Matthew Somerville | 2016-10-11 | -1/+1 |
|/ | | | | | It would always create a new report rather than return an existing one, if present. | |||
* | Update user reputation when inspecting report | Dave Arter | 2016-09-23 | -0/+8 |
| | ||||
* | Add 'extra' field to User model | Dave Arter | 2016-09-23 | -6/+14 |
| | ||||
* | Merge remote-tracking branch ↵ | Matthew Somerville | 2016-09-20 | -1/+1 |
|\ | | | | | | | 'origin/issues/forcouncils/89-tidy-report-admin-actions' |