Commit graph

876 commits

Author SHA1 Message Date
MDW
679c6eaf29
Qual: Fix SqlInjection notices in scripts (#39214) 2026-07-19 17:32:57 +02:00
Frédéric FRANCE
d837298b1e
FIX: Cast db->user to string to fix Phan PhanTypeSuspiciousStringExpression in ldap sync scripts 2026-06-28 13:23:55 +02:00
Frédéric FRANCE
669b398a06
FIX: Translate French code comments to English in scripts/user 2026-06-28 13:05:13 +02:00
Laurent Destailleur
b6ab672f42 Debug v24 2026-05-11 02:07:24 +02:00
Frédéric FRANCE
80184f0bd3
fix phpstan (#38038)
* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* clean

* clean code

* clean code

* clean code

* Update bom_agenda.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-05-11 01:19:35 +02:00
Frédéric FRANCE
5539bc560a
Update export-bank-receipts.php (#38076)
* Update export-bank-receipts.php

* Update export-bank-receipts.php

* Update export-bank-receipts.php
2026-05-04 12:55:31 +02:00
Laurent Destailleur
b18f190989 Better fix for #37972 2026-04-23 14:50:29 +02:00
Laurent Destailleur
64d1d48f01 Fix CI 2026-04-11 17:49:48 +02:00
Braito
965709a2d0
cron: unlock stale PID jobs in runners (#37333)
* cron: unlock stale PID jobs in runners

* Update cron_run_jobs_by_url.php

---------

Co-authored-by: braito4 <1913498+braito4@users.noreply.github.com>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-02-28 16:22:00 +01:00
MDW
f8e609b3b3
Qual: Update spelling (#37199)
* Qual: Update spelling for pre-select variants

# Qual: Update spelling for pre-select variants

In English, preselect is without the hyphen.  Update text and made some translations
related to preselect.

* Qual: Update composant to component and/or adequate translation.

# Qual: Update composant to component and/or adequate translation.

"Composant(s)" was mostly referenced in french file/class comments.
Updated

* Qual: Fix misspellings related to "criteria"

# Qual: Fix misspellings related to "criteria"

* Qual: Fix produt misspellings

# Qual: Fix produt misspellings

Change 'produt' to 'product'.

* Qual: Update French comments with "composants"

#Qual: Update French comments with "composants"

- Translating French comments to English (avoid codespell notice)

* Qual: Fixed typo 'bad practive' to 'bad practice'

# Qual: Fixed typo 'bad practive' to 'bad practice'

* Qual: Update phan.yml to exclude specific files from analysis

- Added file exclusion pattern to match phan configuration
- Added check for empty file list to avoid unnecessary phan execution

* Qual: Update file filtering in phan.yml workflow

The change updates the file filtering process in the phan.yml workflow to correctly redirect the output of the grep command to a temporary file.

* Qual: Ignore $systemfunction always exists

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-02-12 16:29:11 +01:00
hansemschnokeloch
09b69a178b
Typo fix (#37195) 2026-02-11 21:15:41 +01:00
Frédéric FRANCE
b6a49cb4bd
fix french doc (#36895)
* fix french doc

* fix french

* Update sync_members_types_dolibarr2ldap.php

* fix french doc

* Update translate.class.php

* Update export-bank-receipts.php

* Update product.class.php

* Update product.class.php
2026-01-16 02:32:37 +01:00
Laurent Destailleur
578a1ef568 Clean files 2026-01-07 19:01:54 +01:00
Laurent Destailleur
3aff6cded3 More phpuint tests 2026-01-07 14:14:37 +01:00
Laurent Destailleur
bba8884d13 Clean code 2025-11-18 11:48:33 +01:00
labiloute
382bc4e80e
FIX: fetch LDAP members in LDAP sync sync_groups_ldap2dolibarr.php (#36117)
* FIX: Add missing left join to filter by extrafields (#36092)

Co-authored-by: Noé <noe@scopen.fr>

* FIX: fetch LDAP members in LDAP sync sync_groups_ldap2dolibarr.php

* Fix boolean parameter casing in fetch method

---------

Co-authored-by: noec764 <58433943+noec764@users.noreply.github.com>
Co-authored-by: Noé <noe@scopen.fr>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-11-06 02:13:19 +01:00
Laurent Destailleur
165242c0fb Move version info into a dedicated file 2025-10-22 12:16:09 +02:00
Laurent Destailleur
2a155bff70 Debug 2025-10-19 23:34:12 +02:00
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