Commit graph

133486 commits

Author SHA1 Message Date
Laurent Destailleur
ba1c299ab1 Move rights->x->y into hasRight('x', 'y') 2024-02-04 14:00:52 +01:00
Laurent Destailleur
8592db0729 Move rights->x->y into hasRight('x', 'y') 2024-02-04 13:54:55 +01:00
Laurent Destailleur
8710e0b235 Move rights->x->y into hasRight('x', 'y') 2024-02-04 13:28:57 +01:00
Laurent Destailleur
9c7294aa81 Move rights->x->y into hasRight('x', 'y') 2024-02-04 13:25:20 +01:00
Laurent Destailleur
840d73a471 Move rights->x->y into hasRight('x', 'y') 2024-02-04 13:17:48 +01:00
Laurent Destailleur
fe8dde5c7d Move rights->x->y into hasRight('x', 'y') 2024-02-04 12:59:24 +01:00
Laurent Destailleur
cc6ede674f Move rights->x->y into hasRight('x', 'y') 2024-02-04 12:39:17 +01:00
Laurent Destailleur
4b884f03ee Clean code 2024-02-04 12:14:15 +01:00
Laurent Destailleur
fd53b05ac2 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-02-04 11:39:43 +01:00
Laurent Destailleur
c82869b686 Debug the "validate" feature 2024-02-03 21:11:35 +01:00
Laurent Destailleur
f9a1e7b9f4 Debug v19 2024-02-03 20:43:42 +01:00
thibdrev
dd56ea3cb7
qual: phpstan for htdocs/core/class/openid.class.php (#27984)
htdocs/core/class/openid.class.php	379	Method SimpleOpenID::GetOpenIDServer() should return string but returns false.
htdocs/core/class/openid.class.php	525	Method SimpleOpenID::sendDiscoveryRequestToGetXRDS() should return string but returns false.
2024-02-03 18:15:55 +01:00
thibdrev
e8d026da72
qual: phpdoc Update various mod_xxx.php (#27983)
* Update mod_stocktransfer_advanced.php

* Update mod_stocktransfer_standard.php

* Update mod_facture_fournisseur_cactus.php

* Update mod_facture_fournisseur_tulip.php

* Update mod_commande_fournisseur_orchidee.php

* Update mod_supplier_payment_brodator.php

* Update mod_supplier_payment_bronan.php

* Update mod_supplier_proposal_marbre.php

* Update mod_supplier_proposal_saphir.php

* Update mod_takepos_ref_universal.php

* Update mod_ticket_universal.php

* Update mod_workstation_advanced.php

* Update mod_workstation_standard.php

* Update mod_knowledgerecord_advanced.php

* Update mod_knowledgerecord_standard.php

* Update mod_myobject_advanced.php

* Update mod_myobject_standard.php

* Update mod_partnership_advanced.php

* Update mod_recruitmentcandidature_advanced.php

* Update mod_recruitmentcandidature_standard.php

* Update mod_recruitmentjobposition_advanced.php

* Update mod_recruitmentjobposition_standard.php

* Update mod_partnership_standard.php

* Update mod_stocktransfer_standard.php

* Update mod_supplier_payment_brodator.php

* Update mod_myobject_standard.php
2024-02-03 18:15:37 +01:00
Laurent Destailleur
021fb83ec6 WIP SMSing 2024-02-03 17:57:12 +01:00
Laurent Destailleur
d8a3508cbe Debug v19 2024-02-03 17:26:10 +01:00
Laurent Destailleur
fe0b321d10 Debug v19 2024-02-03 16:23:30 +01:00
Laurent Destailleur
4aeda8d28d Fix escapeforlike/escape 2024-02-03 15:29:40 +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
ce63c161cc Fix field name 2024-02-03 13:25:43 +01:00
Laurent Destailleur
283425bae5 WIP EMAILINGS_SUPPORT_ALSO_SMS 2024-02-03 13:24:33 +01:00
Laurent Destailleur
a3d0fbd279 Debug v19 2024-02-03 13:00:10 +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