Commit Graph

14550 Commits

Author SHA1 Message Date
MDW
f70c945931 Qual: Fix phan/stan notices (#31271)
# Qual: Fix phan/stan notices in relation with UnknownObjectMethodCall

Fix notices in classes with UnknownObjectMethodCall notices or classes
related with these.
2024-10-05 18:55:36 +02:00
Laurent Destailleur
916a906d9b Enhance the csvclean to support the charset encoding 2024-10-05 14:51:45 +02:00
Mohamed DAOUD
4a7ad31f85 NEW Stars Field for Module Builder (#31216)
* stars field for modulebuilder

* Update commonobject.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-10-04 18:37:41 +02:00
Laurent Destailleur
3de47bc129 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-10-04 11:48:52 +02:00
sonikf
c5587519f0 NEW: PDF Add option to print rounded corner frames (#31172)
* NEW: Add option to enable PDF frame rounded corners

* NEW: function printRoundedRect

* NEW PDF frame rounded corners

* New add rounded corners in frames

* New add rounded corners in frames

* Update admin.lang

* fix incoterm frame height

* Update pdf_sponge.modules.php

* fix pre-commit

* fix pre-commit

* fix php-stan (8.2)

* New add rounded corners in frames

* New add rounded corners in frames

* New add rounded corners in frames

* fix phan php-stan (8.2) declare property

* New add rounded corners in frames

* New add rounded corners in frames

* add phpdoc for corner radius

* New add rounded corners in frames

* New add rounded corners in frames

* New add rounded corners in frames

* fix php-stan (8.2)

* New add rounded corners in frames

* New add rounded corners in frames

* New add rounded corners in frames

* New add rounded corners in frames

* New add rounded corners in frames

* fix whitespace

* New add rounded corners in frames

* New add rounded corners in frames

* New add rounded corners in frames

* New add rounded corners in frames

* New add rounded corners in frames

* New add rounded corners in frames

* New add rounded corners in frames

* New add rounded corners in frames

* New add rounded corners in frames

* New add rounded corners in frames

* New add rounded corners in frames

* New add rounded corners in frames

* New add rounded corners in frames

* New add rounded corners in frames

* New add rounded corners in frames

* New add rounded corners in frames

* New add rounded corners in frames

* New add rounded corners in frames

* New add rounded corners in frames

* New add rounded corners in frames

* New add rounded corners in frames

* New add rounded corners in frames

* New add rounded corners in frames

* fix pre-commit empty line

* fix phan php-stan (8.2)

* fix phan php-stan (8.2)

* fix Travis

* fix title color

* fix title color

* fix title color

* fix title color

* fix title color

* fix title color

* fix title color

* fix title color

* fix title color

* fix title color

* fix title color

* fix title color

* fix title color

* fix title color

* fix title color

* fix title color

* fix title color

* fix title color

* fix title color

* fix title color

* fix phan

* fix phan

* fix phan

* fix phan

* fix phan phpdoc

* fix pre-commit

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-10-04 09:13:44 +02:00
Laurent Destailleur
e09d9df3ee QUAL Move function csvClean into functions2.lib.php 2024-10-03 21:36:39 +02:00
MDW
1834c37c16 Qual: Fix phan notices (#31212)
* Qual: Fix phan notices

# Qual: Fix phan notices

Fix several phan notices related to classes with UnknownObject
classes.

* Qual: Fix phan notices

* Qual: Fix phan notices

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-10-03 19:40:34 +02:00
MDW
2d0b1de36f Qual: Add codespell entries to catch some css typos (#31222)
# Qual: Add codespell entries to catch some css typos

Added some codespell entries based on the observed typos in css
tags
2024-10-03 19:36:59 +02:00
Laurent Destailleur
94173c9a9a Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2024-10-03 15:51:55 +02:00
Laurent Destailleur
42471decac Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-10-03 15:50:44 +02:00
Frédéric FRANCE
7d36fe0715 fix typo phan and Co 💊 (#31214)
* fix typo

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* translation missing

* test win mariadb version

* test win mariadb version

* phpdoc

* phpdoc

* phpdoc
2024-10-03 15:43:04 +02:00
Laurent Destailleur
e1a2435d96 css 2024-10-03 15:16:48 +02:00
Laurent Destailleur
2c4e4a57a8 Clean code 2024-10-03 12:35:06 +02:00
Laurent Destailleur
ee11342fb4 css 2024-10-03 10:52:55 +02:00
Laurent Destailleur
c955ab06e7 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-10-03 01:07:09 +02:00
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