Benjamin Renard
|
957777d44f
|
LSldapObject::validateAttrData(): fix checking LDAP validation result
|
2021-01-18 15:03:26 +01:00 |
|
Benjamin Renard
|
7ef6e57c49
|
LSldapObject::submitChange(): code cleaning
|
2020-12-22 19:46:57 +01:00 |
|
Benjamin Renard
|
a353ca5c37
|
LSldapObject::submitChange(): Add security check about isNew() return
|
2020-12-22 19:45:35 +01:00 |
|
Benjamin Renard
|
06b8fddc51
|
LSldapObject::validateAttrData(): check return type of LSldap::getNumberResult()
|
2020-12-22 19:44:51 +01:00 |
|
Benjamin Renard
|
89ecbb8a5c
|
LSldap: fix search & getNumberResult methods to use basedn from configuration instead of empty one.
|
2020-12-22 19:43:50 +01:00 |
|
Benjamin Renard
|
14352da6bd
|
LSformElement::jsonCompositeAttribute: Fix PHP warning
|
2020-12-22 19:32:14 +01:00 |
|
Benjamin Renard
|
514a2eb0fd
|
Code cleaning
|
2020-12-22 18:42:56 +01:00 |
|
Benjamin Renard
|
7535530416
|
LSformRule: do not defined validate_one_by_one constant visibility
To keep compatibility with PHP < 7.1.
|
2020-12-22 18:05:28 +01:00 |
|
Benjamin Renard
|
43d2620f8e
|
CLI search: add JSON output (with -j|--json parameters)
Futhermore, --pretty parameter also permit to prettify the JSON
output.
|
2020-12-22 11:01:38 +01:00 |
|
Benjamin Renard
|
1c13aa7cdd
|
CLI search: add --all parameter to permit to disable pagination
|
2020-12-22 11:00:49 +01:00 |
|
Benjamin Renard
|
f6f2e352bc
|
CLI show: add JSON output (with -j|--json parameters)
Futhermore, -p|--pretty parameter also permit to prettify the JSON
output.
|
2020-12-22 10:31:23 +01:00 |
|
Benjamin Renard
|
d39bba45fb
|
CLI show: fix handling --raw-values parameter
|
2020-12-22 10:27:22 +01:00 |
|
Benjamin Renard
|
1428b5df62
|
LSattr_ldap::pwdHistory: fix fatal error on time encoding.
|
2020-12-21 14:54:37 +01:00 |
|
Benjamin Renard
|
114e3c48ac
|
LSformRule: add validate_values() method and use it to value rules
Also add validate_one_by_one class constant to allow to handle
validation on all values together instead of one-by-one.
|
2020-12-21 14:53:36 +01:00 |
|
Benjamin Renard
|
089693ea0e
|
Fix/improve LSsession_13 errors (unconfigured/unknown custom action function)
|
2020-12-16 17:42:55 +01:00 |
|
Benjamin Renard
|
0f0bff5a77
|
LSldapObject::submitChange(): on new object, check if generated DN is not already affected
|
2020-12-14 19:42:19 +01:00 |
|
Benjamin Renard
|
ab922356c0
|
LSsession :: loadLSprofilesLSobjects(): fix a PHP warning
|
2020-12-14 19:37:13 +01:00 |
|
Benjamin Renard
|
a49cf4ba0c
|
LSldapObject: fix/improve validateAttrData()
|
2020-12-14 19:36:21 +01:00 |
|
Benjamin Renard
|
8b292f538d
|
LSconfig :: get(): add array casting (using ensureIsArray())
|
2020-12-14 19:35:03 +01:00 |
|
Benjamin Renard
|
2abc369c73
|
LSformElement::labeledValue: fix label translation on freeze view
|
2020-12-10 17:21:21 +01:00 |
|
Benjamin Renard
|
f6a6c226f4
|
LSattribute: fix handling default_value in generateValue()
|
2020-12-02 20:17:18 +01:00 |
|
Benjamin Renard
|
852b375964
|
LSattribute: fix canBeGenerated() when default_value isn't a string
|
2020-12-02 19:53:29 +01:00 |
|
Benjamin Renard
|
a7ab192274
|
Add LSldap_attr::pwdHistory
|
2020-12-02 18:12:00 +01:00 |
|
Benjamin Renard
|
c6501d479b
|
LSattr_html::jsonCompositeAttribute: Add fullWidth parameter and improve responsive display
|
2020-12-02 17:43:55 +01:00 |
|
Benjamin Renard
|
2161cc701a
|
LSattr_ldap::compositeValueToJSON: use static instead of self keyword
Use static instead of self keyword to use static method. This permit to
easily override this class.
|
2020-12-02 16:37:41 +01:00 |
|
Benjamin Renard
|
bc462c07b6
|
Add some debugging/trace messages
|
2020-12-01 16:48:07 +01:00 |
|
Benjamin Renard
|
597054acad
|
LSattr_ldap::shadowExpire: fix getUpdateData()
Fix to return a correctly rounded value as string.
|
2020-12-01 16:43:31 +01:00 |
|
Benjamin Renard
|
42dd0aa728
|
LSformElement :: date: fix getPostData() method
|
2020-12-01 16:42:20 +01:00 |
|
Benjamin Renard
|
3c75ef482e
|
Remove historic read right on all attributes of the hard-coded "admin" LSprofile
|
2020-12-01 16:40:21 +01:00 |
|
Benjamin Renard
|
0addf22c2e
|
LSldapObject :: _updateData(): make method protected instead of private
This change allow this method usage from children classes to allow
custom relation implementations.
|
2020-12-01 15:04:20 +01:00 |
|
Benjamin Renard
|
b4a5824ee8
|
Code cleaning
|
2020-11-30 19:44:14 +01:00 |
|
Benjamin Renard
|
106a2d9f04
|
Use ensureIsArray() helper to make code more readable
|
2020-11-30 19:43:52 +01:00 |
|
Benjamin Renard
|
770533b7ec
|
Ensure attributes values are always an array in LSattribute & LSattr_ldap
|
2020-11-30 19:37:44 +01:00 |
|
Benjamin Renard
|
f7231229f5
|
LSsession: fix errors in changeAuthUser() and add logging messages
|
2020-11-30 16:13:36 +01:00 |
|
Benjamin Renard
|
b93187f208
|
LSformElement::labeledValue: add translate_labels parameter and fix translating it
|
2020-11-25 15:46:25 +01:00 |
|
Benjamin Renard
|
8b996885d1
|
LSsession: improve loadLSaddons() method
|
2020-11-17 17:56:04 +01:00 |
|
Benjamin Renard
|
de62999fea
|
LSattr_html::select_list: add get_possible_values parameter
|
2020-09-22 15:04:31 +02:00 |
|
Benjamin Renard
|
5315005382
|
LSldapObject::loadData(): explicitly list need attributes in LDAP request
|
2020-09-21 12:45:39 +02:00 |
|
Benjamin Renard
|
9edfa2b92e
|
LSldap::getAttrs(): add $attrs and $include_internal optional parameters
|
2020-09-21 12:45:33 +02:00 |
|
Benjamin Renard
|
bf482c648f
|
LSattr_ldap::shadowExpire: fix getUpdateData() method to return string values
|
2020-09-11 13:40:48 +02:00 |
|
Benjamin Renard
|
41d816c025
|
LSformElement:📅 add clear btn
|
2020-09-11 13:38:07 +02:00 |
|
Benjamin Renard
|
052882eb49
|
Fix handling "0" (zero string) value
|
2020-09-11 13:34:42 +02:00 |
|
Benjamin Renard
|
1169772c4a
|
LSattr_html::select_list: clean code of getPossibleValues() method
|
2020-09-10 15:53:19 +02:00 |
|
Benjamin Renard
|
b8c00a8708
|
LSattr_html::select_box: fix double translation of labels on unfreeze field
|
2020-09-10 15:52:29 +02:00 |
|
Benjamin Renard
|
e62ddbdc19
|
LSformElement::image: fix error on non-AJAX form when no file is submited
|
2020-09-10 15:46:10 +02:00 |
|
Benjamin Renard
|
aeea76ab2a
|
LSform: fix/improve handling config
Permit to fix handling ajaxSubmit form.
|
2020-09-10 15:45:26 +02:00 |
|
Benjamin Renard
|
060ebf1bff
|
Allow conversion of LSattr_ldap to string
|
2020-09-10 12:26:48 +02:00 |
|
Benjamin Renard
|
00d92d1c37
|
generate_lang_file CLI command: improve logging
|
2020-09-10 12:26:25 +02:00 |
|
Benjamin Renard
|
4e87ddb898
|
generate_lang_file CLI command: factor handling possible_values of select list&box
|
2020-09-10 12:09:26 +02:00 |
|
Benjamin Renard
|
d344c56f45
|
generate_lang_file CLI command: fix PHP warning
|
2020-09-10 12:07:04 +02:00 |
|