Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/django/contrib/auth/tests
Commit message (Collapse)AuthorAgeFilesLines
* Renamed RemovedInDjangoXYWarnings for new roadmap.Tim Graham2015-06-241-2/+2
| | | | | Forwardport of ae1d663b7913f6da233c55409c4973248372d302 from stable/1.8.x plus more.
* Fixed #22993 -- Deprecated skipIfCustomUser decoratorChristopher Luc2015-04-071-0/+6
|
* 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-1137-4336/+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-091-15/+25
|
* Revert "Fixed #24075 -- Prevented running post_migrate ↵Markus Holtermann2015-02-071-21/+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-0617-67/+77
|
* 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-038-69/+57
|
* Fixed typos in code comments.Adam Taylor2015-01-201-2/+2
|
* Increased the default PBKDF2 iterations.Tim Graham2015-01-171-3/+3
|
* Fixed #24099 -- Removed contenttype.name deprecated fieldClaude Paroz2015-01-162-5/+1
| | | | | | 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-141-1/+19
| | | | | | 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-101-2/+24
| | | | | | | | 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.
* Applied ignore_warnings to Django testsClaude Paroz2014-12-301-8/+7
|
* Deprecated TEMPLATE_LOADERS.Aymeric Augustin2014-12-284-72/+71
|
* 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.
* 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 #23939 -- Moved session verification out of ↵Tim Graham2014-12-031-18/+32
| | | | | | SessionAuthenticationMiddleware. Thanks andrewbadr for the report and Carl Meyer for the review.
* Fixed #23925 -- Allowed settings.AUTHENTICATION_BACKENDS ↵sdeprez2014-11-282-1/+27
| | | | 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.
* 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-191-7/+6
| | | | | | | 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 typos using https://github.com/vlajos/misspell_fixerVeres Lajos2014-11-041-1/+1
|
* Fixed #23620 -- Used more specific assertions in the ↵Berker Peksag2014-11-035-24/+22
| | | | Django test suite.
* Removed redundant skip_checks option for call_commandClaude Paroz2014-10-201-5/+0
|
* Replaced set([foo, ...]) by {foo, ...} literals. Refs PR ↵Thomas Chaumeny2014-09-281-18/+18
| | | | | | 3282. Thanks Collin Anderson for the review.
* Fixed #23488 -- Added AnonymousUser.get_username().Damien Baty2014-09-181-0/+5
|
* Limited lines to 119 characters in django/Tim Graham2014-09-054-4/+13
| | | | refs #23395.
* Fixed #21648 -- Deprecated is_admin_site option to ↵Tim Graham2014-08-241-4/+7
| | | | auth.views.password_reset().
* Fixed #23066 -- Modified RemoteUserMiddleware to logout ↵Preston Holmes2014-08-201-0/+18
| | | | | | on REMOTE_USER change. This is a security fix. Disclosure following shortly.
* Fixed #23162 -- Renamed forms.Field._has_changed() to ↵Gabriel Muñumel2014-08-151-1/+1
| | | | has_changed().
* Added newlines to the ends of CSS, HTML, and JavaScript ↵Trey Hunner2014-08-136-6/+6
| | | | files missing them.
* Fixed #23276 -- Deprecated passing views as strings to ↵Tim Graham2014-08-121-16/+16
| | | | url().
* Fixed #7220 -- Allowed AbstractBaseUser.last_login to be ↵Tim Graham2014-08-011-0/+7
| | | | | | null. Thanks veena for the suggestion and Simon Charette and Kévin Etienne for reviews.
* Fixed #22956 -- Made ↵Jürno Ader2014-07-311-1/+60
| | | | PermissionManager.get_by_natural_key() use the correct database for content type lookup.
* Bump the default iterations for PBKDF2.Alex Gaynor2014-07-121-3/+3
| | | | The rate at which we've increased this has not been keeping up with hardware (and software) improvements, and we're now considerably behind where we should be. The delta between our performance and an optimized implementation's performance prevents us from improving that further, but hopefully once Python 2.7.8 and 3.4+ get into more hands we can more aggressively increase this number.
* Fixed #13147 -- Moved User validation logic from form to ↵Yin Jifeng2014-07-101-8/+6
| | | | model.
* Fixed #21832 -- Updated prompt, tests, and docs to show ↵Anubhav Joshi2014-07-082-11/+16
| | | | | | | | that USERNAME_FIELD supports FK after 9bc2d76. Also added get_input_data() hook in createsuperuser. Thanks Chris Jerdonek and Tim Graham for review.
* Fixed #21755 -- Added ForeignKey support to REQUIRED_FIELDS.Anubhav Joshi2014-07-032-2/+84
| | | | | | | This allows specifying ForeignKeys in REQUIRED_FIELDS when using a custom User model. Thanks cjerdonek and bmispelon for suggestion and timgraham for review.
* Fixed #8162 -- Increased Permission.name max_length to ↵Tim Graham2014-06-301-2/+2
| | | | 255 characters.
* Restored is_anonymous() check in ModelBackend permission ↵Tim Graham2014-06-241-0/+27
| | | | | | checking removed in refs #17903. Thanks Florian Apolloner for raising the issue.
* Fixed #17903 -- Modified ModelBackend to eliminate ↵Jorge C. Leitão2014-06-241-0/+28
| | | | | | permissions on inactive users. Thanks to @SmileyChris for the report and @timgraham for review.