Commit message (Collapse) | Author | Age | Lines | ||
---|---|---|---|---|---|
... | |||||
| * | | Allow users with permission to see update username | pezholio | 2017-01-17 | -2/+28 | |
| |/ | |||||
* | | Merge branch 'listshort' | Matthew Somerville | 2017-01-12 | -2/+2 | |
|\ \ | |/ |/| | |||||
| * | Add shortlist buttons to report lists. | Matthew Somerville | 2017-01-12 | -2/+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. | ||||
* | | Move staging flags to their own config variable. | Matthew Somerville | 2017-01-10 | -4/+4 | |
|/ | |||||
* | Fix bad cross-year test. | Matthew Somerville | 2017-01-03 | -1/+5 | |
| | | | | Make sure the tested date is in the same year as current. | ||||
* | Merge branch 'issues/forcouncils/20-offline-inspecting' | Matthew Somerville | 2016-12-16 | -6/+13 | |
|\ | |||||
| * | Default inspect form to save with public update. | Matthew Somerville | 2016-12-16 | -2/+2 | |
| | | |||||
| * | Return 400/500 for some client/server errors. | Matthew Somerville | 2016-12-16 | -4/+11 | |
| | | |||||
* | | Fix flagging wording template link. | Matthew Somerville | 2016-12-16 | -1/+1 | |
| | | | | | | | | | | | | f58ce6c4 changed the base contact template to include a link to a fixmystreet.com specific page. Revert this back and make the change in the correct cobrand only. | ||||
* | | Merge branch 'issues/forcouncils/108-pick-up-a-priority' | Matthew Somerville | 2016-12-15 | -2/+2 | |
|\ \ | |/ |/| | |||||
| * | Update priorities in inspect form on cat. change. | Matthew Somerville | 2016-12-15 | -2/+2 | |
| | | | | | | | | | | Different categories may have a different list of priorities, so store them all and update as the category changes. | ||||
* | | Make it clearer that report is closed when marked as duplicate | Dave Arter | 2016-12-13 | -8/+42 | |
| | | | | | | | | | | | | - Record state change when leaving update and marking as duplicate - Change save button wording to match problem state when inspecting - Make it clearer that updates marking a report as duplicate actually close the report | ||||
* | | Signpost users to original version of duplicate reports | Dave Arter | 2016-12-13 | -24/+26 | |
| | | | | | | | | This stops updates being left on duplicates. | ||||
* | | If a problem has duplicates, display them on its detail page | Dave Arter | 2016-12-13 | -1/+16 | |
| | | |||||
* | | Add test for correct display of duplicate report | Dave Arter | 2016-12-13 | -0/+19 | |
|/ | |||||
* | [Zurich] Fix 500 error when editing superusers | Dave Arter | 2016-12-06 | -1/+20 | |
| | | | | | | | | | | | | The Zurich::admin_type function was setting $c->stash->{body}, meaning that when trying to edit a superuser the 'fetch_contacts' function wasn't being called, causing an "Can't call method "all" on an undefined value" error as $c->stash->{live_contacts} wasn't ever being set. Fixed by changing the conditional to simply determine whether fetch_contacts needs to be called. Included a regression test that meant a small addition to the MapItZurich mock. | ||||
* | Update wording on flagging unsuitable reports. | Matthew Somerville | 2016-11-25 | -1/+1 | |
| | |||||
* | Pass test if NXDOMAINs are intercepted. | Matthew Somerville | 2016-11-24 | -0/+8 | |
| | | | | | Mock out the DNS lookup to fail, in case the test is being run somewhere where the ISP hijacks NXDOMAIN results and redirects them elsewhere. | ||||
* | Pre-filter map pages if user has categories assigned | Dave Arter | 2016-10-31 | -0/+17 | |
| | | | | | This pre-filters the 'all reports' link in the main nav and the /around page reached via the front page postcode form | ||||
* | Error if logged-in user visits admin without permission. | Matthew Somerville | 2016-10-26 | -16/+10 | |
| | | | | | This is less confusing than redirecting to /auth and then to /my (as they're logged in). Fixes #1566. | ||||
* | Redirect to correct cobrand when category changed. | Dave Arter | 2016-10-26 | -1/+35 | |
| | |||||
* | Resend report if changing category changes body. | Dave Arter | 2016-10-26 | -10/+44 | |
| | |||||
* | Merge branch 'issues/forcouncils/67-mop-up' | Matthew Somerville | 2016-10-24 | -1/+1 | |
|\ | |||||
| * | Fix warning in report inspect test. | Matthew Somerville | 2016-10-24 | -1/+1 | |
| | | |||||
* | | Have report page show inspect form if available. | Matthew Somerville | 2016-10-24 | -10/+13 | |
|/ | |||||
* | Merge branch 'issues/forcouncils/100-fix-template-list' | Matthew Somerville | 2016-10-20 | -0/+14 | |
|\ | |||||
| * | Fix list of response templates for a problem. | Matthew Somerville | 2016-10-20 | -0/+14 | |
| | | | | | | | | | | Instead of returning all templates for the problem's body, return those for the problem's category (or with no category). | ||||
* | | Add ‘description’ field to ResponsePriority model | Dave Arter | 2016-10-19 | -0/+2 | |
|/ | | | | 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 | -1/+1 | |
|\ | |||||
| * | Allow multiple selections in report list filter. | Zarino Zappia | 2016-10-13 | -1/+1 | |
| | | | | | | | | | | | | 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. | ||||
* | | Adding report to shortlist removes from others. | Matthew Somerville | 2016-10-11 | -0/+14 | |
| | | |||||
* | | Fix bug in fetching existing shortlisted report. | Matthew Somerville | 2016-10-11 | -0/+4 | |
|/ | | | | | It would always create a new report rather than return an existing one, if present. | ||||
* | Merge branch 'issues/forcouncils/36-mobile-inspector-improvements' | Matthew Somerville | 2016-10-04 | -35/+11 | |
|\ | |||||
| * | Add .btn and .form-control classes to inputs | Zarino Zappia | 2016-10-04 | -1/+1 | |
| | | |||||
| * | Remove separate “Public update” form section | Zarino Zappia | 2016-10-04 | -2/+2 | |
| | | | | | | | | | | | | Inspectors can now tick the optional “Save with a public update” checkbox, to reveal the “Public update” textarea. This means there is no longer a need for two separate submit buttons. | ||||
| * | Restructure Inspect form into logical sections | Zarino Zappia | 2016-10-04 | -3/+3 | |
| | | | | | | | | | | | | | | | | IDs and locations at the top, then location-related actions (including a new “navigate to this problem” button), then status and category inputs (since these can have an effect on how we display the rest of the form), then any status/category-related inputs, and finally inputs for internal details like priority and traffic management. | ||||
| * | Factor out contains_or_lacks test function. | Matthew Somerville | 2016-09-29 | -22/+6 | |
| | | |||||
* | | Include CORS cross-origin header in RSS output. | Matthew Somerville | 2016-09-27 | -0/+1 | |
| | | |||||
* | | Update user reputation when inspecting report | Dave Arter | 2016-09-23 | -2/+28 | |
| | | |||||
* | | Send reports immediately from users with enough reputation | Dave Arter | 2016-09-23 | -0/+32 | |
|/ | |||||
* | Merge branch 'issues/forcouncils/7-custom-open311-attributes' | Matthew Somerville | 2016-09-20 | -2/+2 | |
|\ | |||||
| * | New .form-control class for simpler input styling | Zarino Zappia | 2016-09-20 | -2/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | Form input styling is mostly left up to the browser default now. A custom border, drop-shadow, and border-radius can be applied by adding the `.form-control` class, which standardizes the appearance of inputs, selects, and textareas. The core reporting form, authentication forms, local alert forms, contact form, and questionnaire form have all been updated to use the new `.form-control` class. | ||||
* | | Merge remote-tracking branch ↵ | Matthew Somerville | 2016-09-20 | -5/+5 | |
|\ \ | | | | | | | | | | 'origin/issues/forcouncils/89-tidy-report-admin-actions' | ||||
| * | | Organize report admin actions into single control. | Zarino Zappia | 2016-09-20 | -5/+5 | |
| | | | | | | | | | | | | | | | | | | | | | | | | As part of this, rename "planned reports" to "shortlist". The `.segmented-control` component now supports basic usage (as in the admin report actions menu bar) and usage with hidden radio inputs and labels (as on the report questionnaire page). | ||||
* | | | Merge branch '1529-cobrand-testing' | Matthew Somerville | 2016-09-20 | -0/+70 | |
|\ \ \ | |||||
| * | | | Some tests for the Util modules. | Matthew Somerville | 2016-09-20 | -0/+70 | |
| |/ / | |||||
* / / | Add ‘trusted’ flag allowing users to make reports directly | Dave Arter | 2016-09-20 | -0/+21 | |
|/ / | | | | | | | | | When a trusted user makes a report in a category that requires inspection, it'll be sent immediately (i.e. without being inspected first). | ||||
* / | Update contact success message text. | Matthew Somerville | 2016-09-14 | -2/+2 | |
|/ | |||||
* | Require inspector to provide update when instructing report | Dave Arter | 2016-09-12 | -0/+22 | |
| | | | | | | | This adds an update field to the bottom of the inspect form, requiring the inspector to provide an update to be added to the report as it's sent. See mysociety/fixmystreetforcouncils#64 | ||||
* | Add new category_edit restriction for viewing body admin. | Matthew Somerville | 2016-09-09 | -122/+29 | |
| |