Commit Graph

16 Commits

Author SHA1 Message Date
kakwa 79983c078f fix behavior of get_attributes()
* make sure it returns an ordered list in both python 2 and python 3
2019-02-09 16:22:42 +01:00
kakwa 2a2864a306 porting the tests over to python3 2019-02-07 20:55:50 +01:00
kakwa 569aaac5a6 fix unittest because of new mandatory param for Active Directory 2016-06-17 07:52:49 +02:00
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 df88f2f266 remove trailing spaces 2015-07-05 22:48:24 +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 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 74ed8fa0d4 adding method and unit tests to get all the attributes of one backend 2015-05-22 09:49:50 +02:00
kakwa ab841b5baf adding get_attributes 2015-05-18 15:04:36 +02:00
kakwa 49de542fb9 better unit tests 2015-05-18 15:01:32 +02:00
kakwa 7cdbe459b6 change backend key name in attributes + methods
* adding get_backends
* adding get_selfattributes (attributes users can change themselves)
* adding unit tests
* rename backend-attributes -> bakends (for homogeneity with role.yml)
2015-05-18 12:30:51 +02:00
kakwa a71093038c better checks for attributes 2015-05-17 19:49:13 +02:00
kakwa 679c2bba85 adding checks for mandatory elements of attributes.yml 2015-05-17 19:22:11 +02:00
kakwa dbc88163dd begin attributes handling manipulation 2015-05-17 12:24:29 +02:00