Commit graph

462 commits

Author SHA1 Message Date
Benjamin Renard
215596f87e LSformElement_date : Switch to Arian Mootools DatePicker 2011-06-24 15:42:06 +02:00
Benjamin Renard
a7f733feb7 Upgrade to Mootools 1.3.2 2011-06-24 15:38:56 +02:00
Benjamin Renard
a23b13e260 LSldapObject : Deleted deprecated code including search() method 2011-05-27 16:00:31 +02:00
Benjamin Renard
80456ca403 LSformElement::password : consider password have not been change if new value and old value is empty 2011-05-23 12:04:04 +02:00
Benjamin Renard
c176249848 LSformElement::password : Do not send mail if password is not set 2011-05-23 11:50:34 +02:00
Benjamin Renard
170a5870b6 LSformElement::password : Fixed bug in verifyPassword() method 2011-05-23 11:31:59 +02:00
Benjamin Renard
954b610a51 LSview : Fixed customAction confirm by JS 2011-05-20 18:42:21 +02:00
Benjamin Renard
97a2713ea0 LSldapObject / Custom actions : Added ajax validation feature 2011-05-20 15:57:00 +02:00
dcd555bead Merge branch 'master' of ssh://git.labs.libre-entreprise.org/gitroot/ldapsaisie 2011-05-01 16:44:58 +02:00
e9d72a6c10 LSformElement :: password : Added support of verify feature for non login password 2011-05-01 16:44:32 +02:00
Benjamin Renard
6e5bd2ba34 LSformElement::mailQuota : Added suffix parameter 2011-04-22 16:51:34 +02:00
Benjamin Renard
938d672f65 LSdebug() : Added LSlog() call 2011-04-22 14:32:44 +02:00
Benjamin Renard
1b8d363ccc LSerror : Added LSlog() call on addErrorCode() method 2011-04-22 14:30:04 +02:00
Benjamin Renard
a53c5c3d92 LSerror : Remove </br> on getError() method and add it on getErrors() 2011-04-22 14:28:45 +02:00
Benjamin Renard
81ef2eaacf LSldap :: update() : Fixed bug when dropping empty attribute 2011-04-22 14:24:28 +02:00
Benjamin Renard
47e2c56907 LSformElement :: postaladdress : Added map_url_pattern_format parameter 2011-04-14 14:55:47 +02:00
Benjamin Renard
fc2dc85bc7 LSformElement :: Added loadLSclass() of LSsession in top of the class file 2011-04-14 10:21:01 +02:00
Benjamin Renard
a30262eb3c function.php / getFData() : Added possibility to use %(...) syntax futhermore %{...}.x 2011-04-13 16:44:09 +02:00
Benjamin Renard
bd98151f81 Added LSformElement :: pre 2011-04-13 12:46:00 +02:00
Benjamin Renard
661b680fea LSform : Added feature to go directly in tab with #name value in URL 2011-04-11 13:51:24 +02:00
Benjamin Renard
1692b42bf0 LSformElement :: password : Fixed possibility to disable verify feature in configuration 2011-04-11 12:17:52 +02:00
Benjamin Renard
53e12f2cb2 Added LSformElement :: postaladdress 2011-04-11 11:23:24 +02:00
Benjamin Renard
5983b264c7 LSformElement :: textarea : small change to facilitate extend of this LSformElement 2011-04-11 11:10:09 +02:00
Benjamin Renard
46b0951720 LSaddon :: asterisk : Added addon to support asterisk functions 2011-04-08 17:09:15 +02:00
Benjamin Renard
5241ac4214 LSattr_ldap :: password : Added encode_function feature 2011-04-08 17:07:43 +02:00
Benjamin Renard
c8704c9bd7 LSformElement :: password : Added isLoginPassword parameter 2011-04-08 17:05:30 +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
da80c71268 Added custum action feature 2011-03-25 18:05:26 +01:00
Benjamin Renard
a3fdebd362 Added LSformElement_valueWithUnit 2011-03-24 15:46:51 +01:00
Benjamin Renard
c8e3daf5fd LSaddon::samba : Added generate_sambaProfilePath() function 2011-03-22 15:16:11 +01:00
Benjamin Renard
09f1c22e9f function aleaChar() : fixed php warning 2011-03-16 14:47:46 +01:00
Benjamin Renard
dfc8f368ba LSsession :: setLocale() : Added includes of lang.*.php files 2011-02-03 17:49:36 +01:00
Benjamin Renard
1f069e41e2 Added listFiles() function 2011-02-03 17:30:55 +01:00
Benjamin Renard
39401e882b LSformElement_mail : Fixed initialize JS code 2011-01-21 16:11:02 +01:00
Benjamin Renard
a6b5efdbac LSattribute :: getFormVal() : Used LSattr_html :: getFormVal() 2011-01-20 12:15:51 +01:00
Benjamin Renard
a76416b281 LSattr_html_select_object : Added getFormVal() method 2011-01-20 12:15:30 +01:00
Benjamin Renard
2f346f3ded LSattr_html : Added getFormVal() method 2011-01-20 12:14:58 +01: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
9db97a53f3 LSformElement_mail : Added disableMailSending parameter 2010-12-03 18:04:40 +01:00
Benjamin Renard
e6eb1b56c5 LSform :: dataEntryForm : Added requiredAllAttributes parameter 2010-11-29 12:36:35 +01:00
Benjamin Renard
1ef8c15e2c LSform :: dataEntryForm : Added requiredAttributes parameter 2010-11-29 12:05:20 +01:00
Benjamin Renard
405ceba157 LSsession :: Fixed bug in subDn management 2010-11-26 14:46:48 +01:00
Benjamin Renard
1ea9403083 LSauthMethod :: Fixed notice PHP 2010-11-26 14:28:04 +01:00
Benjamin Renard
8dbe9bc4aa LSauthMethod_anonymous : Added LSauth method and added feature in LSauth/LSsession to disabled SELF access 2010-11-25 12:39:35 +01:00
Benjamin Renard
9f45b422ae LSsession :: getSubDnLdapServer() : Fixed notices PHP 2010-11-25 12:27:46 +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
d288d3e99c LSauth : Recasted - Creation of LSauthMethod class 2010-11-24 19:12:21 +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
1d1e3e344a LSformElement : add displayAttrName parameter 2010-11-19 18:41:10 +01:00
Benjamin Renard
dc5b3b44d1 LSlog : Added dump feature 2010-11-19 18:13:41 +01:00
Benjamin Renard
711f95b446 LSformElement_password : Fixed bug -> parameters of the password generation was not used 2010-11-19 18:12:33 +01:00
Benjamin Renard
c65b5a7a21 LSformElement_password : Change mail generation to support attributes in the LSformat of the mail 2010-11-18 15:37:50 +01:00
Benjamin Renard
a4a6da54d9 LSldapObject : Added registerOtherValue() method 2010-11-18 15:33:32 +01:00
Benjamin Renard
f2072dcfd2 LSform : Added data entry form in create mode 2010-11-17 19:00:09 +01:00
Benjamin Renard
b1f3f3a16f LSform : Added display of errors of elements not displayed on the LSform warnBox 2010-11-17 15:52:37 +01:00
Benjamin Renard
30d9fd00c3 LSform : Removed deprecated error 207 2010-11-17 15:17:33 +01:00
Benjamin Renard
f864ce49d7 LSform : Added warning box 2010-11-17 15:15:56 +01:00
Benjamin Renard
a338b0af75 LSform : Added comment to ajax_onAddFieldBtnClick() method 2010-11-17 14:47:06 +01:00
Benjamin Renard
58474332e4 LSform : Move JSconfig from LSldapObject :: getForm() to LSform :: display() 2010-11-17 14:44:52 +01:00
Benjamin Renard
6d16a7c5c5 LSrelation :: ajax_refreshList() : Fixed notice PHP 2010-11-16 19:52:13 +01:00
Benjamin Renard
4409f854cf LSformElement_image :: getDisplay() : Fixed error 2010-11-16 19:51:08 +01:00
Benjamin Renard
ba7b304e56 LSformElement_mail :: getDisplay() : Fixed error 2010-11-16 19:50:40 +01:00
Benjamin Renard
b03b69eec9 LSldap :: update() : Fixed notice PHP 2010-11-16 19:49:35 +01:00
Benjamin Renard
cec517b46d LSattribute :: fireEvent() : Fixed notice PHP 2010-11-16 19:48:11 +01:00
Benjamin Renard
0b442784a0 LSattribute :: getDependsAttrs() : Fixed notice PHP 2010-11-16 19:47:23 +01:00
Benjamin Renard
02d5955075 LSattribute :: getUpdateData() : Fixed notice PHP 2010-11-16 19:46:52 +01:00
Benjamin Renard
ef40b5825c LSattribute :: isRequired() : Fixed notice PHP 2010-11-16 19:45:41 +01:00
Benjamin Renard
3df9edb25f LSattribute :: myRights() : Fixed notice PHP 2010-11-16 19:45:11 +01:00
Benjamin Renard
6b065f2a61 LSattribute :: getDisplayValue() : Fixed notice PHP 2010-11-16 19:44:38 +01:00
Benjamin Renard
274ad11e6d LSformElement :: isMultiple() : Fixed notice PHP 2010-11-16 19:43:18 +01:00
Benjamin Renard
4e1e16a1ec LSattr_html_select_list :: getPossibleValues() : Fixed notice PHPx 2010-11-16 19:42:28 +01:00
Benjamin Renard
2d6caf2fd5 LSconfig :: get() : Fixed notice PHP 2010-11-16 19:41:14 +01:00
Benjamin Renard
699d69d23d LSsearch :: getSortTable() : Fixed notice PHP 2010-11-16 19:39:43 +01:00
Benjamin Renard
aa218fce3b LSsearch :: setParams() : Fixed notice PHP 2010-11-16 19:38:55 +01:00
Benjamin Renard
6792005de2 LSsearch :: loadParamsFromSession() : Fixed notice PHP 2010-11-16 19:38:02 +01:00
Benjamin Renard
5cf3906b14 LSsession :: ajax_onLdapServerChangedLogin() : Fixed notice PHP 2010-11-16 19:36:26 +01:00
Benjamin Renard
9a4e7374d0 LSsession :: addHelpInfos() : Fixed notice PHP 2010-11-16 19:35:44 +01:00
Benjamin Renard
5f8db76d52 LSsession :: isSubDnLSobject() : Fixed notice PHP 2010-11-16 19:34:57 +01:00
Benjamin Renard
4ce6560504 LSsession :: relationCanAccess() : Fixed notice PHP 2010-11-16 19:34:04 +01:00
Benjamin Renard
0d440bffc3 LSsession :: canAccess() : Fixed notice PHP 2010-11-16 19:32:10 +01:00
Benjamin Renard
d432819ed5 LSsession :: loadLSaccess() : Fixed notice PHP 2010-11-16 19:31:07 +01:00
Benjamin Renard
c577b7a706 LSsession :: loadLSprofiles() : Fixed notice PHP 2010-11-16 19:28:43 +01:00
Benjamin Renard
b00b3825f1 LSsession :: startLSsession() : Fixed notice PHP 2010-11-16 19:26:49 +01:00
Benjamin Renard
d8d32d950b LSdebug_print() : Fixed notice PHP 2010-11-16 19:24:44 +01:00
Benjamin Renard
bf04c8e051 LSsession : Added nologin parameter in subDn configuration 2010-11-16 11:50:18 +01:00
Benjamin Renard
a85623dc23 LSformElement_select : Added error message on display an unrecognized value 2010-11-15 17:33:47 +01:00
Benjamin Renard
90e471646d LSsession / Smarty : Added getFData() smarty function 2010-11-15 17:31:47 +01:00
Benjamin Renard
eb88514e8f LSaddons :: Samba : Fixed last commit (added constant LS_SAMBA_HOME_PATH_FORMAT to ) 2010-11-15 15:06:06 +01:00
Benjamin Renard
1e8f92b132 LSaddon :: Samba : Added generate_sambaHomePath() function 2010-11-10 17:45:03 +01:00
Benjamin Renard
2c100bc9e5 LSsearch -> setParams() : Fixed Notice PHP 2010-11-10 15:10:46 +01:00
Benjamin Renard
7ef44445c6 LSaddon :: Samba : Added generate_sambaDomainName() function 2010-11-10 12:03:12 +01:00
Benjamin Renard
82bc4ae37d LSsearch -> saveParamsInSession() : Fixed Notice PHP 2010-11-09 17:36:22 +01:00
Benjamin Renard
970e400820 LSattr_ldap_password : Added wildcardPassword and encodedWildcardPassword options 2010-11-09 16:50:24 +01:00
Benjamin Renard
8585976768 LSattr_ldap_password : Added encodePassword() method and used this in getUpdateData() 2010-11-09 16:47:29 +01:00
Benjamin Renard
fd566cd588 LSldapObject -> loadData() : Fixed Notice PHP 2010-11-08 17:04:14 +01:00
Benjamin Renard
62696c9f16 LSsession :: haveSubDn() : Fixed Notice PHP 2010-11-08 17:02:35 +01:00
Benjamin Renard
9a1ec2fcdd LSsession :: startLSsession() : Fixed Notices PHP 2010-11-08 17:00:33 +01:00
Benjamin Renard
0b4e6ebcd4 LSsession :: includeFile() : Fixed Notice PHP 2010-11-08 16:57:17 +01:00
Benjamin Renard
60b567845c functions.php : Added replaceSpaces() function 2010-10-01 17:30:28 +02:00
Benjamin Renard
e834323718 LSsearch : Fixed error message on invalid predefinedFilter detection. Updated translation consequently. 2010-08-27 19:00:26 +02:00
Benjamin Renard
6f59a44d42 LSformElement_quota : changed factor values 2010-08-06 16:21:20 +02:00
Benjamin Renard
1d0c786bac LSaddon::Posix : Added function generateMemberFromMemberUid() 2010-08-04 12:21:43 +02:00
Benjamin Renard
4af5a767ed LSldapObject : Fixed translation of error message during validation. 2010-08-03 19:23:20 +02:00
Benjamin Renard
d5baeb10e4 LSobject/LSsession : Added feature to globally disable object creation with configuration parameter 2010-08-02 14:39:50 +02:00
Benjamin Renard
21969b47d3 LSformRule_integer : Added integer form rule 2010-07-30 18:07:39 +02:00
Benjamin Renard
5acce552a1 LSformElement/quota : fixed bug in value rounded. 2010-07-27 10:45:48 +02:00
Benjamin Renard
e655335f0b - Added LSattr_html/LSformElement quota 2010-05-26 09:57:30 +02:00
Benjamin Renard
c9ec2062e2 LSformElement_password : Added a view hashed password button. 2010-04-27 15:52:45 +02:00
Benjamin Renard
6ddc473e4b LSformElement_password : Added check of the new password to verify if it's different as the current password (Cf Bug repport #1962). 2010-04-26 16:52:43 +02:00
Benjamin Renard
403698f27e LSattr_html_select_object : Added a check of the value_attribute parameter (Cf. Bug repport #1804) 2010-04-26 16:33:10 +02:00
Benjamin Renard
3b51ec7268 LSformElement_select_object : fixed, completed and translated comments 2010-04-26 16:31:57 +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
Benjamin Renard
656dad2c14 getFieldInFormat() : fixed regex with the new LSformat possibilities (upper/lower case) 2010-04-16 15:37:43 +02:00
Benjamin Renard
5247955cfc LSformRule_rangelength : fixed another php syntax bug 2010-04-16 14:59:01 +02:00
Benjamin Renard
5a3b3198a2 LSformRule_rangelength : fixed php syntax bug 2010-04-16 14:52:21 +02:00
bn8
9382ed946a LSformElement_text : Fixed bugs in last commit 2010-04-15 18:37:44 +02:00
bn8
3a1392f4b7 LSformElement_text : Fixed bugs in auto-generation processus 2010-04-15 18:35:00 +02:00
bn8
e60ba7ee61 LSform/js : Fixed bug in LSerrors reporting. 2010-04-15 18:21:18 +02:00
bn8
c8e5977d8a LSattribute::generateValue() : Used default_value paramater as a LSformat 2010-03-16 17:48:12 +01:00
bn8
1b8bf7b250 LSldap :: getEntry() : Fixed to don't set dafault_value of attributes 2010-03-16 17:46:10 +01:00
bn8
890670eaf4 Fix bug in last commit 2010-03-16 17:33:55 +01:00
bn8
dde0182b16 LSattribute::getValue() : Change update detection method 2010-03-16 17:28:32 +01: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
bn8
7249d9fd52 LSattribute : Added getOldValue() method 2010-03-16 11:11:29 +01:00
bn8
f974e6095e getFData() : added string cast in process 2010-03-16 11:04:36 +01:00
bn8
5e86c8d786 LSldapObject/LSrelation : modified LSrelation update methods to use _updateData() method instead of directly LSldap methods 2010-03-15 17:31:05 +01:00
bn8
7e5f44c5e4 LSldapObject : Modified update function to permit private updateData method execution 2010-03-15 16:42:57 +01:00
bn8
0b8a8b872f LSaddon/Posix : Fixed error in comments 2010-03-15 12:25:34 +01:00
Benjamin Renard
55c9cdcbd4 LSauthCAS : Added CAS authentification support. 2010-03-10 19:49:04 +01:00
Benjamin Renard
647791e598 LSsession / logout : fixed bug 2010-03-10 19:36:23 +01:00
Benjamin Renard
b4758b2dec LSsession : Added getLSauthObject() and used it. Modify logout procedure to use LSauth::logout() method. 2010-03-10 19:07:58 +01:00
Benjamin Renard
6c9043b385 LSauth : Added logout() method. 2010-03-10 19:06:42 +01:00
Benjamin Renard
06cd1f4c78 LSsession : added loadLSauth() method and used this method to load LSauth class and configuration. 2010-03-10 17:07:18 +01:00
Benjamin Renard
d5b7426ba0 LSaddons/Supann : Used withoutAccents() function instead of replaceAccents() and added comments to functions 2010-03-09 19:25:10 +01:00
Benjamin Renard
21a6761371 LSaddon/supann : Added functions generate_eduPersonOrgDN(), generate_eduPersonPrimaryOrgUnitDN() and generate_eduPersonOrgUnitDN() 2010-03-09 19:16:50 +01:00
Benjamin Renard
35f293e871 LSattribute :: generateValue() : Fixed bug when generated value is empty. 2010-03-09 17:40:22 +01:00
Benjamin Renard
aeb54731ef LSattribute :: generateValue() : Fixed bug when generated value is an array. 2010-03-09 17:04:36 +01:00
bn8
159b33a49f LSsession :: loadLSobject() : Added support to LSaddons dependencies. 2010-03-05 17:44:07 +01:00
bn8
47c10a169c Functions :
* Added function withoutAccents()
  * Improvement of getFData() function :
    + Extracting a portion repeated in the function _getFData_extractAndModify()
    + Added support to negative length in substring selection
    + Added support to make string uppercase or lowercase
    + Added support for removing accents
2010-03-04 16:47:37 +01:00
Benjamin Renard
45d560957b LSformElement : fix translation of help infos 2010-03-03 18:43:22 +01:00
Benjamin Renard
995ca8d107 LSattr_ldap_attribute : Added LDAP attribute type to support postalAddress attribute as describe in the RFC4519 2010-02-19 16:08:00 +01:00
Benjamin Renard
f7d45c390f LSsearch : Added translation support for predefinedFilters labels 2010-02-19 14:48:26 +01:00
Benjamin Renard
530b4d86b3 LSsearch : Added error message on invalid filter detection in predefinedFilters 2010-02-19 14:25:07 +01:00
bn8
566eab9390 LSaddons::samba : Added function generate_sambaPwdLastSet() 2010-02-16 17:48:45 +01:00
Benjamin Renard
95f60b6334 - LSattr_ldap : Added method isUpdated()
- LSattribute :: setUpdateData() : Used LSattr_ldap::isUpdated()
2010-02-14 20:06:19 +01:00
Benjamin Renard
6a78b6bde4 - LSsearch :
- Added formIsSubmited() method and use it in setParamsFormPostData() method
  - Added redirectWhenOnlyOneResult() method
- View :
  - Used LSsearch::redirectWhenOnlyOneResult() to redirect the user on object view page when the search return only on result
2010-02-14 18:45:39 +01:00
Benjamin Renard
6fefd7cb88 LSsearch : Added initial check of predefinedFilters validity/syntax before use. 2010-02-03 03:09:23 +01:00
Benjamin Renard
9eb547d20d LSldap : added methode isValidFilter() 2010-02-03 03:07:30 +01:00
Benjamin Renard
bc1a92ec35 LSsearch : added predefined filters parameters 2010-02-03 02:10:04 +01:00
bn8
c05741a489 LSattribute / generate_value : the default_value is now used to generate the value of the attribute if the generate function or LSformat is not defined. 2010-01-06 15:21:37 +01:00
Benjamin Renard
84554e7c59 LSattr_html_select_object : fix bug witch disable default_value 2009-12-31 17:02:07 +01:00
Benjamin Renard
616197c43f LSattr_html_select_list : Added translation of possiblies values labels. Updated consequently generate_lang_file.php and trad. FR files. 2009-12-31 14:43:59 +01:00
Benjamin Renard
046d6f8004 LSformRule_minlength : Fix php syntax bug. 2009-12-31 14:22:05 +01:00
Benjamin Renard
db86b3b535 LSaddons::Samba : Added the LS_SAMBA_INFINITY_TIME constante and the return_sambaInfinityTime() function. 2009-12-24 15:02:30 +01:00
Benjamin Renard
382cb1c994 Rename trunk directory to public_html 2009-11-13 14:26:11 +01:00