Commit graph

151292 commits

Author SHA1 Message Date
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
lamrani abdelwadoud
b943034622
FIX return in method put on api_ticket (#28563)
* FIX return in method put on api_ticket

* Update api_tickets.class.php

* Update api_tickets.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-03-01 20:38:27 +01:00
Laurent Destailleur
1d86c88c38 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-03-01 20:27:55 +01:00
Laurent Destailleur
7d2928fe1f Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-03-01 20:20:00 +01:00
Laurent Destailleur
b870a84d8a FIX #28564 2024-03-01 20:19:37 +01:00
Laurent Destailleur
4279478acd Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2024-03-01 19:40:36 +01:00
Laurent Destailleur
6e7263a047
Revert "FIX #28533 Mo::deleteLine removes the "main" MoLine if consumed line …" (#28564)
This reverts commit c069f3f161.
2024-03-01 19:25:06 +01:00
Laurent Destailleur
4e78d4e007 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-03-01 19:05:58 +01:00
Laurent Destailleur
47861abb48 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-03-01 19:05:46 +01:00
Laurent Destailleur
7964f831e9 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 18.0 2024-03-01 19:02:31 +01:00
Laurent Destailleur
aaae1aad67 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0 2024-03-01 19:02:16 +01:00
Laurent Destailleur
ce4dc610ed Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 17.0 2024-03-01 19:01:13 +01:00
Laurent Destailleur
615a80835a Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into 17.0 2024-03-01 19:00:32 +01:00
Delthair
9ab1f56f83
Update expensereport.lib.php (#28553)
ISSUE #28552
2024-03-01 18:49:37 +01:00
Frédéric FRANCE
c1fc2bd9aa
NEW Api can force invoice ref (#28547) 2024-03-01 18:48:11 +01:00
Sébastien NASSIET
3ac149af81
Limite la liste des fournisseurs aux fournisseurs actifs (#28556) 2024-03-01 18:47:06 +01:00
Laurent Destailleur
07a5a8f7dd Fix bad filter propagated 2024-03-01 18:46:27 +01:00
Laurent Destailleur
1b1edaf0a6 php syntax 2024-03-01 18:40:48 +01:00
atm-adrien
de76330aae
FIX : Adding the dependencies list feature for extrafields "select" (#28549)
* FIX : Adding thez dependencies list feature for select fields

* FIX : Adding some spaces

* FIX : View
2024-03-01 18:39:32 +01:00