| Commit message (Collapse) | Author | Age | Lines |
| |
|
|
|
|
|
|
|
|
|
| |
Historically, the extra field has been used in two different ways by
different cobrands, both as a list (e.g. Open311 category fields) and a
hash (e.g. the Zurich cobrand).
This commit consolidates usage, adding an API to make use of the field
easier and always returning a hash for the code to use. Fixes #1018.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Harrogate asked for NYCC managed issues to be linked to that
council's website. We don't prevent the issue from being logged,
but do show a warning banner.
As this is at Harrogate's request, we only do this for the Harrogate
cobrand, not the whole site, using a new cobrand hook
`munge_category_list`
Unfortunately, categories are currently passed to the template as
plain text, e.g. not structured data. As a simple implementation,
we append "( NYCC)" to the appropriate category names.
JS could then strip the names back in future, if required (though
we're not doing this.) Instead we add a jQuery hook to show the
most appropriate link provided.
See https://github.com/mysociety/FixMyStreet-Commercial/issues/703
|
|
|
|
|
| |
This is now handled by normal bodies in the admin. In order to remove
references in send_reports, tidy up (unused) EmptyHomes code a bit.
|
| |
|
| |
|
|
|
|
|
|
| |
Rather than hardcoding domain names, add a SECURE_PROXY_SSL_HEADER
variable that provides a trusted HTTP header and value that can be used
to determine if we're behind a HTTPS proxy.
|
| |
|
| |
|
| |
|
| |
|
|\ |
|
| | |
|
| |
| |
| |
| |
| | |
Rather than redirecting to the report if they're already logged in.
Fixes #1003.
|
| |
| |
| |
| | |
Remove the old CrossSell code. Fixes #972.
|
|\ \
| |/
|/| |
|
| | |
|
| | |
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | | |
Instead, add it if not present at the negotiation stage. Even if not
negotiated, we currently need it to be present for the in_gb_locale()
calls to work.
|
| |/
|/|
| |
| | |
at council request after brief discussion today
|
|\ \
| | |
| | |
| | | |
Fall back better if a couple of things aren't installed.
|
| |/
| |
| |
| | |
Don't bother installing it on Travis.
|
| |
| |
| |
| |
| | |
This is more friendly for e.g. copy and pasting by someone using the
Dynamics CRM software. Fixes #997.
|
|\ \
| | |
| | |
| | |
| | | |
Conflicts:
perllib/FixMyStreet/Geocode/Google.pm
|
| |/
| |
| |
| |
| |
| |
| | |
This includes MapIt postcode lookups, geocoding, query parameters, tile
clicks. Stringifying truncates them to six decimal places, which means
we no longer need any "short" versions anywhere, and the JSON response
will always uses a decimal point regardless of locale.
|
|\ \ |
|
| |/
| |
| |
| |
| | |
And refactor geoloction caching code into one function
(except for Zurich which has its own SOAP based system).
|
|/
|
|
|
|
| |
Cache a DateTime::TimeZone::Local object, so that in an environment
where /etc/localtime is a copy of a timezone file, we don't repeatedly
walk all the timezone files to find the matching one.
|
|
|
|
| |
And update HTTPS link.
|
| |
|
| |
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
This matches the email template behaviour, and makes it much easier to
override without requiring a cobrand package file.
Fixes #979.
|
| |
| |
| |
| |
| | |
Call the necessary boilerplate in each script so you can call them
directly. Remove boilerplate from files that don't need it.
|
| | |
|
| |
| |
| |
| | |
As that's what it does; and use it in Travis.
|
|/
|
|
|
| |
Remove some unneeded scripts, move others to cobrand-specific
directories.
|
|
|
|
|
| |
This means that e.g. SMTP authentication is used when set up by all
emails, not just non-cron ones. Fixes #988.
|
| |
|
|
|
|
| |
at ESCC request today
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- auth and intro pages
- wording of around page
- Styling work with Mike
- FAQ and footer tweaks
https://github.com/mysociety/FixMyStreet-Commercial/issues/654
https://github.com/mysociety/FixMyStreet-Commercial/issues/655
- Extra spacing
https://github.com/mysociety/FixMyStreet-Commercial/issues/656
- Width of footer (override auto -> 100%)
- style and logo tweaks
- Logo/header same height on all pages (inc mappage)
- Content spacing tweaks
- Correct "Harrogate district" wording
https://github.com/mysociety/FixMyStreet-Commercial/issues/658
- Add extra disclaimer about reports fwd'd to NYCC
- push fms_pan_zoom down with css!important
(alternative is to use JS as Hart does,
or possibly to fix this so doesn't require !important)
- add privacy section
(Copies part of text on main page, this should perhaps be factored out.)
- Set bodyclass for change_password
Sets a bodyclass that's unused outwith harrogate cobrand, so should
be safe.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Requires previous (generic) commit to prevent information only
categories (e.g. Dead animals message) from displaying a spurious
textbox.
Also support for sending these custom fields by email:
Requires a hook in RS::Problem method, as by default, only a restricted
number of hard-coded fields are send in the email.
(And the template language is pseudo-PHP so we can't simply pass in the
whole data-structure.)
|
| |
|
|
|
|
|
|
|
|
|
| |
fixes #850 by adding appropriate postcodes to fix some issues reported
by council.
Unsure why, but one of these (Kelsey Hill) seemed to require different
ordering than others: is this a Bing oddity, or am I doing something
wrong?
|
|
|
|
|
|
|
| |
Includes:
* [UK] Don't show topic form field when reporting abuse.
* Use token in moderation response URL to prevent hidden report leak.
* Make sure successful submission page is full width.
|
|
|
|
| |
Fixes #786.
|
|
|
|
|
|
|
|
|
| |
The body-based alert only works if the body ID matches the MapIt ID.
This fixes #959. Further work needs to be done to enable proper
body-based alerts that work properly in all circumstances.
Consequently, factor out fixed body IDs from many tests.
Also fix a couple of tests not overriding geocoder correctly.
|
| |
|