1
0
mirror of https://github.com/kakwa/ldapcherry synced 2024-06-15 07:10:01 +02:00
Commit Graph

86 Commits

Author SHA1 Message Date
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
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
f6b1128274 adding more debug traces in case of a faulty backend 2015-07-25 22:02:53 +02:00
kakwa
3a6da2e480 better exception handling if user or group doesn't exist 2015-07-15 21:05:38 +02:00
kakwa
77fbb346f1 fix authentifcation 2015-07-14 23:49:09 +02:00
kakwa
5a199ae3fb fix trailling space 2015-07-14 23:38:33 +02:00
kakwa
1703dc9a33 adding global exception handler 2015-07-14 23:37:20 +02:00
kakwa
315c226bf4 pep8 compliance 2015-07-14 14:49:22 +02:00
kakwa
afb3c0ef23 fix modify for empty attributes 2015-07-14 14:20:31 +02:00
kakwa
3587afcbfa better exception + server side checks for ppolicy 2015-07-14 14:05:10 +02:00
kakwa
dd5d7b9c19 fix typo 2015-07-13 14:51:18 +02:00
kakwa
53e4159ec9 simpler way to fill group hash in modify if key don't exist 2015-07-13 10:18:17 +02:00
kakwa
0a4164c8b5 code reorganization+docstrings 2015-07-13 10:08:47 +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
04c294e038 disable autofill for modify forms 2015-07-10 20:11:07 +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
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
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
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
c5bd6a238b remove debuging log 2015-06-16 00:25:04 +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