| Commit message (Collapse) | Author | Age | Lines |
... | |
|/ |
|
|\ |
|
| |
| |
| |
| | |
We want machine-readable dates in a data export.
|
| |
| |
| |
| |
| | |
Only look at confirmed updates, and spot updates using mark_fixed and
not problem_state (e.g. questionnaire responses).
|
| |
| |
| |
| | |
Ensures ‘Other’ group is last in the list, if it exists.
|
|/ |
|
|\ |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
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.
|
|
|
|
|
| |
This can optionally disable appcache for superusers which can be handy
in development.
|
|
|
|
|
|
|
| |
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.
|
| | |
|
|/ |
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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.
|
|\ |
|
| | |
|
| |
| |
| |
| |
| | |
/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
|
|\ |
|
| | |
|
| | |
|
| | |
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | | |
URLs have to be manually constructed, but specifying multiple ward names
separated by "|" will show all those wards and their reports on the map.
|
|\ \ \ |
|
| |/ /
| | |
| | |
| | |
| | | |
We have no way of knowing whether a +1 geographic number is fixed
line or mobile, so accept them all as potentially mobile.
|
| | |
| | |
| | |
| | |
| | |
| | | |
This lookup is often performed by inspectors with appcache switched on,
which means they were getting the intercepted Glitch page rather than a
404; give them a no results page instead.
|
|/ /
| |
| |
| |
| |
| | |
It was possible to trigger an SQL error by entering a value larger than
that permitted by the `integer` SQL type. This commit instead returns a
404 in that case.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This resolves two issues when updating the report category in the
staff users inspect form:
* report category is only updated if the rest of the form is valid
* only one update on the report is left
Previously changing the category would create an update in addition to
any public update created, and the category was always updated even when
validation errors occurred elsewhere in the form.
|