Commit Graph

3010 Commits

Author SHA1 Message Date
Laurent Destailleur
6fcec74fed Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-04-11 22:58:17 +02:00
Laurent Destailleur
0a3f66c6c4 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	dev/tools/codespell/codespell-ignore.txt
	htdocs/admin/system/security.php
	htdocs/core/class/commondocgenerator.class.php
	htdocs/core/menus/standard/eldy.lib.php
	htdocs/product/fournisseurs.php
2024-04-11 22:57:43 +02:00
MDW
e171e8e7ef
Qual: Fix all active phan notices in html.form.class.php (#29316) 2024-04-11 19:14:46 +02:00
Laurent Destailleur
132595f10f CSS customreport 2024-04-10 01:38:36 +02:00
Laurent Destailleur
b172640ae5 Debug v20 2024-04-09 03:38:38 +02:00
Nicolas Domenech
485a17b072
#29026 [Class] fix: selectForForms issue on check fields before use for modification on objectdesc (#29027)
* #29026 [Class] fix: selectForForms issue on check fields before use for modification on objectdesc

* Update html.form.class.php

* Update html.form.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-04-08 23:33:48 +02:00
Francis Appels
e23ccabf36
Fix PR #28989, create shipment line (#29281)
* Fix PR #28989, create shipment line

* Fix Phan

* Update changelog

* Fix stan

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-04-08 23:10:58 +02:00
Regis Houssin
1f512873ff
FIX phan error (#29283) 2024-04-08 22:48:33 +02:00
Laurent Destailleur
7ca303888d Look and feel v20 2024-04-08 19:20:07 +02:00
Laurent Destailleur
d6d81292ac Fix phpunit 2024-04-02 18:40:26 +02:00
Laurent Destailleur
a7cd496bd2
Merge branch 'develop' into NEW_MASS_ACTION_UNASSIGN_COMMERCIAL 2024-04-02 14:57:10 +02:00
Laurent Destailleur
aad893663d Merge home page product and service 2024-04-01 13:08:35 +02:00
MDW
5c10ec533d
Typing improvements for html.form.class 2024-03-30 18:09:18 +01:00
MDW
4627a14186
Ensure $assignedtouser is an array (even after json_decode) 2024-03-30 18:03:12 +01:00
MDW
dce30779e1
Improve phpdoc typing 2024-03-30 18:03:11 +01:00
MDW
7c465ede53
Fix select_dolusers selected user test when argument is User
# Fix select_dolusers selected user test when argument is User

$selected is always an array but was tested as if it was the object itself
2024-03-30 18:03:09 +01:00
Laurent Destailleur
67f76a58eb
Merge branch 'develop' into NEW_MASS_ACTION_UNASSIGN_COMMERCIAL 2024-03-29 13:48:07 +01:00
Laurent Destailleur
233629ed3a
Merge branch 'develop' into phpstan_user 2024-03-29 12:20:23 +01:00
Jonathan lescaut
3130ede583 retour PR 2024-03-29 12:17:47 +01:00
Laurent Destailleur
5a6791aa5a Clean code 2024-03-29 11:43:26 +01:00
Frédéric France
7a7b1953ed
fix phpstan 2024-03-28 20:34:33 +01:00
MDW
25faef6da8
Improve typing for arg $showempty 2024-03-27 10:18:43 +01:00
MDW
767eeb605d
Style (phpcbf not agreeing with php-cs-fixer) 2024-03-27 10:18:32 +01:00
MDW
41644c03f1
Accept null for formquestion in formconfirm() 2024-03-27 10:18:23 +01:00
Laurent Destailleur
92312ce4c2 Allow UFS syntax into load_previous_next_ref() 2024-03-25 20:11:24 +01:00
Laurent Destailleur
841427601f
Merge pull request #29037 from mdeweerd/fix/PhanTypeInvalidPropertyName
Fix & Enable PhanTypeInvalidPropertyName
2024-03-24 14:56:42 +01:00
Laurent Destailleur
35e353cf0a Clean global variable non required 2024-03-24 14:54:36 +01:00
MDW
43addc08cb
Add PHPdoc typing 2024-03-24 11:03:04 +01:00
Laurent Destailleur
6a0678e717
Merge branch 'develop' into PhanTypeInvalidRightOperandOfNumericOp 2024-03-23 17:36:29 +01:00
Laurent Destailleur
0bf2f3b70d Fix warning 2024-03-22 18:15:24 +01:00
MDW
91a7f3b721
Fix typing with casting and idate 2024-03-22 09:51:50 +01:00
iouston
73436bc625
update filter example
((s.client IN (1,3) AND s.status=1)) give an sql error bad syntax on filter use ((s.client:IN:1,2,3) AND (s.status:=:1)) is ok
2024-03-20 10:15:10 +01:00
MDW
26ccab2fc3
Fix arg type for strlen() with algorithm, cast for preg_match() 2024-03-19 20:38:52 +01:00
Laurent Destailleur
363a083c54 Look and feel v20 2024-03-19 15:34:47 +01:00
MDW
13ab939691
Fix deprecated function calls 2024-03-16 13:27:51 +01:00
Laurent Destailleur
b23e627a05
Merge pull request #28800 from mdeweerd/PhanPluginDuplicateConditionalUnnecessa
Fix & enable PhanPluginDuplicateConditionalUnnecessary "X ? Y : Y"
2024-03-15 00:27:58 +01:00
MDW
8823cca117
Fix PhanPluginDuplicateConditionalUnnecessary "X ? Y : Y" (Simplify) 2024-03-14 19:47:17 +01:00
Frédéric France
26fe76733c fix warnings 2024-03-13 18:20:41 +01:00
MDW
6d6cbff08e
Fix PhanPluginRedundantAssignment 2024-03-13 00:40:47 +01:00
Laurent Destailleur
a6926c29c0
Merge pull request #28778 from fappels/develop_fix_delivery_note
Fix shipping is not a delivery_note (is sub module of shipping)
2024-03-12 14:53:51 +01:00
Laurent Destailleur
74b8162d22
Merge pull request #28700 from mdeweerd/urlencode/fixuptype
Fix: Ensure the argument type for urlencode is string
2024-03-12 14:43:41 +01:00
Francis Appels
ba1ca6dc7d module delivery_note not exist (no own module descriptor) is global MAIN_SUBMODULE_DELIVERY 2024-03-12 11:46:12 +01:00
Francis Appels
7ff68a5819 Fix shipping is not a delivery_note (sub module of shipping) 2024-03-12 11:07:18 +01:00
Laurent Destailleur
56950673b8 Better support for MAIN_OPTIMIZEFORTEXTBROWSER 2024-03-12 02:41:47 +01:00
MDW
dbfb1180ee
Qual: Fix PhanPluginDuplicateIfStatements & remove exceptions (#28749)
# Qual: Fix PhanPluginDuplicateIfStatements & remove exceptions

Fix occurences of PhanPluginDuplicateIfStatements which are if statements where the
consecutive branches execute the same code, making it useles to test the condition
2024-03-11 12:58:51 +01:00
Laurent Destailleur
b3ee7c3853 Fix warning 2024-03-11 12:22:06 +01:00
Laurent Destailleur
c853a4687f Can delete last and criteria into the generic component. 2024-03-10 19:41:31 +01:00
Laurent Destailleur
4140f59335 Fix default value 2024-03-10 17:58:32 +01:00
MDW
8195fa49d9
Fix: Ensure string type for urlencode() 2024-03-09 16:55:44 +01:00
Laurent Destailleur
78786a0b53 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-03-09 01:15:59 +01:00