Releases: nitmir/django-cas-server
Releases · nitmir/django-cas-server
v0.4.4
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
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
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
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.