| Commit message (Collapse) | Author | Age | Lines |
... | |
|/
|
|
|
| |
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.
|
| |
| |
| |
| | |
And in couple of cobrand templates.
|
|/
|
|
| |
This includes details of any failing updates in the summary script.
|
|\ |
|
| |
| |
| |
| | |
Also update the category page screenshot to include the new options
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
|\ \
| | |
| | |
| | | |
'origin/issues/commercial/1835-geolocation-button-styling'
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The colour and text decoration of links inside `#front-main` can now
be customised via `$primary_link_*` Sass variables.
Text decoration is set in _base.scss (like global link text decoration)
while colour is handled in _layout.scss (which is where `#front-main` is
given its background colour, so likely also the time you’ll want to set
a contrasting colour for links inside it).
The colour variables are set to `null` by default, meaning that no
colour or rules for those links will be compiled, enabling the links to
inherit the global link colour style, which previously wasn’t possible.
The decoration variables are set to `underline` by default, because most
cobrands set their #front-main links to be the same colour as the
surrounding text, so adding an underline is a sensible default. You can
disable the underlines by setting `$primary_link_decoration: none` in
your cobrand’s _colours.scss file, as cheshireeast and oxfordshire do.
Fixes #3007.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Much less opinionated styling for #geolocate_link in core, which
means the link should look better, by default, for most cobrands.
(In particular, the link looks much better on cobrands with the more
modern style of white / off-white #front-main background, such as
highwaysengland, which was the cobrand that started off this work
to begin with.)
I’ve also reduced the specificity of the #geolocate_link rulesets
in both core and all the cobrands.
While this commit means that fewer cobrands need to override styles
on #geolocate_link, there are still 8 cobrands that have to define a
custom text colour for their #geolocate_link, because they both:
A) have a light coloured background for #front-main, and
B) want their #geolocate_link to be coloured like a normal link,
rather than inheriting the text colour of the parent element.
We might want to revisit this handling of #geolocate_link colouring and
the `#front-main a { color: inherit }` rule in _layout.scss at some
point in the future.
Fixes mysociety/fixmystreet-commercial#1835.
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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/1875
|
| |
| |
| |
| | |
groups
|
|\ \
| |/
|/| |
|
| | |
|
|/
|
|
|
|
|
|
| |
Add an interface to enable a category to accept anonymous reports, plus
the code to handle permitting this.
It's only available on single body cobrand sites in the default
configuration.
|
|
|
|
| |
Enforce asset selection, except for light-not-on-map category.
|
| |
|
|
|
|
| |
For https://github.com/mysociety/fixmystreet-commercial/issues/1856
|
|
|
|
| |
Include name, email and body rather than just user id.
|
|\ |
|
| |
| |
| |
| |
| | |
Shortlist buttons and extended print information
will not appear where not allowed.
|
| |
| |
| |
| |
| |
| |
| |
| | |
Users with assigned_categories_only will only see staff features on a
report page in their assigned categories.
Users will only see staff features on a report page in a category with
assigned_users_only if it is in their assigned categories.
|
| |
| |
| |
| |
| | |
Look up user's permissions once at the start, and
use that throughout the report page templates.
|
| |
| |
| |
| |
| |
| | |
Groups have their own special admin section above, so no need to show it
in the extra data list (especially as if it is in more than one group it
only shows a reference).
|
|/
|
|
|
|
| |
If you rename an Open311 category when it is not protected, it will only
get reinstated/deleted by the Open311 populate script shortly after, and
can cause issues due to the problem category renaming that occurs.
|
| |
|
|\ |
|
| |
| |
| |
| |
| |
| | |
The change to join in e16054150 did not include a collapse that the
previous prefetch was doing, so multiple rows per result were being
returned.
|
|/
|
|
|
|
| |
TLRN-only.
For https://github.com/mysociety/fixmystreet-commercial/issues/1883
|
|\ |
|
| | |
|
|/
|
|
|
| |
Add a tickbox to the category admin, and do not allow reopening on
reports made in the selected categories.
|
|\ |
|
| |
| |
| |
| |
| | |
Add a tickbox to the category admin, and do not allow updates on
reports made in those selected categories.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
On admin report lists, and in front-end lists when an inspector, each
row was querying the database for `category_display`. We create a new
relationship for this query, and join/prefetch it wherever we request
this data.
Include staff joins on /around page, copying what happens on /reports
to prevent more lookups there too. Also add some joins for user email
in admin report list.
|
|\ \ |
|
| |/ |
|
|/
|
|
| |
Fixes https://github.com/mysociety/fixmystreet-commercial/issues/1882
|
|
|
|
|
| |
variable is the string 'true' or 'false' from Open311. Store
the original detail so we can reset back to it more easily.
|
|
|
|
| |
The change in cc2b8f54 made a typo in the default argument.
|