| Commit message (Collapse) | Author | Age | Lines |
|
|
|
|
| |
Include a status page, the option for access token requests to use this
system, and a script for manual generation.
|
| |
|
|
|
|
| |
This means these functions can more easily be used in a non-web context.
|
| |
|
| |
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
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.
|
|/
|
|
|
| |
Sort the table when showing search results, and show users
without name at the bottom, rather than at the top.
|
|
|
|
| |
This simplifies the code wherever used.
|
| |
|
| |
|
|
|
|
|
|
|
| |
- Cobrand config can now specify custom scope and other params
e.g. G Suite supports per-domain customisation and the ‘prompt’ param
to always ask the user to select the account they want to login with.
- Token may have an ‘name’ claim instead of needing to concat given_/family_name claims
|
|
|
|
| |
Turns out there’s nothing strictly Azure-specific about it.
|
| |
|
|\ |
|
| | |
|
| | |
|
| | |
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | | |
We are getting spam submissions of e.g. alert subscribe form,
which causes people to get a confirmation email.
|
|\ \ \
| |_|/
|/| | |
|
| |/
| |
| |
| | |
Match the identical code for anonymous reports.
|
|/ |
|
|
|
|
|
|
|
|
| |
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.
|
| |
| |
| |
| |
| | |
Look up user's permissions once at the start, and
use that throughout the report page templates.
|
|/
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
The change to join in e16054150 did not include a collapse that the
previous prefetch was doing, so multiple rows per result were being
returned.
|
|\ |
|
| | |
|
|/
|
|
|
| |
Add a tickbox to the category admin, and do not allow reopening on
reports made in the selected categories.
|
|
|
|
|
| |
Add a tickbox to the category admin, and do not allow updates on
reports made in those selected categories.
|
|
|
|
|
|
|
|
|
|
|
| |
On admin report lists, and in front-end lists when an inspector, each
row was querying the database for `category_display`. We create a new
relationship for this query, and join/prefetch it wherever we request
this data.
Include staff joins on /around page, copying what happens on /reports
to prevent more lookups there too. Also add some joins for user email
in admin report list.
|
| |
|
|\ |
|
| |
| |
| |
| |
| | |
The export flow and the admin search request more data
from the database than they need, which slows it down.
|
| | |
|
|/
|
|
|
|
| |
If the web param is used, show an error web page rather than the normal
plain text output. Also do the normal remember/show uploaded photos
feature, and hide the inputs better if unneeded.
|
|\ \
| | |
| | |
| | | |
'2962-pin-move-category-group' and 'move-admin-index-stats-to-stats-page'
|