d120 / pyofahrt

Verwaltungssoftware für die Erstsemesterfahrt
GNU Affero General Public License v3.0
4 stars 1 forks source link

Update django-auth-ldap to 1.7.0 #152

Closed pyup-bot closed 5 years ago

pyup-bot commented 6 years ago

This PR updates django-auth-ldap from 1.3.0 to 1.7.0.

Changelog ### 1.7.0 ``` ------------------ - Add testing and support for Python 3.7 and Django 2.1. No code changes were required. - When :setting:`AUTH_LDAP_SERVER_URI` is set to a callable, it is now passed a positional ``request`` argument. Support for no arguments will continue for backwards compatibility but will be removed in a future version. ``` ### 1.6.1 ``` ------------------ - Renamed ``requirements.txt`` to ``dev-requirements.txt`` to fix Read the Docs build. ``` ### 1.6.0 ``` ------------------ - Updated ``LDAPBackend.authenticate()`` signature to match Django's documentation. - Fixed group membership queries with DNs containing non-ascii characters on Python 2.7. - The setting :setting:`AUTH_LDAP_CACHE_TIMEOUT` now replaces deprecated `AUTH_LDAP_CACHE_GROUPS` and `AUTH_LDAP_GROUP_CACHE_TIMEOUT`. In addition to caching groups, it also controls caching of distinguished names (which were previously cached by default). A compatibility shim is provided so the deprecated settings will continue to work. ``` ### 1.5.0 ``` ------------------ - django-auth-ldap is now hosted at https://github.com/django-auth-ldap/django-auth-ldap. - Removed NISGroupType class. It searched by attribute nisNetgroupTriple, which has no defined EQAULITY rule. - The python-ldap library is now initialized with ``bytes_mode=False``, requiring all LDAP values to be handled as Unicode text (``str`` in Python 3 and ``unicode`` in Python 2), not bytes. For additional information, see the python-ldap documentation on :ref:`bytes mode <text-bytes>`. - Removed deprecated function ``LDAPBackend.get_or_create_user()``. Use :meth:`~django_auth_ldap.backend.LDAPBackend.get_or_build_user` instead. ``` ### 1.4.0 ``` ------------------ - Honor the attrlist argument to :setting:`AUTH_LDAP_GROUP_SEARCH` - **Backwards incompatible**: Removed support for Django < 1.11. - Support for Python 2.7 and 3.4+ now handled by the same dependency, `python-ldap >= 3.0 <https://pypi.org/project/python-ldap/>`_. ```
Links - PyPI: https://pypi.org/project/django-auth-ldap - Changelog: https://pyup.io/changelogs/django-auth-ldap/ - Repo: https://github.com/django-auth-ldap/django-auth-ldap