kakwa
de5f760c37
removing duplicate option in form select fields
2017-04-05 23:37:41 +02:00
kakwa
a33a46e8b8
add dynamic resizing to align input-group-addon
...
* add class to identify the 2 form columns
* add a js that calculate max width and resize all input-group-addon
spans
* load the js in the base template
2017-04-05 23:24:19 +02:00
kakwa
eb36830845
fixes
2017-03-16 03:03:59 +01:00
kakwa
3fd6dcee82
fix issue related to python-ldap returning lists
...
Before, no particular treatment was done on the user attributes.
This caused some issues because python-ldap systematically returns
the attribute value as a list (even if it's mono-valuated).
Now we recover the attributes used in the group attr templates,
and we "normalize" the user attributes before using it in add_to_groups
and del_from_groups.
By normalize, we mean, transforming the list to it's unique value.
In case the attribute doesn't exist or is multi-valuated, it raises an
error.
2017-03-16 02:45:23 +01:00
kakwa
55ce2bec5e
small cleaning
2017-03-16 02:40:23 +01:00
kakwa
e02a1a7f28
adding posixGroups in test ldap
2017-03-16 02:39:41 +01:00
kakwa
f9a3051328
Merge branch 'master' of https://github.com/kakwa/ldapcherry
2017-03-12 17:46:49 +01:00
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
Carpentier Pierre-Francois
b3a361afee
remove broken download stats badge
2017-03-10 00:43:51 +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
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