Commit Graph

858 Commits

Author SHA1 Message Date
Laurent Destailleur
d3bef6ee32 Debug v23 2025-09-27 18:28:35 +02:00
kkhelifa-opendsi
21af311344 NEW : Change the path for the mailing files (#34878)
* NEW : Change the path for the mailing files because if you have more than 100 mailing you have the files of the previous mailing show in the newest.
Only activate if the global MAILING_USE_NEW_PATH_FOR_FILES is set to 1.
Add a script for move files to new path.

* Place migration script into repair.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
Co-authored-by: tnegre <tnegre@open-dsi.fr>
2025-09-27 00:08:56 +02:00
ldestailleur
0b93c10df9 Clean code 2025-09-20 12:12:28 +02:00
Frédéric FRANCE
2505c3755b clean code (#35367)
* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-09-17 18:18:16 +02:00
ldestailleur
c7407473c1 Fix try to work on multientity even if cron disable don entity 1. 2025-09-17 13:54:21 +02:00
ldestailleur
5df4a90edb Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-09-17 13:43:23 +02:00
ldestailleur
549cb48e8f Fix sort first on entity then on priority 2025-09-17 13:17:25 +02:00
Frédéric FRANCE
9f90c9d371 Fix missing translation (#35322)
* fix missing translation

* fix missing translation

* fix missing translation

* fix missing translation
2025-09-12 15:17:18 +02:00
Eric - CAP-REL
1f8b5db2c7 exit code must be >= 0 (#35311) 2025-09-12 02:29:23 +02:00
Frédéric FRANCE
a643a8456b fix Variable $statut might not be defined (#35161) 2025-09-01 19:35:53 +02:00
ldestailleur
b402bf6b19 Rename dir 2025-08-03 00:09:00 +02:00
ldestailleur
50da1f64a0 Move tool 2025-08-01 14:53:33 +02:00
ldestailleur
d34e0b5305 Try fix CI 2025-07-29 11:04:32 +02:00
Laurent Destailleur
dc7ad394ab Add tool to unobfuscate conf file. 2025-07-29 00:22:06 +02:00
Laurent Destailleur
9fe51c656a Add tool to unobfuscate conf file. 2025-07-29 00:00:53 +02:00
ldestailleur
7b08242064 Prepare script for blocked log control 2025-06-23 15:50:28 +02:00
Florian Mortgat
4f14d26b9f Reset the global $extrafields when a cron job needs to run in a different entity (#34130)
* Reset the global `$extrafields` when a cron job needs to run in a different entity than the previous one. If not, extrafield definitions won't be reloaded, causing potentially severe bugs

* FIX (phan) case of class ExtraFields

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-05-14 14:33:25 +02:00
ldestailleur
a0ec0002f6 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-03-19 13:47:25 +01:00
ldestailleur
1698ac0958 FIX CR on script output 2025-03-18 17:41:16 +01:00
MDW
891e11d692 Qual: Enable and fix phan notices for scripts
# Qual: Enable and fix phan notices for scripts

phpstan is already enable on scripts, so there is no reason to not
enable phan.
This enables phan and fixes the notices at the same time
2025-02-18 16:33:41 +01:00
Maxime Kohlhaas
1dc3a9796f Merge branch '20.0' of github.com:Dolibarr/dolibarr into 21.0 2025-01-09 19:35:01 +01:00
Maxime Kohlhaas
751e21be44 Merge branch '20.0' of github.com:Dolibarr/dolibarr into 21.0 2025-01-09 18:23:38 +01:00
Maxime Kohlhaas
b754994543 Merge branch '19.0' of github.com:Dolibarr/dolibarr into 20.0 2025-01-09 18:18:36 +01:00
Maxime Kohlhaas
b32789f42a Merge branch '18.0' of github.com:Dolibarr/dolibarr into 19.0 2025-01-09 18:08:48 +01:00
Maxime Kohlhaas
e1a47ed0fb Merge branch '17.0' of github.com:Dolibarr/dolibarr into 18.0 2025-01-09 18:08:00 +01:00
Maxime Kohlhaas
6388f6e62a Merge branch '16.0' of github.com:Dolibarr/dolibarr into 17.0 2025-01-09 18:07:09 +01:00
Maxime Kohlhaas
e2605fbf64 Merge branch '15.0' of github.com:Dolibarr/dolibarr into 16.0 2025-01-09 18:05:33 +01:00
Maxime Kohlhaas
90c24b3d95 Merge branch '14.0' of https://github.com/Dolibarr/dolibarr into 15.0 2025-01-09 18:01:51 +01:00
Maxime Kohlhaas
273ec857a3 Fix : cron job user rights force reload 2025-01-07 18:39:19 +01:00
Laurent Destailleur (aka Eldy)
b9e8cbc80b Doc 2024-12-20 15:41:26 +01:00
Laurent Destailleur (aka Eldy)
35e935f4be debug rebuild_merge_pdf 2024-12-20 15:21:38 +01:00
Laurent Destailleur (aka Eldy)
3fc800b1b2 Fix nomerge mode 2024-12-20 15:01:55 +01:00
Frédéric France
89121307ac fix phpstan 2024-12-10 20:09:39 +01:00
Frédéric France
99bf3064f1 fix phpstan 2024-12-10 20:07:37 +01:00
Frédéric France
981c13c788 fix phpstan 2024-12-09 18:24:16 +01:00
Frédéric France
ea935b5978 fix phpstan 2024-12-09 18:22:03 +01:00
Frédéric FRANCE
f81e570997 Fix CI (#32094)
* fix CI

* fix CI

* fix CI

* fix CI

* fix CI

* fix CI

* fix CI

* clean baseline
2024-11-26 03:43:42 +01:00
Frédéric FRANCE
ee54d1c372 fix CI (#32089)
* fix CI

* fix CI

* fix CI

* fix CI
2024-11-25 18:57:57 +01:00
Laurent Destailleur
92aaf4e618 Debug v21 2024-11-25 04:02:31 +01:00
Frédéric FRANCE
daae68f9d3 Fix phpstan (#32005)
* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan
2024-11-19 21:02:05 +01:00
Frédéric FRANCE
9067c6deec replace deprecated (#31803)
* replace deprecated

* replace deprecated
2024-11-14 00:16:43 +01:00
Nicolas Domenech
c8dd1fbd72 New hook beforeRunCronJob and afterRunCronJob (#29884) 2024-11-13 23:21:33 +01:00
Frédéric FRANCE
41a4f42b31 add phpdoc and clean phpstan baseline (#31717)
* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc

* add phpdoc

* add phpdoc
2024-11-07 17:31:40 +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
MDW
e7539f2e19 Qual: Fix notices in .lib.php files (#31672)
* Qual: Fix notices in .lib.php files

* Update wrapper.php

* Update availabilities_card.php

* Update index.php

* Update document.controller.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-11-04 12:32:13 +01:00
MDW
0d2f1cf666 Qual: Fix phpstan notices (int expected) (#31485)
# Qual: Fix phpstan notices (int expected)

Fix several notices where int was expected (casting/phpdoc/GETPOSTINT).
Separate phpstan exceptions for methods containing 'pdf' from
other methods/functions.
2024-10-24 14:01:30 +02:00
Frédéric FRANCE
b1c4912afc fix phpstan (#31493)
* fix phpstan

* fix phpstan
2024-10-23 23:26:48 +02:00
vladimirdulov
52a60dc760 Undefined stdClass property warnings fixed (#31325)
* Undefined stdClass property warnings fixed

* execute permissions restored

---------

Co-authored-by: Vladimir D <vladimir@brandlight.org>
2024-10-13 20:33:15 +02:00
vladimirdulov
922601e03a Undefined stdClass property warnings fixed (#31325)
* Undefined stdClass property warnings fixed

* execute permissions restored

---------

Co-authored-by: Vladimir D <vladimir@brandlight.org>
2024-10-13 20:32:12 +02:00
Laurent Destailleur
40f2830714 Start to move function for CLI mode into a dedicated file 2024-10-04 12:10:25 +02:00