-
Notifications
You must be signed in to change notification settings - Fork 0
Remove token and Update to 1.7.0 #9
Changes from all commits
39a4577
9d2aac2
27bd0af
b4f418b
e5ecd56
d90bb34
3716ec4
6dbde71
6625d3a
fa7f935
b4e104a
bc941d7
49fb3cb
59ab199
0658109
621574c
d67210e
6085a2d
d35f030
4384566
ab74586
0394bff
1f106af
20ed234
853e1e7
8b37b30
fb60d04
3a9541f
401d856
3451228
0204383
78feec8
2980117
4ac0ecd
d25cb27
6aeb1b2
2909e55
f338975
ded35b2
6017f07
f111812
4610616
4a38c04
c9ce19c
e4c98c7
c42423c
e657d7b
250120d
27821a8
366e531
58f4f5f
e06a9db
94d42a8
68da292
baba2ed
689269e
ac20152
a6a21d3
4b13743
2a288fd
29d61cb
1b3fc51
9fbe840
a6bd0d0
7f891c1
f4a4bc7
7f7f1d5
94c6193
6e46403
9ee3ab1
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,29 @@ | ||
# .readthedocs.yml | ||
# .readthedocs.yaml | ||
# Read the Docs configuration file | ||
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details | ||
|
||
# Required | ||
version: 2 | ||
|
||
# Set the version of Python and other tools you might need | ||
build: | ||
os: ubuntu-20.04 | ||
tools: | ||
python: "3.9" | ||
# You can also specify other tool versions: | ||
# nodejs: "16" | ||
# rust: "1.55" | ||
# golang: "1.17" | ||
|
||
# Build documentation in the docs/ directory with Sphinx | ||
sphinx: | ||
configuration: docs/conf.py | ||
configuration: docs/conf.py | ||
|
||
# If using Sphinx, optionally build your docs in additional formats such as PDF | ||
# formats: | ||
|
||
# Optionally declare the Python requirements required to build your docs | ||
python: | ||
version: 3.7 | ||
install: | ||
- requirements: docs/requirements.txt | ||
install: | ||
- requirements: docs/requirements.txt |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,6 +14,75 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 | |
### Security | ||
--> | ||
|
||
## [1.7.0] 2022-01-23 | ||
|
||
### Added | ||
* #969 Add batching of expired token deletions in `cleartokens` management command and `models.clear_expired()` | ||
to improve performance for removal of large numers of expired tokens. Configure with | ||
[`CLEAR_EXPIRED_TOKENS_BATCH_SIZE`](https://django-oauth-toolkit.readthedocs.io/en/latest/settings.html#clear-expired-tokens-batch-size) and | ||
[`CLEAR_EXPIRED_TOKENS_BATCH_INTERVAL`](https://django-oauth-toolkit.readthedocs.io/en/latest/settings.html#clear-expired-tokens-batch-interval). | ||
* #1070 Add a Celery task for clearing expired tokens, e.g. to be scheduled as a [periodic task](https://docs.celeryproject.org/en/stable/userguide/periodic-tasks.html). | ||
* #1062 Add Brazilian Portuguese (pt-BR) translations. | ||
* #1069 OIDC: Add an alternate form of | ||
[get_additional_claims()](https://django-oauth-toolkit.readthedocs.io/en/latest/oidc.html#adding-claims-to-the-id-token) | ||
which makes the list of additional `claims_supported` available at the OIDC auto-discovery endpoint (`.well-known/openid-configuration`). | ||
|
||
### Fixed | ||
* #1012 Return 200 status code with `{"active": false}` when introspecting a nonexistent token | ||
per [RFC 7662](https://datatracker.ietf.org/doc/html/rfc7662#section-2.2). It had been incorrectly returning 401. | ||
|
||
## [1.6.3] 2022-01-11 | ||
|
||
### Fixed | ||
* #1085 Fix for #1083 admin UI search for idtoken results in `django.core.exceptions.FieldError: Cannot resolve keyword 'token' into field.` | ||
|
||
### Added | ||
* #1085 Add admin UI search fields for additional models. | ||
|
||
## [1.6.2] 2022-01-06 | ||
|
||
**NOTE: This release reverts an inadvertently-added breaking change.** | ||
|
||
### Fixed | ||
|
||
* #1056 Add missing migration triggered by [Django 4.0 changes to the migrations autodetector](https://docs.djangoproject.com/en/4.0/releases/4.0/#migrations-autodetector-changes). | ||
* #1068 Revert #967 which incorrectly changed an API. See #1066. | ||
|
||
## [1.6.1] 2021-12-23 | ||
|
||
### Changed | ||
* Note: Only Django 4.0.1+ is supported due to a regression in Django 4.0.0. [Explanation](https://github.com/jazzband/django-oauth-toolkit/pull/1046#issuecomment-998015272) | ||
|
||
### Fixed | ||
* Miscellaneous 1.6.0 packaging issues. | ||
|
||
## [1.6.0] 2021-12-19 | ||
### Added | ||
* #949 Provide django.contrib.auth.authenticate() with a `request` for compatibiity with more backends (like django-axes). | ||
* #968, #1039 Add support for Django 3.2 and 4.0. | ||
* #953 Allow loopback redirect URIs using random ports as described in [RFC8252 section 7.3](https://datatracker.ietf.org/doc/html/rfc8252#section-7.3). | ||
* #972 Add Farsi/fa language support. | ||
* #978 OIDC: Add support for [rotating multiple RSA private keys](https://django-oauth-toolkit.readthedocs.io/en/latest/oidc.html#rotating-the-rsa-private-key). | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🎉 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yep it was in the lower versions, so we could get this feature now, we might need to see how to rotate though as did they make this backwards compatible for us who uses a single value? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I have a ticket logged here but it shouldn't blow up in the meantime... 😅 |
||
* #978 OIDC: Add new [OIDC_JWKS_MAX_AGE_SECONDS](https://django-oauth-toolkit.readthedocs.io/en/latest/settings.html#oidc-jwks-max-age-seconds) to improve `jwks_uri` caching. | ||
* #967 OIDC: Add [additional claims](https://django-oauth-toolkit.readthedocs.io/en/latest/oidc.html#adding-claims-to-the-id-token) beyond `sub` to the id_token. | ||
* #1041 Add a search field to the Admin UI (e.g. for search for tokens by email address). | ||
|
||
### Changed | ||
* #981 Require redirect_uri if multiple URIs are registered per [RFC6749 section 3.1.2.3](https://datatracker.ietf.org/doc/html/rfc6749#section-3.1.2.3) | ||
* #991 Update documentation of [REFRESH_TOKEN_EXPIRE_SECONDS](https://django-oauth-toolkit.readthedocs.io/en/latest/settings.html#refresh-token-expire-seconds) to indicate it may be `int` or `datetime.timedelta`. | ||
* #977 Update [Tutorial](https://django-oauth-toolkit.readthedocs.io/en/stable/tutorial/tutorial_01.html#) to show required `include`. | ||
|
||
### Removed | ||
* #968 Remove support for Django 3.0 & 3.1 and Python 3.6 | ||
* #1035 Removes default_app_config for Django Deprecation Warning | ||
* #1023 six should be dropped | ||
|
||
### Fixed | ||
* #963 Fix handling invalid hex values in client query strings with a 400 error rather than 500. | ||
* #973 [Tutorial](https://django-oauth-toolkit.readthedocs.io/en/latest/tutorial/tutorial_01.html#start-your-app) updated to use `django-cors-headers`. | ||
* #956 OIDC: Update documentation of [get_userinfo_claims](https://django-oauth-toolkit.readthedocs.io/en/latest/oidc.html#adding-information-to-the-userinfo-service) to add the missing argument. | ||
|
||
|
||
## [1.5.0] 2021-03-18 | ||
|
||
### Added | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# Code of Conduct | ||
|
||
As contributors and maintainers of the Jazzband projects, and in the interest of | ||
fostering an open and welcoming community, we pledge to respect all people who | ||
contribute through reporting issues, posting feature requests, updating documentation, | ||
submitting pull requests or patches, and other activities. | ||
|
||
We are committed to making participation in the Jazzband a harassment-free experience | ||
for everyone, regardless of the level of experience, gender, gender identity and | ||
expression, sexual orientation, disability, personal appearance, body size, race, | ||
ethnicity, age, religion, or nationality. | ||
|
||
Examples of unacceptable behavior by participants include: | ||
|
||
- The use of sexualized language or imagery | ||
- Personal attacks | ||
- Trolling or insulting/derogatory comments | ||
- Public or private harassment | ||
- Publishing other's private information, such as physical or electronic addresses, | ||
without explicit permission | ||
- Other unethical or unprofessional conduct | ||
|
||
The Jazzband roadies have the right and responsibility to remove, edit, or reject | ||
comments, commits, code, wiki edits, issues, and other contributions that are not | ||
aligned to this Code of Conduct, or to ban temporarily or permanently any contributor | ||
for other behaviors that they deem inappropriate, threatening, offensive, or harmful. | ||
|
||
By adopting this Code of Conduct, the roadies commit themselves to fairly and | ||
consistently applying these principles to every aspect of managing the jazzband | ||
projects. Roadies who do not follow or enforce the Code of Conduct may be permanently | ||
removed from the Jazzband roadies. | ||
|
||
This code of conduct applies both within project spaces and in public spaces when an | ||
individual is representing the project or its community. | ||
|
||
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by | ||
contacting the roadies at `[email protected]`. All complaints will be reviewed and | ||
investigated and will result in a response that is deemed necessary and appropriate to | ||
the circumstances. Roadies are obligated to maintain confidentiality with regard to the | ||
reporter of an incident. | ||
|
||
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version | ||
1.3.0, available at [https://contributor-covenant.org/version/1/3/0/][version] | ||
|
||
[homepage]: https://contributor-covenant.org | ||
[version]: https://contributor-covenant.org/version/1/3/0/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oooh this is cool! We should add this (maybe after the migration is done)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah reduce the burden on that table a bunch...