Commit graph

129682 commits

Author SHA1 Message Date
Laurent Destailleur
021fb83ec6 WIP SMSing 2024-02-03 17:57:12 +01:00
Laurent Destailleur
0dad676f16 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-02-03 14:53:51 +01:00
Lucas Marcouiller
45718a2a4d
Fix some phpstan warnings (#27884)
* Fix some phpstan warnongs

* fix CI

* fix

---------

Co-authored-by: Hystepik <lmarcouiller@nltechno.com>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-02-03 14:53:09 +01:00
William Mead
bcabb27c92
NEW supplier order submit method message (#27855)
* Added supplier order submit method to message. Added contributor details.

* Updated localization with supplier order submit method

* Adjusted order method presentation

* Update interface_50_modAgenda_ActionsAuto.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-02-03 14:50:56 +01:00
Laurent Destailleur
55281d3bb9 Fix phpstan 2024-02-03 14:45:14 +01:00
William Mead
c3882eb3a0
New intervention signed status data structure (#27856)
* Added intervention signed action trigger

* Added signed status bool

* Added intervention signed migration path

* Removed sign action trigger

* Changed signed to integer

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-02-03 14:41:49 +01:00
thomas-Ngr
f40b891cfe
NEW Develop new quick edit opportunity status (#27892)
* Add ability to quickly edit project status & percentage

* TEMP

* PHPstan checks
2024-02-03 14:39:59 +01:00
thibdrev
52182852fa
qual: phpstan for htdocs/comm/action/class/actioncommreminder.class.php (#27958)
htdocs/comm/action/class/actioncommreminder.class.php	46	PHPDoc type array of property ActionCommReminder::$ismultientitymanaged is not covariant with PHPDoc type int of overridden property CommonObject::$ismultientitymanaged.

htdocs/comm/action/class/actioncommreminder.class.php	46	Property ActionCommReminder::$ismultientitymanaged (array) does not accept default value of type int.
2024-02-03 14:38:56 +01:00
thibdrev
1804ba1433
qual: phpstan for htdocs/core/class/cunits.class.php (#27982)
* qual: phpstan for htdocs/core/class/cunits.class.php

htdocs/core/class/cunits.class.php	88	Property CommonDict::$active (int) does not accept string.

htdocs/core/class/cunits.class.php	415	Method CUnits::getUnitFromCode() should return int but returns string.

* qual: phpstan - Update functions.lib.php - dol_getIdFromCode()

* Update functions.lib.php
2024-02-03 14:38:36 +01:00
thibdrev
9aec1a41fe
qual: phpstan for htdocs/compta/paiement/class/cpaiement.class.php (#27981)
htdocs/compta/paiement/class/cpaiement.class.php	98	Property Cpaiement::$active (int) does not accept string.
htdocs/compta/paiement/class/cpaiement.class.php	253	Property Cpaiement::$active (int) does not accept string.
htdocs/compta/paiement/class/cpaiement.class.php	373	Property Cpaiement::$active (int) does not accept string.
2024-02-03 14:37:17 +01:00
UT from dolibit
d99a3d9f35
Update ChangeLog (#27980)
add => added

moved  "SEC:"  into  "For developers or integrators" section
2024-02-03 14:37:00 +01:00
Laurent Destailleur
283425bae5 WIP EMAILINGS_SUPPORT_ALSO_SMS 2024-02-03 13:24:33 +01:00
Laurent Destailleur
fc60d20d10 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-02-03 12:59:20 +01:00
Laurent Destailleur
cc1eefa0fe WIP SMSing 2024-02-03 12:58:57 +01:00
Laurent Destailleur
49c7a86b32 Debug v19 2024-02-03 12:58:48 +01:00
Lucas Marcouiller
e40b1f9292
Close #27777 : new massaction subscription creation (#27861)
* Close #27777 : new massaction subscription creation

* fix amount

* Add some fields in formquestion

---------

Co-authored-by: Hystepik <lmarcouiller@nltechno.com>
2024-02-03 12:37:29 +01:00
Frédéric FRANCE
12a7991c15
fix phpstan (#27978) 2024-02-03 12:36:29 +01:00
Yacine Ahmaich
1c780251ef
Fix: 'user_logo' in the user substitution array, it results in a <ErrorFileNotFound> error. (#27979)
This error is caused by not reading from the /photos directory where the profile image is stored alongside with thumbs.

Note: We use the small variant because its size makes it look perfect in the generated docs.
2024-02-03 12:36:15 +01:00
Laurent Destailleur
625084723c Fix $object 2024-02-03 12:34:59 +01:00
Laurent Destailleur
77a72e0012 Fix duplicate key 2024-02-03 12:29:25 +01:00
Laurent Destailleur
43da7fe8e5 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-02-03 12:22:37 +01:00
Laurent Destailleur
ba2c11c534 Fix duplicate translation key 2024-02-03 12:22:30 +01:00
Laurent Destailleur
f1ec8a0640 Fix duplicate translation key 2024-02-03 12:16:26 +01:00
Laurent Destailleur
19e4e86476 Fix duplicate translation key 2024-02-03 11:54:42 +01:00
Laurent Destailleur
e88965677e Clean code 2024-02-03 11:38:34 +01:00
Laurent Destailleur
c0417615b1 Remove useless files in web templates 2024-02-03 04:02:54 +01:00
Laurent Destailleur
ac59269d07 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-02-03 03:50:54 +01:00
Laurent Destailleur
ee37c2204c Fix langs 2024-02-03 03:50:34 +01:00
Laurent Destailleur
0fd7d724d4 Fix missing trans 2024-02-03 03:47:21 +01:00
thibdrev
a42c03b033
qual: Update fournisseur.facture.class.php - $vat_reverse_charge shall be int (not bool) (#27941)
see commit e62204d

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-02-03 03:41:24 +01:00
Frédéric FRANCE
a75e6032be
NEW api_thirdparties add and delete representatives (#27943)
* Update api_thirdparties.class.php

* Update api_thirdparties.class.php
2024-02-03 03:39:59 +01:00
Cédric A
aa5a09f621
FIX External user security issue in thirdparties (#27975)
* FIX External user security issue in thirdparties

An external user can create a third party or delete his own card when all rights are given to him.

* replace spaces by tabulations

* Useless !empty condition

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-02-03 03:39:20 +01:00
Laurent Destailleur
a639b1a447 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-02-03 03:37:09 +01:00
Laurent Destailleur
4c2149884c Qual: Introduce getDataToShowPhoto to prepare generic code 2024-02-03 03:35:28 +01:00
Lucas Marcouiller
c01b7e793c
Close #27774 new contact in project (#27947)
* Close  #27774 new contact in project

* add test to not show

* fix as advised

---------

Co-authored-by: Hystepik <lmarcouiller@nltechno.com>
2024-02-03 02:06:14 +01:00
Laurent Destailleur
2dfc8df648 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2024-02-03 02:02:46 +01:00
Laurent Destailleur
dc8154dd62 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-02-03 01:57:19 +01:00
Laurent Destailleur
d7524035b3 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2024-02-03 01:56:49 +01:00
Laurent Destailleur
eccc60056f Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-02-03 01:53:10 +01:00
Laurent Destailleur
e5d27ead40 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 18.0 2024-02-03 01:48:16 +01:00
Laurent Destailleur
5dbecd73a0 FIX #27970 #26283 #27970 2024-02-03 01:48:01 +01:00
Laurent Destailleur
428a1758ad Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-02-03 00:13:07 +01:00
Laurent Destailleur
c7a13ed975 Fix codespell 2024-02-03 00:12:55 +01:00
thibdrev
e0f6aca453
qual: phpstan for htdocs/categories/class/categorie.class.php (#27957)
htdocs/categories/class/categorie.class.php	389	Property Categorie::$type (string) does not accept int.
htdocs/categories/class/categorie.class.php	449	Property Categorie::$position (int) does not accept string.
2024-02-03 00:10:07 +01:00
thibdrev
e04ecb95e8
qual: phpstan for htdocs/comm/action/class/api_agendaevents.class.php (#27959)
htdocs/comm/action/class/api_agendaevents.class.php	273	Method AgendaEvents::put() should return int but returns object.

htdocs/comm/action/class/api_agendaevents.class.php	276	Method AgendaEvents::put() should return int but returns false.
2024-02-03 00:07:05 +01:00
thibdrev
3ee455681f
qual: phpstan for htdocs/comm/action/class/cactioncomm.class.php (#27960)
htdocs/comm/action/class/cactioncomm.class.php	360	Method CActionComm::getNomUrl() should return string but returns int.
2024-02-03 00:06:05 +01:00
thibdrev
3acab565aa
qual: phpdoc for htdocs/compta/paiement/class/paiement.class.php (#27962)
* qual: phpdoc for htdocs/compta/paiement/class/paiement.class.php

* phpcs
2024-02-03 00:05:48 +01:00
zeug-it
204a2cdf0c
FIX: Update expedition.class.php to add product width and height in addition to length (#27964)
* Update expedition.class.php to add product width and height

* Fix Lint errors

* Fix typo

* lint errors

* lint
2024-02-03 00:04:54 +01:00
thibdrev
c60c5dce4a
qual: phpstan for htdocs/product/class/productcustomerprice.class.php (#27966)
* qual: phpstan for htdocs/product/class/productcustomerprice.class.php

htdocs/product/class/productcustomerprice.class.php	102	PHPDoc type array of property ProductCustomerPrice::$lines is not covariant with PHPDoc type array of overridden property CommonObject::$lines.
htdocs/product/class/productcustomerprice.class.php	131	Property ProductCustomerPrice::$entity (int) does not accept string.
htdocs/product/class/productcustomerprice.class.php	134	Property ProductCustomerPrice::$fk_product (int) does not accept string.
htdocs/product/class/productcustomerprice.class.php	137	Property ProductCustomerPrice::$fk_soc (int) does not accept string.
htdocs/product/class/productcustomerprice.class.php	170	Property ProductCustomerPrice::$fk_user (int) does not accept string.
htdocs/product/class/productcustomerprice.class.php	609	Property ProductCustomerPrice::$entity (int) does not accept string.
htdocs/product/class/productcustomerprice.class.php	612	Property ProductCustomerPrice::$fk_product (int) does not accept string.
htdocs/product/class/productcustomerprice.class.php	615	Property ProductCustomerPrice::$fk_soc (int) does not accept string.
htdocs/product/class/productcustomerprice.class.php	648	Property ProductCustomerPrice::$fk_user (int) does not accept string.
htdocs/product/class/productcustomerprice.class.php	1010	Property ProductCustomerPrice::$entity (int) does not accept string.
htdocs/product/class/productcustomerprice.class.php	1013	Property ProductCustomerPrice::$fk_product (int) does not accept string.
htdocs/product/class/productcustomerprice.class.php	1014	Property ProductCustomerPrice::$fk_soc (int) does not accept string.
htdocs/product/class/productcustomerprice.class.php	1026	Property ProductCustomerPrice::$fk_user (int) does not accept string.

* typo
2024-02-03 00:03:51 +01:00
Laurent Destailleur
8cf72c137b Fix precommit 2024-02-03 00:02:00 +01:00