Commit graph

466 commits

Author SHA1 Message Date
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
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
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
e41736f102 Fix error reporting in core.php 2014-02-03 16:37:43 +01: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
1be3b31c10 generate_lang_file.php : Permit multiple source files inclusion 2013-11-27 18:17:24 +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
15792235e3 select.php : Added parameter filter64 2013-11-15 18:59:19 +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
Benjamin Renard
673a8600f8 generate_lang_file.php : added --additional-file-format parameter 2013-07-10 19:30:57 +02:00
8461294ade generate_lang_file.php : added -h and --without-select-list and --copy-original-value parameters 2013-07-09 19:12:55 +02:00
568ea9a089 generate_lang_file.php : added inclusion of local LSobject configuration directory 2013-07-09 19:11:58 +02:00
8722098db3 LSattr_html_select_list : fixed bug with number key value 2013-07-09 18:50:31 +02:00
Benjamin Renard
b1af98a36a LSaddon::phpldapadmin : Added icon and give an use case example in documentation 2013-06-28 16:53:56 +02:00
Benjamin Renard
9f34843ded Added LSaddon::phpLdapAdmin 2013-06-28 16:38:31 +02:00
Benjamin Renard
76b7a79605 Added LSaddons and LSauth directories 2013-06-28 09:44:40 +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
d791d89d1f Added image.php to permit fully dynamic image path 2013-06-19 02:17:39 +02:00
c3ac277e0d Fixed logo on login page 2013-06-19 01:18:07 +02:00
6f97d3d7e0 Manage image path with LStemplate 2013-06-19 00:53:26 +02:00
f4e97c8133 LStemplate : rename special smarty functions and added method getFilePath() 2013-06-18 19:04:47 +02:00
f3fb094ede Update french translation 2013-06-18 00:28:19 +02:00
84c0deb137 LStemplate : Fixed an error message 2013-06-18 00:26:34 +02:00
acdc6c49a7 LSsession : start LSerror before starting LStemplate 2013-06-18 00:08:20 +02:00
a27827a4b8 Removed bad comment line 2013-06-18 00:05:39 +02:00
e992df1ddd LStemplate : added a template abstraction class 2013-06-17 23:39:22 +02:00
5ae76c1692 Set error reporting in core.php instead of apache configuration 2013-06-17 14:53:31 +02:00
feae67564d LSmail : Used LSsession :: fetchTemplate() instead of Smarty function 2013-06-16 10:01:49 +02:00
8967c6bab9 LSformElement::valueWithUnit : sort units params before using 2013-05-11 19:23:40 +02:00
16d45ec203 Disable LSdebug by default 2013-03-31 05:28:06 +02:00
05ff27515b Added local include directory 2013-03-31 05:23:10 +02:00
Benjamin Renard
9b9324b120 LSform // dataEntryForm : set default value of displayed elements 2013-03-18 12:57:39 +01:00
Benjamin Renard
2d80c4a852 LSsearch : Added onlyAccessible parameter 2013-02-08 13:42:41 +01:00
Benjamin Renard
9e69912df1 LSsession : Fixed LSprofiles loading by LSobject type 2013-02-08 10:52:23 +01:00
Benjamin Renard
e557d7f83b LSformElement_password : Added possibility to have multiple contact mail attributes 2012-12-18 12:20:27 +01:00
Benjamin Renard
f418a5d7cf LSattribute :: getDisplayValue() : use updateDate if is updated 2012-11-13 11:20:16 +01:00
Benjamin Renard
296e646967 CustomActions : Added hideLabel feature 2012-10-04 14:49:30 +02:00
Benjamin Renard
f77741d23c LSaddons::supann : Added simple supannLabeledValue attribute type 2012-10-03 15:04:10 +02:00
Benjamin Renard
1240e109c6 LSformElement::supannTypeEntiteAffectation : Renamed in supannTypeEntite 2012-10-03 12:57:20 +02:00
Benjamin Renard
6ebfc6a20b LSformElement::select_object : display unrecognized values and detect value corresponding to more than one object. 2012-10-03 12:23:49 +02:00
Benjamin Renard
38183ece71 LSformElement :: pre : Fixed CSS display in edit mode 2012-09-14 17:02:08 +02:00
Benjamin Renard
43c53751c5 LSformElement :: textarea : Added CSS extra class on edit mode 2012-09-14 16:51:17 +02:00
Benjamin Renard
b7b82c67c0 LSformElement :: pre : Fixed CSS display in view 2012-09-14 16:47:41 +02:00
Benjamin Renard
a04cded17a LSformElement::supannLabeledValue : Fixed display problems 2012-09-12 14:09:18 +02:00
Benjamin Renard
fb7172d3bd LSformElement::supannRoleEntite : Fixed display problems 2012-09-12 14:08:48 +02:00
Benjamin Renard
fb82854f8c LSformElement :: password : Added bcc feature in mail options 2012-09-07 13:39:40 +02:00
Benjamin Renard
417babf7e7 LSaddon::mail : Fixed Cc and Bcc usage 2012-09-07 13:33:57 +02:00
Benjamin Renard
3f5d7a99a6 Update ldapsaisie.pot and fr_FR.UTF8 translation. LSaddon::Asterisk was integrated to gettext translation. 2012-09-04 19:15:27 +02:00
Benjamin Renard
8c512875db LSaddon::asterisk : Added generate_asteriskMD5HashedPassword() function 2012-09-04 19:13:38 +02:00
Benjamin Renard
1136dfedea LSformRule::rangelength : fixed incorrect error message when limits paremeter isn't defined. 2012-09-04 12:18:30 +02:00
Benjamin Renard
03c543f842 LSformRule::integer : Added min and max parameters. 2012-09-04 12:05:48 +02:00
Benjamin Renard
5b7bce554d Fixed syntax error in last commit 2012-09-03 10:26:36 +02:00
Benjamin Renard
d9d312957f Fixed php warnings 2012-09-03 10:22:18 +02:00
702d53839d Add compatibility to Smarty 3 2012-09-02 20:12:26 +02:00
1477f1378b Template default : fixed bad way to browse a range in smarty language 2012-09-02 20:08:41 +02:00
a50c080de2 index_ajax : fixed php warning 2012-09-02 20:01:10 +02:00
f1c777d7a3 LSldapObject : fixed php warning 2012-09-02 19:56:22 +02:00
d988b364b4 core.php : define default timezone to fix php warning when using strftime() function 2012-09-02 19:54:33 +02:00
247f4c66e4 LSerror::getErrors() : fix php warning 2012-09-02 19:49:34 +02:00
1ee9e8aa08 index_ajax : fixed alling method of ajax function 2012-09-01 14:36:50 +02:00
dae3178ac9 LSsession::startLStemplate() : added check to verify that smarty's compile dir is writable. 2012-09-01 14:04:24 +02:00
Benjamin Renard
2057f8318e SUPANN : ajout du support de l'attribut supannEtablissement 2012-08-10 12:36:30 +02:00
Benjamin Renard
4461a35a76 SUPANN : ajout du support de l'attribut supannTypeEntiteAffectation 2012-08-10 12:36:30 +02:00
Benjamin Renard
43dd042955 SUPANN : ajout du support de l'attribut supannRoleGenerique 2012-08-10 12:36:30 +02:00
Benjamin Renard
e99fdacad3 SUPANN : Ajout du support generique de champs a etiquette ({SUPANN} ou {UAI}) 2012-08-10 12:36:30 +02:00
Benjamin Renard
b59fcddb77 SUPANN : Ajout du support de l'attribut supannRoleEntite 2012-08-10 12:36:30 +02:00
dc5648272e LSldap::search() : updated way to iterate search result 2012-08-02 15:51:49 +02:00
809cb9adfa LSldap::search() : added number of objects returned in a debug message 2012-08-02 15:49:52 +02:00
63d041796b LSldap : added entries objects check returning search result 2012-08-02 15:26:02 +02:00
Benjamin Renard
e3ee3911f2 LSformElement_select : Fixed clear button action in recent browser. 2012-05-16 15:18:40 +02:00
b6d984f6c5 LSldapObject :: Fixed validation test 2012-05-08 16:45:23 +02:00
Benjamin Renard
093aebd6b9 Added urlencode() of object's DN in customActions links's URL 2012-05-03 14:52:32 +02:00
Benjamin Renard
675f994f1c Added urlencode() of object's DN in copy and remove links's URL 2012-05-03 14:43:46 +02:00
Benjamin Renard
4a80c35557 Added urldecode() of parameters in request and urlendode() of parameters in links's URL 2012-05-03 14:42:58 +02:00
Benjamin Renard
697369e3ca add urlencode() of object DN in links's URL 2012-05-03 14:42:25 +02:00
Benjamin Renard
89a22de7f9 Added urlencode() of object's DN in create and remove links's URL 2012-05-03 14:41:35 +02:00
Benjamin Renard
d36cc2d215 Added urldecode() of parameters in request and urlendode() of parameters in links's URL 2012-05-03 14:40:53 +02:00
Benjamin Renard
1b529edb22 Added urldecode() of load parameter in request 2012-05-03 14:39:01 +02:00
Benjamin Renard
cf9b24f399 Added urlencode() of object's DN in modify link URL 2012-05-03 12:46:01 +02:00
Benjamin Renard
78f53b6d7d Added urlencode() of object's DN in modify link URL 2012-05-03 12:45:46 +02:00
Benjamin Renard
1b73c32ec3 add urldecode() of object DN in GET request 2012-05-03 12:44:46 +02:00
Benjamin Renard
bb5f5d7283 Added urlencode() of object's DN in links's URL 2012-05-03 12:41:45 +02:00
Benjamin Renard
432c017236 Added urlencode() of object's DN in links's URL 2012-05-03 12:41:19 +02:00
Benjamin Renard
c39bb162d0 redirectWhenOnlyOneResult() : Added urlencode() of object's DN in redirect URL 2012-05-03 12:39:50 +02:00
Benjamin Renard
fe323be9b0 Added urlencode() of object's DN in redirect URL 2012-05-03 12:39:08 +02:00
Benjamin Renard
a8e375589d Added object's DN escape in links's URL 2012-05-03 12:37:55 +02:00
Benjamin Renard
3b01977d3c Added object's DN escape in links's URL 2012-05-03 12:37:26 +02:00
Benjamin Renard
0c0fe4fb77 Added object's DN escape in links's URL 2012-05-03 12:36:15 +02:00
Benjamin Renard
babade5995 added urldecode() of object DN in request 2012-05-03 12:35:07 +02:00
Benjamin Renard
d1d25972fe LSmail : fix input size and the smoothbox 2012-04-27 10:14:46 +02:00
Benjamin Renard
791fb52e89 LSmail : fix elements size in LSmail:x 2012-04-27 09:56:33 +02:00
Benjamin Renard
476b7b4a06 LSmail : extended LSmail popup size:x 2012-04-26 16:14:14 +02:00
Benjamin Renard
d74b6a6200 LSformElement::password : Added mail headers parameters 2012-04-17 16:03:14 +02:00
Benjamin Renard
a516c5be74 LSauthCAS : added possibility to set CURLOPT_SSLVERSION option with parameter LSAUTH_CAS_CURL_SSLVERION 2012-03-29 18:33:12 +02:00
Benjamin Renard
c3d88f4eaa LSauth::CAS : fix bug about LSAUTH_CAS_SERVER_SSL_CERT and LSAUTH_CAS_SERVER_SSL_CACERT parameters 2012-03-29 18:32:13 +02:00
Benjamin Renard
421d7f4dce LSldapObject : fix onModify triggers execution 2012-03-22 19:51:27 +01:00
Benjamin Renard
ea5c120b75 Custom action : fix translation on display onSuccessMsgFormat 2012-03-13 10:29:37 +01:00
e22fbef942 LSauthMethod : Disable cache searching user in LDAP 2012-02-25 19:37:38 +01:00
Benjamin Renard
e224144fdd LSformElement::valueWithUnit : Added compatibility with data entry form 2011-12-15 12:17:46 +01:00
Benjamin Renard
3838af68bf Merge branch 'master' of ssh://git.labs.libre-entreprise.org/gitroot/ldapsaisie 2011-12-15 11:27:39 +01:00
Benjamin Renard
00d7795854 Custom Action : Added redirectToObjectList parameter 2011-12-15 11:22:51 +01:00
Benjamin Renard
ba05c7143d LSgroup/class : Added -> memberAttrValue parameter 2011-10-03 18:19:36 +02:00
Benjamin Renard
878d52bcd5 LSldapObject : Added attribute validation on generated depended attribute 2011-09-22 11:35:27 +02:00