Commit Graph

579 Commits

Author SHA1 Message Date
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
Frédéric FRANCE
6e1f01a942 fix a little warning (#36062) 2025-11-02 12:50:23 +01:00
MDW
073426d97e Qual: Fix multiple phan notices, update baseline (#36022)
* Qual: Fix phan notice with copy of attribute

* Qual: Fix phan notices with cast and updated param definition

* Qual: Fix phan notice with cast

* Qual: Update parameter type hint in utf8_check function

The parameter type hint for the $str parameter in the utf8_check function has been updated to include nullable types (string or int).

* Qual: Update User parameter type to nullable in call_trigger methods

The User parameter in call_trigger methods has been updated to be nullable to accommodate cases where the user object might not be available. This change ensures better flexibility and robustness in the codebase.

* Qual: Update phan baseline

* Qual: phpstan compatible type

* Qual: Add missing type hints for phan

- Add missing type hints for phan
- Fix indentation issues
- Improved consistency in code structure

* Qual: Update field configuration for backward compatibility

Enhanced the field configuration for backward compatibility by adding expected properties to the 'ref' field array.

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-11-01 17:47:28 +01:00
Laurent Destailleur
e314c075a7 Removed property that seems not used. 2025-10-22 17:59:51 +02:00
ldestailleur
efd5e48f78 NEW The PHP info is in a popup in install page. 2025-09-29 13:56:43 +02:00
ldestailleur
a43bf46a75 Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-09-26 01:27:00 +02:00
ldestailleur
f65903d006 Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into 22.0 2025-09-26 01:23:02 +02:00
ldestailleur
369b9510e0 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-09-26 01:21:57 +02:00
ldestailleur
1ed840384a Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2025-09-26 01:21:01 +02:00
ldestailleur
0226d75ec6 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2025-09-26 01:16:17 +02:00
Dylan Bourdere
a63eae7903 Fix: property api dir_temp (#35439)
* fix undefined property

* rename key
2025-09-25 11:59:09 +02:00
Frédéric FRANCE
a7cebb70a9 fix usage of recipient translation (#35437)
* fix usage of recipient translation

* fix usage of recipient translation

* fix usage of recipient translation
2025-09-22 20:30:23 +02:00
ldestailleur
2a6064b755 Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-09-18 21:49:58 +02:00
ldestailleur
8f4d36c1e8 Fix bad text for tooltip on stock increase/decrease option 2025-09-18 19:49:22 +02:00
ldestailleur
f729d33dcc Clean setup of antivirus 2025-08-30 17:14:57 +02:00
ldestailleur
01d168afb7 Add doc comment, and add field date_reception in commande_fournisseur
for #34975
2025-08-17 01:45:34 +02:00
ldestailleur
8cfc3d1306 Fix MAIN_NON_WORKING_DAYS_INCLUDE_MONDAY 2025-08-05 12:20:46 +02:00
ldestailleur
af615ec603 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into 22.0 2025-08-05 12:20:17 +02:00
Maxime Kohlhaas
c0ad262944 FIX : main checkbox left column was before global conf (#34858) 2025-08-01 19:41:37 +02:00
Mohamed DAOUD
b506f03c62 Improve error messages returned by getURLContent (#34689)
* enhance getURLContent error messages

* fix CI
2025-07-04 09:54:01 +03:00
ldestailleur
04f1176d50 Debug v22 2025-06-05 17:47:40 +02:00
ldestailleur
2e980ae83a Enable option MAIN_FEATURE_TO_SHOW_TOP_MENU_URL_IN_FRAME 2025-04-10 21:46:46 +02:00
atm-irvine
a6a07aebc3 # NEW|New delays conf for supplier proposals (#33800)
* feat: delays conf for supplier proposals

* Update conf.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-04-09 23:04:47 +02:00
ldestailleur
1aac6e3c34 Clean code by using the ACCOUNTING_MODE var for both modules 2025-04-03 16:41:41 +02:00
atm-jonathan
d72d69e55c NEW add home box mrp (#33549)
* add box Mo

* tests ok

* comparaison dates

* before Wysy

* after wysy

* Update mo.class.php

* Update mo.class.php

* Update conf.class.php

* retour PR

* add parenthesis

* Update mo_list.php

---------

Co-authored-by: x <x@x.x>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-04-02 12:22:59 +02:00
ldestailleur
4ab6fe34fa Introduce getWarningDelay() 2025-03-25 17:42:54 +01:00
ldestailleur
0c09be61a2 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-03-25 14:01:28 +01:00
ldestailleur
705eb17310 Clean code 2025-03-25 12:42:51 +01:00
ldestailleur
13d1cc06d7 Fix warning 2025-03-24 01:24:40 +01:00
ldestailleur
9e7341ed1b Complete #33489 2025-03-19 15:46:39 +01:00
ldestailleur
f8bdab213c NEW Try to set the tooltip as ajax call by default. 2025-03-09 21:49:30 +01:00
ldestailleur
af82f5f1eb Fix set of security option by default 2025-03-08 15:04:57 +01:00
MDW
035ede5874 Qual: Fix phan notices in API classes 2025-03-02 20:49:46 +01:00
Laurent Destailleur
9a619bb7c1 Merge branch 'develop' into qual/phan.2025.1.6-a 2025-01-27 14:52:56 +01:00
MDW
2696c9a107 Fix ci phan/phpstan notices
# Fix ci phan/phpstan notices

Fix most notices, except undefined fk_website in SocieteAccount
as it is not clear if that is supposed to be a property there
(more specifically, that it is set).
2025-01-27 13:21:30 +01:00
MDW
a42bc6755c Qual: Fix PhanPluginUnknownPropertyType, PhanPossiblyUndeclaredVariable 2025-01-27 10:24:16 +01:00
Laurent Destailleur (aka Eldy)
722797aaad Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-01-25 16:02:17 +01:00
Laurent Destailleur (aka Eldy)
fbe4ccd0e2 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-01-24 15:25:51 +01:00
Frédéric FRANCE
03ffb0e884 Merge branch '21.0' into patch-10 2025-01-24 13:58:07 +01:00
Laurent Destailleur (aka Eldy)
697a9fc599 Finish cleaning v21 of the setup pages 2025-01-24 13:12:48 +01:00
Frédéric France
622a655a3c fix 2025-01-23 22:15:11 +01:00
Laurent Destailleur
2da37fffc4 Fix quotes 2025-01-23 02:45:01 +01:00
Laurent Destailleur
0251c01296 Fix warning 2025-01-23 02:42:06 +01:00
Laurent Destailleur (aka Eldy)
3bfd6c1e30 Debug MAIN_RESTRICTHTML_ONLY_VALID_HTML_TIDY 2025-01-06 12:56:24 +01:00
Laurent Destailleur (aka Eldy)
6681979596 NEW Option MAIN_RESTRICTHTML_ONLY_VALID_HTML and
MAIN_RESTRICTHTML_ONLY_VALID_HTML_TIDY are on by default
2025-01-05 18:57:18 +01:00
Laurent Destailleur (aka Eldy)
c73cff0781 Debug v21 2024-11-28 22:51:11 +01:00
Laurent Destailleur
cbdda5d1a8 Fix the automatic nb of list 2024-11-16 23:23:14 +01:00
Laurent Destailleur
5312bd80b9 Doc 2024-11-12 04:04:31 +01:00
Laurent Destailleur
84c343cada WIP Captcha module architecture 2024-11-06 22:15:25 +01:00
Frédéric FRANCE
1adc883b56 add baseline exclude for phpstan (#31632)
* add baseline exclude for phpstan

* update

* update

* update

* update

* update

* merge

* restore one filter

* delete old errors

* fix

* fix

* fix

* $moreforfilter can t be empty

* fix

* enable check

* refresh baseline

* add phpdoc

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-11-04 23:53:20 +01:00