| Commit message (Collapse) | Author | Age | Lines |
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Closes reports that meet the following criteria:
* status is action scheduled
* in a category with a fixed - council auto response template
* over n days in action scheduled state (n is an argument)
Reports matching these criteria are marked as fixed - council and the
relevant response template text is added as a comment.
Fixes mysociety/fixmystreet-commercial#1955
|
|
|
|
|
|
|
|
|
|
|
|
| |
In the past Oxfordshire had a way for inspectors to "instruct a defect",
which generated a CSV which got emailed to Oxfordshire with a list of
defects.
They now want to bring this functionality back, but instead of emailing
a CSV they want it to call an API.
As a first step towards that goal, this change adds back some of the
instruct defect functionality that was removed in 68e18ff.
|
|
|
|
|
| |
Now uses FixMyStreet id as the lookup based on external_id was much too
slow in practice
|
|
|
|
|
| |
The migration from V1 to V2 changes the IDs so take a CSV of the changes
and apply it, saving the old id just in case.
|
|
|
|
|
| |
Include a status page, the option for access token requests to use this
system, and a script for manual generation.
|
| |
|
|
|
|
|
| |
The new internal reports is displayed the same as the main summary, and
all reports shows both internal/non-internal.
|
| |
|
|
|
|
|
|
|
|
|
| |
Your site user may not have access to sudo, and your admin user may
cause permission issues if used to do the git checkout, or the Perl
module installation. Document the separate script to install system
packages instead.
Co-authored-by: Sam Pearson <sam@mysociety.org>
|
|
|
|
|
|
| |
Given the user, we can infer the name if not provided, and the extra
data if a staff user. We can also provide defaults for various other
fields. Always have superuser take precedence over from_body.
|
|
|
|
|
| |
Make GetUpdates and GetServiceRequestUpdates share a common base;
spot all visible states.
|
|
|
|
|
| |
Adds ability for categories to be marked as devolved with their own
send_method, and for the open311_protect flag to be set.
|
|
|
|
|
|
| |
Co-Authored-By: Struan Donald <struan@exo.org.uk>
For https://github.com/mysociety/fixmystreet-commercial/issues/1808
|
| |
|
|\ |
|
| | |
|
|/
|
|
|
| |
pg_constraint.consrc has been removed in Postgres 12, and this is the recommended replacement.
See https://www.postgresql.org/docs/12/release-12.html
|
|\ |
|
| |
| |
| |
| | |
You need to install the @cypress/code-coverage package alongside cypress.
|
|/
|
|
| |
This includes details of any failing updates in the summary script.
|
|
|
|
|
|
|
|
|
|
| |
Resetting using the class could cause an incorrect "you can pick an
$item from the map" message to be display when asset_groups were being
used. This was happening when the unselect event was firing after the
category change event and then updating the new message using the
message from the unselected layer.
Fixes mysociety/fixmystreet-commercial#1888
|
|
|
|
| |
For https://github.com/mysociety/fixmystreet-commercial/issues/1856
|
| |
|
|
|
|
|
|
|
|
|
| |
B&NES have sent us a spreadsheet with a list of reports along with their
IDs that they want marking as "No further action" along with a specific
update.
This script takes a comma-separated list of report IDs and closes those
reports, leaving the appropriate comment text.
|
|
|
|
|
| |
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.
|