Commit Graph

273 Commits

Author SHA1 Message Date
Valentin Samir 63621bd26e Use pip for make install, it allow us to easily uninstall
do not install any dependancy, as setup.py install would do
2016-06-29 08:43:11 +02:00
Valentin Samir abda112467 Begin to split tests, Makefile less phony, use py.test 2016-06-29 08:22:52 +02:00
Valentin Samir 33f53f1d25 Add docstrings to management commands 2016-06-29 00:28:59 +02:00
Valentin Samir 6972ad7536 Add some docstrings and comments 2016-06-29 00:25:09 +02:00
Valentin Samir 3e53429feb Forgotten test for proxy view 2016-06-29 00:09:11 +02:00
Valentin Samir 8edf896fa5 Remove some duplicate from tests code, full coverage for prowy view 2016-06-29 00:01:51 +02:00
Valentin Samir 97a15f749c Use override_settings in tests 2016-06-28 19:27:03 +02:00
Valentin Samir 44acd005ee Full coverage for view validateService 2016-06-28 18:58:39 +02:00
Valentin Samir 6d610d5aa6 Full coverage for validate view 2016-06-28 17:46:59 +02:00
Valentin Samir 87a877b91c Full coverage auth view 2016-06-28 17:19:48 +02:00
Valentin Samir 327a47566f Full coverage of logout view 2016-06-28 16:41:27 +02:00
Valentin Samir 166590f264 Full coverage for the login view 2016-06-28 15:59:40 +02:00
Valentin Samir a4d70d3046 Merge branch 'dev' into federate 2016-06-28 15:29:45 +02:00
Valentin Samir 16fb7b5021 Fix renew request from service 2016-06-28 15:24:50 +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 fc57288c30 Fix some python3 compat and change in test client behaviour in django 1.9 2016-06-28 00:10:36 +02:00
Valentin Samir bab79c4de5 More unit tests (essentially for the login view) and some docstrings 2016-06-27 23:55:17 +02:00
Valentin Samir 7db3157864 Forgotten return 2016-06-27 14:01:39 +02:00
Valentin Samir 90262b0b97 Merge pull request #4 from nitmir/dev
Add more optional password check to the mysql auth backend
2016-06-26 22:17:47 +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 6faeaad57e Typo in README.rst 2016-06-26 20:34:26 +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 b36a9a1523 Add a .coveragerc file 2016-06-26 17:20:26 +02:00
Valentin Samir 02a566c129 Use constant only caps for constants 2016-06-26 16:13:09 +02:00
Valentin Samir 164e2f5c28 style 2016-06-26 16:02:25 +02:00
Valentin Samir 8303f816df Exclude non test auth from coverage 2016-06-26 15:34:26 +02:00
Valentin Samir 86b9d72d4c Update README.rst 2016-06-26 12:54:18 +02:00
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