| Commit message (Collapse) | Author | Age | Lines |
... | |
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Rather than include the mobile logo as a base64-encoded data URI, we
include it as an SVG, inlined on the homepage or in the CSS. The SVG
should gzip better, and will work better with the critical CSS work,
allowing the site logo to appear immediately on page load for mobile
visitors, rather than waiting for the full stylesheet to download.
Fixes #1887.
|
| |
| |
| |
| |
| | |
If the browser doesn't support SVG, they're not going to care about
high-dpi images.
|
|/
|
|
|
|
|
|
|
|
| |
Add a `prefill_report_fields_for_inspectors` config to cobrands,
defaulted to 0, to control the automatic pre-population of report
fields.
Also add default of 1 for UKCouncil cobrand.
Fixed #1854
|
|
|
|
|
|
| |
c9998984 altered nearby.json to use on_map rather than around_map, to
prevent needless text appearing, but did not take account of the fact
that it expects Problem objects, not Nearby objects.
|
|
|
|
| |
1b15964a doubled the pin icon images.
|
|\ |
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
/around will now show all reports all the time, but we are about to
introduce pagination to stop that.
|
| |
| |
| |
| |
| | |
Both /reports and /my work by using the same URL with ajax=1. We should
use the same on /around for consistency.
|
|\ \ |
|
| |/
| |
| |
| |
| | |
This functionality isn't needed here, and causes an issue with the main
form submitting due to a form inside a form.
|
|/ |
|
|
|
|
|
|
|
| |
This should fix #1886, which was caused by the update of Module::Build
as part of f97088d6 removing Module::Build::ModuleInfo which was still
being required by Module::ScanDeps. This was passing on Travis because
Module::ScanDeps was already installed.
|
|
|
|
|
|
|
|
|
|
| |
If a user is trying to remove a problem from their shortlist we should
always allow it regardless of the state of the problem. Previously if a
problem wasn't displayed on the site then it could not be removed from
the shortlist which was an issue with council cobrands and reports that
had changed body.
Fixes mysociety/fixmystreetforcouncils#243
|
|
|
|
| |
This removes unnecessary whitespace to reduce the output size.
|
|
|
|
| |
otherwise the login doesn't work post sms auth changes.
|
|\ |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Make sure that all relevant options in the filter status drop down are
checked to handle staff users who can see the full set of states and not
just open, closed and fixed
Also restore custom label for no states checked.
Fixes mysociety/forcouncils#227
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
|/ / |
|
|/
|
|
|
|
|
| |
It was possible to mark a report as a duplicate in the inspector panel
without providing an id of the duplicate. This prevents that.
Fixes mysociety/fixmystreetforcouncils#236
|
|
|
|
|
| |
Do not try and redirect to a report that won't be viewable on the
cobrand being used.
|
|\ |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Create a comment on a problem when the admin is used to change the state
of the problem. If only the state is changed then create a comment with
blank text. If the category and state are changing then include details
of the category change in the comment.
Not all the state changes are displayed at the template level by
default.
Fixes #1846
|
|\ \ |
|
| | |
| | |
| | |
| | | |
Don't think the return data ever needs decoding.
|
| | |
| | |
| | |
| | | |
This means variables do not need decoding in a few places.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
When the tests are run normally, using bin/run-tests, 00-check-config.t
is pointless as the config will have been newly set up from the example
file. To prevent running except through run-tests, check when test_mode
is set, dying if the live config file has been used.
|
| | |
| | |
| | |
| | | |
An unneeded "END" was introduced in c7d98f98, sorry.
|
| |/
|/|
| |
| |
| | |
Any map bar the already-full-screen /around map could benefit from
the expand map option, especially the list of your reports.
|
| |
| |
| |
| |
| |
| | |
A full modal made it hard to perform multiple zooms/pans, making
the site slower to use than necessary. Tell the user the site is
updating, but let them interact with the map at the same time.
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | | |
URLs have to be manually constructed, but specifying multiple ward names
separated by "|" will show all those wards and their reports on the map.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
If there was a normal email alert, and then an alert for an update with
no text (so no email should be sent), it would still try to send the
blank email, and then die because no e.g. $data{cobrand} set.
This moves the skip-blank-update check higher up, above any email
sending code.
|
| | | |
|
| | | |
|