Valentin Samir
6972ad7536
Add some docstrings and comments
2016-06-29 00:25:09 +02:00
Valentin Samir
44acd005ee
Full coverage for view validateService
2016-06-28 18:58:39 +02:00
Valentin Samir
93c2dae96b
Add docstrings
2016-06-26 22:07:38 +02:00
Valentin Samir
2fac47f0b1
Add unit test for the utils function check_password
2016-06-26 21:44:41 +02:00
Valentin Samir
ac206d56d6
Add some password check methods to the MySQL auth backend
2016-06-26 20:29:47 +02:00
Valentin Samir
164e2f5c28
style
2016-06-26 16:02:25 +02:00
Valentin Samir
ac5f359063
style
2016-06-26 11:26:19 +02:00
Valentin Samir
4bb886f083
python3 compatibility
2016-06-24 23:37:24 +02:00
Valentin Samir
0776e371e8
style
2016-06-24 21:23:33 +02:00
Valentin Samir
12201665de
Add some dango unit tests
2016-06-24 21:07:19 +02:00
Valentin Samir
c7ac3bee7a
Add a h1 to default templates and a logo
2016-06-20 13:31:59 +02:00
Valentin Samir
a45cb1d38b
Typo, bad variable name
2016-05-11 13:06:41 +02:00
Valentin Samir
93e11befc5
[utils.py] Errors in utils.import_attr are more understandable.
2016-03-18 13:03:23 +01:00
Valentin Samir
b69769d71a
Django 1.9 compatibility
2015-12-12 13:53:21 +01:00
Valentin Samir
9df1cd2e31
Add javascript login function allow service A to log user to service B via javascript
...
CORS need to be correctly configured if not this can lead to security issues.
Please do not put Access-Control-Allow-Origin: "*".
You can use django-cors-headers to properly configure CORS
2015-11-17 14:50:16 +01:00
Valentin Samir
50781dba18
add some tests
2015-06-21 18:59:37 +02:00
Valentin Samir
39557d1942
PEP8
2015-06-12 18:12:35 +02:00
Valentin Samir
77fc5b5988
Compatibility with different session backend + admin layout
2015-06-11 23:04:26 +02:00
Valentin Samir
245086f6ef
By session logout
2015-06-09 22:04:41 +02:00
Valentin Samir
6185ec5216
Add Login Ticket to prevent login replay + by ticket len options
2015-06-05 15:44:17 +02:00
Valentin Samir
690c2c3b29
some encode stuff
2015-06-03 17:42:25 +02:00
Valentin Samir
b4a5961886
Using fresh user attributs on ticket creation + auth class as string in config
2015-05-30 19:45:59 +02:00
Valentin Samir
ff74a07965
Use only classe view, put ticket prefix as config option
2015-05-29 19:27:54 +02:00
Valentin Samir
a0b1a095e4
Login/Logout view are now class views
2015-05-29 16:11:10 +02:00
Valentin Samir
5ebc5169c3
set IssueInstant and ResponseID on saml error
2015-05-28 15:17:11 +02:00
Valentin Samir
871baaac87
some code refactoring and better error handling on ticket validation
2015-05-28 15:08:57 +02:00
Valentin Samir
1fcb0a7110
copyright notice
2015-05-27 22:10:06 +02:00
Valentin Samir
ad434a113f
Some refactoring
2015-05-27 21:56:39 +02:00
Valentin Samir
977399f938
bad variable name
2015-05-16 23:48:04 +02:00
Valentin Samir
667483fc49
initial commit
2015-05-16 23:43:46 +02:00