kakwa
2451b2efdd
adding notification after an action is performed
2015-10-28 23:11:23 +01: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
2992cac1d7
slightly cleaner way to handle templates loading
2015-10-19 20:36:37 +02:00
kakwa
53676db341
small code reorganization
...
* extraction of exception decorator
* extraction of log handling
2015-10-19 20:14:49 +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
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