| Commit message (Collapse) | Author | Age | Lines |
... | |
| | |
| | |
| | |
| | | |
Required by Zurich for mysociety/FixMyStreet-Commercial#675
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Newer versions of Email::Simple (2.104+) treat arrayrefs in headers by fetching
the first item only in scalar context. Our snapshot installs 2.102, so this
shouldn't be an issue, but we might as well bypass Email::Simple for those
headers.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- Fix behaviour of ALLOWED_COBRANDS checking
- ... inferring cobrand if only one is allowed
- new --use-cache option (defaulting to false)
- better diagnostics
- Can be manually uncommented and tested against bin/geocode
script.
See mysociety/FixMyStreet-Commercial#710
|
| | |
| | |
| | |
| | |
| | | |
For mobile, but should be done via same mechanism.
See mysociety/FixMyStreet-Commercial#670
|
| | |
| | |
| | |
| | |
| | |
| | | |
As per email from Tobias 21st April
See mysociety/FixMyStreet-Commercial#704, mysociety/FixMyStreet-Commercial#666
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- Save 'photo_required' value in Contact->extra from admin edit form
- Enforce per-category photo requirement on new reports
A new step has been added to the photo upload process that
ensures a photo is present if any of the categories chosen for
the report require it.
If the photo is missing an error is displayed to the user in the
same manner as if the photo upload was invalid.
- Add test of mandatory photo categories
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
For Zurich, see mysociety/FixMyStreet-Commercial#664.
This commit includes a new PhotoSet class (NB: called Model:: though not
really a model), should handle binary data (e.g. old style photos in
database), fileids (40-char hash), and Catalyst::Upload objects.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
for Zurich (and generic data), progressing
mysociety/FixMyStreet-Commercial/issues/663, to provide a way
for body/contact config to be consistent across dev/staging/live.
Run like so:
bin/setup-contacts zurich
e.g. with the lower-case sigil describing the cobrand to run
setup-contacts for.
|
| | |
| | |
| | |
| | | |
- also remove 10px gap from left hand side of logo on screen
|
| | |
| | |
| | |
| | |
| | | |
- Refactor map tile size into a constant
- Update map tiles to use new Zurich WMTS server directly instead of Apache proxy
|
| | |
| | |
| | |
| | | |
See mysociety/FixMyStreet-Commercial#669
|
| | |
| | |
| | |
| | |
| | | |
To improve photo quality.
See mysociety/FixMyStreet-Commercial#666
|
|/ /
| |
| |
| |
| |
| |
| | |
Admin CR4 https://github.com/mysociety/FixMyStreet-Commercial/issues/673
seems like admin_pages should be able to generate the menu, but
this change also needs template change.
|
|/
|
|
|
|
|
|
|
|
|
|
| |
A 100% max-width img within an inline-block within a fixed width wrapper
behaves differently in Firefox to other browsers; other browsers use the
width of the fixed width wrapper, whereas Firefox uses the width set for
the img. Given an identically set-up div, all the browsers use the width
of the div rather than the fixed width wrapper, so Firefox appears to be
behaving more consistently.
The easiest solution is to change the inline-block to display: block, as
the inline-block is alone within a floated fixed width div. Fixes #1243.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
The use of the background shorthand was causing cobrands which
override this to have unexpected styling issues because it
only set a colour, not the other background properties.
This commit makes it more specific to just use background-color.
Also fixes a case in Greenwich's css where this was being overriden
in a similar way to just use background-color as well.
Fixes #1238
|
|
|
|
| |
This helps if the admin is being proxied. Fixes #1206.
|
| |
|
| |
|
|
|
|
| |
Fixes #1184.
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
Treat an update left during a questionnaire the same as one left on a
report page, ie. pass it through cleanup_text. This will also make sure
updates left that are wholly whitespace are errored, or replaced with
the default text.
|
|\ \ |
|
| | |
| | |
| | |
| | | |
Fixes #348. Also combine base/fixmystreet _list.html templates in one.
|
| | |
| | |
| | |
| | | |
Add a site_name template parameter available to all templates.
|
|/ /
| |
| |
| | |
Fixes #1210.
|
|/
|
|
|
| |
Reduce need for specificity. Also fix some bugs in Harrogate base menu
display, and couple of other cobrand tweaks.
|
|
|
|
| |
Fixes #1197. Thanks to Dave Arter for helping out with this.
|
|\ |
|
| |
| |
| |
| | |
Fixes #1164.
|
|\ \ |
|
| |/
| |
| |
| | |
Fixes #838.
|
|\ \ |
|
| |/
| |
| |
| | |
Fixes #1093.
|
|\ \ |
|
| |/
| |
| |
| | |
Unlikely to crop up, but this fixes #1077.
|
|/
|
|
| |
Fixes #1091.
|
|
|
|
|
|
|
|
| |
Hide the map with aria-hidden, as all report links are duplicated in the
main content. Fix skip map link on mobile (it was disappearing). Place
delegate handler on body to prevent e.g. VoiceOver announcing everything
underneath .container as clickable. Remove header report button rather
than hide off-screen, as is a duplicate link to the previous.
|
|
|
|
|
| |
The GoogleOL layer will default to map, unless the
fixmystreet_google_default variable is set to 'satellite'.
|
|
|
|
|
| |
Pin the version of the Google Maps API loaded to one that
continues to work. Fixes #1215.
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
The `base` and `fixmystreet` login templates were basically
the same, so this commit combines them and puts the result
in the `base` cobrand. Since most cobrands inherit from
`fixmystreet` anyway, this shouldn’t cause any major issues.
|
| |
| |
| |
| | |
Remove unnecessary authpage things from other cobrands.
|
| |
| |
| |
| |
| | |
It’s best if Zurich keeps the old text, so now they have their
own overrides for those template files.
|
| |
| |
| |
| |
| | |
Use the same layout as the "success" screen you will see after
you click the emailed link.
|
|\ \ |
|
| |/
| |
| |
| | |
Fixes #1104.
|
|/
|
|
|
|
|
|
|
| |
This sets the contact email for:
- East Sussex
- Greenwich
- Oxfordshire
- Stevenage
|