Commit graph

903 commits

Author SHA1 Message Date
Benjamin Dauvergne
9add9c3321 Allow a sequence of filters in LSobjects profile configurations
It's now possible for example to define a profile on an LSobject whose
attribute would contain the DN of a group the user is member of instead
of directly the dn of the user. A possible configuation using this new feature:

  'LSprofile' => array(
    'admin' => array(
      'LSobjects' => array(
        'LSsupannGroupAdminByGroup' => array(
          'filters' => array(
            array(
              'basedn' => $basedn,
              'attr' => 'member',
              'attr_value' => '%{dn}',
              'LSobject' => 'LSsupannGroup',
            ),
            array(
              'basedn' => $basedn,
              'attr' => 'supannGroupeAdminDN',
              'attr_value' => '%{dn}',
              'LSobject' => 'LSsupannGroup',
            )
          ),
        ),
      ),
    ),
  )

Signed-off-by: Benjamin Renard <brenard@easter-eggs.com>
2015-02-09 11:16:20 +01:00
Benjamin Dauvergne
10019fc9fe Convert all supann addon defines to globals
Signed-off-by: Benjamin Renard <brenard@easter-eggs.com>
2015-02-09 10:55:17 +01:00
Benjamin Dauvergne
12014b5bf4 Redefine globals on per LDAP server basic
Signed-off-by: Benjamin Renard <brenard@easter-eggs.com>
2015-02-09 10:39:39 +01:00
Benjamin Renard
ba611b784a Update French translation 2015-02-05 10:33:37 +01:00
Benjamin Renard
27b56ef505 LSattr_html :: password : Add possibility to generate password using pwgen command 2015-02-05 10:33:14 +01:00
Benjamin Renard
8313191f54 LSformElement :: select_object : Add ordered feature 2015-01-21 16:35:23 +01:00
Benjamin Renard
3a6bd1ea06 Add global parameter defaultCSSfiles 2015-01-08 15:15:40 +01:00
Benjamin Renard
bee41b3d9d LSattr_ldap_boolean : Add default TRUE/FALSE values 2015-01-08 15:00:56 +01:00
Benjamin Renard
c801b09ada view.tpl : use double quotes instead of simple in HTML 2015-01-06 18:00:41 +01:00
Benjamin Renard
3d5d471d4b Release 1.1-5 Debian package 2015-01-06 17:57:41 +01:00
Benjamin Dauvergne
5c8844563b Maintainer is not part of binary package metadata
Signed-off-by: Benjamin Renard <brenard@easter-eggs.com>
2014-11-28 16:48:05 +01:00
Benjamin Renard
906ca99488 Fix 'Mrs' translation in fr_FR.UTF8 lang file 2014-11-28 16:24:45 +01:00
Benjamin Renard
072acf21f7 LSldapObject getObjectFilter() : return filter Net_LDAP2_Filter object instead of string and fix resulting filter usage in validateAttrData() method 2014-11-28 16:19:01 +01:00
Benjamin Renard
1518888efa LSldap : combineFilters() : fix parameter support when array contain only one filter 2014-11-28 16:16:30 +01:00
Benjamin Dauvergne
9aa48000e5 SUPANN: ajout du support de l'attribute supannActivite
Signed-off-by: Benjamin Renard <brenard@easter-eggs.com>
2014-11-28 15:20:36 +01:00
Benjamin Renard
065484fb4c generate_lang_file.php : Add 'no_value_label' attribute configuration field 2014-11-28 12:31:25 +01:00
Benjamin Renard
d17b1a1a28 Release 1.1-4 Debian package 2014-11-27 10:43:49 +01:00
Benjamin Renard
5320b7782b LSformElement :: supannCompositeAttribute : fix span title during edition 2014-11-25 00:10:51 +01:00
Benjamin Renard
c241d9c0b6 LSformElement :: supannLabeledValue.php : Improve edition to permit value selection in SUPANN table 2014-11-25 00:07:31 +01:00
Benjamin Renard
c9bd4b7c65 LSform : preserve current tab between view, modify and create pages 2014-11-24 23:07:30 +01:00
Benjamin Renard
bb09c81243 LSerror : Add PHP error handler 2014-11-20 12:04:03 +01:00
Benjamin Renard
1e37b2f870 getFData : try to catch error casting data to string 2014-11-20 12:00:26 +01:00
Benjamin Renard
30d51949cf Add LSformElement :: supannEtuInscription 2014-11-20 00:45:50 +01:00
Benjamin Renard
4bae44b259 Add LSformElement :: supannEmpCorps 2014-11-20 00:45:26 +01:00
Benjamin Renard
53ef8436d4 LSaddon :: supann : redesign and improve this addon 2014-11-20 00:44:41 +01:00
Benjamin Renard
391018e492 LSformElement : provide class name of element in template variables 2014-11-20 00:31:08 +01:00
Benjamin Renard
78d68951e2 LSform/LSformElement : permit form element to provide custom clean value method 2014-11-20 00:18:35 +01:00
Benjamin Renard
881323f813 LSform : block form validation if element's errors is defined 2014-11-20 00:12:56 +01:00
Benjamin Renard
508e898210 custom_search_action : fix typo in info message 2014-11-20 00:10:56 +01:00
Benjamin Renard
0b0e38f5c8 Doc / README : add infos about epub export generation dependencies 2014-11-18 14:30:19 +01:00
Benjamin Renard
a73103a576 LSsession : Add useUserCredentials parameter 2014-11-18 13:16:38 +01:00
Benjamin Dauvergne
a956658923 LSformElement :: supannRoleEntite : fix little typo in template 2014-11-05 15:32:45 +01:00
Benjamin Renard
66fd566002 LSsession / LSprofiles : fix bug resolving user's LSprofiles 2014-11-05 15:26:09 +01:00
Benjamin Renard
50511900a4 LSsearch : fix bug in sort direction 2014-11-04 12:34:20 +01:00
daf0715356 Fix viewSearch template on no result case with extraDisplayedColumns defined 2014-10-27 12:04:56 +01:00
Benjamin Dauvergne
7a1141fe7c LSaddons :: supann : Imported completed supannTypeEntite translation table 2014-10-23 10:05:46 +02:00
Benjamin Renard
1dbf87cf0a LSformElement : add no_value_label parameter 2014-10-15 10:58:43 +02:00
Benjamin Renard
6d9688ac9b Release 1.1-3 Debian package 2014-10-08 17:39:21 +02:00
Benjamin Renard
8d989af946 LSsearch : add customAction feature 2014-10-08 17:24:30 +02:00
Benjamin Renard
b66cca5ae5 LSview : Remove onMouseOver icon 2014-10-02 18:14:01 +02:00
Benjamin Renard
3f67942606 Doc : Fix LSattr_html :: select_list parameters list 2014-09-30 16:27:59 +02:00
Benjamin Renard
04f2518d35 LSformElement :: select_object : Add sort feature (with sort and sortDirection parameters) 2014-09-30 16:26:19 +02:00
Benjamin Renard
f24f574430 LSattr_html :: select_list : Add sort feature (with sort and sortDirection parameters) 2014-09-30 14:46:36 +02:00
Benjamin Renard
4d40bba83d Doc / LSattr_html_boolean : Add info about default_value definition 2014-09-30 13:54:52 +02:00
Benjamin Renard
2748149f97 Add now() function 2014-09-30 13:54:52 +02:00
Benjamin Renard
bbf7087572 LSformat : Full support format in JS and improve substr 2014-09-30 13:54:52 +02:00
Pierre Arnaud
245094e078 Update conf/LSattribute/check_data/alphanumeric.docbook documentation 2014-08-14 16:33:20 +02:00
Pierre Arnaud
e68ddb6826 Renaming class.LSformRule_alphanumeric.php parameter with_accents to withAccents 2014-08-14 16:06:43 +02:00
Pierre Arnaud
56f6b34d1f Change alphanumeric regex validation in class.LSformRule_alphanumeric.php 2014-08-14 15:39:34 +02:00
Pierre Arnaud
e8c0205810 _sortTwoEntry in class.LSsearch.php become case insensitive 2014-08-14 11:53:19 +02:00