Commit graph

133486 commits

Author SHA1 Message Date
Frédéric FRANCE
a094cf73c2
fix phpstan and phpdoc (#28596)
* fix phpstan

* fix phpstan

* fix phpstan
2024-03-03 16:00:13 +01:00
Laurent Destailleur
d721e64335 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-03-03 15:59:19 +01:00
MDW
71bb3a1275
Fix: Use accessible path for CategorieTest (#28600)
* Fix: Use accessible path for CategorieTest

# Fix: Use accessible path for CategorieTest

The test was using '/' (root of the filesystem) which was outside
the open_basedir paths.  Modified the path to the medias directory to allow the test to pass with open_basedir restriction in effect.

* Update CategorieTest.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-03-03 15:59:08 +01:00
Laurent Destailleur
51f6111519 Comment 2024-03-03 15:56:09 +01:00
Frédéric FRANCE
da3a24c3f3
fix phpstan (#28597)
* fix phpstan

* fix phpstan
2024-03-03 15:53:31 +01:00
PsyCrow
a26d81ad39
Patch 6 (#28593)
* css

* Fix #19404 FIX #22721

* Update facture.class.php

FIX  #22948

* Update facture.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@users.sourceforge.net>
2024-03-03 15:49:18 +01:00
Frédéric FRANCE
16319e5103
fix codespell (#28594) 2024-03-03 15:48:36 +01:00
Laurent Destailleur
d44fb6c87e Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-03-03 13:12:22 +01:00
Laurent Destailleur
21feee3bc8 FIX Better test on validity of compute field syntax with parenthesis 2024-03-03 13:11:54 +01:00
Frédéric FRANCE
2e6c2528cb
Merge branch 'develop' into patch-11 2024-03-02 20:46:29 +01:00
MDW
eb1f6be1e2
Qual: Add information from backtrace when mysql request fails. (#28583)
# Qual: Add information from backtrace when mysql request fails.

This helps locate the line that was responsible for the SQL request
2024-03-02 19:57:59 +01:00
Frédéric FRANCE
cc1199664c
fix default value is incompatible with type string (#28584) 2024-03-02 19:19:18 +01:00
Laurent Destailleur
f875201b46 Fix #19404 FIX #22721 2024-03-02 18:59:57 +01:00
Laurent Destailleur
4b2fb64b51 css 2024-03-02 18:34:40 +01:00
Frédéric FRANCE
fc99e96288
Merge branch 'develop' into patch-11 2024-03-02 17:07:33 +01:00
Laurent Destailleur
ff0eea8ce6 Removed field that are never filled 2024-03-02 16:56:04 +01:00
Laurent Destailleur
e12c235185 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-03-02 16:52:44 +01:00
Laurent Destailleur
fa27adec1b Clean trans 2024-03-02 16:52:12 +01:00
MDW
9fc7749b96
Qual: Show exception type in error detail on phpunit error (#28576)
# Qual: Show exception type in error detail on phpunit error

Knowing the exception type can be helpful - it's not reported in the
summary.
2024-03-02 16:38:53 +01:00
Frédéric FRANCE
fba15178eb
all initAsSpecimen return int (#28577)
* all initAsSpecimen return int

* all initAsSpecimen return int

* all initAsSpecimen return int
2024-03-02 16:38:35 +01:00
Frédéric FRANCE
074041d925
fix default value is incompatible with int (#28579) 2024-03-02 16:37:53 +01:00
Laurent Destailleur
717297ef29 FIX Wrong currency shown in TakePOS payment page 2024-03-02 14:49:27 +01:00
Laurent Destailleur
39458e7c31 Better error management 2024-03-02 14:30:51 +01:00
Laurent Destailleur
cb6c65183d Fix bad condition on project field 2024-03-02 13:53:10 +01:00
Laurent Destailleur
2044a133e9 Fix warning 2024-03-02 13:15:20 +01:00
Frédéric FRANCE
b5a7917e25
Merge branch 'develop' into patch-11 2024-03-02 13:05:00 +01:00
MDW
2a52a35dc1
Qual: Improve logging on phpunit error by limiting to new log lines (#28575)
# Qual: Improve logging on phpunit error by limiting to new log lines

Log only the new files since the start of the failed test within the limit
of the number of requested lines.

To do this, the log file size is recorded in setUp() to show only the data
beyond this limit on error.
2024-03-02 12:42:20 +01:00
Frédéric FRANCE
b131013c82
fix parameter of method is incompatible with type int (#28573)
fix parameter of method is incompatible with type int
2024-03-02 12:41:46 +01:00
Frédéric FRANCE
04749842b2
fix phpstan property does not accept string (#28574)
* fix phpstan property does not accept string

* fix phpstan property does not accept string
2024-03-02 12:41:12 +01:00
Frédéric FRANCE
b1f01b1e70
fix phpstan (#28571) 2024-03-02 12:40:59 +01:00
Frédéric FRANCE
99d7b76ba9
fix phpstan (#28568) 2024-03-02 12:40:25 +01:00
Frédéric FRANCE
39debebe27
fix phpstan (#28570) 2024-03-02 12:40:06 +01:00
Frédéric FRANCE
d0fe3c9a6b
fix phpstan (#28569)
* fix bad use of properties

* fix bad use of properties

* fix bad use of properties
2024-03-02 12:39:53 +01:00
Frédéric FRANCE
d0e6933b6d
fix phpstan (#28567) 2024-03-02 12:39:30 +01:00
Frédéric FRANCE
5a0f7e2d0f
Merge branch 'develop' into patch-11 2024-03-02 07:32:50 +01:00
Laurent Destailleur
239652647a Fix $db 2024-03-02 02:37:55 +01:00
Frédéric FRANCE
cfedfd3adb
Merge branch 'develop' into patch-11 2024-03-01 21:23:31 +01:00
Thomas C
595d735fee
NEW : Statistic page donation (#28463)
* v1 statistic page don

* add link

* fix phpstan

* fix

* fix

* Update index.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-03-01 21:17:52 +01:00
lamrani abdelwadoud
74ecd5c660
FIX return method DeleteLine in api_boms file (#28471)
* FIX return method DeleteLine in api_boms file

* update type of return in deleteLine method
2024-03-01 21:13:40 +01:00
lamrani abdelwadoud
7b92c9912b
Fix return type by adding string in select_comptes method (#28496)
* Fix return type by addin string in select_comptes method

* update return doc for method

* Update html.form.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-03-01 21:13:12 +01:00
lamrani abdelwadoud
94b9686db5
Fix type of variable in api_invoices (#28474)
* Fix type of variable in api_invoices

* remove coma

* replace strtotime

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-03-01 21:02:35 +01:00
lamrani abdelwadoud
dd7be6c932
Fix return type string instead of int (#28499)
* Fix return type string instead of int

* update doc method for return
2024-03-01 21:00:49 +01:00
Laurent Destailleur
6917b1046b Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-03-01 20:55:41 +01:00
Laurent Destailleur
19a22f6b6d Fix #28509 2024-03-01 20:55:31 +01:00
lamrani abdelwadoud
351ea07229
Fix return type when output is 1 (#28501)
* Fix return type when output is 1

* update doc method
2024-03-01 20:49:23 +01:00
lamrani abdelwadoud
389d582846
Fix return in deleteLine and cast a variable to string (#28558) 2024-03-01 20:48:52 +01:00
lamrani abdelwadoud
262f5ffd21
change assignement type to int (#28561) 2024-03-01 20:48:14 +01:00
lamrani abdelwadoud
e0c161e4c2
fix assigne variable (#28559)
* fix assigne variable

* Update paiement.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-03-01 20:47:47 +01:00
lamrani abdelwadoud
e39070af37
Fix return type by changin boot to string (#28557) 2024-03-01 20:41:16 +01:00
MDW
7e8b45f287
Qual: Improve PhpUnit logging in case of error. (#28562)
# Qual: Improve PhpUnit logging in case of error.

- Log exception message with extra log information.
- Do not output markers for dolibarr.log if no log lines should be shown.
- Use GitHub action style prefixes to group messages
2024-03-01 20:39:52 +01:00