Commit graph

373 commits

Author SHA1 Message Date
Benjamin Renard
0f1fe9a99c Fix problem when onlyAccessible parameter is set to True in LSobject configuration file 2017-03-23 14:43:23 +01:00
Benjamin Renard
caa45fcc12 Add visibleTo parameter to extra displayed columns 2017-01-25 15:39:06 +01:00
Benjamin Renard
e76a25b22b LSdefault : empty text of LStips by default 2017-01-25 11:59:54 +01:00
Benjamin Renard
355b0cf1d4 Fix debug LSprofiles informations 2017-01-25 11:53:42 +01:00
Benjamin Renard
d6e1257ed8 LSmail : add possibilty to set some display options from JS 2016-11-17 11:51:49 +01:00
Benjamin Renard
71480875d4 Fix hard-coded parameter information and add comment for newest functions 2016-11-17 11:37:19 +01:00
Benjamin Renard
001fe43376 LSattr_html_select_list : fix handling OTHER_OBJECT with value_attribute parameters 2016-08-16 13:57:56 +02:00
Benjamin Renard
e294fb123b LSauthMethod::HTTP : Add parameter to disable checking login/password by LDAP auth challenge 2016-07-21 11:24:51 +02:00
Benjamin Renard
bf6ebf171d LSattr_html :: select_list : add values_attribute parameter 2016-07-21 11:03:34 +02:00
Benjamin Renard
d909b5aad5 LSformRule :: date : Fix mktime return check 2015-09-02 10:44:00 +02:00
Benjamin Renard
18550a5fb2 LSaddon / view : permit to hide a LSaddon view in menu 2015-08-24 12:24:33 +02:00
Benjamin Renard
707c319f15 Add LSaddon view feature 2015-08-21 17:51:52 +02:00
Benjamin Renard
f098113720 Fix indent 2015-08-21 17:50:31 +02:00
Benjamin Renard
28fc35da49 LSsession : refresh LSprofiles and session cache on LSsession_refresh 2015-08-21 17:49:04 +02:00
Benjamin Renard
3d52a5ce57 LSsearch : add formaterFunction parameter for extraDisplayedColumns 2015-08-21 15:15:14 +02:00
Benjamin Renard
5e3ffcbba5 LSattr_html_select_list : change private method to protected to permit class extend 2015-08-21 13:39:29 +02:00
Benjamin Renard
2d7b37f27e LSsession : Fix auto locale setting 2015-08-21 13:37:43 +02:00
Benjamin Renard
3239559128 LSsession : permit to pass lang and encoding to initialize() and setLocale() methods 2015-08-21 12:58:50 +02:00
Benjamin Renard
3f350d331c LSsearch : improve and add doc for formaterLSformat extraDisplayedColumns's parameter 2015-08-12 14:26:21 +02:00
Benjamin Renard
9a09cf491e Permit LSaddon to provide ajax callable function 2015-08-12 14:16:25 +02:00
Benjamin Renard
b4105c04d6 Add new form element type for telephone number 2015-08-12 12:21:20 +02:00
Benjamin Renard
f313b2e1d3 LSldapObject : Add except_current_object option on attribute validation test 2015-08-10 10:16:32 +02:00
Benjamin Renard
8dcccee200 LSformElement_mailQuota : little fix to permit import 2015-07-30 17:57:09 +02:00
Benjamin Renard
0055ea1d7a Add import feature 2015-07-30 16:40:16 +02:00
Benjamin Renard
303702a4ee Add LSformRule_callable 2015-07-30 11:40:07 +02:00
40b8be065b LSsession : Catch initialization exceptions 2015-07-25 18:24:03 +02:00
772cd8b0da LSformElement :: select_list / select_box : permit to put possible values in labelled group 2015-07-25 18:23:06 +02:00
Benjamin Renard
6220c3e6d6 Fix reference allocation in variable 2015-04-14 15:10:40 +02:00
Benjamin Renard
dfafd88159 LSformElement :: valueWithUnit : improve floatint number display and add parameter for formatting control 2015-04-07 20:34:18 +02:00
Benjamin Renard
91dbcf4a6e LSldapObject : Fix method to get rdn value 2015-02-13 13:55:28 +01:00
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
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
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
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
a73103a576 LSsession : Add useUserCredentials parameter 2014-11-18 13:16:38 +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
Benjamin Renard
1dbf87cf0a LSformElement : add no_value_label parameter 2014-10-15 10:58:43 +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
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
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
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
Pierre Arnaud
ebf26c4591 Add with_accents parameter to LSformRule_alphanumeric and set config.LSobjects.LSpeople to use it 2014-08-14 10:33:45 +02:00
Benjamin Renard
d45373222b LSformElement :: text : fixed bug breaking autoGenerateOnModify feature 2014-06-20 13:45:50 +02:00
Benjamin Renard
71417c1990 JS / getFData() : fixed bug permitting to support than method() return array of string 2014-06-20 13:38:25 +02:00
Benjamin Renard
b38bc3ce3c LSform : fixed JS bug leaving previous errors messages in form in case of multiple submit with errors 2014-06-19 17:10:13 +02:00
Benjamin Renard
5efa437612 LSformRule :: password : Added minValidRegex parameter and use preg_match() function instead of deprecated ereg() function 2014-06-19 16:41:27 +02:00
Benjamin Renard
463bf37cf2 Add LSattr_html::select_box 2014-06-18 00:15:50 +02:00
Benjamin Renard
110f162367 LSattr_html_select_list : simplify addToForm() method using parent method 2014-06-18 00:13:06 +02:00
Benjamin Renard
11e4705740 LSformElement_text : use getValue/getInput of LSform object instead of LSformElement_text to permit value generation with more form element type 2014-06-17 17:33:03 +02:00
Benjamin Renard
e58be43126 LSform.js : add method getInput() and use it in method getValue() 2014-06-17 17:31:40 +02:00
Benjamin Renard
33cef8be28 LSobject : Add possibility to add extra displayed columns in search result 2014-06-17 16:08:41 +02:00
Benjamin Renard
73c9b385f8 LSattr_html_select_list : Use inarray LSformRule instead of regex 2014-06-10 16:51:12 +02:00
Benjamin Renard
4a646f2748 Added LSformRule::inarray 2014-06-10 16:50:44 +02:00
Benjamin Renard
d4ac29dd04 Add LStemplate :: registerFunction() method 2014-04-09 17:15:52 +02:00
Benjamin Renard
c989346360 LSldapObject : remove unsed variable $submitError fixing object's after_modify trigger bug 2014-04-08 12:14:22 +02:00
Benjamin Renard
54561a253b LSrelation : fixed refresh bug when multiple relations content the same object 2013-11-28 20:51:43 +01:00
Benjamin Renard
2a3f4fb53a LSldapObject::listObjects() : removed 'dn' as attribute asked in LSsearch 2013-11-19 11:44:16 +01:00
Benjamin Renard
2eee30bd17 LSsearch::setParams() : fixed attributes setting 2013-11-19 11:40:12 +01:00
Benjamin Renard
c2e3c8d60a LSformElement_select_object : Added filter parameter 2013-11-15 18:59:50 +01:00
Benjamin Renard
cb395d74af LSldapObject : added parameter to getSelectArray-) method 2013-11-15 18:57:52 +01:00
Benjamin Renard
f4f2665fba Fixed some vales check to globally permit 'zero string' value 2013-09-05 11:40:06 +02:00
Benjamin Renard
3e069a5907 LSformElement_password : fixed mail_attr parameter reading method 2013-09-05 10:33:23 +02:00
Benjamin Renard
4ba5015248 LSaddon :: samba : added function generate_sambaPwdMustChange_from_shadowExpire() and generate_sambaKickoffTime_from_shadowExpire() 2013-07-26 12:10:48 +02:00
Benjamin Renard
d82ad93a67 LSattr_ldap :: shadowExpire : Added class to manage special ldap attribute shadowExpire 2013-07-24 19:30:53 +02:00
Benjamin Renard
45205a1b6a LSaddon :: samba : added function generate_shadowExpire_from_sambaPwdMustChange() 2013-07-24 19:21:25 +02:00
Benjamin Renard
7c6d3db03a LSauthMethod::anonymous : Added parameter LSAUTHMETHOD_ANONYMOUS_DISABLE_LOGOUT 2013-07-16 16:01:41 +02:00
Benjamin Renard
fe57bf75b0 LSsearch : Fixed bug on no attributes specifies in config for LSsearch 2013-07-11 12:35:00 +02:00
Benjamin Renard
186279bab4 LSldap : fixed problem with empty attribute on adding 2013-07-11 12:33:47 +02:00
8722098db3 LSattr_html_select_list : fixed bug with number key value 2013-07-09 18:50:31 +02:00
Benjamin Renard
9f34843ded Added LSaddon::phpLdapAdmin 2013-06-28 16:38:31 +02:00
Benjamin Renard
b87d5207e7 LSsearch : Added searchLSformat and approxLSformat parameter for searched attributes 2013-06-28 09:44:02 +02:00
Benjamin Renard
53679139cf LSattr_ldap_password : Fixed getDisplayValue() method 2013-06-26 11:31:21 +02:00
Benjamin Renard
26e1886179 LStemplate : fixed template missing warning caused by Smarty3 peculiarities 2013-06-25 11:34:42 +02:00
Benjamin Renard
ddeff8c622 LSformElement_password : added clearView and clearEdit parameters 2013-06-24 17:52:45 +02:00
Benjamin Renard
350aff50c1 LSaddon::posix : added generate_memberUidFromUniqueMember() function 2013-06-24 17:38:26 +02:00
09432db48e Manage CSS path with LStemplate 2013-06-19 03:06:29 +02:00
89a46b0c75 Fixed image.php initialization and remove unsed code 2013-06-19 03:00:58 +02:00