Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial Update #1

Merged
merged 2 commits into from
Mar 15, 2017
Merged

Initial Update #1

merged 2 commits into from
Mar 15, 2017

Conversation

pyup-bot
Copy link
Contributor

This is my first visit to this fine repo so I have bundled all updates in a single pull request to make things easier for you to merge.

Close this pull request and delete the branch if you want me to start with single pull requests right away

Here's the executive summary:

Updates

Here's a list of all the updates bundled in this pull request. I've added some links to make it easier for you to find all the information you need.

djangosaml2idp 0.2.1 » 0.2.1 PyPI | Repo
djangosaml2 0.15.0 » 0.15.0 PyPI | Changelog | Repo

Changelogs

djangosaml2 -> 0.15.0

0.15.0


  • Python 3.5 support. Thanks to timheap.
  • Added support for callable user attributes. Thanks to andy-miracl and joetsoi.
  • Security improvement: "next" URL is now checked. thanks to flupzor.
  • Improved testability. Thanks to flupzor.
  • Other bugfixes and minor improvements. Thanks to jamaalscarlett, ws0w, jaywink and liquidpele.

0.14.5


  • Django 1.10 support. Thanks to inducer.
  • Various fixes and minor improvements. Thanks to ajsmilutin, ganiserb, inducer, grunichev, liquidpele and darbula

0.14.4


  • Fix compatibility issue with pysaml2-4.0.3+. Thanks to jimr and astoltz.
  • Fix Django 1.9 compatibility issue in templates. Thanks to nikoskal.

0.14.3


  • Upgraded to pysaml2-4.0.5.
  • Added 'ACS_DEFAULT_REDIRECT_URL' setting for default redirection after successful authentication. Thanks to ganiserb.

0.14.2


  • Released under the original 'djangosaml2' package name; abandoning the djangosaml2-knaperek fork.

0.14.1


  • Upgraded to pysaml2-4.0.4.

0.14.0


  • Upgrade to pysaml2-4.0.2. Thanks to kviktor
  • Django 1.9 support. Thanks to Jordi Gutiérrez Hermoso

0.13.2


  • Improved usage of standard Python logging.

0.13.1


  • Added support for djangosaml2 specific user model defined by SAML_USER_MODEL setting

0.13.0


  • Django 1.7 support. Thanks to Kamei Toshimitsu

0.12.0


  • Pysaml2 2.2.0 support. Thanks to Erick Tryzelaar

0.11.0


  • Django 1.5 custom user model support. Thanks to Jos van Velzen
  • Django 1.5 compatibility url template tag. Thanks to bula
  • Support Django 1.5 and 1.6. Thanks to David Evans and Justin Quick

0.10.0


  • Check that RelayState is not empty before redirecting into a loop. Thanks
    to Sam Bull for reporting this issue.
  • In the global logout process, when the session is lost, report an error
    message to the user and perform a local logout.

0.9.2


  • Upgrade to pysaml2-0.4.3.

0.9.1


  • Add a method to the authentication backend so it is possible
    to customize the authorization based on SAML attributes.

0.9.0


  • Add a signal for modifying the user just before saving it on
    the update_user method of the authentication backend.

0.8.1


  • Trim the SAML attributes before setting them to the Django objects
    if they are too long. This fixes a crash with MySQL.

0.8.0


  • Allow to use different attributes besides 'username' to look for
    existing users.

0.7.0


  • Add a setting to decide if the user should be redirected to the
    next view or shown an authorization error when the user tries to
    login twice.

0.6.1


  • Remove Django from our dependencies
  • Restore support for Django 1.3

0.6.0


  • Add tox support configured to run the tests with Python 2.6 and 2.7
  • Fix some dependencies and sdist generation. Lorenzo Gil
  • Allow defining a logout redirect url in the settings. Lorenzo Gil
  • Add some logging calls to improve debugging. Lorenzo Gil
  • Add support for custom conf loading function. Sam Bull.
  • Make the tests more robust and easier to run when djangosaml2 is
    included in a Django project. Sam Bull.
  • Make sure the profile is not None before saving it. Bug reported by
    Leif Johansson

0.5.0


  • Allow defining custom config loaders. They can be dynamic depending on
    the request.
  • Do not automatically add the authentication backend. This way
    we allow other people to add their own backends.
  • Support for additional attributes other than the ones that get mapped
    into the User model. Those attributes get stored in the UserProfile model.

0.4.2


  • Fix a crash in the idplist templatetag about using an old pysaml2 function
  • Added a test for the previous crash

0.4.1


  • Upgrade pysaml2 dependency to version 0.4.1

0.4.0


  • Upgrade pysaml2 dependency to version 0.4.0 (update our tests as a result
    of this)
  • Add logging calls to make debugging easier
  • Use the Django configured logger in pysaml2

0.3.3


  • Freeze the version of pysaml2 since we are not (yet!) compatible with
    version 0.4.0

0.3.2


  • Avoid a crash when reading the SAML attribute that maps to the Django
    username

0.3.1


  • Load the config in the render method of the idplist templatetag to
    make it more flexible and reentrant.

0.3.0


  • Templatetag to get the list of available idps.
  • Allow to map the same SAML attribute into several Django field.

0.2.4


  • Fix restructured text bugs that made pypi page looks bad.

0.2.3


  • Set a unusable password when the user is created for the first time

0.2.2


  • Prevent infinite loop when going to the /saml2/login/ endpoint and the user
    is already logged in and the settings.LOGIN_REDIRECT_URL is (badly) pointing
    to /saml2/login.

0.2.1


  • If no next parameter is supplied to the login view, use the
    settings.LOGIN_REDIRECT_URL as default

0.2.0


  • Python 2.4 compatible if the elementtree library is installed
  • Allow post processing after the authentication phase by using
    Django signals.

0.1.1


  • Simple view to echo SAML attributes
  • Improve documentation
  • Change default behaviour when a new user is created. Now their attributes
    are filled this first time
  • Allow to set a next page after the logout

0.1.0


  • Emancipation from the pysaml package

Once you have closed this pull request, I'll create seperate pull requests for every update as soon as I find them.

That's it for now!

Happy merging! 🤖

@mhindery mhindery merged commit 8a47bc4 into master Mar 15, 2017
@mhindery mhindery deleted the pyup-initial-update branch April 18, 2017 08:09
mhindery pushed a commit that referenced this pull request Aug 8, 2018
fixed urls to use namespace used in views
vijithv referenced this pull request in vijithv/djangosaml2idp Jun 18, 2019
Added pylama in requirements-dev.txt and fixed some pycodestyle, better Debug, fixed TODO in LoginProcessView for signver
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants