| Commit message (Collapse) | Author | Age | Lines |
... | |
| |
|
|
|
|
|
| |
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
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
Co-authored-by: Matthew Somerville <matthew@mysociety.org>
Configured to allow:
- updates only from original reporter
- close updates from fetch reports
- use OSM geocoder
|
|
|
|
|
|
| |
Fixes test suite failures in new Vagrant environments.
See also: #2487
|
|
|
|
|
| |
Remove all existing hard-coded register_category calls, and have
a new way of implementing staff_ignore.
|
| |
|
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
| |
Due to refactoring in 12d2346, this was loading prior
to the main asset code and thus not activating.
|
|
|
|
|
|
|
| |
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
|
|\ |
|
| |
| |
| |
| |
| | |
Rather than have a method in the Cobrand module use the COBRAND_FEATURES
section of the config file.
|
| | |
|
|/
|
|
|
|
|
| |
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.
|
|\ \ |
|
| | | |
|
| | | |
|
| |/
|/|
| |
| | |
This was originally removed in 5d9a3dd03 and put back in de66ef715.
|
| |
| |
| |
| | |
This was originally removed in 5d9a3dd03 and put back in de66ef715.
|
|/
|
|
|
|
|
|
|
| |
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 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.
|
| |
|