MDW
1166dd305b
Qual: Update comments from French to English ( #37097 )
...
* Qual: Update comments from French to English
# Qual: Update comments from French to English
* Qual: Fix missing initialisations
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
2026-02-08 15:29:53 +01:00
Laurent Destailleur
f6ec5b44fe
CI
2026-02-08 14:51:11 +01:00
Laurent Destailleur
5c6bc657f4
CI
2026-02-08 12:58:22 +01:00
Laurent Destailleur
b82f488c54
Fix CI
2026-02-08 00:11:01 +01:00
MDW
4e8b6dc21d
Qual: Translate french 'avec' comments to English ( #37049 )
...
# Qual: Translate french 'avec' comments to English
2026-02-01 18:09:39 +01:00
MDW
c5582f5085
Qual: Translate French 'valeur' in comments to English ( #37051 )
2026-02-01 18:05:15 +01:00
Laurent Destailleur
f133fce841
Debug v23
2025-12-21 16:04:12 +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
Laurent Destailleur
38a7524846
Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into develop
2025-09-28 20:01:36 +02:00
ldestailleur
752e06f5fc
FIX #35520 FIX #35522
2025-09-28 15:21:20 +02:00
ldestailleur
4a363478ae
Clean code with rector
2025-09-18 16:26:38 +02:00
R0ck3n
6334fa5bea
NEW: Add prepare() method to DoliDB class (rebuild) ( #35249 )
...
* feat:prepared sql for mysqli and postgres
* refactor:remove whitespace
* Update DoliDB.class.php
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
2025-09-08 02:37:42 +02:00
ldestailleur
4e89f046d1
Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into 22.0
2025-09-01 16:47:39 +02:00
ldestailleur
bb0974add9
FIX Security when using feature Advanced Target of emailing (hidden in
...
v21, default in v22+). Possible SQL injection by users with permissions
to make mass emailing. Reported by Simon Perdrisat.
2025-09-01 16:38:01 +02:00
Marc de Lima Lucio
d5250eadeb
FIX: pgsql: cast string_agg arguments ( #34210 )
...
* FIX local taxes text in object line view mode (#34103 )
* FIX: product suplier tab: last modif date column was wrongly dependant of module barcode (#34170 )
* FIX: product suplier tab: last modif date column was wrongly dependant of module barcode
* FIX: product suplier tab: last modif date column was wrongly dependant of module barcode, part 2
* FIX: pgsql: cast string_agg arguments
* FIX: pgsql group concat conversion: modify tests as a consequence
---------
Co-authored-by: lvessiller-opendsi <lvessiller@open-dsi.fr >
2025-06-04 18:24:19 +02:00
ldestailleur
7b9b32cb9e
Debug pgsql DDLInfoTable
2025-03-25 21:32:28 +01:00
ldestailleur
3e24bbd419
Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop
2025-03-08 14:51:36 +01:00
ldestailleur
18a4224e5d
Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0
2025-03-08 14:51:04 +01:00
ldestailleur
c3401e5793
Fix typo in test
...
if class_exists('mysqli')
2025-03-08 14:17:34 +01:00
ldestailleur
07177fab0a
Fix join into implde
2025-03-07 13:15:01 +01:00
Faisal Azhar
b500efd6ff
Update pgsql.class.php - function num_rows ( #33358 )
...
to avoid error when $resultset = null or false
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
2025-03-06 18:14:50 +01:00
ldestailleur
9276042264
Fix CI
2025-03-06 11:34:27 +01:00
ldestailleur
7a0e9d4dc1
Accept utf8 chars in the natural_search in mode 3. Close #32930
2025-03-06 04:00:42 +01:00
ldestailleur
996770b8f2
Fix protect use of sanitize to make sql injection
2025-03-06 03:39:47 +01:00
ldestailleur
caead5de9f
Fix protect use of sanitize to make sql injection
2025-03-06 03:29:54 +01:00
MDW
32bf8c5cd5
Qual: Fix phan notices (website)
2025-02-27 11:40:42 +01:00
MDW
97099b854f
Qual: Fix phan notices (install)
2025-02-05 01:43:41 +01:00
MDW
f750f2c40c
Qual: Fix phan notices not seen locally
2025-02-03 16:06:01 +01:00
MDW
ba32606084
Fix return value for getListOfCollation()
2025-01-24 10:55:47 +01:00
Laurent Destailleur (aka Eldy)
113a59a135
Debug v21
2025-01-03 19:50:38 +01:00
Laurent Destailleur (aka Eldy)
f0ae6b999f
Debug v21
2025-01-03 15:55:05 +01:00
MDW
ec2a1928ba
Qual: Update fields phpdoc to include fields that are defined/used in some cases
...
# Qual: Update fields phpdoc to include fields that are defined/used in some cases
comment, copytoclipboard, autofocusoncreated are documented and used in some cases for the
$fields definition
2024-12-05 02:36:50 +01:00
Laurent Destailleur
bd170e0474
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
...
develop
2024-11-12 11:33:31 +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
b91c99b18a
Qual: Fix phan/phpstan notices in class files (part 3) ( #31578 )
...
* fix phpstan in conf class (#31630 )
* fix phpstan
* fix phan
* Fix merge
* Qual: Avoid notification with typing hint
* Qual: Fix notices link.class
* Qual: Fix notices link..socialneetworkmanager.class and DoliDb->DoliDB
* Qual: Fix notices for link..utils.class
* Qual: Fix notices for db classes
* Update translate.class.php
* Update translate.class.php
---------
Co-authored-by: Frédéric FRANCE <frederic34@users.noreply.github.com >
Co-authored-by: Laurent Destailleur <eldy@users.sourceforge.net >
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
2024-10-29 22:44:47 +01:00
Laurent Destailleur
e6f1d4835f
Clean sql code
2024-10-29 02:58:20 +01:00
Laurent Destailleur
df2211e9f2
Fix phan
2024-10-20 00:05:00 +02:00
Laurent Destailleur
4db9323706
Fix phan
2024-10-20 00:03:46 +02:00
Laurent Destailleur
88d0636dcc
Fix travis
2024-10-19 19:40:04 +02:00
Laurent Destailleur
c70973c0c8
Merge v20
2024-10-19 14:44:55 +02:00
Laurent Destailleur
c9ed9bb6eb
FIX Avoid fatal error when mysqli not available
2024-10-18 23:48:24 +02:00
Laurent Destailleur
471668b940
FIX Toolt to convert utf8mb4
2024-09-30 23:12:01 +02:00
Laurent Destailleur
4a3d081dca
FIX Toolt to convert utf8mb4
2024-09-30 23:11:31 +02:00
MDW
42bb4fbf3e
Qual: Enable & fix or ignore Invalid DimOffset ( #31176 )
...
* Qual: Enable & fix or ignore Invalid DimOffset
# Qual: Enable & fix or ignore Invalid DimOffset
The Invalid DimOffset notices occur when array keys are defined and
the index used is not amongst the known array keys.
This PR enables these notices and fixes array definitions when needed,
or ignores the notices locally if it's a false positive, or in the
baseline.txt when it does not seem to be a false positive so that
it can be fixed later
* Nullable object typing in function signature not ok for 7.0/8.4
Can't user '?User' as argument type for PHP7.0 which is required by PHP8.4.
Therefore, removing the typing specification in the function definition
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
2024-09-29 21:52:31 +02:00
Laurent Destailleur
96046c40a8
Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop
2024-09-27 16:13:39 +02:00
John BOTELLA
25754d87c9
FIX : FATAL ERROR abusively triggered due to incomplete regex ( #31052 )
...
* Fix regex detection
* New regular expression to include offset
2024-09-26 22:38:38 +02:00
Laurent Destailleur
3bf7bab967
Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop
2024-09-12 02:21:46 +02:00
Laurent Destailleur
a52963020d
Doc
2024-09-12 02:21:14 +02:00
Laurent Destailleur
b1ee18864f
Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop
2024-09-12 01:43:43 +02:00
Laurent Destailleur
cbf3cbfa1f
Better debug log
2024-09-12 01:33:58 +02:00