Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/django/contrib/auth
Commit message (Collapse)AuthorAgeFilesLines
...
* Fixed #23926 -- Improved validation error for custom ↵Joeri Bekker2015-03-161-6/+18
| | | | permissions that are too long.
* Fixed #5986 -- Added ability to customize order of Form ↵Thomas Tanner2015-03-161-7/+2
| | | | fields
* Removed reference to iteration count in the PBKDF2 ↵Simon Charette2015-02-201-1/+1
| | | | hasher docstring.
* Fixed PBKDF2PasswordHasher comments to reflect reality.Frank Wiles2015-02-201-1/+1
|
* Fixed #24351, #24346 -- Changed the signature of ↵Loic Bistuer2015-02-201-1/+1
| | | | | | | | | | | | | | | | allow_migrate(). The new signature enables better support for routing RunPython and RunSQL operations, especially w.r.t. reusable and third-party apps. This commit also takes advantage of the deprecation cycle for the old signature to remove the backward incompatibility introduced in #22583; RunPython and RunSQL won't call allow_migrate() when when the router has the old signature. Thanks Aymeric Augustin and Tim Graham for helping shape up the patch. Refs 22583.
* Fixed #24299 -- Added an auth migration to ensure ↵Tim Graham2015-02-161-0/+17
| | | | | | | contenttypes is migrated. Without this migration, the auth signal handlers will fail if migrating only auth.
* Fixed #24315 -- Fixed ↵Tim Graham2015-02-131-1/+3
| | | | auth.views.password_reset_confirm() with a UUID user.
* Fixed #24334 -- Allowed admin password reset to work ↵Tim Graham2015-02-131-4/+16
| | | | | | 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 Graham2015-02-121-3/+9
| | | | | | | | | | 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 Graham2015-02-111-133/+25
| | | | location.
* Moved contrib.auth tests out of contrib.Tim Graham2015-02-1142-4539/+0
|
* Prevented some test commands from needlessly running ↵Tim Graham2015-02-111-0/+2
| | | | | | | | | system checks. This is a performance optimization and also fixes test errors with the upcoming merge of contrib tests into tests/. The tests failed on MySQL because the models with GeometryField were being checked but the non-GIS MySQL backend didn't know how to handle them.
* Replaced some more hardcoded admin URLsClaude Paroz2015-02-092-16/+29
|
* Removed stray comment in auth.views.Tim Graham2015-02-091-3/+0
|
* Replaced hardcoded URLs in admin_* testsClaude Paroz2015-02-081-1/+1
| | | | | Refs #15779. This will allow easier admin URL changes, when needed. Thanks Simon Charette for the review.
* Revert "Fixed #24075 -- Prevented running post_migrate ↵Markus Holtermann2015-02-072-26/+1
| | | | | | signals when unapplying initial migrations of contenttypes and auth" This reverts commit 737d24923ac69bb8b89af1bb2f3f4c4c744349e8.
* Revert "Refs #24075 -- Silenced needless call_command ↵Markus Holtermann2015-02-071-2/+2
| | | | | | output while running tests" This reverts commit 51dc617b21e67636d96cf645905797a4d6ff4bf0.
* Sorted imports with isort; refs #23860.Tim Graham2015-02-0632-118/+137
|
* Removed direct manipulation of settings in auth tests; ↵Tim Graham2015-02-042-12/+12
| | | | refs #21230.
* Fixed #24149 -- Normalized tuple settings to lists.darkryder2015-02-039-70/+58
|
* Removed contrib.auth.forms.mask_password()Tim Graham2015-02-021-9/+0
| | | | | This function is unused since dce820ff70f00e974afd3e6e310aa825bc55319f after being introduced in 718a5ba1a1a77374c26b134ded46dab13776d1a1
* Fixed typos in code comments.Adam Taylor2015-01-201-2/+2
|
* Updated en translation catalogsClaude Paroz2015-01-171-88/+81
| | | | Forward port of 666c12e52 from stable/1.8.x
* Increased the default PBKDF2 iterations.Tim Graham2015-01-172-4/+4
|
* Fixed #24099 -- Removed contenttype.name deprecated fieldClaude Paroz2015-01-163-7/+4
| | | | | | This finsishes the work started on #16803. Thanks Simon Charette, Tim Graham and Collin Anderson for the reviews.
* Refs #24075 -- Silenced needless call_command output ↵Markus Holtermann2015-01-151-2/+2
| | | | | | while running tests Thanks Tim Graham for the report
* Fixed #24075 -- Prevented running post_migrate signals ↵Markus Holtermann2015-01-142-1/+24
| | | | | | when unapplying initial migrations of contenttypes and auth Thanks Florian Apolloner for the report and Claude Paroz and Tim Graham for the review and help on the patch.
* Fixed #24124 (again) -- Updated tests with new default ↵Aymeric Augustin2015-01-121-5/+0
| | | | | | context_processors. Thanks Collin for the review.
* Fixed #24097 -- Prevented AttributeError in ↵Claude Paroz2015-01-102-6/+25
| | | | | | | | redirect_to_login Thanks Peter Schmidt for the report and the initial patch. Thanks to ​Oktay Sancak for writing the original failing test and Alvin Savoy for supporting contributing back to the community.
* Fixed a typo in contrib/auth/tests/custom_user.py docstring.Tim Graham2015-01-091-1/+1
|
* Fixed #23891 -- Moved deprecation of IPAddressField to ↵Tim Graham2015-01-011-0/+2
| | | | | | system check framework. Thanks Markus Holtermann for review.
* Fixed #22295 -- Replaced permission check for displaying ↵Thomas Tanner2014-12-311-1/+1
| | | | admin user-tools
* Applied ignore_warnings to Django testsClaude Paroz2014-12-301-8/+7
|
* Deprecated TEMPLATE_LOADERS.Aymeric Augustin2014-12-284-72/+71
|
* Deprecated current_app in TemplateResponse and ↵Aymeric Augustin2014-12-282-17/+44
| | | | render(_to_response).
* Deprecated some arguments of ↵Aymeric Augustin2014-12-282-24/+17
| | | | | | | | django.shortcuts.render(_to_response). dictionary and context_instance and superseded by context. Refactored tests that relied context_instance with more modern idioms.
* Fixed #23948 -- Moved password help text from the ↵Tim Graham2014-12-261-4/+9
| | | | | | template to the form. Thanks Mithos for the report and patch.
* Fixed #20349 -- Moved setting_changed signal to ↵Collin Anderson2014-12-241-1/+1
| | | | | | django.core.signals. This removes the need to load django.test when not testing.
* Moved an import in an auth test; refs #23925.Tim Graham2014-12-153-4/+3
| | | | | This keeps tests/__init__.py from importing other modules and may fix a problem with test discovery revealed in formtools tests on Travis CI.
* Fixed #23822 -- Added support for serializing model ↵Markus Holtermann2014-12-152-0/+15
| | | | | | | managers in migration Thanks to Shai Berger, Loïc Bistuer, Simon Charette, Andrew Godwin, Tim Graham, Carl Meyer, and others for their review and input.
* Removed redundant numbered parameters from str.format().Berker Peksag2014-12-031-2/+2
| | | | Since Python 2.7 and 3.1, "{0} {1}" is equivalent to "{} {}".
* Fixed #23939 -- Moved session verification out of ↵Tim Graham2014-12-033-32/+53
| | | | | | SessionAuthenticationMiddleware. Thanks andrewbadr for the report and Carl Meyer for the review.
* Fixed #23925 -- Allowed settings.AUTHENTICATION_BACKENDS ↵sdeprez2014-11-283-5/+36
| | | | to reference import aliases
* Fixed #23338 -- Added warning when unique=True on ForeigKeyDiego Guimarães2014-11-281-0/+1
| | | | | Thanks Jonathan Lindén for the initial patch, and Tim Graham and Gabe Jackson for the suggestions.
* Fixed #23641 -- Moved post_migrate signals for contrib ↵wrwrwr2014-11-272-7/+9
| | | | apps to AppConfig.ready().
* Avoided rewrapping Contexts in render_to_response.Aymeric Augustin2014-11-221-6/+6
| | | | | | | | | | | | | This change preserves backwards-compatibility for a very common misuse of render_to_response which even occurred in the official documentation. It fixes that misuse wherever it happened in the code base and docs. Context.__init__ is documented as accepting a dict and nothing else. Since Context is dict-like, Context(Context({})) could work to some extent. However, things get complicated with RequestContext and that gets in the way of refactoring the template engine. This is the real rationale for this change.
* Simplified caching of password hashers.Aymeric Augustin2014-11-192-34/+32
| | | | | | | load_hashers cached its result regardless of its password_hashers argument which required fragile cache invalidation. Remove that argument in favor of @override_settings and triggering cache invalidation with a signal.
* Refs #23793 -- Fixed test failure after password reset ↵Erik Romijn2014-11-151-2/+2
| | | | messages clarification
* Fixed #23793 -- Clarified password reset messages.Yigit Guler2014-11-151-1/+1
|
* Fixed #23750 -- Allowed core.checks.register to be used ↵averybigant2014-11-111-1/+1
| | | | as a function