Commit Graph

555 Commits

Author SHA1 Message Date
ldestailleur
4dc87949fd Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-02-23 18:26:03 +01:00
Laurent Destailleur
d289e670d9 Update emailcollector.class.php 2025-02-22 17:35:31 +01:00
Hystepik
ef7327f674 Fix email collector datetimelast ok and email fetching 2025-02-22 17:35:19 +01:00
Laurent Destailleur (aka Eldy)
62b1fbc41d Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-02-05 00:41:07 +01:00
Laurent Destailleur (aka Eldy)
732f97d73c Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2025-02-05 00:40:06 +01:00
Laurent Destailleur
e307b9d575 Merge pull request #32907 from hregis/fix_20_multicurrency
FIX problem of duplicate data with Multicompany
2025-02-05 00:33:51 +01:00
Laurent Destailleur (aka Eldy)
31daa4a2f0 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-02-04 23:25:24 +01:00
Laurent Destailleur
6619d22687 Merge pull request #32893 from glu000/20.0-fix-32892
Fix #32892
2025-02-02 01:29:16 +01:00
Laurent Destailleur
66660e7eb7 Merge pull request #32891 from glu000/20.0-fix-32890
Fix #32890
2025-02-02 01:28:38 +01:00
Laurent Destailleur
76ab4d7ce5 Update emailcollector.class.php 2025-02-02 01:21:57 +01:00
Günter Lukas
ae81f8bf50 Fix #32894 2025-01-31 14:55:04 +01:00
Günter Lukas
46125921b1 Fix #32892 2025-01-31 14:41:19 +01:00
Günter Lukas
b4e9367e3d Fix #32890 2025-01-31 14:28:34 +01:00
Laurent Destailleur
67521e9c4f Clean code 2025-01-20 03:54:04 +01:00
Laurent Destailleur (aka Eldy)
b024b95948 Fix typo 2025-01-09 19:35:01 +01:00
Laurent Destailleur (aka Eldy)
56710ce9b7 FIX CVE-2024-55227 and CVE-2024-55228 CSRF when
MAIN_RESTRICTHTML_ONLY_VALID_HTML_TIDY is
on (hidden option not on by default)
2025-01-09 19:35:01 +01:00
Laurent Destailleur (aka Eldy)
de321e8f01 Fix typo 2025-01-09 02:01:49 +01:00
Laurent Destailleur (aka Eldy)
c0250e4c91 FIX CVE-2024-55227 CSRF when MAIN_RESTRICTHTML_ONLY_VALID_HTML_TIDY is
on (hidden option not on by default)
2025-01-08 17:41:45 +01:00
MDW
ec2a1928ba Qual: Update fields phpdoc to include fields that are defined/used in some cases
# Qual: Update fields phpdoc to include fields that are defined/used in some cases

comment, copytoclipboard, autofocusoncreated are documented and used in some cases for the
$fields definition
2024-12-05 02:36:50 +01:00
Laurent Destailleur (aka Eldy)
4e6d3217bc Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-12-02 01:58:06 +01:00
Laurent Destailleur (aka Eldy)
5c321cc678 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2024-12-02 01:52:08 +01:00
Günter Lukas
06808b38b5 Fix #27223 (#32173) 2024-12-01 23:29:42 +01:00
noec764
4706b5d1fe Fix: Plain MSG Can be empty with \n (#32003)
Co-authored-by: Noé <noe@scopen.fr>
2024-11-19 18:59:07 +01:00
MDW
178d748cad Qual: Fix phan/phpstan notices in class files (part 5) (#31617)
* Qual: fix commonstickergen..don.class

* Fix notifications for pdf_paiement...cronjob.class

* Qual: Fix notifications for emailcollector..price_parser.class

* Ensure that NULL is used in the database when fk's are 0/empty

* Fix notifications for pdf_paiement...cronjob.class

* Cope with updated phpstan, and make fk_origin_stock int in multiple locations
2024-11-06 20:15:15 +01:00
MDW
e7539f2e19 Qual: Fix notices in .lib.php files (#31672)
* Qual: Fix notices in .lib.php files

* Update wrapper.php

* Update availabilities_card.php

* Update index.php

* Update document.controller.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-11-04 12:32:13 +01:00
Laurent Destailleur
f68b248c22 Help debug 2024-10-31 18:29:15 +01:00
Laurent Destailleur
3b2c7a32f7 Fix regression 2024-10-31 16:29:19 +01:00
Laurent Destailleur
b70df2fcc8 Add log 2024-10-31 16:18:55 +01:00
Laurent Destailleur
d9a5636b77 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-10-29 15:55:42 +01:00
Laurent Destailleur
3caead1dc0 Help debug with button "Refresh token" 2024-10-29 13:01:14 +01:00
itkuchlbauer
ad2578db4a Fix: hooks are not initiated if Hookmanager exists. (#31552) 2024-10-25 13:38:32 +02:00
MDW
53cfbc35be Qual: Fix several phan & stan notices (#31308)
* Qual: Fix several phan & stan notices

# Qual: Fix several phan & stan notices

Several fixes in files while fixing UnknownClass notices

* Qual: Update prepare_head PHPDoc return types

# Qual: Update prepare_head PHPDoc return types

Provide detailed array return types for prepare_head functions.

* Fix new phan notice

* Better loadLangs typing and fix call to loadLangs

* Fix new issues (stats)

* Other fixes of new issues

* Qual: update phan baseline
2024-10-14 01:59:44 +02:00
Laurent Destailleur
d24069d5e2 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-10-03 20:35:33 +02:00
Laurent Destailleur
86e34d8513 Fix typo 2024-10-03 16:20:56 +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
Laurent Destailleur
0674754ad7 Restore regression 2024-10-03 14:03:15 +02:00
Laurent Destailleur
0676a5e718 Fix a fix has been lsot by merge 2024-10-03 13:52:55 +02:00
Hasanuzzaman Sattar
877a6f6c4a FIX#31237 (#31239)
* FIX#31237

* FIX#31241

* FIX#31237

* FIX#31237
2024-10-03 13:47:28 +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
352077999a Clean code 2024-09-30 10:06:31 +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
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
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
e4227c6913 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-09-12 16:30:57 +02:00
Laurent Destailleur
94cdc284b3 Better log and fix search of contact for emailcollector 2024-09-12 12:32:33 +02:00
Laurent Destailleur
613c25b5ff Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-09-10 02:02:16 +02:00
Laurent Destailleur
4511e25895 Fix parsing header 2024-09-09 20:01:33 +02:00