Commit graph

1996 commits

Author SHA1 Message Date
Benjamin Renard
ef1b4a74e2
LSaddons::accesslog: fix PHP 8.2 compatibility 2024-12-05 16:49:53 +01:00
Benjamin Renard
0548928d2d
Update french translation 2024-11-21 09:48:20 +01:00
Benjamin Renard
5f36a56d48
CI: fix handling shallow clone 2024-11-21 02:00:54 +01:00
Benjamin Renard
0eb73ee5bf
CI: Improve version detection on building doc 2024-11-21 00:53:19 +01:00
Benjamin Renard
5e17a8ec81
Improve doc about custom CLI commands 2024-11-21 00:30:47 +01:00
Benjamin Renard
2e0338e678
test_form_rule: add optional parameters to specify on which object's attribute to run the test 2024-11-20 20:40:09 +01:00
Benjamin Renard
965efeeda5
LScli: add autocomplete_LSobject_attr_name() and autocomplete_LSform_name() helpers methods 2024-11-20 20:20:48 +01:00
Benjamin Renard
b7a68f6a9e
LSformRule_zxcvbn: add minGuessesLog10, banPersonalInfo & banDictionaries parameters 2024-11-20 20:20:48 +01:00
Benjamin Renard
fee03668f5
Improve test_form_rule command to accept JSON formatted parameters
Example:
  ldapsaisie \
    -L LSformRule test_form_rule zxcvbn \
    -p customDictionaries="$( jo dict1=/path/to/dict1.json dict2=/path/to/dict2.json )" \
    -p minScore=3 \
    S3cRet2TeST
2024-11-20 16:59:07 +01:00
Benjamin Renard
5dad4e3648
LSformRule_zxcvbn: add customDictionaries parameter 2024-11-20 16:55:39 +01:00
Benjamin Renard
e3a2b5dece
Add vim modelines 2024-11-13 11:35:01 +01:00
Benjamin Renard
333fd8de05
LSldap::updateUserPassword(): keep existing other enabled controls (authz for instance) 2024-11-13 11:17:35 +01:00
Benjamin Renard
4057300ba0
LSldap::updateUserPassword(): fix handling non-ppolicy errors 2024-11-13 11:16:29 +01:00
Benjamin Renard
0e705852af
LSlog: log PHP error suppressed with the @-operator at TRACE level and add a prefix to signal it 2024-09-26 18:36:41 +02:00
Benjamin Renard
977dc8fcfa
LSurl::public_url: fix handling public root URL with a trailing slash 2024-09-26 18:36:40 +02:00
Benjamin Renard
b195a266f4
LSlog: add configuration parameters to allow to log error context 2024-09-26 18:36:40 +02:00
Benjamin Renard
3c94ad6bb0
LSlog::get_debug_backtrace_context(): add $with_args, $ignore_last_frames and $prefix arguments 2024-09-26 18:18:35 +02:00
Benjamin Renard
d72f45ebb2
Improve format_callable() 2024-09-26 18:18:34 +02:00
Benjamin Renard
0e8009420c
Code cleaning 2024-09-26 15:25:23 +02:00
Benjamin Renard
9224c54304
select_object & LSselect: Improve perfs to allow to handle large related objects collection 2024-09-26 15:25:22 +02:00
Benjamin Renard
24d76d6c9c
Fix base URL when public root URL is set to "/" 2024-08-28 10:52:00 +02:00
Benjamin Renard
efecc67af0
Add LSurl::public_url() method and globally use it to retrieve a public URL 2024-08-22 19:09:00 +02:00
Benjamin Renard
f4bdd430b2
LStemplate: provide current request object as a common variable ($request) 2024-08-21 18:12:01 +02:00
Benjamin Renard
60a78290a9
LSaddon::mail: fix handling the parameter of the sendMailFromTemplate function 2024-08-06 18:36:10 +02:00
Benjamin Renard
d6a080c22c
LSldapObject::validateAttrData(): fix validation on the current object it self (base DN=%{dn}) in create form and clean some PHP warnings 2024-07-08 14:48:38 +02:00
Benjamin Renard
6646ca91f1
Update french translation 2024-06-19 18:01:22 +02:00
Benjamin Renard
41af4f9305
LSaddon::dyngroup: Add showDyngroupMembers view function 2024-06-19 17:56:29 +02:00
Benjamin Renard
4235c05b12
LSaddon :: dyngroup: add update_dyngroup_members_cache CLI command 2024-06-05 14:49:38 +02:00
Benjamin Renard
151b229c3d
LSformElement_postaladdress: update OSM nominatim search URL 2024-04-24 11:22:39 +02:00
Benjamin Renard
118b784a5d
API: allow to execute LSobject's custom actions 2024-04-04 16:11:06 +02:00
Benjamin Renard
2db4d0fbae
Add possibily to make global search using API 2024-03-28 12:44:18 +01:00
Benjamin Renard
bd98a8b8ef
LSldapObject: add force_generation_if_empty parameter 2024-03-04 11:36:05 +01:00
Benjamin Renard
1a88707f87
LSldapObject: defaulty set attribute default value on creation even if is not present in form
Could be configured using the new set_default_value_on_creation_if_empty 
parameter.
2024-03-04 11:34:41 +01:00
Benjamin Renard
4ce95e54b8
LSattr_html_gpg_pub_key: improve CSS 2024-02-28 19:10:48 +01:00
Benjamin Renard
2ccf579125
LSattr_html_gpg_pub_key & LSformRule_gpg_pub_key: fix setting GnuPG home dir in PHP 7.3 2024-02-28 18:47:09 +01:00
Benjamin Renard
171161ae18
Add LSattr_html_gpg_pub_key & LSformRule_gpg_pub_key 2024-02-28 18:18:57 +01:00
Benjamin Renard
d26c52400e
LSaddon::mail: fix handling CC/BCC headers if not provided as array 2024-02-22 19:13:35 +01:00
Benjamin Renard
62759330a8
LSaddon::mail: remove useless label 2024-02-22 18:52:11 +01:00
Benjamin Renard
5e9773a015
LSaddon::mail: improve CSS of templates editor view 2024-02-22 18:10:28 +01:00
Benjamin Renard
557db5d456
Fix Gitlab CI tests 2024-02-22 17:03:29 +01:00
Benjamin Renard
15f67ef00d
Improve docker image to make it smaller 2024-02-22 16:57:18 +01:00
Benjamin Renard
753f47fa97
Move mail template in LSaddon::mail and add editor view and docs 2024-02-22 16:15:00 +01:00
Benjamin Renard
89c363bd80
Fix handling mime type on serving libs's static files 2024-02-22 15:10:33 +01:00
Benjamin Renard
e59ab4a94c
Add common LStabs CSS classes to handle tabs content
Based on stuff provided by LSaccessRightsMatrixView.
2024-02-22 15:09:20 +01:00
Benjamin Renard
87e58e6425
LSmail: add possibility to send email using template 2024-02-19 20:19:52 +01:00
Benjamin Renard
e9c49c242f
LSaddon::phpldapadmin: fix default config to avoid PHP warning in CLI mode 2024-02-19 19:58:51 +01:00
Benjamin Renard
e8781ab779
LScli::unquote_word: Fix PHP warning 2024-02-19 19:58:04 +01:00
Benjamin Renard
15e3ffe6ef
LSaddon::mail: Fix handling multiple recipients 2024-02-19 19:46:27 +01:00
Benjamin Renard
34396a5fe1
Improve test_send_mail CLI command 2024-02-19 19:46:26 +01:00
dc8e08b5d1 Fix PHP 8.2 error on sorting values 2024-02-10 18:35:54 +01:00