Commit Graph

9461 Commits

Author SHA1 Message Date
Laurent Destailleur
2d9399d0db Fix phan 2024-10-03 15:47:03 +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
2c4e4a57a8 Clean code 2024-10-03 12:35:06 +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
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
b87b0b92b8 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-10-02 17:31:42 +02:00
Laurent Destailleur
4361da7e2b Fix responsive 2024-10-02 11:04:04 +02:00
Laurent Destailleur
83cf2c8c57 FIX OAuth generation of token for Microsoft, Stripe and Generic 2024-10-01 21:53:45 +02:00
Laurent Destailleur
6b2fa56d52 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-10-01 15:01:18 +02:00
Laurent Destailleur
075d0dee3c FIX Selection of country - state in resource 2024-10-01 14:27:45 +02:00
Laurent Destailleur
925f3cd8bb Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-10-01 13:35:43 +02:00
Laurent Destailleur
072b3e7022 Fix empty value on combo to select types 2024-10-01 12:29:59 +02:00
Laurent Destailleur
23b138ddd0 Better readability of message 2024-10-01 10:52:59 +02:00
Laurent Destailleur
1e14b3b012 Typo 2024-10-01 10:47:06 +02:00
Laurent Destailleur
0dee5ee8b2 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-10-01 10:20:35 +02:00
Laurent Destailleur
acf002e7f7 Fix phpunit 2024-10-01 10:20:05 +02:00
Laurent Destailleur
7db2cf1c64 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-10-01 10:09:27 +02:00
Laurent Destailleur
d10f69226f Fix phpunit 2024-10-01 10:08:16 +02:00
Laurent Destailleur
764c97765a css 2024-10-01 03:43:27 +02:00
Laurent Destailleur
f57b4f26b4 Look and feel v21 2024-10-01 03:41:55 +02:00
Laurent Destailleur
471668b940 FIX Toolt to convert utf8mb4 2024-09-30 23:12:01 +02:00
Laurent Destailleur
4a3d081dca FIX Toolt to convert utf8mb4 2024-09-30 23:11:31 +02:00
Laurent Destailleur
b5c6ead33b FIX Tool to convert into utf8 2024-09-30 20:24:03 +02:00
Laurent Destailleur
048072d3db FIX Tool to convert into utf8 2024-09-30 20:23:27 +02:00
Laurent Destailleur
2c518be378 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-09-30 20:10:47 +02:00
Laurent Destailleur
f36dc403bc Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2024-09-30 20:08:39 +02:00
Laurent Destailleur
f25e1c5b2b Add info to help debug collation pb 2024-09-30 20:05:31 +02:00
Laurent Destailleur
cdbcd7df58 FIX tool to convert into utf8mb4 2024-09-30 19:50:39 +02:00
Laurent Destailleur
6f7b0c1815 NeW Can add the info messages (error, waring...) at the top of the stack 2024-09-30 14:30:28 +02:00
lamrani abdelwadoud
0ec1d2b750 Add token oauth for social network (#30813)
* Add token oauth for social network

* Fix phpstan errors

* Fix phpstan errors

* variable undeclared and phan errors

* variable undeclared and phan errors

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-09-29 22:36:08 +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
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
Frédéric FRANCE
0e1292e253 fix phpstan (#31177)
* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan
2024-09-29 02:49:34 +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
Laurent Destailleur
84183adaaa WIP Captcha 2024-09-27 19:31:28 +02:00
lamrani abdelwadoud
5c43f600ef New function for Hide other params when choose Oauth (#31108)
* Add token oauth for social network

* Fix phpstan errors

* Fix phpstan errors

* variable undeclared and phan errors

* variable undeclared and phan errors

* reformat script and add function for hide other params

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-09-26 22:33:22 +02:00
Frédéric FRANCE
c4074310bb fix phpstan (#31147)
Variable $optioncss in isset() always exists and is not nullable.
2024-09-26 22:23:08 +02:00
lamrani abdelwadoud
c4ffa090b2 New redirect when deploy module (#31109)
* New redirect when deploy module

* initialize variable

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-09-26 17:43:23 +02:00
MDW
ec07381f2c Qual: More specific ignoreErrors for phpstan (#31113)
* Qual: More specific ignoreErrors for phpstan

# Qual: More specific ignoreErrors for phpstan

More specific ignore expressions helps identify new exceptions that
would have matched the more generic ignore expressions.

It also helps to progressively solve phpstan notices
in smaller steps by modifying the expressions

* CamelCase for dictFieldList

* Update phan baseline
2024-09-26 17:42:40 +02:00
Laurent Destailleur
f966523f79 Restore default pdf format to default 2024-09-26 04:37:44 +02:00
Laurent Destailleur
bb1b2e9452 Fix phan 2024-09-25 23:52:19 +02:00
Laurent Destailleur
b32225283d Merge branch '20.0' of github.com:Dolibarr/dolibarr into develop 2024-09-25 22:32:36 +02:00
Frédéric FRANCE
a94cff63a7 fix phpstan (#31102)
* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan
2024-09-25 22:21:31 +02:00
Laurent Destailleur
59dadd88a3 FIX Duplicate trigger printFieldPreListTitle 2024-09-25 13:43:11 +02:00
Laurent Destailleur
6bd128071b NEW Default PDF format is PDF/A-3 2024-09-25 12:48:23 +02:00
sonikf
0e590151a0 fix #31089 (#31092) 2024-09-23 15:01:53 +02:00
Frédéric FRANCE
000173c7b9 fix phpstan (#31075)
* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-09-23 01:59:14 +02:00
MDW
7b4c4d772c Qual: Fix notices for FormSms, RssParser, ExpenseReportIk and related (#31086)
* Qual: Fix Array of tabs typing hints

# Qual: Fix Array of tabs typing hints

Fixed same typing hints accross several files

* Qual: Fix pdf.lib.php, project.lib.php and related files

# Qual: Fix pdf.lib.php, project.lib.php and related files

Fix most phan notices for pdf.lib.php and project.lib.php.
And fixed some items in other files in the process

* Qual: Fix notifications commande/card advtarget.tpl fichinter/card societe/card supplier_proposal/card

* Qual: Fix notices for FormSms, RssParser, ExpenseReportIk and related

# Qual: Fix notices for FormSms, RssParser, ExpenseReportIk and related

Fix notices in the files for the classes above and other files to accomodate
these changes/fixes
2024-09-23 00:37:30 +02:00