1
0
mirror of https://github.com/kakwa/ldapcherry synced 2024-12-01 21:45:51 +01:00
Commit Graph

161 Commits

Author SHA1 Message Date
kakwa
6ad6f8ce5c adding exception for user already existing in backend 2015-07-18 12:02:00 +02:00
kakwa
2508739838 fix doc string in ppolicy 2015-07-17 08:28:39 +02:00
kakwa
64b9573634 escaping search string for ldap 2015-07-15 21:28:54 +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
abb651daa1 adding exception regarding password checks
* exception for ppolicy match
* exception for password fields don't match
2015-07-14 14:03:39 +02:00
kakwa
a83cae5428 fix default ppolicy 2015-07-14 14:03:05 +02:00
kakwa
cee73ceb93 adding check function to validate attributes type 2015-07-14 11:21:33 +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
11064322db adding check for reserved password keys 2015-07-13 09:10:36 +02:00
kakwa
c1dd6701b1 pep8 compliance for ldapcherry/pyyamlwrapper.py 2015-07-11 23:15:40 +02:00
kakwa
1885079444 pep8 compliance 2015-07-11 22:25:21 +02:00
kakwa
bbeaebe77d pep8 compliance 2015-07-11 22:05:33 +02:00
kakwa
f73d4e37bc more pep8 compliance 2015-07-11 22:03:58 +02:00
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