1
0
mirror of https://github.com/kakwa/ldapcherry synced 2025-01-22 19:37:21 +01:00

240 Commits

Author SHA1 Message Date
kakwa
f29039704e pep8 compliance on ldapcherry/exceptions.py 2015-07-11 09:05:01 +02:00
kakwa
24aabe2908 pep8 compilance for ldapcherry/__init__.py 2015-07-11 08:55:54 +02:00
kakwa
3712bb85cb many pep8 fixes thanks to pep8ify 2015-07-10 21:06:28 +02:00
kakwa
2d12335030 pep 8 on ppolicy + docstrings 2015-07-10 21:01:39 +02:00
kakwa
04c294e038 disable autofill for modify forms 2015-07-10 20:11:07 +02:00
kakwa
976f65529d replace brackets by quotes in logs 2015-07-06 08:36:01 +02:00
kakwa
9bd23e386b fix typo in log 2015-07-06 08:32:36 +02:00
kakwa
1f0cc50d58 adding a redirected to the originaly requested page on login
user not authenticated and requesting an url are redirected to
the signin page with the requested page url as the query string (in
base64). It permits to redirect them to the requested page once they
've log in.
2015-07-06 07:58:27 +02:00
kakwa
7241b6f8ee better error message for selfmodify if auth disabled 2015-07-05 23:09:32 +02:00
kakwa
df88f2f266 remove trailing spaces 2015-07-05 22:48:24 +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
cd13bf5d22 fix error if no ppolicy module 2015-07-02 08:35:44 +02:00
kakwa
0d045576b2 implementing ppolicy handling and a simple ppolicy module 2015-07-02 07:42:38 +02:00
kakwa
e964c5151e implementing a simple ppolicy module 2015-07-01 23:00:42 +02:00
kakwa
c302198e6e initialize ppolicy module 2015-07-01 08:58:23 +02:00
kakwa
ac7661731c implementing frontend password policy check 2015-07-01 08:50:50 +02:00
kakwa
cd5069557c adding skeleton for ppolicy check 2015-06-29 23:07:53 +02:00
kakwa
ae5c857c74 fix error if password is not in modified attributes 2015-06-28 23:33:37 +02:00
kakwa
31907f726b change where form parsing is executed
this change creates a cleaner api for core functions
2015-06-28 23:10:58 +02:00
kakwa
373d897cab better exception handling in ldap backend 2015-06-28 19:54:19 +02:00
kakwa
1346bbe820 factoring source code 2015-06-28 15:29:02 +02:00
kakwa
3ccb5ecfc2 better docstring and splitting template load from reload 2015-06-28 15:14:31 +02:00
kakwa
e7053435e3 disable redirection + disable selfmodify if authentication is 'none' 2015-06-28 11:22:37 +02:00
kakwa
147cad3511 fix unicode 2015-06-27 22:35:34 +02:00
kakwa
b5a8e302d1 adding redirect to selfmodify on / 2015-06-26 00:03:26 +02:00
kakwa
11c4196959 implementing selfmodify 2015-06-25 23:42:37 +02:00
kakwa
45f32df72e make the key attribute not modifiable in modify form 2015-06-25 02:08:30 +02:00
kakwa
830e00a404 implementing modify 2015-06-25 01:26:28 +02:00
kakwa
be23277363 better log handler 2015-06-24 22:33:28 +02:00
kakwa
84c3d9604f replace uppercase characters in logs 2015-06-24 21:24:56 +02:00
kakwa
02c157b386 adding another debug log 2015-06-24 21:22:34 +02:00
kakwa
117d18bc92 prefixing all form attributes to differenciate between types 2015-06-24 00:46:10 +02:00
kakwa
314e0fc02b redirecting to the edit page once submit modify 2015-06-23 23:58:17 +02:00
kakwa
1b5c737cd5 implementing deletion of a user 2015-06-23 21:42:06 +02:00
kakwa
700ae5ce1e implementing backend method for delete user 2015-06-22 23:15:09 +02:00
kakwa
622e730017 fix adding multiple time to same group + logs 2015-06-21 23:41:24 +02:00
kakwa
71576f0aea code reorganization + logs
* adding logs when adding users
* move adduser with other none exposed classes
* skeleton for modify and delete user
2015-06-21 15:28:32 +02:00
kakwa
9cda4e6de0 better logs 2015-06-20 22:40:28 +02:00
kakwa
5e5e7e3c6a implementing displaying roles and standalone groups in modify form 2015-06-19 22:15:37 +02:00
kakwa
834b5a5152 begin implementing modify user form 2015-06-18 23:43:58 +02:00
kakwa
71c1eccc8e implementing adding user to roles 2015-06-18 20:38:39 +02:00
kakwa
f821aab9f4 adding logs when adding a user to a group 2015-06-18 20:38:10 +02:00
kakwa
01de849204 list of roles and not a uniq role for get_groups 2015-06-18 10:04:20 +02:00
kakwa
7d63e967da adding exception to prevent using skeleton module 2015-06-17 19:57:41 +02:00
kakwa
45393c3a80 fix backend module skeleton 2015-06-17 19:48:57 +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
0d766d3303 fix add/del groups 2015-06-16 23:56:12 +02:00
kakwa
60a7329937 fix API for backend ldap on groups handling 2015-06-16 21:58:44 +02:00
kakwa
a2fe74539b multiple modification in backend ldap
* better handling of which attributes is recovered
* fix set_attrs method
* change api of set_attrs method for constancy
* change calls to _get_user and _search methods (internal api change)
2015-06-16 21:29:40 +02:00
kakwa
c5bd6a238b remove debuging log 2015-06-16 00:25:04 +02:00