| Commit message (Collapse) | Author | Age | Lines |
|
|
|
|
| |
The TfL council_area_id sub uses the `$_[0]` argument to call other
cobrand methods, but that argument wasn't being passed in here.
|
| |
|
| |
|
|
|
|
|
| |
Use verbose for all log output, and debug only for
overriding the should_skip check.
|
|
|
|
|
| |
Make them take start/end hour arguments, cope if only one given,
optional body, and combine them together in one `fetch` script.
|
|\ |
|
| |
| |
| |
| | |
This covers response templates, roles, and staff users.
|
| |
| |
| |
| |
| |
| | |
The ex-districts are not associated with areas any more, and the Bucks
body will be associated with a different area ID once the generation is
updated. The names are fixed, so use them instead.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Instead of sending off-road flytipping reports to the district, now that
Buckinghamshire is unitary we instead recategorise them into a new email
specific “Flytipping (off-road)” category which is handled in the same
way as other ex-district categories with the borough_email_addresses
cobrand feature, and omitted from the dropdown by the
categories_restriction cobrand method.
|
|/
|
|
| |
New unitary branding, and remove County from name.
|
|
|
|
| |
Adds all English unitary and county councils
|
|
|
|
|
| |
As well as adding junction data this adds data to enable lookup by
crossing roads and placenames, also service stations.
|
|
|
|
|
| |
A script to add/replace categories for a named body including extra
fields.
|
| |
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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`.
|
|\ |
|
| |
| |
| |
| |
| | |
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.
|
| | |
|
|/ |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
|
|
|
| |
This also lets it be cobrand specific.
|
|
|
|
| |
To: line
|
| |
|
| |
|
|
|
|
|
| |
Allows adding or removing a list of permissions to the users belonging
to a body.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Namely templates, roles, bodies, categories, various user edits,
and when using the inspect form and changing category.
|
|
|
|
|
| |
also add an update only option to only update existing messages and not
add new ones
|
|
|
|
| |
To avoid having to do it all by hand
|
| |
|
|
|
|
|
| |
Fix a couple of issues discovered in testing where the Response to
customer wasn't being detected in the database;
|
|
|
|
|
| |
Update the script for updating all statuses rather than just the
investigating ones
|
| |
|
| |
|
|
|
|
| |
Completed reports default to closed, not in progress
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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 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
|
|
|
|
|
| |
These need a script to add asset_id/site_code to the category so this is
set by the front end
|