Commit Graph

393 Commits

Author SHA1 Message Date
Valentin Samir aff76e70ec Merge pull request #3 from nitmir/tests_django
Convert tests to django builting tests, add coverage, add codacy
2016-06-26 12:21:00 +02:00
Valentin Samir ac5f359063 style 2016-06-26 11:26:19 +02:00
Valentin Samir 3e80a018dd Css style 2016-06-26 11:04:05 +02:00
Valentin Samir bf7da7e805 More descriptive name for default_app_config 2016-06-26 11:02:57 +02:00
Valentin Samir 03cbab37f4 Javascript style 2016-06-26 11:01:37 +02:00
Valentin Samir 173f4d8a82 Omit django migrations in coverage 2016-06-26 10:55:08 +02:00
Valentin Samir 23bbd8080a Codacy badges and coverage 2016-06-26 10:41:15 +02:00
Valentin Samir a6c77b54d8 Update some README links 2016-06-26 10:28:13 +02:00
Valentin Samir 560b5b7a21 Add six to requirements 2016-06-25 11:37:44 +02:00
Valentin Samir 269cfb463b Add coverage to Makefile 2016-06-25 11:26:56 +02:00
Valentin Samir 64b90c5077 Use django integrated unit tests 2016-06-25 11:09:46 +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 5cb25de99f Put test username, password, attributes in settings 2016-06-24 21:06:36 +02:00
Valentin Samir a0ab47a4ae Allow pgtUrl to be localhost without https 2016-06-24 21:05:43 +02:00
Valentin Samir 6d7300fe43 Add SLO support from federated CAS 2016-06-23 17:18:53 +02:00
Valentin Samir e820a3a57a Small fixes to cas.py, waiting for upstream merge 2016-06-23 12:14:15 +02:00
Valentin Samir 7a637c7321 verify_ticket(ticket) can return None as attributes 2016-06-23 12:14:02 +02:00
Valentin Samir d1c5ff4019 Use session to transmist username/ticket from fedeare view to login view
Hence, these parameter are not recorder in the user history, and thus
the user username do not apear anymore in the history. This respect more the
user privacy.
2016-06-22 12:46:18 +02:00
Valentin Samir 8ddf06b82a Merge branch 'master' into federate 2016-06-21 18:04:17 +02:00
Valentin Samir b96c0ef4c7 Wrap logo on small screens 2016-06-21 18:02:27 +02:00
Valentin Samir 4c5599ea7b Add CAS_FEDERATE_PROVIDERS_LIST to settings parameters 2016-06-21 16:20:25 +02:00
Valentin Samir 3a71cc2cca Add "remember my identity provider" expiry time in a setting parameter 2016-06-21 15:41:43 +02:00
Valentin Samir bec51755fa fix too many values to unpack in federate.py 2016-06-21 15:31:46 +02:00
Valentin Samir a00e5d403d Add a verbone names to CAS_FEDERATE_PROVIDERS 2016-06-21 14:46:01 +02:00
Valentin Samir 46cfaa6745 Fix python3 error "'dict_keys' object has no attribute 'sort'" 2016-06-21 09:53:43 +02:00
Valentin Samir 919f36bf54 Merge branch 'master' into federate 2016-06-21 09:48:04 +02:00
Valentin Samir 25ece526a0 Update translation 2016-06-21 00:17:04 +02:00
Valentin Samir fc4c7ca664 Bad requirement in requirements-dev.txt 2016-06-20 14:25:33 +02:00
Valentin Samir 16fd0f5dbb style 2016-06-20 14:22:53 +02:00
Valentin Samir 0dba0d1776 Style and federated doc about the manage command cas_clean_federate 2016-06-20 14:20:49 +02:00
Valentin Samir 2b02568e5b Doc for the federated mode 2016-06-20 14:15:00 +02:00
Valentin Samir 177da450aa Add headers to cas.py 2016-06-20 14:14:50 +02:00
Valentin Samir 3cef82b475 Hide h1 if auto_submit is enable 2016-06-20 13:51:40 +02:00
Valentin Samir 63a041463d No need for a different template for federated login 2016-06-20 13:38:50 +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 8ab7352f4b Merge branch 'master' into federate 2016-06-19 13:22:32 +02:00
Valentin Samir 155a919287 Update Makefile to setup more easily the test env 2016-06-19 13:18:32 +02:00
Valentin Samir e8a587f48a Disable federated auth if CAS_FEDERATE is False 2016-06-19 13:00:28 +02:00
Valentin Samir 5cf820e44f Add a command to clean old federated users 2016-06-19 13:00:09 +02:00
Valentin Samir 7c16e2e36c Need six, update version number 2016-06-17 19:43:24 +02:00
Valentin Samir efdd97ec07 Test for CAS federation 2016-06-17 19:28:49 +02:00
Valentin Samir 3a57ad0835 style 2016-06-03 14:19:43 +02:00
Valentin Samir 77fcd7a24e Forgotten debug variable 2016-06-03 14:17:49 +02:00
Valentin Samir 755f571fd7 Bad button name on warn.html 2016-06-03 14:15:41 +02:00
Valentin Samir a8cb006989 Merge github.com:nitmir/django-cas-server 2016-06-03 14:12:38 +02:00
Valentin Samir 20f11eca77 Use a POST for "warn me" and only generate the ticket after the "warn me" page 2016-06-03 14:11:07 +02:00
Valentin Samir a45cb1d38b Typo, bad variable name 2016-05-11 13:06:41 +02:00