Skip to content

Releases: nitmir/django-cas-server

v0.4.4

30 Apr 08:31
Compare
Choose a tag to compare

Added

  • Add sensitive_post_parameters and sensitive_variables for passwords, so passwords are anonymised
    before django send an error report.

Fixed

  • Before commit 77fc5b5 the User model had a foreign key to the Session model. After the commit,
    Only the session_key is store, allowing to use different backend than the Session SQL backend.
    So the first migration (which is 21 migrations combined) was creating the User model with the
    foreign key, then delete it and add the field session_key. Somehow, MySQL did not like it.
    Now the first migration directly create the User model with the session_key and without the
    foreign key to the Session SQL backend.
  • Evaluate attributes variables in the template samlValidate.xml. the {{ }} was missing causing
    the variable name to be displyed instead of the variable content.
  • Return username in CAS 1.0 on the second ligne of the CAS response as specified.

Changed

  • Update tests

v0.4.3

18 Mar 12:28
Compare
Choose a tag to compare

Fixed

  • Currently, one of our dependancy, django-boostrap3, do not support django 1.7 in its last version.
    So there is some detection of the current django installed version in setup.py to pin
    django-boostrap3 to a version supported by django 1.7 if django 1.7 is installed, or to require
    at least django 1.8.
    The detection did not handle the case where django was not installed.
  • [PEP8] Put line breaks after binary operator and not before.

v0.4.2

18 Mar 12:06
Compare
Choose a tag to compare

Added

  • On logout, display the number of sessions we are logged out from.

Fixed

  • One of our dependancy, django-boostrap3, do not support django 1.7 in its last version.
    Some django version detection is added to setup.py to handle that.
  • Some typos
  • Make errors returned by utils.import_attr clearer (as they are likely to be displayed to the
    django admin)

v0.4.1

23 Dec 13:45
Compare
Choose a tag to compare

Added

  • Add a run_test_server target to make file. Running make run_test_server will build a virtualenv,
    create a django projet with django-cas-server and lauch ./management.py runserver. It is quite
    handy to test developement version.
  • Add verbose name for cas_server app and models
  • Add Makefile clean targets for tox tests and test virtualenv.
  • Add link on license badge to the GPLv3

Changed

  • Make Makefile clean targets modular
  • Use img.shields.io for PyPi badges
  • Get django-cas-server version in Makefile directly from setup.py (so now, the version is only
    written in one place)

Fixed

  • Fix MysqlAuthUser when number of results != 1: In that case, call super anyway this the provided
    username.

v0.4

15 Dec 11:42
Compare
Choose a tag to compare

Added

  • Add a help_text to pattern of ServicePattern
  • Add a timeout to SLO requests
  • Add logging capabilities (see README.rst for instruction)
  • Add management commands that should be called on a regular basis to README.rst

v0.3.5

12 Dec 17:10
Compare
Choose a tag to compare

Added

  • Add badges to README.rst
  • Document settings parameter in README.rst
  • Add a "Features" section in README.rst

Changed

  • Add a AuthUser auth class and use it as auth classes base class instead of DummyAuthUser

Fixed

  • Fix minor errors and typos in README.rst

v0.3.4

12 Dec 13:32
Compare
Choose a tag to compare

Added

  • Add static files, templates and locales to the PyPi release by adding them to MANIFEST.in
  • Add a Makefile with the build/install/clean/dist targets

v0.3.3

23 Aug 10:13
Compare
Choose a tag to compare

Added

  • Add management commands and migrations to the package by adding there packages to setup.py
    packages list.

v0.3.1

23 Aug 10:13
Compare
Choose a tag to compare

Added

  • Add a forgotten migration (remove auto_now_add=True from the User model)

v0.3

12 Dec 12:54
Compare
Choose a tag to compare

Added

  • Django 1.9 compatibility (add tox and travis tests and fix some decrecate