Commit Graph

4690 Commits

Author SHA1 Message Date
Laurent Destailleur
39e200eb50 Debug v23 2025-12-04 14:00:34 +01:00
Laurent Destailleur
e60de6525b WIP Loi finance 2025-12-02 20:29:20 +01:00
Laurent Destailleur
967865dfe5 CSS 2025-12-01 15:40:42 +01:00
Laurent Destailleur
41fc03c63b Fix: Do not transform [__XXX__] string when
MAIN_RESTRICTHTML_ONLY_VALID_HTML is on.
2025-12-01 13:54:27 +01:00
MDW
53baeeaf67 Qual: Improve type hinting for phpstan in dol_sort_array()
#Qual: Improve type hinting for phpstan in dol_sort_array()

- Improve phpdoc for phpstan in dol_sort_array()
2025-11-28 02:18:33 +01:00
Laurent Destailleur
ce01e1d95f Debug v23 2025-11-27 00:05:04 +01:00
Laurent Destailleur
81ac5bddf9 Fix phpunit 2025-11-26 23:37:10 +01:00
Laurent Destailleur
6d4708914d Deug v23 2025-11-26 21:07:41 +01:00
Laurent Destailleur
b78e8faeab Debug v23 2025-11-26 14:16:06 +01:00
Laurent Destailleur
4b5c4f13ca Debug v23 2025-11-26 13:47:14 +01:00
Laurent Destailleur
f0f2afd7a3 Fix action type for button action Email 2025-11-26 13:41:16 +01:00
Laurent Destailleur
3218e19091 Debug v23 2025-11-25 19:51:09 +01:00
Laurent Destailleur
9b0fd0ec5c Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-11-25 18:30:42 +01:00
Laurent Destailleur
c5c0b85498 Debug v23 2025-11-25 18:18:02 +01:00
Frédéric FRANCE
d2ed8fed4f can specify user timezone if no session (#36344)
* can specify user timezone if no session

* Update functions.lib.php

* Update functions.lib.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-11-24 19:43:48 +01:00
Laurent Destailleur
3ced7b6de7 CSS 2025-11-23 21:10:40 +01:00
Laurent Destailleur
53e926371b Debug v23 2025-11-23 16:15:59 +01:00
Laurent Destailleur
89d8b553c1 Debug v23 2025-11-22 16:23:07 +01:00
Laurent Destailleur
d571285a37 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2025-11-21 19:14:00 +01:00
Laurent Destailleur
424484a4c3 Debug v23 2025-11-21 19:11:32 +01:00
Frédéric FRANCE
561d4deb06 clean code (#36363)
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-11-21 18:34:09 +01:00
Frédéric FRANCE
9d4260c858 fix Ci (#36354)
* fix Ci

* Update html.form.class.php

* fix

* remove duplicate
2025-11-21 17:26:29 +01:00
Laurent Destailleur
b8190e137e Merge branch '22.0' of github.com:Dolibarr/dolibarr into develop 2025-11-21 15:18:08 +01:00
Laurent Destailleur
6e6253f40d Close #36120 2025-11-21 00:16:06 +01:00
Laurent Destailleur
bbc100b6d3 Close #36120 2025-11-21 00:07:31 +01:00
Laurent Destailleur
e43d252b91 Fix CI 2025-11-20 20:35:11 +01:00
Laurent Destailleur
a94ab3874d Close #35819 by using a new function dol_clone_in_array() 2025-11-20 19:40:57 +01:00
Laurent Destailleur
141fa57511 Debug v23 2025-11-20 17:05:34 +01:00
Laurent Destailleur
18c30daf11 Debug v23 2025-11-20 17:04:53 +01:00
Laurent Destailleur
cef8905f02 Clean code 2025-11-20 11:19:49 +01:00
Frédéric FRANCE
46d6714fe0 clean code (#36317)
* clean code

* clean code

* clean doc

* clean doc

* clean doc

* clean doc

* fix

* fix

* fix

* fix

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-11-20 01:47:46 +01:00
Yamil Esteban Garcia
6d5835e90f FIX Move 'holiday' from old path array to new one (#36308)
* Remove 'supplier_invoice' from old path array

* Update module path in arrayforoldpath

Sorry Eldy, I was confused. You are absolutely right, it is already corrected.

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-11-19 14:09:05 +01:00
Laurent Destailleur
77e66216dc Fix ci 2025-11-19 12:15:48 +01:00
Laurent Destailleur
5ccab94697 Fix CI 2025-11-19 12:12:07 +01:00
Laurent Destailleur
0a6489a55f Fix CI 2025-11-19 11:59:33 +01:00
Laurent Destailleur
8a8ed7fa67 Fix CI 2025-11-19 11:28:58 +01:00
Laurent Destailleur
75d1f27730 Fix CI 2025-11-19 11:16:24 +01:00
Laurent Destailleur
613a4bab2d Fix CI 2025-11-19 10:57:11 +01:00
Laurent Destailleur
d858764b15 Add config param $dolibarr_main_restrict_eval_methods with whitelist of
functionsallowed in dol_eval. Advisory GHSA-x3w7-24rq-gvc5
2025-11-19 03:44:24 +01:00
Laurent Destailleur
9818c76f7f MAIN_DISALLOW_STRING_OBFUSCATION_IN_DOL_EVAL replaced with
MAIN_ALLOW_OBFUSCATION_METHODS_IN_DOL_EVAL
2025-11-18 23:34:23 +01:00
Laurent Destailleur
947389b072 NEW Disable by default obfuscation methods and function in extrafields
evaluable strings. Can re-enable with
MAIN_ALLOW_OBFUSCATION_METHODS_IN_DOL_EVAL=1
2025-11-18 22:45:56 +01:00
Laurent Destailleur
b748ffd528 Secure the dol_eval 2025-11-18 18:57:17 +01:00
Laurent Destailleur
ac2fe3e991 Comment 2025-11-18 16:59:24 +01:00
Laurent Destailleur
5aaf9cd565 NEW Add hook on calcula_price() and get_default_tva() 2025-11-18 16:57:50 +01:00
Laurent Destailleur
81527a9fe9 Clean code 2025-11-18 12:03:23 +01:00
Frédéric FRANCE
8d459e469d clean code (#36260)
* clean code

* clean code

* clean code

* clean code

* fix $val might not be defined

* fix phpstan errors reported

* fix phpstan errors reported

* fix phpstan errors reported

* fix phpstan errors reported

* fix phpstan errors reported

* fix phpstan errors reported

* ignore phpstan reported for later

* clean code

* clean code

* clean code

* clean

* test
2025-11-18 11:41:28 +01:00
MDW
785753bbee Qual: Change field name to let phan warn about argument order (#36261)
* FIX wrong $param parameter position

* FIX ok it's good ! ;-)

* Qual: Change field name to let phan warn about argument order

# Qual: Change field name to let phan warn about argument order

Most of the time print_liste_field_titre() is called with $param instead of $moreparam.
By changing the argument name, phan will warn if the position is likely incorrect.

* Fix: Fix parameter order in print_liste_field_titre calls

- Fixed parameter order in print_liste_field_titre calls to maintain consistency

---------

Co-authored-by: Regis Houssin <regis.houssin@inodbox.com>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-11-18 11:40:32 +01:00
Laurent Destailleur
f05f5af59e Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-11-18 11:38:31 +01:00
Laurent Destailleur
61a849090b Close #36298 2025-11-18 11:36:45 +01:00
MDW
f5d6533c5b Qual: (v22)Change field name to let phan warn about argument order (#36263)
* FIX wrong $param parameter position

* FIX ok it's good ! ;-)

* Qual: Change field name to let phan warn about argument order

# Qual: Change field name to let phan warn about argument order

Most of the time print_liste_field_titre() is called with $param instead of $moreparam.
By changing the argument name, phan will warn if the position is likely incorrect when '$param' is used - it will not warn for cases where $option or another
name is used.

---------

Co-authored-by: Regis Houssin <regis.houssin@inodbox.com>
2025-11-17 21:49:31 +01:00