| Commit message (Collapse) | Author | Age | Lines |
|\ |
|
| |
| |
| |
| |
| |
| | |
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.
|
|
|
|
|
|
|
| |
If switched on, sends first five letters of the SHA1 hash of the entered
password to HIBP's API, which then returns all matching hashes in their
database of breached passwords. If we find a match, tell the user they
need to pick a different password.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|\ |
|
| |
| |
| |
| |
| | |
We are getting spam submissions of e.g. alert subscribe form,
which causes people to get a confirmation email.
|
|\ \ |
|
| |/ |
|
| | |
|
|/ |
|
|
|
|
|
|
|
|
| |
When compiling the reporting category dropdown, only one instance of
each value was used. But if a value appears twice, from two different
bodies, in different groups, it would then not appear in all the groups
it would be expected to. Make sure we update the list of groups of the
category if we come across another with the same value.
|
|
|
|
|
|
|
|
| |
Add an interface to enable a category to accept anonymous reports, plus
the code to handle permitting this.
It's only available on single body cobrand sites in the default
configuration.
|
|
|
|
| |
Include name, email and body rather than just user id.
|
|\ |
|
| |
| |
| |
| |
| | |
Shortlist buttons and extended print information
will not appear where not allowed.
|
| |
| |
| |
| |
| |
| |
| |
| | |
Users with assigned_categories_only will only see staff features on a
report page in their assigned categories.
Users will only see staff features on a report page in a category with
assigned_users_only if it is in their assigned categories.
|
|/
|
|
|
|
| |
If you rename an Open311 category when it is not protected, it will only
get reinstated/deleted by the Open311 populate script shortly after, and
can cause issues due to the problem category renaming that occurs.
|