| Commit message (Collapse) | Author | Age | Lines |
| |
|
|\ |
|
| |
| |
| |
| |
| |
| | |
It will still output via cron on the first failure. However, reduce the
verbosity of a couple of SendReport modules which are reporting failure
every time.
|
| | |
|
|/
|
|
|
| |
Even when we ask for a specific range of dates, we sometimes get given
more in the response.
|
|\ |
|
| |
| |
| |
| | |
And associated, e.g. nothing references fixmystreet-old-box.js any more.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
The app doesn't currently use the unresponsive body data returned
via /report/new/ajax, so make sure it's returned via the category
look up it does make.
|
|\ \ |
|
| | | |
|
| | | |
|
| |/
|/| |
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Store image type along with hash in photo column, and use that when
outputting images / generating URLs. Make sure all public photo URL
generation goes through appropriate functions, and change temp URLs
so the filename can be output directly from the list.
|
| |/
| |
| |
| |
| | |
We check for a session's existence before looking in it, as looking in
it first would auto create a session.
|
|\ \ |
|
| | |
| | |
| | |
| | | |
Remove unused body/area ID URL code.
|
| |/
| |
| |
| | |
Fixes #574.
|
|/
|
|
|
| |
This may be a contact send method if devolved, or the default if none
set on the body.
|
|
|
|
|
| |
The form element contains 'fixed', so we need to strip the user/council
part of the actual state. Fixes #1369.
|
|\ |
|
| | |
|
| |
| |
| |
| |
| | |
There's no need for the IP->country lookup, only used in JavaScript
to display a banner, to require a call to the FixMyStreet server.
|
| | |
|
|\ \ |
|
| | |
| | |
| | |
| | | |
This stops the front page header nesting skipping a level.
|
| | |
| | |
| | |
| | |
| | |
| | | |
Some img tags were using http://[cobrand].fixmystreet.com/ URLs
when their including page was served over HTTPS, causing mixed
content warnings on IE.
|
| | |
| | |
| | |
| | |
| | |
| | | |
lighting reports
Fixes mysociety/FixMyStreet-Commercial#767
|
|/ / |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Angus provide a WFS endpoint for their existing streetlight assets
and known faults.
This commit:
- Displays clickable markers when the 'street lighting' category is selected
on the report a problem page.
- Displays known faults on the map
- Includes a custom OpenLayers build for the Angus cobrand that
includes WFS support
The custom code for adding the layers to the map is within
position_map.js, as this seemed to be currently the best place
for cobrand-specific map logic.
|
| | |
|
| |
| |
| |
| |
| | |
This adds a cobrand for Angus Council that fits in with their
existing styling on angus.gov.uk
|
|/
|
|
|
|
| |
Make sure the unresponsive message shows, if you're in a two-tier area
and one of the areas is marked as unresponsive, for all the categories
of that area.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The following modules had bugs that have been fixed for working in
recent perls:
* List::MoreUtils
* Guard
* PadWalker
* aliased
* URI
* Convert::NLS_DATE_FORMAT
The CGI module was removed from core in 5.20, so include it in the
snapshot (I don't think it's actually used, but is a dependency).
"{" needs to be escaped in regular expressions, and ~~ should not be
used.
Fix some tests that expect e.g. a certain hash ordering, to use sorted
output or better comparisons.
|
|
|
|
|
|
|
|
|
| |
Perl 5.20 introduced a version of Encode that errors on decoding already
decoded content (rather than returning the same string). Whilst this can
be taken as a bug in our code (although the decoding exists because some
versions of FastCGI silently UTF-8 encode the content), in the changelog
for Perl the only reference to this change is the line: "Encode has been
upgraded from version 2.49 to 2.60.".
|
|
|
|
|
|
|
|
| |
Includes a smiley, bright yellow homepage, and updated nav bar and
footer across the entire site; a few content changes; request for
gender information from users.
Fixes #1341.
|
|
|
|
|
| |
This variable can then be used by e.g. extra_name.html to know what form
it is on.
|
|
|
|
|
|
| |
This adds a new cobrand variable, report_form_extras, which contains a
list of extra fields that will be saved in the 'extra' metadata of the
report. Fields may optionally be marked as required.
|
|
|
|
|
| |
It is currently only used for processing extra fields (the list, not the
metadata hash) which is really only of relevance to Open311.
|
|
|
|
|
| |
If a user is logged in, use their last report/update to set the default
anonymity state.
|
|
|
|
| |
Fixes #1337.
|
|
|
|
|
|
|
|
|
|
| |
Auto unsubscribe alert bounces, forward on report bounces and alert
replies to support, and send through to report creator non-bounce
replies to their report (for systems that ignore both the From and
Reply-To headers).
Also forward any totally unparsed bounce to support to possibly then
adjust this bounce handling.
|
| |
|
|
|
|
|
|
|
| |
If a report was sent to multiple bodies, one of which was set to skip,
(e.g. temporarily turned off due to receiving issues), then the code
would still try and send the report due to the other bodies, leading to
multiple sendings and an error for the skipped body.
|
|\ |
|
| | |
|
| | |
|
|/
|
|
|
|
| |
There might be the odd update alert we are interested in (those not
auto-signed up for as part of report or update creation), but they
will be rare.
|