summaryrefslogtreecommitdiff
path: root/tests/auth_tests
AgeCommit message (Collapse)Author
2016-11-21Refs #17209 -- Fixed token verification for PasswordResetConfirmView POST ↵Florian Apolloner
requests.
2016-11-16Fixed #27467 -- Made UserAttributeSimilarityValidator max_similarity=0/1 ↵Tim Graham
work as documented. Thanks goblinJoel for the report and feedback.
2016-11-14Fixed E305 flake8 warnings.Ramin Farajpour Cami
2016-11-10Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings.za
2016-10-28Simplified some auth_tests with assertRedirects().Tim Graham
2016-10-25Reverted "Fixed #26401 -- Added BaseAuthConfig to use auth without migrations."Jon Dufresne
This reverts commit 1ec1633cb294d8ce2a65ece6b56c258483596fba as it doesn't handle ContentType's auth.Permission dependency. Thus, it doesn't allow auth without migrations.
2016-09-27Fixed #20705 -- Allowed using PasswordResetForm with user models with an ↵levental
email field not named 'email'.
2016-09-27Fixed #27053 -- Documented contrib.auth.get_user().Berker Peksag
2016-09-17Refs #27025 -- Fixed "invalid escape sequence" warnings in Python 3.6.Tim Graham
http://bugs.python.org/issue27364
2016-09-14Fixed #26170 -- Made ModelAdmin views run transactions on the correct database.Jibodeah
Thanks juntatalor for the initial patch.
2016-09-12Fixed #23155 -- Added request argument to user_login_failed signal.Gavin Wahl
2016-09-12Fixed #25187 -- Made request available in authentication backends.Aleksej Manaev
2016-09-12Added a blank line per isort.Tim Graham
2016-09-10Fixed #26401 -- Added BaseAuthConfig to use auth without migrations.Jon Dufresne
2016-09-10Fixed indentation in previous commit.Tim Graham
2016-09-10Fixed #26097 -- Added password_validators_help_text_html to UserCreationForm.Alexander Gaevsky
2016-09-07Fixed #26956 -- Added success_url_allowed_hosts to LoginView and LogoutView.Jon Dufresne
Allows specifying additional hosts to redirect after login and log out.
2016-08-28Fixed typo in auth management test.Jon Dufresne
2016-08-24Fixed #27111 -- Fixed KeyError if USERNAME_FIELD isn't in ↵Berker Peksag
UserCreationForm.fields.
2016-08-19Refs #26902 -- Protected against insecure redirects in Login/LogoutView.Przemysław Suliga
2016-08-18Removed unused 'password' parameter in auth_tests.Tim Graham
2016-08-15Fixed #27009 -- Made update_session_auth_hash() rotate the session key.Tim Graham
2016-08-10Fixed #26909 -- Allowed UserAttributeSimilarityValidator to validate against ↵Andrew Nester
model properties.
2016-08-10Fixed #26960 -- Added PasswordResetConfirmView option to automatically log ↵jordij
in after a reset.
2016-08-10Fixed #26951 -- Allowed AuthenticationForm to work with a username of 0.Olexander Yermakov
2016-08-03Fixed #26997 -- Fixed checks crash with empty Meta.default_permissions.Sergey Yurchenko
2016-07-28Fixed #26929 -- Deprecated extra_context parameter of ↵Andrew Nester
contrib.auth.views.logout_then_login().
2016-07-28Removed a blank line per isort and a trailing whitespace.Tim Graham
2016-07-22Fixed #26882 -- Added tests for auth.views.logout_then_login().Andrew Nester
2016-07-16Fixed #17209 -- Added password reset/change class-based viewsClaude Paroz
Thanks Tim Graham for the review.
2016-06-24Fixed #26719 -- Normalized email in AbstractUser.clean().Bang Dao + Tam Huynh
2016-06-24Refs #17209 -- Added LoginView and LogoutView class-based viewsClaude Paroz
Thanks Tim Graham for the review.
2016-06-21Refs #21379, #26719 -- Moved username normalization to AbstractBaseUser.Tim Graham
Thanks Huynh Thanh Tam for the initial patch and Claude Paroz for review.
2016-06-16Fixed #26747 -- Used more specific assertions in the Django test suite.Jon Dufresne
2016-05-20Increased the default PBKDF2 iterations.Tim Graham
2016-05-18Moved the AUTH_USER_MODEL setting changed receiver.Simon Charette
Test suites besides Django's may need the same behavior.
2016-05-18Fixed running auth_tests in isolation after ↵Loïc Bistuer
3a47d42fa33012b2156bf04058d933df6b3082d2.
2016-05-17Refs #26601 -- Deprecated old-style middleware.Tim Graham
2016-05-17Fixed #26601 -- Improved middleware per DEP 0005.Florian Apolloner
Thanks Tim Graham for polishing the patch, updating the tests, and writing documentation. Thanks Carl Meyer for shepherding the DEP.
2016-05-17Fixed #20932, #25897 -- Streamlined manager inheritance.Loïc Bistuer
2016-05-16Refs #21379 -- Normalized unicode username inputsClaude Paroz
2016-05-16Fixed #21379 -- Created auth-specific username validatorsClaude Paroz
Thanks Tim Graham for the review.
2016-05-15Fixed #24075 -- Used post-migration models in contrib apps receivers.Simon Charette
Thanks Markus and Tim for the review.
2016-05-07Fixed #26544 -- Delayed translations of SetPasswordForm help_textsClaude Paroz
Thanks Michael Bitzi for the reporti and Tim Graham for the review.
2016-05-06Refs #25847 -- Added system check for ↵Tim Graham
UserModel.is_anonymous/is_authenticated methods.
2016-04-28Fixed #26554 -- Updated docs URLs to readthedocs.ioTim Graham
2016-04-25Refs #26033 -- Added password hasher support for Argon2 v1.3.Bas Westerbaan
The previous version of Argon2 uses encoded hashes of the form: $argon2d$m=8,t=1,p=1$<salt>$<data> The new version of Argon2 adds its version into the hash: $argon2d$v=19$m=8,t=1,p=1$<salt>$<data> This lets Django handle both version properly.
2016-04-09Fixed #25847 -- Made User.is_(anonymous|authenticated) properties.Jeremy Lainé
2016-04-08Fixed E128 flake8 warnings in tests/.Tim Graham
2016-04-06Fixed #26470 -- Converted auth permission validation to system checks.Simon Charette
Thanks Tim for the review.