summaryrefslogtreecommitdiff
path: root/django/contrib/auth/tests
AgeCommit message (Collapse)Author
2017-01-17Refs #22993 -- Removed skipIfCustomUser per deprecation timeline.Tim Graham
2016-02-04Fixed #26089 -- Removed custom user test models from public API.Simon Charette
Thanks to Tim Graham for the review.
2015-06-24Renamed RemovedInDjangoXYWarnings for new roadmap.Tim Graham
Forwardport of ae1d663b7913f6da233c55409c4973248372d302 from stable/1.8.x plus more.
2015-04-07Fixed #22993 -- Deprecated skipIfCustomUser decoratorChristopher Luc
2015-02-11Moved non-documented auth test models to the new test location.Tim Graham
2015-02-11Moved contrib.auth tests out of contrib.Tim Graham
2015-02-11Prevented some test commands from needlessly running system checks.Tim Graham
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.
2015-02-09Replaced some more hardcoded admin URLsClaude Paroz
2015-02-07Revert "Fixed #24075 -- Prevented running post_migrate signals when ↵Markus Holtermann
unapplying initial migrations of contenttypes and auth" This reverts commit 737d24923ac69bb8b89af1bb2f3f4c4c744349e8.
2015-02-07Revert "Refs #24075 -- Silenced needless call_command output while running ↵Markus Holtermann
tests" This reverts commit 51dc617b21e67636d96cf645905797a4d6ff4bf0.
2015-02-06Sorted imports with isort; refs #23860.Tim Graham
2015-02-04Removed direct manipulation of settings in auth tests; refs #21230.Tim Graham
2015-02-03Fixed #24149 -- Normalized tuple settings to lists.darkryder
2015-01-20Fixed typos in code comments.Adam Taylor
2015-01-16Increased the default PBKDF2 iterations.Tim Graham
2015-01-16Fixed #24099 -- Removed contenttype.name deprecated fieldClaude Paroz
This finsishes the work started on #16803. Thanks Simon Charette, Tim Graham and Collin Anderson for the reviews.
2015-01-15Refs #24075 -- Silenced needless call_command output while running testsMarkus Holtermann
Thanks Tim Graham for the report
2015-01-14Fixed #24075 -- Prevented running post_migrate signals when unapplying ↵Markus Holtermann
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.
2015-01-12Fixed #24124 (again) -- Updated tests with new default context_processors.Aymeric Augustin
Thanks Collin for the review.
2015-01-10Fixed #24097 -- Prevented AttributeError in redirect_to_loginClaude Paroz
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.
2015-01-09Fixed a typo in contrib/auth/tests/custom_user.py docstring.Tim Graham
2015-01-01Fixed #23891 -- Moved deprecation of IPAddressField to system check framework.Tim Graham
Thanks Markus Holtermann for review.
2014-12-30Applied ignore_warnings to Django testsClaude Paroz
2014-12-28Deprecated TEMPLATE_LOADERS.Aymeric Augustin
2014-12-28Deprecated some arguments of django.shortcuts.render(_to_response).Aymeric Augustin
dictionary and context_instance and superseded by context. Refactored tests that relied context_instance with more modern idioms.
2014-12-15Moved an import in an auth test; refs #23925.Tim Graham
This keeps tests/__init__.py from importing other modules and may fix a problem with test discovery revealed in formtools tests on Travis CI.
2014-12-03Fixed #23939 -- Moved session verification out of ↵Tim Graham
SessionAuthenticationMiddleware. Thanks andrewbadr for the report and Carl Meyer for the review.
2014-11-28Fixed #23925 -- Allowed settings.AUTHENTICATION_BACKENDS to reference import ↵sdeprez
aliases
2014-11-27Fixed #23338 -- Added warning when unique=True on ForeigKeyDiego Guimarães
Thanks Jonathan Lindén for the initial patch, and Tim Graham and Gabe Jackson for the suggestions.
2014-11-22Avoided rewrapping Contexts in render_to_response.Aymeric Augustin
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.
2014-11-19Simplified caching of password hashers.Aymeric Augustin
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.
2014-11-15Refs #23793 -- Fixed test failure after password reset messages clarificationErik Romijn
2014-11-03Fixed typos using https://github.com/vlajos/misspell_fixerVeres Lajos
2014-11-03Fixed #23620 -- Used more specific assertions in the Django test suite.Berker Peksag
2014-10-20Removed redundant skip_checks option for call_commandClaude Paroz
2014-09-29Replaced set([foo, ...]) by {foo, ...} literals. Refs PR 3282.Thomas Chaumeny
Thanks Collin Anderson for the review.
2014-09-18Fixed #23488 -- Added AnonymousUser.get_username().Damien Baty
2014-09-05Limited lines to 119 characters in django/Tim Graham
refs #23395.
2014-08-23Fixed #21648 -- Deprecated is_admin_site option to auth.views.password_reset().Tim Graham
2014-08-20Fixed #23066 -- Modified RemoteUserMiddleware to logout on REMOTE_USER change.Preston Holmes
This is a security fix. Disclosure following shortly.
2014-08-15Fixed #23162 -- Renamed forms.Field._has_changed() to has_changed().Gabriel Muñumel
2014-08-12Added newlines to the ends of CSS, HTML, and JavaScript files missing them.Trey Hunner
2014-08-12Fixed #23276 -- Deprecated passing views as strings to url().Tim Graham
2014-08-01Fixed #7220 -- Allowed AbstractBaseUser.last_login to be null.Tim Graham
Thanks veena for the suggestion and Simon Charette and Kévin Etienne for reviews.
2014-07-31Fixed #22956 -- Made PermissionManager.get_by_natural_key() use the correct ↵Jürno Ader
database for content type lookup.
2014-07-11Bump the default iterations for PBKDF2.Alex Gaynor
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.
2014-07-10Fixed #13147 -- Moved User validation logic from form to model.Yin Jifeng
2014-07-08Fixed #21832 -- Updated prompt, tests, and docs to show that USERNAME_FIELD ↵Anubhav Joshi
supports FK after 9bc2d76. Also added get_input_data() hook in createsuperuser. Thanks Chris Jerdonek and Tim Graham for review.
2014-07-03Fixed #21755 -- Added ForeignKey support to REQUIRED_FIELDS.Anubhav Joshi
This allows specifying ForeignKeys in REQUIRED_FIELDS when using a custom User model. Thanks cjerdonek and bmispelon for suggestion and timgraham for review.
2014-06-30Fixed #8162 -- Increased Permission.name max_length to 255 characters.Tim Graham