summaryrefslogtreecommitdiff
path: root/django/contrib/auth
AgeCommit message (Collapse)Author
2014-12-30Applied ignore_warnings to Django testsClaude Paroz
2014-12-28Deprecated TEMPLATE_LOADERS.Aymeric Augustin
2014-12-28Deprecated current_app in TemplateResponse and render(_to_response).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-26Fixed #23948 -- Moved password help text from the template to the form.Tim Graham
Thanks Mithos for the report and patch.
2014-12-24Fixed #20349 -- Moved setting_changed signal to django.core.signals.Collin Anderson
This removes the need to load django.test when not testing.
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-15Fixed #23822 -- Added support for serializing model managers in migrationMarkus Holtermann
Thanks to Shai Berger, Loïc Bistuer, Simon Charette, Andrew Godwin, Tim Graham, Carl Meyer, and others for their review and input.
2014-12-03Removed redundant numbered parameters from str.format().Berker Peksag
Since Python 2.7 and 3.1, "{0} {1}" is equivalent to "{} {}".
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-27Fixed #23641 -- Moved post_migrate signals for contrib apps to ↵wrwrwr
AppConfig.ready().
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-15Fixed #23793 -- Clarified password reset messages.Yigit Guler
2014-11-11Fixed #23750 -- Allowed core.checks.register to be used as a functionaverybigant
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-30Updated translations from TransifexClaude Paroz
Forward port of e9c8aefbcee5 from stable/1.7.x
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-08Use "catch" instead of "trap" for exceptions.Aymeric Augustin
This is the idiomatic word in the Python world.
2014-09-05Limited lines to 119 characters in django/Tim Graham
refs #23395.
2014-09-03Fixed #23409 -- Extract PasswordResetForm.get_users method.Carl Meyer
Allows easier customization of policies regarding which users are allowed to reset their password. Thanks Aymeric for review.
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-20Fetched translations from TransifexClaude Paroz
Forward port of 49280a73ea5 from stable/1.7.x
2014-08-15Fixed #23294 -- Add related_name to existing migrations.Collin Anderson
Thanks to Florian Apolloner for the review; refs #23288.
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-04Fixed #23163: Align user help text with migrationsAndrew Godwin
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-21Fixed typo in PermissionsMixin.groups.help_text.Iain Dawson
2014-07-21Replaced instances of 'his/her' with 'their'.Iain Dawson
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-10Added contrib.auth migration for refs #13147.Tim Graham
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-04Fixed #20631 -- Increased the default EmailField max_length to 254.Tim Graham
Thanks pmartin for the report.
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-07-01Removed django/contrib/auth/create_superuser.pyTim Graham
It's a shim that calls the actual createsuperuser management command and it's been marked as deprecated since Django 1.0.
2014-06-30Fixed #8162 -- Increased Permission.name max_length to 255 characters.Tim Graham
2014-06-24Restored is_anonymous() check in ModelBackend permission checking removed in ↵Tim Graham
refs #17903. Thanks Florian Apolloner for raising the issue.
2014-06-23Fixed #17903 -- Modified ModelBackend to eliminate permissions on inactive ↵Jorge C. Leitão
users. Thanks to @SmileyChris for the report and @timgraham for review.
2014-06-23Simplified test of contrib.auth.tests.Jorge C. Leitão