Commit Graph

224 Commits

Author SHA1 Message Date
kakwa 14afde33b5 fix pep 8 2016-07-10 08:29:40 +02:00
kakwa f3fabe502e disable min search lenght for admin search 2016-07-10 08:10:19 +02:00
kakwa c2f6b95fb0 fix html escape for lonely groups 2016-07-10 07:40:56 +02:00
kakwa 0beac119f9 fix many error with html unescaped attributes 2016-07-08 21:46:00 +02:00
kakwa 6c3fb4975d fix many encoding errors on login and password 2016-07-07 20:22:33 +02:00
kakwa ebc5b69374 implement the display of users attributes on index page 2016-07-07 08:01:57 +02:00
kakwa c64bb11504 add a default handler for 404 requests 2016-07-06 22:50:59 +02:00
kakwa 8b0e68d9db implementing debug mode in console 2016-07-06 21:54:08 +02:00
kakwa baee15c40f properly implementing minimum lenght limit in search 2016-07-06 20:47:33 +02:00
Carpentier Pierre-Francois caef6a889e Fix encoding issues in AD backend 2016-07-06 14:00:36 +02:00
kakwa b8a65a44b6 pepify the source code 2016-06-17 00:10:02 +02:00
kakwa d8631da7ba making some attributes explicitly mandatory for Active Directory backend 2016-06-16 22:32:44 +02:00
kakwa c969e730c4 fix password setting with Active Directory 2016-06-16 21:49:48 +02:00
kakwa e981451431 fix notification adding error
The test on whether the user notification queue existed or not was just wrong.
2015-11-08 20:15:48 +01:00
Carpentier Pierre-Francois 5caedc91c3 pep8 compliance 2015-11-03 09:14:03 +01:00
kakwa c71645ac99 better log on user deletion (adding deteled **by user**) 2015-11-03 08:54:17 +01:00
kakwa 4e5c361e5e fix error messages/logs in ldap backend 2015-11-03 08:53:46 +01:00
kakwa a74346f7a7 very small improvements on ppolicy.simple 2015-11-02 23:47:59 +01:00
kakwa 451c59e875 it's more logical to do the auth check before anything... 2015-11-02 23:17:49 +01:00
kakwa fdba64f9da changing http returns for checkppolicy 2015-11-02 23:16:26 +01:00
kakwa 93cd8a40f6 adding notification for user deletion 2015-10-29 07:36:14 +01:00
kakwa 2451b2efdd adding notification after an action is performed 2015-10-28 23:11:23 +01:00
kakwa c397afab4a fix service unavailable template 2015-10-20 22:42:10 +02:00
kakwa 1985408324 better exceptions handling for demo backend 2015-10-20 22:17:00 +02:00
kakwa 27089f68ef fix pep8 2015-10-20 20:26:41 +02:00
kakwa 9ecd97a8d0 cleaner way to merge user's attributes from different backends 2015-10-20 20:05:22 +02:00
kakwa 1fd76a9485 fix decorator handling the exceptions 2015-10-20 20:04:52 +02:00
kakwa 2992cac1d7 slightly cleaner way to handle templates loading 2015-10-19 20:36:37 +02:00
kakwa 3402ba9613 pep8 compliance 2015-10-19 20:36:18 +02:00
kakwa 53676db341 small code reorganization
* extraction of exception decorator
* extraction of log handling
2015-10-19 20:14:49 +02:00
kakwa 3f9e76908e adding a demo backend 2015-08-09 18:49:44 +02:00
kakwa 61df2094c4 implementing custom js 2015-08-09 10:35:28 +02:00
kakwa ecbf112677 fix unit test on duplicate user exception 2015-07-31 22:54:21 +02:00
kakwa a8af29692e custom error handling for UserDoesntExist, UserAlreadyExists and GroupDoesntExist 2015-07-31 22:43:51 +02:00
kakwa 5561a9f42b typo in comment 2015-07-31 20:32:13 +02:00
kakwa efcaad54fc multiple modification/fix
* add display_name parameter for backend
* handle display_name in modify template (lonely groups) and error
  message
* fix bug in modify when user is in only one backend
* remove redondant exception in ad/ldap backend
* fix unit test accordingly
* fix License in AD backend (GPLv3 -> MIT, previously tought of using
  samba4 python library which is GPL, but this module finaly uses
  python-ldap which is MIT compatible)
2015-07-31 20:08:21 +02:00
kakwa 6ee0ff0354 many comment + encoding fixes 2015-07-29 08:15:54 +02:00
kakwa 383c68f8b8 fix authentification for AD backend 2015-07-29 00:22:25 +02:00
kakwa ff08e09598 more encoding error fix (on ldap auth) 2015-07-29 00:14:49 +02:00
kakwa 69700d0ce9 more encoding fixes 2015-07-29 00:09:15 +02:00
kakwa 3391ed9704 fix more encoding error 2015-07-28 23:57:14 +02:00
kakwa 9ec7a3dfbe fix rename in modify
when renaming an entry, dn must be reset to the correct value for
the modifications that come after the rename.
2015-07-28 23:38:29 +02:00
kakwa f2c1a6af44 many fixes in encoding handling 2015-07-28 23:27:02 +02:00
kakwa 5459830269 removing utf-8 crap in AD backend
the crap must be fixed in LDAP backend first
2015-07-28 22:19:49 +02:00
kakwa 4e5591db7a fix encoding error on dn 2015-07-28 22:18:57 +02:00
kakwa b9903e62ff fix pep8 compliance 2015-07-28 20:41:02 +02:00
kakwa 95d6a0e6a4 typo + add/del group in AD backend
* implementing add_to_group and del_from_group in AD backend.
* fixing typo self.objetclasses => self.objectclasses
2015-07-28 20:36:06 +02:00
kakwa e5d97cf8ff making Backend skeleton a child class of object
this enables the use of super()
2015-07-28 20:32:46 +02:00
kakwa 27fca43ac6 Better exception re-raising
re-raising the exception without specifying the exception object gives
exactly the previous exception (including the correct stacktrace)
which is nicer to have for debugging.
2015-07-28 20:30:51 +02:00
kakwa e3fe0b4bfb implementing renaming entry 2015-07-28 00:18:05 +02:00