This repository was archived by the owner on Aug 29, 2023. It is now read-only.
forked from django-oauth/django-oauth-toolkit
-
Notifications
You must be signed in to change notification settings - Fork 0
Update our fork to 1.5.0 #5
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…ango-oauth#877) This reverts commit 4655c03.
url() is deprecated in Django 3.1. Path is available in all supported versions of Django.
* add tests for issue of PKCE authorization code GET request * pass PKCE fields to AuthorizationView form Pass code_challenge and code_challenge_method from query string to AuthorizationView form in get(). Without this, it was impossible to use authorization code grant flow with GET, because code_challenge and code_challenge_method data were never passed to form, so they weren't in form.cleaned_data, which causes creating Grant with always empty code_challenge and code_challenge_method. This issue was quite hard bug to discover because there are already few tests for authorization code flow pkce, however, they weren't checking form rendering in GET request, but only response.status_code, I have added asserts for these 2 values, please look at the changes in test_public_pkce_plain_authorize_get and test_public_pkce_S256_authorize_get tests in test_authorization_code.py.
* Added Python 3.9 to test matrix for djangomaster * Added Python3.9 support for Django 2.2 and 3.0
added Support for 3.1 Removed support for 2.1
* Add black, isort and pre-commit hooks
* Add black configuration
* Run black as part of flake8 testenv in tox
* Add editorconfig to ensure indent style in tox.ini/setup.cfg
* Add pre-commit hooks to check flake8, black, isort and common errors
* Update isort configuration to be black-compatible
* Update contributing documentation
* Add myself to AUTHORS
* Skip migrations in black/isort/pre-commit
* Run black over the source tree
This is the result of running `black .` over the repository.
By-hand improvements of the blackened code will be in follow up commits,
to make it easier to reapply this commit to future updates, if
necessary - IE to remove this commit and re-run black over a fresh tree,
rather than trying to merge new changes in to this commit.
* Hand tweak some of black's autoformatting
Some minor hand tweaks:
oauth2_provider/contrib/rest_framework/authentication.py
oauth2_provider/oauth2_validators.py
Construct OrderedDict in a clearer, still black compliant way
(one line per dict entry)
tests/test_token_revocation.py
Remove empty method docstrings
* Apply isort over codebase
Co-authored-by: Tom Evans <[email protected]>
…jango-oauth#903) * Disable 255 chars length limit for redirect uri (django-oauth#902) RFC 7230 recommends to design system to be capable to work with URI at least to 8000 chars long. This commit allows handle redirect_uri that is over 255 chars.
* WIP - GH actions * drop pypy * Fix tox.ini * Try to fix coverage * Add 3.5 (for django 2.2) to GH actions * Minor doc updates. * Rename some tox config. * Minor typo. * Add release workflow. * Remove tarball from download URL. * Ignore errors on Django masters. * Minor fix. Co-authored-by: Jannis Leidel <[email protected]>
* removed limit on select for update (due to an Oracle 12c limitation) * added my name to authors * Use filter and wrap in a list * documentation
Add a new tox target, `livedocs`, that uses sphinx-autobuild to monitor the docs and auto rebuild the HTML docs when they change. It also starts a webserver on 127.0.0.1:8000 using livereload to serve the docs, which will automatically reload the pages in your browser as they are changed. Add docs on updating the docs. Add sphinx-rtd-theme so that the docs generated in development match the style that they are displayed in on readthedocs. Co-authored-by: Alan Crosswell <[email protected]>
… 36000. (django-oauth#917) Co-authored-by: Alan Crosswell <[email protected]>
* document how to contribute translations
Single quotes are italics in reST and I see no need for them in this particular heading. Co-authored-by: Alan Crosswell <[email protected]>
Run lint in Github Actions to avoid PRs being merged that have accidentally included linting violations. Fix a file that has a linting violation.
* Fix wrong import fix wrong import from `url` (unused in example) to `path` * Update tutorial_02.rst Co-authored-by: Rust Saiargaliev <[email protected]>
* Fix weird grammar in messages on authorize screen The existing message to users was 'Application requires following permissions' which sounds like bad english to me. I've changed them to 'Application requires the following permissions'. * Add myself to authors Co-authored-by: Alan Crosswell <[email protected]>
* GHA: run CI on PRs and pushes to master only Previously, every pull request was running actions twice, since two signas were fired - push commit in the PR and new PR itself. * Update CHANGELOG * Review comments Co-authored-by: Alan Crosswell <[email protected]>
…o-oauth#939) This reverts commit 062408a.
* Drop retired Python 3.5 Python 3.5 did reach end-of-life in September 2020: https://www.python.org/downloads/release/python-3510/ We can safely remove it from CI to reduce test running time. * Add my name to AUTHORS Co-authored-by: Alan Crosswell <[email protected]>
Added all co-authors of the OIDC PR to AUTHORS and sorted alphabetically.
ryanluker
commented
Mar 30, 2023
gregmallan
reviewed
Mar 30, 2023
|
@mackosx I say we give up on |
Yeah sounds good |
mackosx
reviewed
Mar 31, 2023
ryanluker
commented
Mar 31, 2023
mackosx
approved these changes
Mar 31, 2023
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
@mackosx @gregmallan
Merge method
Fetched the upstream versions and then used a new branch
1.5.0-grnwith the default git merge method.git merge 1.5.0Current CI Failures
None! ✅
Work
iattime.time()linkImportant Commits
3622206
e4d5e1b
32f0051
dc0dd81
a8b43ef
af476e9
f87d071
3897436
2e734e5