Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Removed unnecessary app_label='auth' on auth_tests models. | Tim Graham | 2015-10-27 | 7 | -30/+9 |
| | | | | This is a relic of when the tests were stored in contrib.auth.tests. | ||||
* | Fixed #25596 -- Fixed regression in password change view ↵ | Tim Graham | 2015-10-27 | 3 | -7/+4 |
| | | | | | | | with custom user model. The reverse() added in 50aa1a790ca66c2a93e0a52e00c53375b269ff49 crashed on a custom user model. | ||||
* | Fixed #25490 -- Made the logout() view send "no-cache" ↵ | Kaleb Elwert | 2015-10-02 | 1 | -0/+8 |
| | | | | headers. | ||||
* | Refs #16860 -- Fixed password help text when there ↵ | Antoine Catton | 2015-09-28 | 1 | -0/+4 |
| | | | | | | aren't any validators. This avoids creating an empty list which is invalid HTML 4. | ||||
* | Fixed #25457 -- Improved formatting of password ↵ | Tzu-ping Chung | 2015-09-25 | 1 | -1/+1 |
| | | | | validation errors in management command output. | ||||
* | Increased the default PBKDF2 iterations for the 1.10 ↵ | Tim Graham | 2015-09-24 | 1 | -3/+3 |
| | | | | release cycle. | ||||
* | Refs #23957 -- Required session verification per ↵ | Tim Graham | 2015-09-24 | 3 | -36/+11 |
| | | | | deprecation timeline. | ||||
* | Refs #21648 -- Removed is_admin_site option from ↵ | Tim Graham | 2015-09-24 | 2 | -18/+1 |
| | | | | | | password_reset() view. Per deprecation timeline. | ||||
* | Removed obsolete supports_* auth backend attributes in tests | Claude Paroz | 2015-09-20 | 1 | -6/+0 |
| | |||||
* | Fixed typo in "pbkdf2" test names. | Tim Graham | 2015-09-20 | 1 | -2/+2 |
| | |||||
* | Fixed #24944 -- Added extra_email_context parameter to ↵ | sujayskumar | 2015-09-19 | 3 | -0/+15 |
| | | | | password_reset() view. | ||||
* | Fixed #23395 -- Limited line lengths to 119 characters. | Dražen Odobašić | 2015-09-12 | 1 | -1/+2 |
| | |||||
* | Added two more tests for user-entered passwords when ↵ | David Gibbons | 2015-08-18 | 1 | -0/+66 |
| | | | | creating a superuser. | ||||
* | Fixed flake8 warning. | Tim Graham | 2015-08-03 | 1 | -0/+1 |
| | |||||
* | Fixed #25089 -- Added password validation to ↵ | Alex Becker | 2015-08-02 | 1 | -2/+56 |
| | | | | createsuperuser/changepassword. | ||||
* | Fixed #21127 -- Started deprecation toward requiring ↵ | Flavio Curella | 2015-07-28 | 1 | -3/+3 |
| | | | | on_delete for ForeignKey/OneToOneField | ||||
* | Fixed #25052; refs #16860 -- Added password validation ↵ | Tim Graham | 2015-07-20 | 1 | -0/+21 |
| | | | | to UserCreationForm. | ||||
* | Refs #16860 -- Moved password_changed() logic to ↵ | Tim Graham | 2015-07-20 | 2 | -8/+77 |
| | | | | | | AbstractBaseUser. Thanks Carl Meyer for review. | ||||
* | Fixed #25029 -- Added PersistentRemoteUserMiddleware for ↵ | Jan Pazdziora | 2015-07-02 | 1 | -0/+23 |
| | | | | login-page-only external authentication. | ||||
* | Sorted imports in __init__.py files. | Tim Graham | 2015-06-27 | 1 | -4/+4 |
| | |||||
* | Renamed RemovedInDjangoXYWarnings for new roadmap. | Tim Graham | 2015-06-24 | 1 | -2/+2 |
| | | | | | Forwardport of ae1d663b7913f6da233c55409c4973248372d302 from stable/1.8.x plus more. | ||||
* | Fixed #25009 -- Allowed ↵ | Francisco Albarran | 2015-06-22 | 1 | -0/+21 |
| | | | | User.objects.create_user(...,is_staff=True) to work. | ||||
* | Removed support for Python 3.3. | Tim Graham | 2015-06-18 | 1 | -1/+1 |
| | |||||
* | Fixed #24914 -- Added authentication mixins for CBVs | Markus Holtermann | 2015-06-17 | 1 | -0/+251 |
| | | | | | | | | | | | | | | Added the mixins LoginRequiredMixin, PermissionRequiredMixin and UserPassesTestMixin to contrib.auth as counterparts to the respective view decorators. The authentication mixins UserPassesTestMixin, LoginRequiredMixin and PermissionRequiredMixin have been inspired by django-braces <https://github.com/brack3t/django-braces/> Thanks Raphael Michel for the initial patch, tests and docs on the PR and Ana Balica, Kenneth Love, Marc Tamlyn, and Tim Graham for the review. | ||||
* | Refs #16860 -- Fixed a resource and deprecation warning ↵ | Tim Graham | 2015-06-16 | 1 | -1/+1 |
| | | | | in password validation. | ||||
* | Refs #16860 -- Minor edits and fixes to password validation. | Tim Graham | 2015-06-10 | 2 | -6/+19 |
| | |||||
* | Fixed #21927 -- Made application and instance namespaces ↵ | Marten Kenbeek | 2015-06-08 | 3 | -6/+6 |
| | | | | | | | | more distinct. Made URL application namespaces be set in the included URLconf and instance namespaces in the call to include(). Deprecated other ways to set application and instance namespaces. | ||||
* | Fixed #24929 -- Allowed permission_required decorator to ↵ | Raphael Michel | 2015-06-08 | 1 | -0/+10 |
| | | | | take any iterable | ||||
* | Fixed #16860 -- Added password validation to ↵ | Erik Romijn | 2015-06-07 | 3 | -0/+181 |
| | | | | django.contrib.auth. | ||||
* | Fixed #24910 -- Added createsuperuser support for ↵ | Alasdair Nicol | 2015-06-06 | 2 | -2/+40 |
| | | | | | | | non-unique USERNAME_FIELDs Clarified docs to say that a non-unique USERNAME_FIELD is permissable as long as the custom auth backend can support it. | ||||
* | Refs #24652 -- Used SimpleTestCase where appropriate. | Simon Charette | 2015-05-20 | 4 | -8/+12 |
| | |||||
* | Refs #24553 -- Fixed urlpatterns leakage in auth_tests | Riccardo Magliocchetti | 2015-05-19 | 2 | -4/+3 |
| | |||||
* | Fixed #24696 -- Made CSRF_COOKIE computation lazy. | Jay Cox | 2015-05-03 | 1 | -2/+3 |
| | | | | | | | | | | | | Only compute the CSRF_COOKIE when it is actually used. This is a significant speedup for clients not using cookies. Changed result of the “test_token_node_no_csrf_cookie” test: It gets a valid CSRF token now which seems like the correct behavior. Changed auth_tests.test_views.LoginTest.test_login_csrf_rotate to use get_token() to trigger CSRF cookie inclusion instead of changing request.META["CSRF_COOKIE_USED"] directly. | ||||
* | Use mock.patch in migrations tests | Curtis Maloney | 2015-04-09 | 1 | -2/+2 |
| | | | | | | | | | Currently some of the migrations tests rely on the fact 'input' is aliased because of six, instead of using mock.patch. Replace this code with proper use of mock.patch. Also, replace one case of excessively specific python version check with testing six.PY3 | ||||
* | Fixed #24115 -- Allowed bcrypt hashers to upgrade ↵ | Tim Graham | 2015-03-31 | 1 | -0/+32 |
| | | | | | | passwords on rounds change. Thanks Florian Apolloner for the review. | ||||
* | Refs #15779 -- Fixed UserChangeForm regression ↵ | Claude Paroz | 2015-03-28 | 1 | -2/+17 |
| | | | | | | introduced by 1791a7e75 Thanks Tim Graham for reporting the regression. | ||||
* | Fixed #23926 -- Improved validation error for custom ↵ | Joeri Bekker | 2015-03-16 | 1 | -0/+18 |
| | | | | permissions that are too long. | ||||
* | Converted test fixtures to setUpTestData methods | Josh Smeaton | 2015-03-05 | 8 | -168/+168 |
| | |||||
* | Isolated auth_tests from contenttypes_tests; refs #11505. | Tim Graham | 2015-02-15 | 1 | -0/+8 |
| | |||||
* | Fixed #24315 -- Fixed ↵ | Tim Graham | 2015-02-13 | 1 | -1/+22 |
| | | | | auth.views.password_reset_confirm() with a UUID user. | ||||
* | Fixed #24334 -- Allowed admin password reset to work ↵ | Tim Graham | 2015-02-13 | 2 | -0/+58 |
| | | | | | | with non-digit custom user model primary key. Thanks Loic for help and Simon for review. | ||||
* | Fixed #24161 -- Stored the user primary key as a ↵ | Tim Graham | 2015-02-12 | 3 | -3/+31 |
| | | | | | | | | | | serialized value in the session. This allows using a UUIDField primary key along with the JSON session serializer. Thanks to Trac alias jamesbeith for the report and Simon Charette for the initial patch. | ||||
* | Moved non-documented auth test models to the new test ↵ | Tim Graham | 2015-02-11 | 9 | -11/+150 |
| | | | | location. | ||||
* | Moved contrib.auth tests out of contrib. | Tim Graham | 2015-02-11 | 42 | -0/+4477 |