Commit graph

130742 commits

Author SHA1 Message Date
Laurent Destailleur
0f295fb09d Fix regression with GETPOSTINT, not same than GETPOST(..., 'int') 2024-03-04 11:00:21 +01:00
Laurent Destailleur
67d637554c Fix regression with GETPOSTINT, not same than GETPOST(..., 'int') 2024-03-04 10:55:52 +01:00
Laurent Destailleur
63ef1b6c1f Fix regression with GETPOSTINT, not same than GETPOST(..., 'int') 2024-03-04 10:41:46 +01:00
Laurent Destailleur
12c7e4e2ec css 2024-03-04 09:26:59 +01:00
Laurent Destailleur
5c4ba8c177 CSS 2024-03-04 09:25:58 +01:00
Laurent Destailleur
581378f24d css 2024-03-03 21:14:49 +01:00
Laurent Destailleur
b2fd10e8f8 Fix status 2024-03-03 21:12:11 +01:00
Laurent Destailleur
1c286825ac Fix default filter 2024-03-03 21:10:31 +01:00
Laurent Destailleur
8930bf83a9 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-03-03 20:59:45 +01:00
Laurent Destailleur
301bec664a Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2024-03-03 19:59:34 +01:00
Laurent Destailleur
1e00cf34d4 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-03-03 19:50:22 +01:00
Laurent Destailleur
17ff0972ab Fix use of invoke into computed fields 2024-03-03 19:35:37 +01:00
Frédéric FRANCE
6f58a45220
fix phpstan (#28605)
* fix phpstan

* fix phpstan

* fix too few parameters

* fix typo

* ActionComm::$ref is not covariant with PHPDoc type string

* fix default values
2024-03-03 18:55:30 +01:00
Laurent Destailleur
af6a091ab2 Fix 19.0.1 2024-03-03 18:55:10 +01:00
Laurent Destailleur
d199b042b4 Prepare 19.0.1 2024-03-03 18:50:28 +01:00
Laurent Destailleur
7b897ae27d Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-03-03 18:41:49 +01:00
MDW
1e41588cfe
Fix: Improve cache key generation for windows-ci (#28602)
# Fix: Improve cache key generation for windows-ci

Caches did not restore as expected.  This change attemps to fix it.
2024-03-03 18:40:30 +01:00
Frédéric FRANCE
f5c0cfcf6b
fix phpstan (#28588) 2024-03-03 17:09:55 +01:00
Frédéric FRANCE
e1b3a639c4
fix phpstan default value is incompatible with type string (#28592) 2024-03-03 17:09:24 +01:00
MDW
e2fba5d03f
Qual: FactureTest - use assertions rather than dying in the setup. (#28585)
# Qual: FactureTest - use assertions rather than dying in the setup.

The 'die()' instructions have been replaced - not all tests should fail
because the preconditions for a test case are not met.
2024-03-03 17:08:57 +01:00
Cédric A
9e1cfb7c52
FIX issue #23022 (#28590)
* FIX issue #23022

* no longer necessary

* no longer necessary

* no longer necessary

* no longer necessary

* no longer necessary

* no longer necessary

* no longer necessary
2024-03-03 17:07:58 +01:00
MDW
faf00c35e3
Fix: Skip UtilsTest on windows where ls is not available (#28601)
# Fix: Skip UtilsTest on windows where ls is not available

The test in question uses 'ls' which is not available on windows.
This change limits the execution to non windows systems.
2024-03-03 17:01:17 +01:00
Frédéric FRANCE
3663b9b305
fix phpstan (#28589)
* fix phpstan

* Update functions.lib.php
2024-03-03 17:00:06 +01:00
PsyCrow
41bdcff4da
Update facture.class.php (#28591)
* Update facture.class.php

FIX  #22948

* Update facture.class.php
2024-03-03 16:58:52 +01:00
Laurent Destailleur
40f98d529e Fix phpcs 2024-03-03 16:58:03 +01:00
Laurent Destailleur
e865a8b171 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-03-03 16:57:31 +01:00
MDW
9c3a375839
Fix: Use accessible temporarypath for CMailFileTest (#28599)
# Fix: Use accessible temporarypath for CMailFileTest

'/tmp' does not exist on all systems and is subject to open_basedir
restrictions.  Selected another temporary path for the test.
2024-03-03 16:56:12 +01:00
Frédéric FRANCE
8b75667819
fix phpstan $amounts (array) does not accept array (#28603)
* fix phpstan $amounts (array) does not accept array

* fix phpstan $amounts (array) does not accept array
2024-03-03 16:52:02 +01:00
Frédéric FRANCE
b518bb0c9a
fix phpstan (#28604) 2024-03-03 16:51:16 +01:00
Laurent Destailleur
5714ff8b16 Fix regression in dol_dir_list() 2024-03-03 16:31:22 +01:00
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
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
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