Fix an issue where redirect to terms accept lacked a trailing slash, causing Django to either not find the URL if APPEND_SLASH was False, or return a redirect if it was true. Thanks to Jeff Jarvis for the report.
v2.0.10
Fix security vulnerability.
v2.0.9
Fix security vulnerability.
Add ability to exclude Superusers from T&Cs
Adding noopener and noreferrer to target="_blank" links on sample templates
Handle Multiple IP Addresses
Addressing reported issue where Postgres won't store multiple IP address strings.
Anonymous User and Cache Fixes for /terms/
The /terms view did not correctly handle anonymous users. The Django page cache was not being cleared when terms were accepted, so those views have been exempted from Django page caching.
Django3 Paths in URLs, Handle No Terms Cases
This version upgrades the urls.py files to use the Django 2+ path syntax, and adds better handling in the /terms view for situations where no terms have been defined. It also removes the hard-coded site-terms dependency for the /terms view, and should handle terms defined with any slug.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/sladinji/blousebrothers/network/alerts).
Bumps django-termsandconditions from 1.2.11 to 2.0.11.
Release notes
Sourced from django-termsandconditions's releases.
Commits
6cabe13
version 2.10.115b319e4
Adding test run config.21231ba
Appending slash to slug for terms redirect.74d34ba
Bump django from 3.2.15 to 3.2.16a54fd68
Bump poetry from 1.1.14 to 1.1.15ea0fa02
Bump poetry from 1.1.13 to 1.1.14a353c4b
Bump django from 3.2.13 to 3.2.1532c4902
v2.0.106145d3f
Delete .travis.yml03396a1
Fix open redirect vulnerabilityDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/sladinji/blousebrothers/network/alerts).