Commit graph

130764 commits

Author SHA1 Message Date
Laurent Destailleur
c181bbe2f2 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-03-04 18:34:05 +01:00
Laurent Destailleur
8528b3f363 Clean conf 2024-03-04 18:33:32 +01:00
MDW
b30dd4e707
Fix: Cache issue in windows-ci - add enableCrossOsArchive (#28607)
# Fix: Cache issue in windows-ci - add enableCrossOsArchive

There is an issue in actions/cache on windows and adding 'enableCrossOsArchive: true'
should fix it according to
https://github.com/actions/cache/issues/1275#issuecomment-1925217178
2024-03-04 18:28:24 +01:00
Frédéric FRANCE
44ce77dd37
fix phpstan (#28606) 2024-03-04 18:27:49 +01:00
Frédéric FRANCE
7090af2b51
fix phpstan (#28609)
* fix phpstan

* Update emailsenderprofile.class.php
2024-03-04 18:27:20 +01:00
MDW
6878a834a5
Fix: Remove extra space in translation key (#28611)
# Fix: Remove extra space in translation key

Fix the extra space in the key 'ImpossibleToContactAuthority' when calling trans.
2024-03-04 18:26:57 +01:00
Laurent Destailleur
e66e77e4a0 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-03-04 18:22:27 +01:00
Laurent Destailleur
1cf5f31355 Fix #28620 2024-03-04 18:15:21 +01:00
Frédéric FRANCE
47dfcf9bfc
clean code (#28616) 2024-03-04 18:13:32 +01:00
thomas-Ngr
cf7f40b739
new fetch() for classes Fournisseur and Client (#28621)
* New : introduce Fournisseur::fetch() and Client::fetch(). Add new parameters  and  to Societe::fetch()

* societe::fetch: both is_client and is_fournisseur false by default

* Simplify code
2024-03-04 18:11:50 +01:00
William Mead
f103278bb4
Qual phpstan cron card (#28626)
* Fixed unitfrequency type. Fixed localization.

* Cleaned code & comments. Added contributor details.
2024-03-04 18:08:07 +01:00
Laurent Destailleur
723b1b06e7 Debug v20 2024-03-04 18:06:55 +01:00
Frédéric FRANCE
21688a00dd
Update bookcalindex.php (#28615) 2024-03-04 18:00:31 +01:00
William Mead
29d87ec14a
Fixed lastresult type (#28628) 2024-03-04 17:58:21 +01:00
Laurent Destailleur
61dd78b95e Fix regression. Removed bad fixer. GETPOST(... int) is not GETPOSTINT 2024-03-04 17:49:43 +01:00
Laurent Destailleur
a2f5d6ad0b Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-03-04 14:47:25 +01:00
Laurent Destailleur
9f1393f6ea Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-03-04 14:46:54 +01:00
Laurent Destailleur
db7a62f644 FIX fatal error Unsupported operand types when recording load payment 2024-03-04 14:46:33 +01:00
Laurent Destailleur
0c86f64565 FIX permission on payment file of a tax 2024-03-04 14:03:46 +01:00
Laurent Destailleur
e82c6af5bc FIX permission on payment file of a tax 2024-03-04 14:03:17 +01:00
Laurent Destailleur
583480edbe FIX permission on payment file of a tax 2024-03-04 14:02:49 +01:00
Laurent Destailleur
fa0f5650dd Comment 2024-03-04 12:22:45 +01:00
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