| Commit message (Collapse) | Author | Age | Lines |
|
|
|
|
|
|
|
|
| |
Default button styling was seeping through to the "Remove from site"
key-tools item, causing inconsistency with the other items.
Overrides a bunch of the default button styles seeping through to the
"Remove from site" button, so that it behaves the same as the items
(normal link elements) in #key-tools.
|
|
|
|
| |
If zoom level is >= 14, then inspectors can click a button that marks all reports in the map view as shortlisted
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
| |
This better fits in with surrounding text.
|
| |
|
|
|
|
|
| |
Allow find_closest to be called multiple times with only one lookup,
and to return just its data, not a compiled string.
|
| |
|
| |
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
The check assumed that if a body was devolved, either the contact
or the body would have a send method. Instead, use a contact send
method if devolved and it exists, a body send method if it exists
or the fallback if neither. Fixes #1374.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Update the reports with a bounding box, similar to on around pages.
This is made slightly trickier because we don't want to do anything
on page load (we already have the pins), we need to reload when the
zoom changes, and we don't want the strategy to get confused by its
first redraw, e.g. on pin hover, We also need to turn off the zoom-
to-bounds if we've got a bounding box in the URL.
|
| |
| |
| |
| |
| |
| | |
As the templates were using `grep`, they failed to match on a category
such as "Footpaths (right of way)". Changing the stash variables to be
hashes instead of lists makes checking for a key simpler. Fixes #1688.
|
|/ |
|
| |
|
|
|
|
|
|
|
| |
The report-sending code has allowed multiple emails for a long time, but the
admin wouldn't allow you to enter multiple emails for each contact.
Fixes mysociety/FixMyStreet-Commercial#835
|
|
|
|
|
|
|
|
|
|
| |
0.09 was communicating with v2.2 of the Facebook API which was switched off
on 25th March 2017, so Facebook logins were no longer working.
Mock::Facebook was updated to correctly return JSON from /oauth/access_token,
to match the behaviour expected since v2.3 of the FB API.
Fixes #1681
|
| |
|
| |
|
|\ |
|
| |
| |
| |
| |
| | |
This commit updates the contents of the es_DO translation,
and adds new strings ready for translation to the other translation files.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This commit makes the following parts of the site translatable:
- Social login buttons
- Moderation UI
- Offline glitch page & offline caching UI
- Dashboard
It also fixes a bug in the nget parser, stops some Oxfordshire bits
being translated for the moment, and brings the translation file up
to date.
|
| | |
|
| |
| |
| |
| |
| | |
This appends the GOOGLE_MAPS_API_KEY to the Google Maps JavaScript URL
as a `key` parameter.
|
| |
| |
| |
| | |
This makes it easier for cobrands to override nav link styles.
|
| | |
|
| | |
|
|\ \ |
|
| | | |
|
|/ / |
|
| | |
|
|/ |
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Email::Send is long deprecated and uses submodules that no longer work
correctly (e.g. Net::SMTP::TLS breaks with recent IO::Socket::SSL). We
create an Email::Sender subclass to perform the same functionality and
this also simplifies the email code with simpler envelope handling.
Bundle Email::Sender::Transport::SMTP to include fix from
https://github.com/rjbs/Email-Sender/issues/46
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | | |
The code was adding two days and seven/eight hours to a floating
DateTime, which from 5-7pm on 23rd March 2017 created a DateTime
between 1-2am on 26th March which does not exist in e.g. the UK.
|
| | | |
|
| |/ |
|
| | |
|
|/
|
|
|
|
|
|
|
| |
Problems can have an associated defect type, that can be assigned during
an inspection. Include an admin interface for managing these types, that
can also be assigned on a per-category basis, currently available to the
Oxfordshire cobrand.
(Also include 'TM' in traffic management Exor RDI output.)
|
| |
|
| |
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
The Open311 JSON output was wrapping each request parameter in a list.
This was presumably to prevent the XML output including the parameters
as attributes rather than children. A better way to fix this is to use
the NoAttr parameter to XMLout which forces them to be children.
|