Commit graph

133486 commits

Author SHA1 Message Date
Laurent Destailleur
059c69667c Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-02-19 09:59:57 +01:00
Laurent Destailleur
1ec1704de9 FIX Picto for mime 2024-02-19 09:58:42 +01:00
Laurent Destailleur
008b357825 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-02-19 09:57:34 +01:00
Laurent Destailleur
ced2c5abb1 Doc 2024-02-19 09:51:07 +01:00
atm-sami
aa068bd0a0
18.0 FIX multiplication error (#28266)
* add new hook context for mo production card

* remove consumed and produced line when we clone mo

* Fix multiplication error in actions_addupdatedelete.inc.php
2024-02-19 09:35:59 +01:00
Lenin Rivas
a84ee2f1fb
Contact phone mobile show Link to whatsapp (#28265)
* Contact phone mobile show Link to whatsapp

* Contact phone mobile with icon link to whatsapp

* Contact phone mobile show icon link to Whatsapp
2024-02-19 09:32:28 +01:00
William Mead
640774d554
Qual clean dolibarrtriggers (#27968)
* Moved property init to constructor

* Added VERSIONS constant

* Updated code comments

* Refactor to use switch statement

* Added contributor details

* Refactored to use VERSIONS constant

* Added method return & parameter types

* Added getter methods

* Clean code

* Remove runTrigger return type

* Refactored & cleaned code. Added contributor details.

* Refactored modulebuilder trigger interface

* Cleaned code

* Fixed runTrigger types

* Added changelog warning

* Fixed return type

* Fixed return type

* Fixed PHP 7.0 compatibility

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-02-18 23:54:01 +01:00
Laurent Destailleur
0ec6c6f0ea Fix use log instead of fatal error 2024-02-18 23:49:23 +01:00
MDW
cb382eabe1
Fix: PhanParamSignatureMismatch (#28143)
* Fix: PhanParamSignatureMismatch

# Fix: PhanParamSignatureMismatch

PhanDoc was updated to require specific types which changes the method signature
versus the parent.
This results in a signature mismatch.
Updated to maintain the method signature but dynamically check that
the object type is correct.

* Update pre-commit for php-cs
2024-02-18 23:46:30 +01:00
MDW
275d190a2a
Qual: Add verification on filters (dol_dir_list) (#28234)
# Qual: Add verification on filters (dol_dir_list)

As-is, '/' must be escaped in the regexes, this adds code to enforce
that requirement and avoid mistakes.

Even if the mathod using '{}' as delimiters is applied this check
could remain in place.

Also, returning empty array immediately - when the directory could
not be opened, closedir() can not be applied.
2024-02-18 23:44:35 +01:00
Mohamed DAOUD
d8b4d93478
New Manage name alias field in contact/address CRUD (#28255)
* manage alias field in contact address crud

* Update contact.class.php
2024-02-18 23:43:00 +01:00
Laurent Destailleur
c3ba74173a Fix phpstan 2024-02-18 23:42:00 +01:00
Laurent Destailleur
87c9fa1902 Fix phpunit 2024-02-18 23:23:57 +01:00
Laurent Destailleur
778e7364e6 Fix phpunit 2024-02-18 23:23:01 +01:00
Laurent Destailleur
9e804495fd Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-02-18 23:12:22 +01:00
Laurent Destailleur
a7686dafec Fix warning 2024-02-18 23:11:56 +01:00
Lucas Marcouiller
88232ff0fc
fix php warnings and errors (#28207)
Co-authored-by: Hystepik <lmarcouiller@nltechno.com>
2024-02-18 23:00:01 +01:00
Frédéric FRANCE
3a45d510ac
fix task.class.php (#28206)
* fix task.class.php

* Update list.php

* Update list.php
2024-02-18 22:58:37 +01:00
William Mead
0ad5f06059
Qual resource date user (#28209)
* Added resource creation date & modification date

* Added user create & user modify

* Cleaned code

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-02-18 22:58:17 +01:00
kkhelifa-opendsi
926462e218
FIX: Not trancate the multicurrency rate shown on cards (even if the global MAIN_MAX_DECIMALS_SHOWN is set to 0) (#28211) 2024-02-18 22:56:19 +01:00
sonikf
8ac2b0187a
Qual translation (#28256) 2024-02-18 22:51:43 +01:00
Laurent Destailleur
fad813b233 Avoid to show 2 times the substitution help link 2024-02-18 22:50:08 +01:00
Laurent Destailleur
685cdecca5 FIX Picto for mime 2024-02-18 22:39:31 +01:00
Laurent Destailleur
fe7f94e1d9 Debug v20 2024-02-18 22:23:26 +01:00
Laurent Destailleur
c95c16dda0 Comment 2024-02-18 22:20:50 +01:00
Laurent Destailleur
50b4e6f81a NEW Add a link "Fill with layout" 2024-02-18 21:15:26 +01:00
Laurent Destailleur
1c0068c248 Doc 2024-02-18 18:27:10 +01:00
Laurent Destailleur
7f32a49121 Fix tooltip 2024-02-18 18:26:40 +01:00
Laurent Destailleur
3c108a1e53 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-02-18 17:20:29 +01:00
Laurent Destailleur
9b288e349e Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-02-18 17:20:16 +01:00
Laurent Destailleur
e38e9618ac Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-02-18 17:14:03 +01:00
Laurent Destailleur
ebe68c9075 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0 2024-02-18 17:06:36 +01:00
Laurent Destailleur
b3720deda4 Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into 17.0 2024-02-18 17:05:11 +01:00
Laurent Destailleur
1a14c19cd2 Merge branch '15.0' of git@github.com:Dolibarr/dolibarr.git into 16.0 2024-02-18 17:03:18 +01:00
Laurent Destailleur
f9426f30a9 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 15.0 2024-02-18 17:02:55 +01:00
Laurent Destailleur
e6120d409f Clean code 2024-02-18 17:00:42 +01:00
MaximilienR-easya
05cf98fae8
Fix lost POST data when redirection after drag_n_drop an event inside the agenda (#28212) 2024-02-18 16:38:46 +01:00
William Mead
21752d7a4d
Fixed null dir_output (#28213) 2024-02-18 16:32:48 +01:00
thibdrev
d12b2d7ee6
qual: phpstan for htdocs/commande/card.php (#28215)
* Update commonobject.class.php

* Update card.php
2024-02-18 16:32:12 +01:00
Florian Mortgat
6e5fd5eb58
FIX: notification module: for supplier orders (any of the 3 triggers), user can choose an e-mail template in conf, but the conf is not used when sending the notification (#28216) 2024-02-18 16:31:12 +01:00
thibdrev
ad82fd9b11
qual: phpstan for htdocs/multicurrency/class/multicurrency.class.php (#28217)
htdocs/multicurrency/class/multicurrency.class.php	64	PHPDoc type mixed of property MultiCurrency::$id is not covariant with PHPDoc type int of overridden property CommonObject::$id.
htdocs/multicurrency/class/multicurrency.class.php	74	PHPDoc type mixed of property MultiCurrency::$name is not covariant with PHPDoc type string of overridden property CommonObject::$name.
htdocs/multicurrency/class/multicurrency.class.php	415	Property CurrencyRate::$rate (float) does not accept string.
htdocs/multicurrency/class/multicurrency.class.php	582	Method MultiCurrency::getAmountConversionFromInvoiceRate() should return bool|float but returns string.
htdocs/multicurrency/class/multicurrency.class.php	584	Method MultiCurrency::getAmountConversionFromInvoiceRate() should return bool|float but returns string.
htdocs/multicurrency/class/multicurrency.class.php	802	Property CurrencyRate::$rate (float) does not accept string.
htdocs/multicurrency/class/multicurrency.class.php	913	Property CurrencyRate::$rate (float) does not accept string.
2024-02-18 16:30:27 +01:00
Laurent Destailleur
15f08b3148 fix phpcs 2024-02-18 16:11:49 +01:00
Laurent Destailleur
f9e075a15b Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-02-18 15:46:07 +01:00
Laurent Destailleur
7c1cce7bf0 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2024-02-18 15:45:54 +01:00
Laurent Destailleur
0ae66f7ff2 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-02-18 15:41:28 +01:00
Laurent Destailleur
da9b9370bf Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-02-18 15:41:18 +01:00
HENRY Florian
8edebd56be
fix: Init bar code page must filter by entity (#28218)
* fix: Init bar code page must filter by entity

* missing one filter
2024-02-18 15:40:10 +01:00
Frédéric FRANCE
cb995b293d
add photos in category banner (#28221) 2024-02-18 15:39:42 +01:00
Frédéric FRANCE
6499c99202
fix public page (#28224)
* fic public page

* Update calendar.class.php

* Update calendar_list.php
2024-02-18 15:38:39 +01:00
Frédéric FRANCE
6a6e287428
fix admin contract (#28225)
* fix admin contract

* Update contract.php
2024-02-18 15:38:11 +01:00