summaryrefslogtreecommitdiff
path: root/tests/auth_tests
AgeCommit message (Collapse)Author
2017-04-02[1.11.x] Refs #27025 -- Fixed "invalid escape sequence" warning in ↵Tim Graham
auth_tests on Python 3.6. Backport of d4d79d0f200357b28419203557cc61c8168316ab from master
2017-03-07[1.11.x] Fixed #27891 -- Added ↵Camilo Nova
PasswordResetConfirmView.post_reset_login_backend. Backport of 5db465d5a6c389b8f9c6e21f7233be9387dc069d from master
2017-03-07[1.11.x] Factored out uid/user tokens in auth_tests urlpatterns.Tim Graham
Backport of 72ff9d53e66d6b59ae5d8a1b830f5fc798eb75d0 from master
2017-02-24[1.11.x] Refs #25187 -- Fixed AuthBackend.authenticate() compatibility for ↵Tim Graham
signatures that accept a request kwarg. Backport of c31e7ab5a4b062225bc4f6b5cae065325dd30f1f from master
2017-02-15[1.11.x] Fixed #27840 -- Fixed KeyError in ↵Markus Holtermann
PasswordResetConfirmView.form_valid(). When a user is already logged in when submitting the password and password confirmation to reset a password, a KeyError occurred while removing the reset session token from the session. Refs #17209 Thanks Quentin Marlats for the report and Florian Apolloner and Tim Graham for the review.
2017-02-07[1.11.x] Fixed #27815 -- Made LoginView pass the request kwarg to ↵Zoltan Gyarmati
AuthenticationForm. Backport of 41ba27fefdd313333d94408802afff36a9eedb83 from master
2017-01-13Fixed #27518 -- Prevented possibie password reset token leak via HTTP ↵Romain Garrigues
Referer header. Thanks Florian Apolloner for contributing to this patch and Collin Anderson, Markus Holtermann, and Tim Graham for review.
2017-01-12Split AuthTemplateTests into test methods.Tim Graham
2016-12-07Fixed #27579 -- Added aliases for Python 3's assertion names in SimpleTestCase.Tim Graham
2016-11-23Normalized casing of "custom user model".Tim Graham
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