aboutsummaryrefslogtreecommitdiffstats
path: root/bin
Commit message (Collapse)AuthorAgeLines
* [HE] import HE specific road data for road lookupStruan Donald2020-03-31-0/+90
| | | | | As well as adding junction data this adds data to enable lookup by crossing roads and placenames, also service stations.
* generic import categories from json scriptStruan Donald2020-03-31-0/+112
| | | | | A script to add/replace categories for a named body including extra fields.
* Move summary failures to separate script.Matthew Somerville2020-03-31-0/+20
|
* Add Highways England junction lookupChris Mytton2020-03-12-0/+116
| | | | | | | This is taken from the sort-my-sign repo. It allows the user to search for motorways names and junction numbers, e.g. "M60, Junction 2", and then geocodes that using a SQLite database created from Highways England markerpost locations.
* Version 3.0.v3.0Matthew Somerville2020-03-04-1/+1
|
* [script/bootstrap] Keep OS packages updated in development environmentsSam Pearson2020-03-03-0/+13
| | | | | | | | | | | This adds a script, `bin/install_packages`, that will install packages listed in versions of `conf/packages*` and calls it from the bootstrap script in a way appropriate to the environment it is being run under. This should ensure that, for example, changes to dependencies will be applied to Vagrant machines in-between tagged releases. The default packages file used will be `packages.generic`.
* Merge branch 'admin-only-categories'Matthew Somerville2020-02-27-1/+2
|\
| * Add a new "staff" contact state.Matthew Somerville2020-02-26-0/+1
| | | | | | | | | | This state will appear when reporting if you are logged in as a staff member of the relevant body, but otherwise not appear on the site.
| * Fix password setting in createsuperuser script.Matthew Somerville2020-02-26-1/+1
| |
* | [Buckinghamshire] Ignore TfL as a district.Matthew Somerville2020-02-26-1/+1
|/
* [TfL] Allow bus stop reports outside London.Matthew Somerville2020-02-24-2/+12
| | | | | | | | | | | | | After this change, you can safely add the TfL body to other councils (namely the ones surrounding London that include TfL bus stops); clicking in those councils on other cobrands will have no change, as the TfL body will be fully ignored on a non-London council, but on the TfL cobrand it will allow it for e.g. the selection of bus stops outside London. It removes the body rather than just all its categories to prevent a "We do not have details of the other body covering this area" message appearing.
* Add --group flag to add_emergency_message scriptChris Mytton2020-02-20-0/+5
| | | | | | | | This allows you to restrict the message to a certain group of categories. This is so we can add a "is this problem on private land" message to the categories in the "Trees" group for Peterborough.
* 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
|\