| Commit message (Collapse) | Author | Age | Lines |
... | |
| |/
| |
| |
| |
| |
| | |
This allows more fine grained control over the geocoder search, e.g. to
specify the administrative area or town. See the geocoder api docs:
https://developers.google.com/maps/documentation/geocoding/intro#ComponentFiltering
|
|/
|
|
|
|
|
|
| |
Make sure that the prettify_dt tests use the same timezone as FMS
otherwise the test can fail if now in the local timezone is actually
yesterday/tomorrow in the FMS timezone.
Fixes #1984
|
| |
|
|
|
|
|
|
|
| |
Previously this would force phone_verified to false for all user edits,
as well as forcing email_verified to true - which would be the wrong thing
to do if the user had been created/verified via the ‘report as another user’
flow.
|
| |
|
|\ |
|
| | |
|
| | |
|
|\ \ |
|
| | | |
|
| |/ |
|
|\ \ |
|
| |/ |
|
| |
| |
| |
| |
| | |
This brings in my new format_for_country function which allows
for nicer display of phone numbers to people.
|
|/
|
|
|
| |
If they have a current password, ask for it; if they don't,
send a confirmation email.
|
|\ |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The 'updates are not sent to the council' message was incorrectly being
shown on reports where updates would in fact be sent. This was affecting
non-Bromley/Stevenage reports on fms.com and all cobrands using Open311.
This commit moves the logic out of the template and adds the
Problem->updates_sent_to_body method which inspects the receiving body's
Open311 configuration to determine whether updates will be sent.
The duplication of the Lewisham/Oxfordshire logic between Problem.pm and
send-comments isn't ideal but hopefully there won't be any new Open311
bodies that only send and don't receive updates. If there are we'll have
to look at refactoring that list.
|
| | |
|
|\ \
| |/
|/| |
|
| |
| |
| |
| |
| | |
When more than one photo has been uploaded, allow each one to
be published/not independently.
|
| |
| |
| |
| |
| | |
has_permission_to() is called in Reports.pm and requires the cobrand to be
set on the schema. The test was manually doing this which hid the problem.
|
|/ |
|
| |
|
|\ |
|
| |
| |
| |
| |
| | |
This prevents FixMyStreet cookies from being sent from third-party
<img>s and the like, in supporting browsers.
|
|/
|
|
| |
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.
|