aboutsummaryrefslogtreecommitdiffstats
path: root/bin
Commit message (Collapse)AuthorAgeLines
...
* Add ManifestTheme model for customising web manifestDave Arter2020-02-14-0/+1
|
* [Northamptonshire] switch cypress tests away from treesStruan Donald2020-02-06-1/+1
| | | | | Because trees now allow you to click on a highway as well as a tree it's simpler to switch the tests to a different type
* [Peterborough] Add test for multiple questions disabling new report formChris Mytton2020-01-29-2/+35
|
* Fix bug in add_emergency_message scriptChris Mytton2020-01-22-2/+2
| | | | | | | There was a typo in the error message and the related conditional which meant it was checking for $opts->questions (which doesn't exist) rather than $opts->question, which prevented the script from being used to add a question.
* [Inactive] Add option to only act on one cobrand.Matthew Somerville2020-01-09-2/+3
|
* [Inactive] Add option to fully delete reports.Matthew Somerville2020-01-09-3/+4
|
* Add body argument to Open311 populate script.Matthew Somerville2020-01-09-1/+6
|
* Do not hard code site name in database fixture.Matthew Somerville2019-12-10-0/+1
| | | | This also lets it be cobrand specific.
* handlemail can use cobrand’s reply-autoresponse template based on incoming ↵Dave Arter2019-12-09-3/+28
| | | | To: line
* [TfL] Call Other "Other (TfL)" for interop.Matthew Somerville2019-12-09-1/+3
|
* [TfL] Script to import categories from JSON.Dave Arter2019-12-09-0/+114
|
* script to update permissions of a body's usersStruan Donald2019-11-22-0/+70
| | | | | Allows adding or removing a list of permissions to the users belonging to a body.
* Add integration test for setting a Confirm site_codeChris Mytton2019-11-13-1/+16
| | | | | | | I want to change the `updateUSRNField` method so that it can accept an array of objects in the `usrn` key, but before doing that I want to add a test to ensure the existing behaviour is tested, to ensure I'm not breaking anything.
* Add admin log entry for more objects and things.Matthew Somerville2019-11-08-0/+1
| | | | | Namely templates, roles, bodies, categories, various user edits, and when using the inspect form and changing category.
* allow emergency message script to add category messagesStruan Donald2019-10-28-29/+52
| | | | | also add an update only option to only update existing messages and not add new ones
* [Northamptonshire] script to update emergency messageStruan Donald2019-10-28-0/+59
| | | | To avoid having to do it all by hand
* [fixmystreet.com] Generalise emergency message script.Matthew Somerville2019-10-21-73/+83
|
* [Northamptonshire] small tweaks to backfill scriptStruan Donald2019-10-17-1/+11
| | | | | Fix a couple of issues discovered in testing where the Response to customer wasn't being detected in the database;
* [Northamptonshire] updated report status backfill scriptStruan Donald2019-10-16-18/+45
| | | | | Update the script for updating all statuses rather than just the investigating ones
* [Oxfordshire] Remove unused Exor RDI code.Matthew Somerville2019-10-10-79/+0
|
* [Northamptonshire] correct typo in column nameStruan Donald2019-10-03-1/+1
|
* [Northamptonshire] update default status for one off updateStruan Donald2019-10-03-1/+1
| | | | Completed reports default to closed, not in progress
* [Northamptonshire] script to update NCC statusesStruan Donald2019-10-02-0/+177
| | | | | | | This is a one off script to update the status of NCC reports affected by a bug in the NCC update process. It relies on a csv file containing a mapping of report id to Alloy status and uses this to update the FixMyStreet status.
* [IsleOfWight] script to add emergency categoriesStruan Donald2019-09-27-0/+73
| | | | | | One off script that adds an question to each Triage category to ask if the problem is urgent or not. Sets urgent answer to block form submission.
* add asset_details to triage category setup scriptStruan Donald2019-09-27-0/+9
|
* [IsleOfWight] correctly handle triage categories on reports/around pagesStruan Donald2019-09-27-1/+12
| | | | | | | | | | | | | | Add in some cobrand handlers to make sure a) the appropriate categories are show to staff/non staff users on the around and reports pages b) that those categories are correctly expanded to the child categories when using the category filter to search reports This is because non staff users should only be shown Isle of Wight categories with a send_method of 'Triage', however once those reports are triaged the post triage categories need to be included in any filtering
* [IsleOfWight] script to add asset attributes to triage categoriesStruan Donald2019-09-27-0/+124
| | | | | These need a script to add asset_id/site_code to the category so this is set by the front end
* [IsleOfWhite] make sure category_extras uses correct nameStruan Donald2019-09-27-1/+12
|
* [IsleOfWight] check name correct for private categoriesStruan Donald2019-09-27-1/+9
|
* [IsleOfWight] Initial cobrand.Struan Donald2019-09-27-2/+3
| | | | | | | | | Co-authored-by: Matthew Somerville <matthew@mysociety.org> Configured to allow: - updates only from original reporter - close updates from fetch reports - use OSM geocoder
* Add Swedish locale instead of NorwegianGraeme Porteous2019-09-05-1/+1
| | | | | | Fixes test suite failures in new Vagrant environments. See also: #2487
* Add admin to disable reporting form per category.Dave Arter2019-08-29-0/+129
| | | | | Remove all existing hard-coded register_category calls, and have a new way of implementing staff_ignore.
* DB changes to support OIDC authDave Arter2019-08-16-0/+1
|
* [Westminster] Initial cobrand.Zarino Zappia2019-08-16-0/+356
| | | | | | | | | Include a demo fixture file that creates Westminster categories and two example users: bin/westminster/set-up-categories --commit Co-authored-by: Martin Wright <martin@mysociety.org> Co-authored-by: Matthew Somerville <matthew@mysociety.org>
* Hide category extras when dupe suggestions shown.Matthew Somerville2019-08-07-1/+2
|
* [BANES] Move staff map code later.Matthew Somerville2019-07-16-0/+1
| | | | | Due to refactoring in 12d2346, this was loading prior to the main asset code and thus not activating.
* Update UI text when selecting a private categoryDave Arter2019-07-09-1/+10
| | | | | | | This makes it clearer that all details for a report made in a private category will not be shown publicly. Fixes mysociety/fixmystreet-commercial#1405
* Merge branch 'issues/2475-multiple-parents-for-categories'Matthew Somerville2019-06-17-3/+4
|\
| * configure category_groups via COBRAND_FEATURESStruan Donald2019-06-17-3/+4
| | | | | | | | | | Rather than have a method in the Cobrand module use the COBRAND_FEATURES section of the config file.
* | Add front-end testing support for WSL.Matthew Somerville2019-06-14-2/+16
| |
* | Fix front-end testing script when run with VagrantZarino Zappia2019-06-14-32/+37
|/ | | | | | | Noticed this week that it’s not been possible to run the cypress browser tests when you have FMS running in a Vagrant VM (and the tests running outside on the host) since the FMS Vagrant config was changed to use an FMS-specific box.
*-. Merge branches 'move-up-bodies-set' and 'more-frontend-tests'Matthew Somerville2019-06-06-8/+44
|\ \
| | * [Northamptonshire] Add emergency message test.Matthew Somerville2019-06-05-1/+14
| | |
| | * [Buckinghamshire] Add flytipping front end test.Matthew Somerville2019-06-05-7/+29
| | |
| | * [Cypress] Remove blacklistHosts CLI argument.Matthew Somerville2019-06-05-1/+1
| |/ |/| | | | | This was originally removed in 5d9a3dd03 and put back in de66ef715.
| * [Cypress] Remove blacklistHosts CLI argument.Matthew Somerville2019-06-04-1/+1
| | | | | | | | This was originally removed in 5d9a3dd03 and put back in de66ef715.
| * Set fixmystreet.bodies sooner.Matthew Somerville2019-06-04-0/+6
|/ | | | | | | | | There is a small bug where if you go to a two-tier location, pick a category that is sent to one of the two ("These will be sent to" text updates to only show that one), then click elsewhere on the map, the "These will be sent to" text resets to show both bodies. This happens because fixmystreet.bodies is reset after the text has been correctly set by the category change() setup (called on pin move also).
* Add user roles tablesDave Arter2019-05-28-0/+1
|
* run front end tests for cobrands alongside main testsStruan Donald2019-05-28-7/+8
| | | | | | | | | | | | Add the hosts config option, from https://github.com/cypress-io/cypress/issues/1488#issuecomment-396435553 to the cypress config so we can access *.locahost. Then use those in the cobrand tests, as well as allowing them as cobrands by default in the FixMyStreet server setup. NB: need to set fixmystreet.localhost as the FixMyStreet BASE_URL otherwise form submissions can go to localhost and then you get a cypress cross origin security error.
* generate test specific fixture dataStruan Donald2019-05-28-1/+11
|