aboutsummaryrefslogtreecommitdiffstats
path: root/perllib
Commit message (Collapse)AuthorAgeLines
* Merge branch 'issues/forcouncils/108-pick-up-a-priority'Matthew Somerville2016-12-15-15/+51
|\
| * Update priorities in inspect form on cat. change.Matthew Somerville2016-12-15-14/+50
| | | | | | | | | | 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 Somerville2016-12-13-1/+1
| |
* | Make it clearer that report is closed when marked as duplicateDave Arter2016-12-13-0/+7
| | | | | | | | | | | | - 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
* | Display nearby candidate reports when marking as duplicateDave Arter2016-12-13-9/+12
| | | | | | | | | | | | | | | | - 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 pageDave Arter2016-12-13-0/+12
| |
* | Use nearby problems for duplicate suggestions instead of bounding box of mapDave Arter2016-12-13-0/+26
| |
* | Add test for correct display of duplicate reportDave Arter2016-12-13-2/+6
| |
* | Store and display selected duplicate reportDave Arter2016-12-13-1/+12
|/
* [Zurich] Fix 500 error when editing superusersDave Arter2016-12-06-1/+1
| | | | | | | | | | | | 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.
* Better path for showing config git version.Matthew Somerville2016-12-02-1/+1
| | | | | | The default cobrand does not have a template directory, so the directory change to it was not working. Use the root directory of the repository instead.
* Update problem lastupdate column on inspect save.Matthew Somerville2016-12-02-0/+1
|
* Always return arrayref from bodies_str_ids.Matthew Somerville2016-11-29-1/+1
| | | | Prevents potential odd-element hash in e.g. response_priorities.
* [UK] Include specific domain in user search.Matthew Somerville2016-11-25-4/+13
| | | | | This deals with a bootstrapping issue of adding new admin users that haven't yet interacted with the system.
* [Zurich] Fix accidentally hidden category extra fieldsDave Arter2016-11-24-0/+1
|
* Don't double-decode strftime output.Matthew Somerville2016-11-22-5/+6
| | | | | As with d3d0ab6d, we need to only decode_utf8 strftime output that has not already been decoded, to prevent errors in Perl 5.20+.
* [Bromley] Fix map tiles.Matthew Somerville2016-11-18-42/+15
| | | | | The change to remove inline JavaScript stopped the Bromley-specific tiles from working. Put them back with an extra JavaScript file.
* [UK] Hide usrn/asset_id Open311 fields.Matthew Somerville2016-11-11-1/+15
|
* Merge branch 'issues/forcouncils/99-sorting'Matthew Somerville2016-11-04-22/+63
|\
| * Add sort order options to list pages.Matthew Somerville2016-11-04-22/+63
| | | | | | | | | | | | | | | | 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 Somerville2016-11-04-4/+2
|\ \ | |/ |/|
| * Only return active shortlisted user for a problem.Matthew Somerville2016-10-28-4/+2
| |
* | Merge branch '1544-category-change-leave-update'Matthew Somerville2016-11-01-0/+29
|\ \
| * | Leave a public update when admin changes category.Matthew Somerville2016-10-28-0/+11
| | |
| * | Add ability for admin users to italic updates.Matthew Somerville2016-10-28-0/+18
| |/
* | Pre-filter map pages if user has categories assignedDave Arter2016-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
* | Add UI for assigning categories to a user in adminDave Arter2016-10-28-0/+27
|/ | | | | - A user can be assigned to any number of its body's categories - The category ids are stored as a list in the user's extra field
* Error if logged-in user visits admin without permission.Matthew Somerville2016-10-26-1/+4
| | | | | This is less confusing than redirecting to /auth and then to /my (as they're logged in). Fixes #1566.
* Show admin user edit errors.Matthew Somerville2016-10-26-4/+4
| | | | Fix title if error in adding user. Fixes #1510.
* Redirect to correct cobrand when category changed.Dave Arter2016-10-26-13/+11
|
* Resend report if changing category changes body.Dave Arter2016-10-26-3/+7
|
* Merge branch 'issues/forcouncils/67-mop-up'Matthew Somerville2016-10-24-1/+3
|\
| * Hide confirmed column if all categories confirmed.Matthew Somerville2016-10-24-1/+3
| |
* | Merge branch 'issues/forcouncils/98-inspect-straight'Matthew Somerville2016-10-24-19/+13
|\ \
| * | Have report page show inspect form if available.Matthew Somerville2016-10-24-19/+13
| |/
* | Merge branch 'reports-area-as-a-hole'Matthew Somerville2016-10-24-0/+11
|\ \ | |/ |/|
| * Add server-side /mapit proxy.Matthew Somerville2016-10-21-0/+11
| |
* | Use default link zoom for all map types.Matthew Somerville2016-10-21-30/+17
|/ | | | [Bristol] Use more zoomed-in default link zoom.
* Merge branch '1543-reports-page-fixes'Matthew Somerville2016-10-21-8/+49
|\
| * Update pagination when status/categories changed.Matthew Somerville2016-10-18-3/+19
| |
| * Add ajax pin fetching to reports/my pages.Matthew Somerville2016-10-14-6/+31
| | | | | | | | | | This matches the behaviour on /around, and prevents a refresh when changing the state or category filters.
* | Merge branch 'issues/forcouncils/100-fix-template-list'Matthew Somerville2016-10-20-4/+6
|\ \
| * | Fix list of response templates for a problem.Matthew Somerville2016-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 prioritiesDave Arter2016-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 modelDave Arter2016-10-19-2/+5
|/ | | | Used internally to provide more details about when a priority is applicable.
* Merge branch 'issues/forcouncils/95-multi-select-list-filters'Matthew Somerville2016-10-13-45/+62
|\
| * Allow multiple selections in report list filter.Zarino Zappia2016-10-13-40/+57
| | | | | | | | | | | | 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.
| * Default run-tests with no arguments to run all.Matthew Somerville2016-10-13-5/+5
| |
* | Show shortlist owner on report page.Matthew Somerville2016-10-11-0/+12
| |
* | Adding report to shortlist removes from others.Matthew Somerville2016-10-11-5/+33
| |