| Commit message (Collapse) | Author | Age | Lines |
... | |
| |
|
|\ |
|
| | |
|
| | |
|
|/ |
|
|
|
|
| |
Request from client to update the text on the homepage.
|
|
|
|
|
| |
If it checks the body first, then a superuser who is also assigned to a
body would not be able to see staff categories in a different body.
|
|
|
|
|
| |
As it has switched to using category groups, the special subcategory
code needs updating to update the correct variable.
|
| |
|
|
|
|
|
|
|
| |
Ignore (for Open311-sending purposes) any questions whose code starts
"PCC-", so that it is easier to use the admin to add extra questions,
and move the removal of the extra questions to a more normal location
so answers are not lost when extra fields is reset post-send.
|
|\ |
|
| | |
|
|\ \
| |/
|/| |
|
| | |
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
If you clicked on a non-HE location (so showing non-HE categories), then
moved the pin to a HE location, the HE message box would show and update
categories (but there would be no HE ones at the time). The server would
return the new categories (including HE ones), but as the issue location
had now not changed on this second call, the categories would not update
to hide non-HE ones (it would show both HE and non-HE categories).
So, instead of going off a location, check the road name - if it has not
changed, do not recreate the whole HE message box, but do call the right
HE selected/not selected function to update the categories.
Note that this, if "Somewhere else" is selected, then causes an infinite
loop, because the highways_change event triggers a category_change event
which fires the layer's road found function, and then repeat.
The highways_change->category_change event firing, according to the code
comment, is so that asset selection can take place, or to remove stopper
messages being shown. Previously, HE did not have its own categories but
overrode the body to be sent to; HE now does have categories of its own,
so I think this code can be removed.
|
|\ \ \
| |_|/
|/| | |
|
| | | |
|
| | | |
|
| |/
|/| |
|
|\ \ |
|
| | |
| | |
| | |
| | | |
The checks added in 285e183db missed the TfL cobrand.
|
| |/
| |
| |
| |
| | |
In Firefox/Edge on Windows, having a translucent stroke causes a large
slowdown in page painting.
|
|/
|
|
|
|
|
|
| |
Order the response templates query by external status code so if you
have an update with an external status code the response template
matching that is always used. Previously with the database left to
determine the order it could pick a response template with a matching
state rather than a matching external status.
|
|\ |
|
| |
| |
| |
| |
| |
| | |
Without allowing through the Highways England body, clicking on a
Highways England road in these cobrands would leave no categories
to be selected.
|
|\ \ |
|
| | | |
|
| |/ |
|
|\ \
| |/
|/| |
|
| |
| |
| |
| | |
This means the code can assume it should be trying to send a report.
|
| |
| |
| |
| |
| | |
Use verbose for all log output, and debug only for
overriding the should_skip check.
|
|/
|
|
| |
This form of reference is shown on a report confirmation page.
|
|\ |
|
| |
| |
| |
| | |
Fixes #2937
|
|/
|
|
|
| |
Otherwise something can be passed back, confusing the
parent Open311 sending code. Missed in 7ed37641.
|
| |
|
|\ |
|
| | |
|
| |
| |
| |
| | |
Allow a configurable number of bodies to fetch updates simultaneously.
|
| |
| |
| |
| |
| | |
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.
|
|/ /
| |
| |
| |
| |
| | |
Add title, image and also favicon
Fixes mysociety/commercial-staging#1834
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Once a location is fixed, we never want to regenerate the Highways
England question, as that can lose the selected category. Store the
location regardless of the HE question answer, so any category
change, as opposed to a location change, does not do anything.
We also do not want to clear category_meta, as that is where the extra
data fields appear.
|
| | |
|