Benjamin Renard
5fa1e578c5
LSauthMethod_HTTP : fix constructor to load config before handling it
2019-03-27 18:28:44 +01:00
Benjamin Renard
87729124f3
LSauth :: afterLogout() : fix provider trigger
2019-03-27 18:28:05 +01:00
Benjamin Renard
323cc8bc50
LSauthMethod_HTTP : add LSAUTHMETHOD_HTTP_LOGOUT_REMOTE_URL parameter
2019-03-27 18:03:25 +01:00
Benjamin Renard
bf8eb1b8b9
Add LSauth :: afterLogout() trigger
2019-03-27 18:02:04 +01:00
Benjamin Renard
2208eb7fe0
Fix some 'Cannot make non static method' errors
2019-03-12 13:28:30 +01:00
Benjamin Renard
20dc70f34b
Fix PHP syntax errors
2019-03-12 13:18:31 +01:00
Benjamin Renard
a338e0dfa0
Fix parent constructor calls
2019-03-12 13:10:24 +01:00
Benjamin Renard
a577417b69
LSsearch : make purgeParams() and purgeCache() methods static
2019-03-12 12:50:58 +01:00
Benjamin Renard
887b054328
LSformElement_password : fix syntax error in getPostData() method
2019-03-12 12:50:28 +01:00
Benjamin Renard
8bb4a1c9cf
Fix some PHP notices
2019-03-12 12:49:19 +01:00
Benjamin Renard
68c6e4267b
LSattr_html_select_list :: _array_merge() : mark as static
2019-03-12 12:28:15 +01:00
Benjamin Renard
9f858c6f0f
LSattr_html_select_list :: _sort() : make really static
2019-03-12 12:25:44 +01:00
Benjamin Renard
b577fe23a9
LSldapObject : solve static/non-static problem on getObjectFilter() method
2019-03-12 12:19:44 +01:00
Benjamin Renard
01a25aa22a
LSformElement_select : solve static/non-static problem on isValidValue() method
2019-03-12 12:14:16 +01:00
Benjamin Renard
b529eee34f
LSattr_html_select_list :: getLSobjectPossibleValues() : make really static
2019-03-12 12:04:42 +01:00
Benjamin Renard
e7b4bc085a
LSattr_html_select_list : solve static/non-static problem on LSattr_html_select_list :: getPossibleValues()
2019-03-12 12:00:58 +01:00
Benjamin Renard
b6367fce34
LSformRule :: compare : fix find operator method
2019-03-12 11:43:53 +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
34d4c1a8ba
LSattr_html_maildir : fix PHP error in class contructor
2019-03-11 22:43:50 +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
6bd68d8d25
LSsession : always log include errors
2019-03-11 18:27:52 +01:00
Benjamin Renard
51b06418bc
LSsession : Fix setLocale() parameter handling
2019-03-11 18:18:23 +01:00
Benjamin Renard
b817bb8ae2
LSerror : fix PHP error handling
2019-03-11 18:17:17 +01:00
Benjamin Renard
dbfc8506d5
Fix solution implement in last commit
2019-03-08 11:26:54 +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
cc8816aa9a
LSattr_ldap :: password : Add SHA256/SHA512 & SSHA256/SSHA512 support
2019-02-01 10:27:04 +01:00
Benjamin Renard
92425e7554
LSldapObject : Add generate_container_dn parameter
2018-10-01 12:57:26 +02:00
Benjamin Renard
179d148335
Add triggers feature on LStemplate class
2018-10-01 12:32:05 +02:00
Benjamin Renard
8e1e747754
LSattr_html :: select_list : add translate_labels option
2018-09-19 18:56:47 +02:00
Benjamin Renard
e296cd710b
Add defaultView paramater
2018-09-13 18:36:45 +02:00
Benjamin Renard
f94471e6e5
LSformElement::boolean : add true_label and false_label parameters
2018-09-13 16:25:40 +02:00
Benjamin Renard
408c6d82cf
Improve LSsession :: loadLSobject() error debugging
2018-09-13 16:12:41 +02:00
Benjamin Renard
c551b954fe
Improve LSauthMethod::HTTP to support multiple methods to retreive user and password from HTTP server
2018-09-07 18:42:24 +02:00
Benjamin Renard
2880c4c28e
Add LSattr_html :: wysiwyg
2018-06-15 17:20:37 +02:00
Benjamin Renard
2d2f35fe5b
LSform : fix empty submit button problem in some specific cases
2018-06-15 15:31:02 +02:00
Benjamin Renard
7a036014c6
LSattr_html :: jsonCompositeAttribute : fix check required method
2018-06-11 12:11:56 +02:00
Benjamin Renard
31b0b71312
LSsearch : Use strnatcmp instead of strcoll in sorting method
2018-06-11 12:06:55 +02:00
577803d0f7
LSldapObject : Change getPatternFilter() method to use common LSsearch lib
2018-06-09 00:08:47 +02:00
7ccd02e685
Fix search pattern validation
2018-06-09 00:07:44 +02:00
06b37ea2f6
Fix XSS problem using LSdebug/LSerror/LSinfos
2018-06-08 17:41:28 +02:00
1a700b1737
Fix local file handling
2018-06-01 13:59:01 +02:00
37e573a247
Fix LS_THEME usage
2018-05-24 12:19:39 +02:00
35b9b9ad94
Add nocache param on JS/CSS URL to avoid cache problems
2018-05-22 18:47:08 +02:00
Benjamin Renard
0f7ac92767
Add LSattr_html :: labeledValue
2018-05-16 19:29:08 +02:00
Benjamin Renard
2814dadb95
Add LSattr_ldap :: compositeValueToJSON
2018-05-16 19:28:26 +02:00
Benjamin Renard
4715aba0f1
LSattr_html :: select_list : fix invalid possible values on empty other attribute value
2018-04-27 15:54:41 +02:00
Benjamin Renard
baeea8d670
LSldap : fix/improve getAttr() method
2018-04-27 15:39:24 +02:00
Benjamin Renard
788bc23b98
LSattr_html :: select_list : fix warning on empty jsonCompositeAttribute possible values
2018-04-27 14:48:45 +02:00
Benjamin Renard
d06593cf14
LSattr_html :: select_list : add possiblity to use values of other attribute as possible values
2018-04-26 12:18:16 +02:00
Benjamin Renard
9cb3bb8e18
LSattr_html :: jsonCompositeAttribute : Add help_info and multiple parameters on components
2018-04-26 11:36:04 +02:00
Benjamin Renard
2e9459598f
LSdefault : encode LSjsConfig data in Base64
2018-04-26 11:06:10 +02:00
Benjamin Renard
1fe65e0d6b
LSattr_html::valueWithUnit : add translate_labels, store_integer and round_down parameters
2018-02-19 11:18:55 +01:00
Benjamin Renard
3659031ed2
LSattr_html :: password : add get_mail_attr_function parameter
2018-02-08 18:16:23 +01:00
Benjamin Renard
7c45bfe833
Replace ereg() function call by preg_match()
2018-01-08 19:08:39 +01:00
Benjamin Renard
593a4c5e96
LSformRule :: ssh_pub_key : fix check
2017-12-22 17:34:21 +01:00
Benjamin Renard
049efb1eef
Add LSformRule :: ssh_pub_key
2017-12-22 17:13:48 +01:00
Benjamin Renard
11abb3e1f8
LSattr_html :: ssh_key : fix regex
2017-12-22 16:42:07 +01:00
Benjamin Renard
e251878913
LSatt_html :: jsonCompositeAttributeFix : fix possible values ajax loading
2017-12-22 16:31:00 +01:00
Benjamin Renard
7be590d842
Add generateFunction and additionalAttrs parameters for extraDisplayedColumns
2017-11-30 12:29:46 +01:00
Benjamin Renard
835dccb5f6
LSattr_html :: date : Add showNowButton and showTodayButton parameters
2017-10-12 14:58:31 +02:00
Benjamin Renard
a935828a83
LSformRule_date : add error if no date format specified
2017-10-12 14:51:49 +02:00
Benjamin Renard
0f55f821c6
LSattr_html :: date : fix default form rule parameters
2017-10-12 14:49:24 +02:00
Benjamin Renard
02eb2557aa
Review LSformRules parameters usage and doc
2017-08-22 15:39:38 +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
7970489489
LSrelation : Add create button even if user can't edit the relation
2017-08-02 12:09:25 +02:00
Benjamin Renard
486f33ccf9
LSrelation : Add create action button
2017-08-02 12:00:11 +02:00
Benjamin Renard
aacfe2d6e0
LSformElement :: select_box : fix isValidValue() method in inherited context
2017-06-27 15:12:29 +02:00
Benjamin Renard
e1cdd85819
LSattr_html :: postaladdress : improve it and add default configuration value
2017-06-15 18:44:51 +02:00
Benjamin Renard
2094b6f5e8
Rename LSattr_ldap :: postalAddress to LSattr_ldap :: postaladdress and add doc on this type of html & ldap attribute
2017-06-15 17:23:37 +02:00
Benjamin Renard
b3791b28ec
LSformElement_select : fix bug when possible_values params is unset or empty
2017-05-31 16:05:25 +02:00
Benjamin Renard
8fa9221a6e
Improve and translate code comments
2017-05-04 17:27:52 +02:00
9815fb147f
LSattr_html :: jsonCompositeAttribute : first version
2017-05-03 01:12:35 +02:00
7a9705d25f
LSattr_html_select_list : make getPossibleValues() optionally and statically callable
2017-05-03 01:10:10 +02:00
Benjamin Renard
b067c943ed
LSrelation : fix check right on relation with specific object
2017-04-28 17:05:48 +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
521f540a0c
Fix break misplaced error
2017-04-26 10:38:34 +02:00
Benjamin Renard
8f037d8421
LSattr_html :: select_object : Fix handling filter parameter
2017-03-23 16:30:14 +01:00
Benjamin Renard
7aa96ae60c
LSattr_html :: select_list / select_object : add parameter to handle onlyAccessible LSsearch parameter
2017-03-23 16:29:33 +01:00
Benjamin Renard
dc3c367f2f
LSsession / subDn : add parameter to handle onlyAccessible LSsearch parameter
2017-03-23 16:26:28 +01: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
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
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
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