Claude Paroz
|
fee42fd99e
|
Refs #23919 -- Replaced usage of django.utils.http utilities with Python equivalents
Thanks Tim Graham for the review.
|
2017-01-26 19:49:03 +01:00 |
Tim Graham
|
1c466994d9
|
Refs #23919 -- Removed misc Python 2/3 references.
|
2017-01-25 13:59:25 -05:00 |
chillaranand
|
d6eaf7c018
|
Refs #23919 -- Replaced super(ClassName, self) with super().
|
2017-01-25 12:23:46 -05:00 |
Claude Paroz
|
2366100872
|
Removed unneeded force_text calls in the test suite
|
2017-01-24 18:45:54 +01:00 |
Tim Graham
|
d170c63351
|
Refs #23919 -- Removed misc references to Python 2.
|
2017-01-21 20:02:00 -05:00 |
Tim Graham
|
7aba69145d
|
Refs #23919 -- Removed django.test.mock Python 2 compatibility shim.
|
2017-01-20 08:17:20 -05:00 |
Claude Paroz
|
042b7350a0
|
Refs #23919 -- Removed unneeded str() calls
|
2017-01-20 14:13:55 +01:00 |
Tim Graham
|
4e729feaa6
|
Refs #23919 -- Removed django.utils._os.upath()/npath()/abspathu() usage.
These functions do nothing on Python 3.
|
2017-01-20 08:01:02 -05:00 |
Tim Graham
|
109b33f64c
|
Refs #23919 -- Simplified assertRaisesRegex()'s that accounted for Python 2.
|
2017-01-20 08:49:47 +01:00 |
Claude Paroz
|
dc8834cad4
|
Refs #23919 -- Removed unneeded force_str calls
|
2017-01-20 08:44:31 +01:00 |
Simon Charette
|
9695b14982
|
Refs #23919 -- Removed str() conversion of type and method __name__.
|
2017-01-19 11:31:07 -05:00 |
Simon Charette
|
cecc079168
|
Refs #23919 -- Stopped inheriting from object to define new style classes.
|
2017-01-19 08:39:46 +01:00 |
Claude Paroz
|
2b281cc35e
|
Refs #23919 -- Removed most of remaining six usage
Thanks Tim Graham for the review.
|
2017-01-18 21:33:28 +01:00 |
Claude Paroz
|
7b2f2e74ad
|
Refs #23919 -- Removed six.<various>_types usage
Thanks Tim Graham and Simon Charette for the reviews.
|
2017-01-18 20:18:46 +01:00 |
Claude Paroz
|
c716fe8782
|
Refs #23919 -- Removed six.PY2/PY3 usage
Thanks Tim Graham for the review.
|
2017-01-18 16:21:28 +01:00 |
Claude Paroz
|
f3c43ad1fd
|
Refs #23919 -- Removed python_2_unicode_compatible decorator usage
|
2017-01-18 13:44:34 +01:00 |
Claude Paroz
|
d7b9aaa366
|
Refs #23919 -- Removed encoding preambles and future imports
|
2017-01-18 09:55:19 +01:00 |
Tim Graham
|
0bf3228eec
|
Increased the default PBKDF2 iterations for the 1.11 release cycle.
|
2017-01-17 20:52:05 -05:00 |
Tim Graham
|
d334f46b7a
|
Refs #26601 -- Removed support for old-style middleware using settings.MIDDLEWARE_CLASSES.
|
2017-01-17 20:52:04 -05:00 |
Tim Graham
|
eba093e8b0
|
Refs #25847 -- Removed support for User.is_(anonymous|authenticated) as methods.
Per deprecation timeline.
|
2017-01-17 20:52:03 -05:00 |
Romain Garrigues
|
ede59ef6f3
|
Fixed #27518 -- Prevented possibie password reset token leak via HTTP Referer header.
Thanks Florian Apolloner for contributing to this patch and
Collin Anderson, Markus Holtermann, and Tim Graham for review.
|
2017-01-13 09:17:54 -05:00 |
Tim Graham
|
3226536127
|
Split AuthTemplateTests into test methods.
|
2017-01-12 13:18:49 -05:00 |
Tim Graham
|
b5f0b3478d
|
Fixed #27579 -- Added aliases for Python 3's assertion names in SimpleTestCase.
|
2016-12-07 17:42:31 -05:00 |
Tim Graham
|
93a081946d
|
Normalized casing of "custom user model".
|
2016-11-23 15:14:28 -05:00 |
Florian Apolloner
|
51eaff6d35
|
Refs #17209 -- Fixed token verification for PasswordResetConfirmView POST requests.
|
2016-11-21 13:42:25 -05:00 |
Tim Graham
|
0d9ff873d9
|
Fixed #27467 -- Made UserAttributeSimilarityValidator max_similarity=0/1 work as documented.
Thanks goblinJoel for the report and feedback.
|
2016-11-16 17:40:37 -05:00 |
Ramin Farajpour Cami
|
967be82443
|
Fixed E305 flake8 warnings.
|
2016-11-14 12:30:46 -05:00 |
za
|
321e94fa41
|
Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings.
|
2016-11-10 21:30:21 -05:00 |
Tim Graham
|
20be1918e7
|
Simplified some auth_tests with assertRedirects().
|
2016-10-28 11:52:52 -04:00 |
Jon Dufresne
|
f3ea0c4bbd
|
Reverted "Fixed #26401 -- Added BaseAuthConfig to use auth without migrations."
This reverts commit 1ec1633cb2 as it
doesn't handle ContentType's auth.Permission dependency. Thus, it
doesn't allow auth without migrations.
|
2016-10-25 17:32:59 -07:00 |
levental
|
617e36dc1e
|
Fixed #20705 -- Allowed using PasswordResetForm with user models with an email field not named 'email'.
|
2016-09-27 11:59:00 -04:00 |
Berker Peksag
|
f7e91cac68
|
Fixed #27053 -- Documented contrib.auth.get_user().
|
2016-09-27 10:41:14 -04:00 |
Tim Graham
|
8119b679eb
|
Refs #27025 -- Fixed "invalid escape sequence" warnings in Python 3.6.
http://bugs.python.org/issue27364
|
2016-09-17 15:44:06 -04:00 |
Jibodeah
|
9459ec82aa
|
Fixed #26170 -- Made ModelAdmin views run transactions on the correct database.
Thanks juntatalor for the initial patch.
|
2016-09-14 16:06:39 -04:00 |
Gavin Wahl
|
f0f3de3c96
|
Fixed #23155 -- Added request argument to user_login_failed signal.
|
2016-09-12 20:30:34 -04:00 |
Aleksej Manaev
|
4b9330ccc0
|
Fixed #25187 -- Made request available in authentication backends.
|
2016-09-12 20:11:53 -04:00 |
Tim Graham
|
e07b18252b
|
Added a blank line per isort.
|
2016-09-12 20:03:31 -04:00 |
Jon Dufresne
|
1ec1633cb2
|
Fixed #26401 -- Added BaseAuthConfig to use auth without migrations.
|
2016-09-10 16:38:05 -07:00 |
Tim Graham
|
0368d63a78
|
Fixed indentation in previous commit.
|
2016-09-10 18:39:13 -04:00 |
Alexander Gaevsky
|
536db42cf0
|
Fixed #26097 -- Added password_validators_help_text_html to UserCreationForm.
|
2016-09-10 18:23:18 -04:00 |
Jon Dufresne
|
66e1ebbffc
|
Fixed #26956 -- Added success_url_allowed_hosts to LoginView and LogoutView.
Allows specifying additional hosts to redirect after login and log out.
|
2016-09-07 19:56:25 -07:00 |
Jon Dufresne
|
488b3d2b38
|
Fixed typo in auth management test.
|
2016-08-28 19:20:35 -07:00 |
Berker Peksag
|
3c18f8a3d2
|
Fixed #27111 -- Fixed KeyError if USERNAME_FIELD isn't in UserCreationForm.fields.
|
2016-08-24 13:20:12 -04:00 |
Przemysław Suliga
|
549b90fab3
|
Refs #26902 -- Protected against insecure redirects in Login/LogoutView.
|
2016-08-19 19:01:01 -04:00 |
Tim Graham
|
13857b45ca
|
Removed unused 'password' parameter in auth_tests.
|
2016-08-18 19:01:28 -04:00 |
Tim Graham
|
7549eb0004
|
Fixed #27009 -- Made update_session_auth_hash() rotate the session key.
|
2016-08-15 19:29:12 -04:00 |
Andrew Nester
|
4591cf3fd8
|
Fixed #26909 -- Allowed UserAttributeSimilarityValidator to validate against model properties.
|
2016-08-10 15:08:06 -04:00 |
jordij
|
0814566bf1
|
Fixed #26960 -- Added PasswordResetConfirmView option to automatically log in after a reset.
|
2016-08-10 10:23:16 -04:00 |
Olexander Yermakov
|
975a76a964
|
Fixed #26951 -- Allowed AuthenticationForm to work with a username of 0.
|
2016-08-10 09:44:48 -04:00 |
Sergey Yurchenko
|
4e64e3bb6e
|
Fixed #26997 -- Fixed checks crash with empty Meta.default_permissions.
|
2016-08-03 09:14:01 -04:00 |