aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/controller/my_planned.t
Commit message (Collapse)AuthorAgeLines
* [Oxfordshire] remove access to inspector toolStruan Donald2018-09-28-0/+8
|
* always allow problems to be removed from shortlistStruan Donald2017-10-27-0/+152
| | | | | | | | | | If a user is trying to remove a problem from their shortlist we should always allow it regardless of the state of the problem. Previously if a problem wasn't displayed on the site then it could not be removed from the shortlist which was an issue with council cobrands and reports that had changed body. Fixes mysociety/fixmystreetforcouncils#243
* Run each test file in a transaction.Matthew Somerville2017-06-20-4/+0
| | | | This means that the tests can be run in parallel.
* [UK] Remove requirement for fixed body IDs.Matthew Somerville2017-06-20-1/+1
| | | | | | | | | | | | Historically in UK cobrands, bodies have had IDs the same as the MapIt area ID they cover. This can be confusing (if you are setting up a dev environment, say) and should not be necessary. This commit removes the requirement entirely, by switching any ID checks to either the name of the body, or the actual area it covers. One note: the body name in the test has to match so that we do not get two bodies both covering 2237 created. This will not be necessary when the tests are compartmentalized in the next commit.
* Auto-add strict/warnings/Test::More with TestMech.Matthew Somerville2017-05-31-5/+0
|
* Add method to shortlist multiple reportspezholio2017-05-05-3/+28
|
* Return JSON if `ajax` in paramspezholio2017-01-31-0/+12
|
* Add shortlist buttons to report lists.Matthew Somerville2017-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.
* Organize report admin actions into single control.Zarino Zappia2016-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).
* Add user planned reports.Matthew Somerville2016-08-22-0/+52
A user with the appropriate permission can add/remove reports from their list of planned reports using a button on a report page. The list can be viewed at /my/planned.