Commit Graph

45 Commits

Author SHA1 Message Date
Valentin Samir 8e5b75e090 Add some docstrings 2016-07-03 17:54:11 +02:00
Valentin Samir 63f5b2cabf Merge branch 'master' into federate 2016-07-01 16:44:22 +02:00
Valentin Samir 95511943e8 Add a utils function to test crypt salts 2016-07-01 01:21:57 +02:00
Valentin Samir a5ed74ee56 SOme python3 compatibility 2016-07-01 00:09:51 +02:00
Valentin Samir 219171fe41 Set legals headers 2016-07-01 00:02:46 +02:00
Valentin Samir 7cbbab444f Full utils coverage 2016-07-01 00:00:33 +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 d4b9d66051 Cleaner BaseHTTPRequestHandler 2016-06-29 20:51:30 +02:00
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 434dcf6e4e Correct some codacy errors 2016-06-28 00:48:48 +02:00
Valentin Samir dedc1e34a2 Fix some style error introduced during the merge 2016-06-28 00:37:18 +02:00
Valentin Samir 32b5627c38 Merge branch 'dev' into federate 2016-06-28 00:34:31 +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 6d7300fe43 Add SLO support from federated CAS 2016-06-23 17:18:53 +02:00
Valentin Samir a00e5d403d Add a verbone names to CAS_FEDERATE_PROVIDERS 2016-06-21 14:46:01 +02:00
Valentin Samir a209b06df0 Merge branch 'master' into federate 2016-06-20 13:36:30 +02:00
Valentin Samir c7ac3bee7a Add a h1 to default templates and a logo 2016-06-20 13:31:59 +02:00
Valentin Samir efdd97ec07 Test for CAS federation 2016-06-17 19:28:49 +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