Commit Graph

14332 Commits

Author SHA1 Message Date
Laurent Destailleur
52616db1b7 Fix mutitenant MS oauth refresh 2024-10-03 01:06:44 +02:00
Laurent Destailleur
fb6601e0da better error message 2024-10-03 00:05:59 +02:00
Laurent Destailleur
30c3ffa9dd Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-10-02 21:43:15 +02:00
Laurent Destailleur
50d2613124 Fix use of OAUTH for SMTP use with Microsoft 2024-10-02 21:25:21 +02:00
Laurent Destailleur
f57b4f26b4 Look and feel v21 2024-10-01 03:41:55 +02:00
Laurent Destailleur
79892e79e5 Removed init of context here. Contet must be initialized by parent
caller. You already can use 'globalcard' or 'main' for example...
2024-09-30 10:21:41 +02:00
Aloïs Micard
3da76f9536 Add a new hook into CommonObject#commonReplaceThirdparty (#30827) 2024-09-30 10:19:35 +02:00
MDW
8236aed22f Qual: Fix phan notices (#31193)
# Qual: Fix phan notices

Fix phan notices in several classes that have UnknownObjectMethod calls and classes
that had notices in relation with these classes
2024-09-30 10:05:24 +02:00
Laurent Destailleur
1754ee61d5 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-09-29 22:49:02 +02:00
Laurent Destailleur
9eed19578a Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2024-09-29 22:42:49 +02:00
Laurent Destailleur
399a752c78 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-09-29 22:42:13 +02:00
Laurent Destailleur
97eacefa6b Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0 2024-09-29 22:41:54 +02:00
Laurent Destailleur
f5fbbcfcb8 Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into 17.0 2024-09-29 22:40:45 +02:00
Frédéric FRANCE
4690f4aadb fix phpstan (#31192)
* fix phpstan

* fix phpstan
2024-09-29 22:33:33 +02:00
Frédéric FRANCE
d30d8b5201 fix phpstan (#31191)
* fix phpstan

* fix phpstan

* fix phpstan
2024-09-29 22:32:34 +02:00
MDW
42bb4fbf3e Qual: Enable & fix or ignore Invalid DimOffset (#31176)
* Qual: Enable & fix or ignore Invalid DimOffset

# Qual: Enable & fix or ignore Invalid DimOffset

The Invalid DimOffset notices occur when array keys are defined and
the index used is not amongst the known array keys.

This PR enables these notices and fixes array definitions when needed,
or ignores the notices locally if it's a false positive, or in the
baseline.txt when it does not seem to be a false positive so that
it can be fixed later

* Nullable object typing in function signature not ok for 7.0/8.4

Can't user '?User' as argument type for PHP7.0 which is required by PHP8.4.
Therefore, removing the typing specification in the function definition

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-09-29 21:52:31 +02:00
Frédéric FRANCE
138ffa3158 fix phpstan (#31181)
* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan
2024-09-29 21:49:52 +02:00
Laurent Destailleur
c8d86f8a56 FIX List of payment must be visible event they exists even if total=0 2024-09-29 20:32:09 +02:00
Laurent Destailleur
deda809dca FIX amount of payment in getListOfPayments for multicurrency mode 2024-09-29 20:16:41 +02:00
Laurent Destailleur
aa7db1adf6 Doc 2024-09-29 15:29:24 +02:00
Florian Mortgat
231fc6ce70 FIX: if you call fetchLines several times, your $object->lines contains duplicates (#31167) 2024-09-29 15:27:24 +02:00
Laurent Destailleur
9e897b9dc6 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-09-29 15:23:50 +02:00
Laurent Destailleur
48034bd031 WIP IPN for charge.dispute.funds_withdrawn 2024-09-29 15:23:24 +02:00
Frédéric FRANCE
d154af4e41 fix phpstan (#31180)
* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-09-29 13:03:58 +02:00
Laurent Destailleur
885be61dbd Fix phan 2024-09-29 13:02:44 +02:00
Frédéric FRANCE
0a9142661f add phpdoc (#31175)
* add phpdoc

* add phpdoc

* add phpdoc

* add phpdoc

* fix broken doc

* fix broken doc

* fix

* fix

* fix

* fix

* fix

* fix
2024-09-29 03:10:45 +02:00
Laurent Destailleur
aa2f82531c Fix phpdoc 2024-09-29 03:08:29 +02:00
Laurent Destailleur
35ba9eed75 css 2024-09-28 18:52:26 +02:00
Laurent Destailleur
b69ae93f8d Prepare refactoring 2024-09-28 18:45:09 +02:00
Laurent Destailleur
6243891bb4 NEW Can link an object to another using the ref. Close #31001 2024-09-28 18:28:06 +02:00
Laurent Destailleur
b327e73ade NEW Can link an object to another using the ref. Close #31001 2024-09-28 18:24:58 +02:00
Laurent Destailleur
862ce222d9 Close #31001 2024-09-28 18:18:25 +02:00
Laurent Destailleur
f086d9ee3e QUAL Standardize name of user cookies 2024-09-28 15:18:46 +02:00
Laurent Destailleur
5f21a3a4e3 NEW The margin section can now be shown/hidden 2024-09-28 15:10:28 +02:00
Laurent Destailleur
9d275a3c8c Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-09-28 13:06:18 +02:00
Laurent Destailleur
90f49fbd83 Try more complete fix for #31117 2024-09-28 13:05:24 +02:00
MDW
0da4d51003 Qual: Fix multiple phan notifications (#31151)
* Qual: Fix notifications multiple files

# Qual: Fix notifications multiple files

Fixes to files with UnknownObject notices, fixing other
notices in these files as well

* Improve boxes typing

* Qual: Extend accepted types to reduce notices

* Fix type for GET/POST arguments of GETPOST* calls
2024-09-28 12:09:35 +02:00
Frédéric FRANCE
752eaea64e fix phpstan (#31161)
* fix phpstan

* fix phpstan
2024-09-28 11:16:05 +02:00
Frédéric FRANCE
affdfd304f rename get_allprev_progress to getAllPrevProgress (#30077)
* fix phpstan

* fix phpstan

* add token

* fix

* add replace

* Update facture.class.php

* Update factureligne.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-09-28 11:10:57 +02:00
daraelmin
73c2c2bdcc NEW hidden option MAIN_TE_PRIVATE_FIRST_AND_LASTNAME_TO_UPPER (#31143)
* NEW hidden option MAIN_TE_PRIVATE_FIRST_AND_LASTNAME_TO_UPPER

Hidden option to force the formatting of third-party “natural person” names as follows: First Name LAST NAME

* FIX Tabs must be used to indent lines; spaces are not allowed
2024-09-27 01:45:01 +02:00
MDW
c62e015410 Qual: Fix (propal|facture|contrat|fichinter)/card, commonobject, files.lib/card_presend.tpl (#31087)
# Qual: Fix (propal|facture|contrat|fichinter)/card, commonobject, files.lib/card_presend.tpl

Fix phan notices in these files

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-09-26 23:01:02 +02:00
Laurent Destailleur
fbc5dd4822 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-09-26 19:36:09 +02:00
Laurent Destailleur
f3c4686805 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2024-09-26 19:22:30 +02:00
Laurent Destailleur
cc80841a2e Complete #31031 2024-09-26 18:00:37 +02:00
Nicolas Domenech
63c775c614 Fix: PHP 8 warning on showOptionals on extrafields type int (#31139) 2024-09-26 16:08:59 +02:00
Laurent Destailleur
a61fba7e53 FIX Protection to avoid an extrafield to be mandatory if computed 2024-09-26 13:28:15 +02:00
Laurent Destailleur
d77eca294f FIX Protection to avoid an extrafield to be mandatory if computed 2024-09-26 13:26:54 +02:00
Laurent Destailleur
c0a63855f3 QUAL: Edition of currency is shared in a common tpl file 2024-09-26 12:22:03 +02:00
Laurent Destailleur
ae2ceccc5b Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2024-09-26 03:44:09 +02:00
Laurent Destailleur
9dc1c6f8f4 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-09-26 03:38:49 +02:00