1
0
mirror of https://github.com/kakwa/ldapcherry synced 2024-12-23 05:10:03 +01:00

587 Commits

Author SHA1 Message Date
kakwa
e4effc64ec fixing log errors in auth "none" mode
replacing None by unknown as a default value in order to avoid
error in generating log msg because None is not a string
2017-03-12 17:45:01 +01:00
kakwa
a802ce772a adding documention of textfielf and better documenation for other types 2017-03-07 23:21:27 +01:00
kakwa
3a1966324d adding more try catch for template debugging 2017-03-07 22:34:05 +01:00
kakwa
819e575a28 pep8ification 2017-03-07 22:23:11 +01:00
Carpentier Pierre-Francois
12bb597903 Merge pull request #6 from rooty0/feat/template-parse-error
adding support for display template parse error
2017-03-07 22:19:15 +01:00
Carpentier Pierre-Francois
7afe6c0ca7 Merge pull request #5 from rooty0/feat/add-textarea
adding textarea
2017-03-07 22:14:18 +01:00
Stan Rudenko
e1a27aa0a7 adding support for display template parse error 2017-03-02 19:06:54 -08:00
Stan Rudenko
f7f72c7e11 adding textarea 2017-03-02 18:47:49 -08:00
kakwa
e37b88dbda fix some errors in unused code 2017-01-31 20:59:49 +01:00
kakwa
d7303da85f fix test configuration 2017-01-24 03:06:48 +01:00
kakwa
44024dbd02 trying to add test on AD/DC for travis 2017-01-24 02:52:16 +01:00
kakwa
5a45a24055 proper exception in ldap backend
adding proper management of none existant user in group function
if user doesn't exist.
2016-08-01 19:57:51 +02:00
kakwa
0a4db74f1f version bump 0.4.0 2016-07-31 13:14:31 +02:00
kakwa
f747252585 add changelog 2016-07-31 12:30:54 +02:00
kakwa
7f00264e32 improve robustness if user dn attribute contains something like ,cn= 2016-07-31 12:21:26 +02:00
kakwa
d820cceeb6 pep8 2016-07-31 11:41:42 +02:00
kakwa
d4235bc33c better behavior if user doesn't exist in one backend 2016-07-31 11:39:28 +02:00
kakwa
f21122b219 fix AD test configuration 2016-07-31 11:32:02 +02:00
kakwa
01aaf476c1 code multi-backends setups tests + new unit test
* add a ldap+ad setup and code for direct, only AD manipulation
* add unit test for _deleteuser if it doesn't exist in all backends
2016-07-31 10:10:51 +02:00
kakwa
fec09b1543 don't stop on UserDoesntExist exception on delete
previously, if a user didn't exist in one backend, the _deleteuser
function in ldapcherry would stop on the UserDoesntExist exception,
potentially leaving the user in other backends.
Now it logs it and continues to delete the user in other backend.
2016-07-31 10:06:17 +02:00
kakwa
cf97f01245 adding configuration for AD + LDAP setup 2016-07-31 10:05:29 +02:00
kakwa
5ddd9a6bbf complete changelog 2016-07-29 23:08:02 +02:00
kakwa
07a60823ad Merge branch 'master' of https://github.com/kakwa/ldapcherry 2016-07-29 23:06:09 +02:00
kakwa
5ff62f0a8c fix ppolicy client side javascript checker
Due to a missing encodeURIComponent, the post arguments of the
http query on /checkppolicy could be interpreted as several argument if
caracters like & or = were present.
This commit also adds error handling on http return codes in the
checker.
2016-07-29 23:00:16 +02:00
kakwa
a84ee528aa 403 flag for _check_auth + fix default 404 page
_check_auth can now return a 403 error instead of redirected to
the login page if needed (in case of the checkppolicy for example).
The default page handles post data and querystring better now.
2016-07-29 22:56:56 +02:00
pcarpent
1aa4a0bd64 adding change logs for next version 2016-07-29 11:17:44 +02:00
pcarpent
37925b196b admin search if admin in navbar
Now LdapCherry Administrator are displayed the searchadmin page
(the one displaying the modify and remove buttons) when they use
the navbar search.
2016-07-29 11:12:30 +02:00
kakwa
f863b230dd fix pep8 error 2016-07-29 07:41:42 +02:00
kakwa
dcdc260f33 disable unit tests for AD on travis
Setting up a test env with samba 4 as AD doesn't seem possible on
travis. there is no other choice than disabling the AD unit tests
if we are on travis
2016-07-29 07:37:25 +02:00
kakwa
2e98e380df adding slow_disabled decorator on html check unit tests 2016-07-29 07:36:32 +02:00
kakwa
52557afa6a adding a decorator to disable slow tests
if env var LCNOSLOW=yes, the slowest tests are disable
2016-07-29 07:34:58 +02:00
kakwa
f967630043 adding unitests for backend AD 2016-07-28 21:07:40 +02:00
kakwa
9fb32f11be fix many encoding errors 2016-07-28 21:07:10 +02:00
kakwa
64e0bba74c trying again... 2016-07-28 19:53:57 +02:00
kakwa
ff950dd88b more unicode testing 2016-07-28 19:53:32 +02:00
kakwa
9367bc3288 fix unit tests 2016-07-28 07:32:12 +02:00
kakwa
d1ec945fe2 adding possible missing winbind 2016-07-28 06:44:02 +02:00
kakwa
0f28309344 trying something else... 2016-07-28 06:34:48 +02:00
kakwa
0263d52edf killing dnsmasq 2016-07-27 21:42:15 +02:00
kakwa
127b106082 trying again to have a test env... 2016-07-27 21:13:56 +02:00
kakwa
6fd849fa50 trying again to have a test env... 2016-07-27 21:13:18 +02:00
kakwa
ca974ab801 trying to stop dnsmasq (to use samba internal) 2016-07-27 21:10:02 +02:00
kakwa
9b3d232503 trying to set hostname to kerberos realm 2016-07-27 21:06:31 +02:00
kakwa
1ccb4bf732 test killing samba processes before ad-dc start 2016-07-22 21:38:40 +02:00
kakwa
d484ee1ed0 more debugging 2016-07-22 21:31:58 +02:00
kakwa
bb05934284 more debuging for ad-dc setup 2016-07-22 21:19:38 +02:00
kakwa
cfe31ae62b version bump 0.3.5 2016-07-21 07:45:40 +02:00
kakwa
320f57ab76 fix self user password modification in AD Backend
In some forms, the 'cn' attribute might not be accessible.
The _set_password method relied on 'cn' to build the user dn.
Now it accepts the cn or the dn (by_cn switch).
2016-07-21 07:33:14 +02:00
kakwa
6ef44b9b2e try to enable samba ad in test env 2016-07-10 09:53:09 +02:00
kakwa
d9973ddf36 version bump 0.3.4 2016-07-10 09:00:41 +02:00