Commit graph

53 commits

Author SHA1 Message Date
Benjamin Renard
7879ddf699 LSldapObject : add CLI show command 2020-04-29 17:15:49 +02:00
Benjamin Renard
2a5ef1bb4e Code cleaning 2020-04-29 15:54:21 +02:00
Benjamin Renard
69b7ce3f4f LSldapObject : change getDisplayName $spe parameter default value from empty string to null 2020-02-18 12:32:25 +01:00
Benjamin Renard
7f1fa41e3a LdapObject : add __toString() method
Fix password recovery bug report by Adrien Malgoyre <adrien.malgoyre@osupytheas.fr>
on Ldapsaisie-devel mailing list.
2020-02-18 10:36:47 +01:00
Benjamin Renard
b577fe23a9 LSldapObject : solve static/non-static problem on getObjectFilter() method 2019-03-12 12:19:44 +01:00
Benjamin Renard
c357c70596 Explicitly defined class methods visibility and upgrade PHP class constructor syntax 2019-03-12 11:42:53 +01:00
Benjamin Renard
b9102aeb9e Code cleaning 2019-03-11 22:42:20 +01:00
Benjamin Renard
80b747a0c5 Add and use helper methods to access configuration parameters 2019-03-11 22:21:25 +01:00
Benjamin Renard
98ffc081c9 LSldapObject : fix regression introduced by commit 274ccad0
Handle all attributes in validateAttrsData() method but don't blame
  on missing required attribute on non-create form and if attibute is
  not present in form (or freezed).
2019-02-28 15:24:42 +01:00
Benjamin Renard
1dec2cc4f6 LSldapObject : fix removing old RDN value after object renaming 2019-02-26 18:48:45 +01:00
Benjamin Renard
274ccad0f2 LSldapObjet->validateAttrsData() : if LSform is specified, only check LSform's not freezed attributes 2019-02-26 17:47:29 +01:00
Benjamin Renard
92425e7554 LSldapObject : Add generate_container_dn parameter 2018-10-01 12:57:26 +02:00
577803d0f7 LSldapObject : Change getPatternFilter() method to use common LSsearch lib 2018-06-09 00:08:47 +02:00
Benjamin Renard
bf5fcf3244 LSldapObject : fix foreach error in getObjectKeyValueInRelation() if attribute is empty 2017-08-18 11:59:12 +02:00
Benjamin Renard
7909d55b39 LSrelation : add possibilty to handle relation with multiple key values 2017-04-28 17:04:55 +02:00
Benjamin Renard
251cb2b0e2 Use call_user_func_array() instead of call_user_func() when need to permit arg by reference 2017-04-28 10:25:22 +02:00
8deb9a8508 LSrelation : improve and make it easy to configure simple relation 2017-04-28 02:13:05 +02:00
Benjamin Renard
992dc08cc9 General use of the function call_user_func() instead of deprecated syntax 2017-04-26 11:19:58 +02:00
Benjamin Renard
0df7887834 Fix other problems when onlyAccessible parameter is set to True in LSobject configuration file 2017-03-23 16:24:39 +01:00
Benjamin Renard
f313b2e1d3 LSldapObject : Add except_current_object option on attribute validation test 2015-08-10 10:16:32 +02:00
Benjamin Renard
0055ea1d7a Add import feature 2015-07-30 16:40:16 +02:00
Benjamin Renard
6220c3e6d6 Fix reference allocation in variable 2015-04-14 15:10:40 +02:00
Benjamin Renard
91dbcf4a6e LSldapObject : Fix method to get rdn value 2015-02-13 13:55:28 +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
c989346360 LSldapObject : remove unsed variable $submitError fixing object's after_modify trigger bug 2014-04-08 12:14:22 +02:00
Benjamin Renard
2a3f4fb53a LSldapObject::listObjects() : removed 'dn' as attribute asked in LSsearch 2013-11-19 11:44:16 +01:00
Benjamin Renard
cb395d74af LSldapObject : added parameter to getSelectArray-) method 2013-11-15 18:57:52 +01:00
Benjamin Renard
b87d5207e7 LSsearch : Added searchLSformat and approxLSformat parameter for searched attributes 2013-06-28 09:44:02 +02:00
f1c777d7a3 LSldapObject : fixed php warning 2012-09-02 19:56:22 +02:00
b6d984f6c5 LSldapObject :: Fixed validation test 2012-05-08 16:45:23 +02:00
Benjamin Renard
421d7f4dce LSldapObject : fix onModify triggers execution 2012-03-22 19:51:27 +01:00
Benjamin Renard
878d52bcd5 LSldapObject : Added attribute validation on generated depended attribute 2011-09-22 11:35:27 +02:00
Benjamin Renard
a23b13e260 LSldapObject : Deleted deprecated code including search() method 2011-05-27 16:00:31 +02:00
Benjamin Renard
8d4c8b33a0 LSldapobject / Custom Action : Fixed error message on custom action execution failed 2011-04-07 19:31:56 +02:00
Benjamin Renard
aa58a6932c LSldapObject : Added getDisplayValue() method 2011-01-20 12:13:46 +01:00
Benjamin Renard
bdd228ff7a LSldapObject :: getDisplayFData() : Fixed comment and simplify code 2011-01-20 12:12:05 +01:00
Benjamin Renard
a6e28f8063 LSldapObject : Added getDisplayFData() method 2011-01-20 10:32:26 +01:00
Benjamin Renard
84c785e9f4 LSldapObject :: __get() : Fixed notice PHP 2010-11-25 12:25:44 +01:00
Benjamin Renard
813b2222f7 LSldapObject :: fireEvent() : Fixed notice PHP 2010-11-25 12:25:05 +01:00
Benjamin Renard
c3d2bc0751 LSldapObject :: reloadData() : Fixed notice PHP 2010-11-25 12:23:56 +01:00
Benjamin Renard
086ffb3641 LSldapObject :: validateAttrData() : Fixed error in search filter specified by user 2010-11-24 18:57:43 +01:00
Benjamin Renard
447ad68998 LSldapObject :: getSelectArray() : Remplaced unknown variable $filter usage by NULL 2010-11-24 18:54:58 +01:00
Benjamin Renard
a4a6da54d9 LSldapObject : Added registerOtherValue() method 2010-11-18 15:33:32 +01:00
Benjamin Renard
58474332e4 LSform : Move JSconfig from LSldapObject :: getForm() to LSform :: display() 2010-11-17 14:44:52 +01:00
Benjamin Renard
fd566cd588 LSldapObject -> loadData() : Fixed Notice PHP 2010-11-08 17:04:14 +01:00
Benjamin Renard
4af5a767ed LSldapObject : Fixed translation of error message during validation. 2010-08-03 19:23:20 +02:00
Benjamin Renard
1e32b94ac7 LSldapObject : fixed bug in loadData() method that does not clear the object cache. 2010-04-26 14:08:56 +02:00
bn8
418d7f899e LSldapObject : Removed unused paramater in method getObjectKeyValueInRelation() 2010-03-16 16:01:14 +01:00
bn8
71c885aad0 LSldapObject : Fixed a forgetfulness in last commit 2010-03-16 15:23:29 +01:00
bn8
879442a5b7 LSldapObject : Fixed bug in previous commit witch block validation error return in LSform 2010-03-16 14:54:39 +01:00