| Commit message (Collapse) | Author | Age | Lines |
| |
|
|
|
|
|
|
|
| |
If someone else in a block of flats has reported a missed collection,
others in the same service unit should not be able to report also.
Fixes https://github.com/mysociety/fixmystreet-commercial/issues/1945
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
This adds general enquiries to the reporting flow.
|
|
|
|
|
|
|
| |
This creates a non-map property-based reporting flow for reporting
missed collections and requesting new containers. Such reports are
always private, in categories that are hidden from the map filters
and never shown on .com.
|
|
|
|
|
| |
This creates an integration to view bin collection days, and
placeholders for the start of a non-map property-based reporting flow.
|
|
|
|
|
|
|
|
|
|
|
|
| |
If a category has hardcoded set to 1 in it's extra metadata then prevent
the name being edited in the admin. This is to avoid issues where the
name of the category is used in e.g. layers or other configuration and
changing it breaks things.
Also includes admin interface for setting this that is restricted to
super users only.
Fixes mysociety/fixmystreet-commercial#1992
|
|
|
|
|
|
|
| |
Bulk option to remove body, roles and permisions, and disable login in
admin for users.
Fixes mysociety/fixmystreet-commercial#2025
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
In the past Oxfordshire had a way for inspectors to "instruct a defect",
which generated a CSV which got emailed to Oxfordshire with a list of
defects.
They now want to bring this functionality back, but instead of emailing
a CSV they want it to call an API.
As a first step towards that goal, this change adds back some of the
instruct defect functionality that was removed in 68e18ff.
|
|
|
|
|
| |
As the contents of the service worker vary depending on if the user is
logged in don't cache it.
|
|
|
|
|
|
|
|
| |
A report's confirmation timestamp uses current_timestamp, and so
includes microseconds. An initial update text, to fit in with the
Open311 handling of updates, uses a DateTime object, which does not.
This means if a report is created when logged in, the initial update
can have a timestamp earlier than the report, and so is not alerted on.
|
| |
|
|\ |
|
| |
| |
| |
| |
| |
| | |
If a category’s send method is Open311, only strip spaces from the
ends of the code. We are aware of active Open311 servers that have
codes with spaces in the middle.
|
|\ \ |
|
| |/ |
|
|/ |
|
|\ |
|
| | |
|
| | |
|
| |
| |
| |
| | |
This also extends to response templates.
|
| | |
|
| |
| |
| |
| |
| |
| | |
Rename the not-logging-in username field to username_register.
Keep the sign-in field as username because that e.g. overlaps
with auth code in two-factor authentication.
|
| | |
|
|/ |
|
|
|
|
|
|
| |
Provide a stopper per disable message, rather than per question.
Previously there was one stopper per dropdown so only the last message
encountered was used.
|
|
|
|
|
| |
It's not possible to every have a comment where mark_fixed is true and
the problem_state is 'fixed - council' so update the test accordingly.
|
| |
|
|
|
|
|
|
|
|
|
| |
The change asset button code relies on the category drop downs being visible
which requires either the change report category or inspect report
permissions. Hide the button if these are not present and only fire the
update button code if it's present.
Fixes mysociety/fixmystreet-commercial#1961
|
|
|
|
| |
Not on StreetView/OpenMap Local based, which are not available.
|
|
|
|
|
| |
Include a status page, the option for access token requests to use this
system, and a script for manual generation.
|
| |
|
|
|
|
|
| |
This adds the code for photo uploads from the regular update form to the
inspector form, and adds details to the documentation.
|
|
|
|
|
|
| |
If category groups are enabled, the CSV export includes a subcategory,
but it was only fetching a valid groups value if the row's contact was
found.
|
| |
|
|
|
|
|
|
| |
This is largely to resolve an issue with the TfL other category
appearing in the contact form even though it is disabled, and hence has
no contact details.
|
|\ |
|
| |
| |
| |
| | |
If both are specified, we want to treat it as an AND, not an OR.
|
| |
| |
| |
| |
| |
| | |
A hash lookup in a template is escaping the key used, meaning the lookup
is failing anywhere we are using a category containing an ampersand as a
key. A continuation of the changes made in 527d763b.
|
|/
|
|
|
|
|
| |
The changes in 67823bc78 create the necessary metadata at the creation
of a Comment object, but if the user is not included at that point but
later (as is done by the normal public update flow), then it would not
be created. Wrap the user accessor so we can make sure it is set.
|
|\ |
|
| | |
|
|/
|
|
|
|
| |
Given the user, we can infer the name if not provided, and the extra
data if a staff user. We can also provide defaults for various other
fields. Always have superuser take precedence over from_body.
|