Commit Graph

109 Commits

Author SHA1 Message Date
kakwa cee73ceb93 adding check function to validate attributes type 2015-07-14 11:21:33 +02:00
kakwa 11064322db adding check for reserved password keys 2015-07-13 09:10:36 +02:00
kakwa 1a37cb23a9 adding unit test on selfmodify 2015-07-05 23:09:13 +02:00
kakwa df88f2f266 remove trailing spaces 2015-07-05 22:48:24 +02:00
kakwa 98cbeb9af5 remove empty line 2015-07-05 22:46:18 +02:00
kakwa b8f37aa545 adding unit test for _parse_params 2015-07-05 22:35:45 +02:00
kakwa 287ef63215 remove useless test 2015-07-05 22:30:11 +02:00
kakwa e9d5331d6a various fix on ssl/tls + tests
* making ssl cert check and cert no check works
* adding a test to check if the cafile does exist
* reenable and fix ssl checks on travis
2015-07-05 22:01:09 +02:00
kakwa 405367fd75 various fixes in html + unit tests on html 2015-07-05 17:50:42 +02:00
kakwa 5d7f6ee12c adding html validation in ubit tests 2015-07-05 16:35:32 +02:00
kakwa 4a55d040f9 adding unit test for ppolicy 2015-07-03 20:26:02 +02:00
kakwa 721582304f disable ssl in test configuration 2015-06-28 23:48:07 +02:00
kakwa 2bfd54210f fix test configuration 2015-06-28 23:42:38 +02:00
kakwa 2d953030d5 adding various unit tests 2015-06-28 23:34:26 +02:00
kakwa f1153137bc adding proper acl in test ldap configuration 2015-06-28 22:03:34 +02:00
kakwa 719fa15c74 fixing get_roles unit test 2015-06-19 22:18:36 +02:00
kakwa 234a82b3bd fix test ldap content 2015-06-18 21:06:30 +02:00
kakwa b0e7df32b9 adding ldap groups to test group management 2015-06-18 20:37:23 +02:00
kakwa 5e508c6613 removing crapy configuration file 2015-06-18 20:36:37 +02:00
kakwa 01de849204 list of roles and not a uniq role for get_groups 2015-06-18 10:04:20 +02:00
kakwa a8f1b7be59 reverse because no effect + disable ssl unit test on travis 2015-06-18 00:23:00 +02:00
kakwa c75fd2c568 fix decorator to disable check on travis 2015-06-17 23:59:44 +02:00
kakwa a3c75f97f5 adding unit test for starttls 2015-06-17 22:51:33 +02:00
kakwa 05a897f355 fix path to ca 2015-06-17 22:41:42 +02:00
kakwa c6ffdc20d8 reenable ssl no cert check 2015-06-17 22:20:21 +02:00
kakwa 37dcbc9246 fix configuration of unit test 2015-06-17 21:49:23 +02:00
kakwa 9dd9a9818c test with ldap and not ldaps 2015-06-17 21:24:00 +02:00
kakwa e029c6701b test for travis 2015-06-17 21:02:10 +02:00
kakwa 4321d48dc2 more logs 2015-06-17 20:51:21 +02:00
kakwa 567e4c7d5f greater timeout 2015-06-17 20:30:26 +02:00
kakwa 8269371588 trying to fix /etc/hosts 2015-06-17 19:58:05 +02:00
kakwa ce357dbdc7 fix /etc/hosts for test env 2015-06-17 19:40:01 +02:00
kakwa c2288eecf5 fix unit test and fix the way ldap connexion options are handled 2015-06-17 19:22:57 +02:00
kakwa 42a1e13db4 adding test for add/delete groups 2015-06-17 00:39:03 +02:00
kakwa a7fcad01ed small reorganization 2015-06-17 00:06:30 +02:00
kakwa 47cddd04ca fix and add unit tests on ldap backend 2015-06-16 21:32:14 +02:00
kakwa 322aba33e8 fix search display
* fix attritues handling, not using backend attribute name but key given
  in attributes.yml
2015-06-15 23:03:47 +02:00
kakwa a62c5a64ac fix unit tests + add graph method
* fix unit tests on roles (adding mandatory description)
* adding a method to get roles graph in json
2015-06-11 09:34:45 +02:00
kakwa 556d1f744b implementing a method to get groups to remove
* implement a way to remove roles from a user
  without removing groups of roles the user keeps
2015-06-08 22:50:54 +02:00
kakwa 30cfd248f7 adding unit tests 2015-06-05 01:01:35 +02:00
kakwa 1735f5da20 simplify roles configuration (backend groups) 2015-06-04 23:34:31 +02:00
kakwa af0ac631cb better default configuration and content in test ldap 2015-06-02 08:18:05 +02:00
kakwa f8b3df8b58 implementing weight and normalizing each kind of attributes 2015-05-31 23:27:04 +02:00
kakwa 53660ee1d2 implement search 2015-05-31 19:38:31 +02:00
kakwa c9b971e8b0 adding key handling 2015-05-31 18:40:35 +02:00
kakwa 2860f5af6c adding key and fixing unit tests 2015-05-31 18:07:46 +02:00
kakwa 1acd48c332 add unit test for get_user 2015-05-28 09:56:25 +02:00
kakwa 0f97d1d07c adding unit test for del user if user don't exist 2015-05-28 09:51:19 +02:00
kakwa 8387aa0cad adding test on login 2015-05-28 09:46:11 +02:00
kakwa a335b7c109 fix test configuration 2015-05-28 09:45:59 +02:00