Commit Graph

24 Commits

Author SHA1 Message Date
Johann Queuniet 50c6259035
Fix email regexp 2019-03-20 15:57:45 +01:00
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 3d6e24eb73 pep8 2019-02-07 20:16:39 +01:00
kakwa 74dc6c5894 various changes to support python3
* changes in urllib imports since quote_plus in urllib with python 2 and
in urllib.parse in python 3
* changes in imports for Sets since set is a native type in python 3 and
doesn't requires an import
* fix in __import__, '-1' level for module path discovery is not supported
anymore, switching to 0 (absolute import only).
2019-02-06 22:32:40 +01:00
kakwa 819e575a28 pep8ification 2017-03-07 22:23:11 +01:00
Stan Rudenko f7f72c7e11 adding textarea 2017-03-02 18:47:49 -08: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 f73d4e37bc more pep8 compliance 2015-07-11 22:03:58 +02:00
kakwa 3712bb85cb many pep8 fixes thanks to pep8ify 2015-07-10 21:06:28 +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 47e51d2451 implementing basic add of users 2015-06-15 21:30:19 +02:00
kakwa 247a1fed3a removing trailling spaces 2015-06-06 22:23:21 +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 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 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
kakwa 67b6c27273 adding skeleton to handle form attributes 2015-04-16 22:07:45 +02:00