Commit Graph

19 Commits

Author SHA1 Message Date
Valentin Samir 290701e07f Changes for Django 2.0 support 2018-04-29 20:10:19 +02:00
Valentin Samir ff8373ee6a Always return authenticationDate, longTermAuthenticationRequestTokenUsed and isFromNewLogin attributes
As specified in the CAS response XML schema (see Appendix A).
Fix #37 as returned attributes are now never empty.
2018-04-29 18:48:41 +02:00
Valentin Samir da796c6e01 Corrects various errors spoted by travis and codacy 2016-08-06 11:44:58 +02:00
Valentin Samir d46428520f Code factorisation in models.py 2016-08-05 17:56:34 +02:00
Valentin Samir 570676f5b0 fix some codacy errors 2016-07-29 15:18:10 +02:00
Valentin Samir 3063cf116b few flake8 and python3 problems corrected 2016-07-29 14:55:52 +02:00
Valentin Samir 6eea76d984 Add pytest-warning to tests and correct some warnings, complete coverage (essentially branch) 2016-07-29 13:58:32 +02:00
Valentin Samir 502135d6ca Fix bug: the renewing authentication, it is ok for the service to not require renew 2016-07-06 13:16:31 +02:00
Valentin Samir 9909699012 Update sime legal headers 2016-07-03 18:11:48 +02:00
Valentin Samir 8e5b75e090 Add some docstrings 2016-07-03 17:54:11 +02:00
Valentin Samir 7cc3ba689f Correct some code style errors and remove some forgotten debug lines 2016-07-03 14:19:39 +02:00
Valentin Samir 90daf3d2a0 Add unit tests for when CAS_FEDERATE is True
Also fix some unicode related bugs
2016-07-03 13:53:12 +02:00
Valentin Samir 219171fe41 Set legals headers 2016-07-01 00:02:46 +02:00
Valentin Samir c7c5151acf Tests comments and move http server handlers from cas_server.utils to cas_server.tests.utils 2016-06-30 23:13:53 +02:00
Valentin Samir ecf4e66e11 Models full coverage 2016-06-30 13:56:51 +02:00
Valentin Samir 2fba4183a3 Codacy issues 2016-06-29 20:59:31 +02:00
Valentin Samir 3334f87601 SingleLogOut unit tests 2016-06-29 20:51:58 +02:00
Valentin Samir d4b9d66051 Cleaner BaseHTTPRequestHandler 2016-06-29 20:51:30 +02:00
Valentin Samir e5efdadde0 Full coverage for saml + split tests 2016-06-29 17:10:41 +02:00