| Commit message (Collapse) | Author | Age | Lines |
... | |
|/
|
|
| |
The list of existing categories wasn't being checked correctly.
|
| |
|
|\ |
|
| |
| |
| |
| |
| |
| | |
Limited to most recent 100 rows and not full data.
Factor the two CSV generations together.
|
| |
| |
| |
| |
| | |
Uses the dashboard stats code to display a rough table of stats which
can be used as the basis for a chart later
|
|\ \
| |/
|/| |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Cobrands can provide a `skip_around_page` method which means the user will be
taken from the front page form directly to /report/new with a pin in the map
at the location entered.
This also preserves the category parameter, if specified on the front page form.
Fixes #1730.
|
|/
|
|
|
|
|
| |
Bromley uses jQuery for its A-Z on all pages; only load Bristol map
JavaScript on map pages (same as Angus); drop Oxfordshire JS use of
jQuery; fix Zurich load order; and improve jQuery checking in other
JavaScript.
|
|
|
|
|
| |
This was causing an error in "Test ajax decimal points" in fixamingata.t
due to "importance" being encoded with a comma decimal separator.
|
| |
|
| |
|
|
|
|
|
|
|
| |
If an Open311 service request update with an empty description field is
received and there is a matching ResponseTemplate for the problem's
category & state (and it's marked as auto-response) then the text from
that ResponseTemplate will be used for the created update.
|
|\ |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
Adds a link from /my to a page for generating an access token which is
then stored in the user's extra field.
|
|/
|
|
| |
This allows access if you have a token associated with your user.
|
|
|
|
|
|
|
|
| |
Display a list of the email addresses used to contact the council on the
council dashboard. Does not display emails if the council has an
integration, rejects FMS reports or is currently turned off.
Fixes mysociety/fixmystreetforcouncils#941
|
|
|
|
|
|
|
| |
This adds a new send_moderation_notifications method which can be overridden
by cobrands to prevent “your report has been moderated” emails from being sent.
Fixes mysociety/fixmystreet-commercial#936
|
|
|
|
|
| |
If someone selects 15-16th November, they want reports
from both those dates, not just the 15th.
|
|\
| |
| |
| | |
Updated geolocation.js with concurrent changes.
|
| | |
|
|\ \ |
|
| |/
| |
| |
| |
| |
| | |
It turns out that HTTP::Message (as used by LWP::Simple::get) only
decodes text/* and 'XML', not application/json, as used by all the
geocoders. Work around this, hopefully in a future-proof way.
|
|/ |
|
| |
|
|
|
|
|
|
|
| |
Add an unban button to the user edit page when a user is in the abuse
table.
Fixes #1881
|
|
|
|
|
|
|
| |
move setting the body template to before `fetch_contacts` so it doesn't
override setting the text only email address template.
Fixes #1895
|
|
|
|
|
| |
The check that a name was entered was testing the user's
current name, not the name entered in the form.
|
|\ |
|
| |
| |
| |
| |
| | |
/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.
|
|
|
|
|
|
|
|
|
|
| |
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
|
|\ |
|
| | |
|
| | |
|
| | |
|
|/
|
|
|
|
|
| |
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
|
|\ |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| |
| |
| | |
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.
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | | |
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.
|
| | | |
|