Laurent Destailleur (aka Eldy)
cceccabc9c
Fix missing $notrigger param
2024-12-09 16:00:47 +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)
8f486591b2
Complete log
2024-12-01 22:06:38 +01:00
Laurent Destailleur
6e9bbe42bb
Add code to make easier to test PDF generation with n lines of product
2024-11-21 19:40:52 +01:00
Frédéric FRANCE
57d121664f
set object entity at create ( #32019 )
...
* set object entity at create
* set object entity at create
* set object entity at create
* set object entity at create
* set object entity at create
* set object entity at create
* do not break multicompany thing
* do not break multicompany thing
* missing translation
* fix phpstan
* doc
* fix entity
* fix set entity
2024-11-21 19:11:32 +01:00
MDW
7304048afb
Qual: Fix phan notices ( #31996 )
...
# Qual: Fix phan notices
Fix phan notices up to htdocs\core\ajax\selectsearchbox.php.
2024-11-19 03:07:18 +01:00
MB Informatique
aff3a20aa8
FIX #29449 Products not allowed on contracts ( #31909 )
...
* FIX #31269 Bad use of GETPOSTINT
* FIX #29449 Products not allowed on contracts
* Update card.php
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
2024-11-16 02:23:08 +01:00
Frédéric FRANCE
cf0782d96d
fix sql ( #31769 )
2024-11-12 00:33:28 +01:00
Frédéric FRANCE
661059ca9a
fix phpstan ( #31763 )
...
* 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-11-11 14:33:53 +01:00
Laurent Destailleur
31f147622a
The deprecated GET parameter "&sall=" has been removed, use now the
...
"&search_all=".
2024-11-07 12:26:42 +01:00
Frédéric FRANCE
0d7bc505d3
add phpdoc and clean phpstan baseline ( #31702 )
...
* add phpdoc and clean phpstan baseline
* add phpdoc and clean phpstan baseline
* add phpdoc and clean phpstan baseline
* add phpdoc and clean phpstan baseline
* add phpdoc and clean phpstan baseline
* add phpdoc and clean phpstan baseline
* add phpdoc and clean phpstan baseline
* add phpdoc and clean phpstan baseline
* add phpdoc and clean phpstan baseline
* add phpdoc and clean phpstan baseline
* add phpdoc and clean phpstan baseline
* add phpdoc and clean phpstan baseline
* add phpdoc and clean phpstan baseline
* add phpdoc and clean phpstan baseline
* add phpdoc and clean phpstan baseline
* add phpdoc and clean phpstan baseline
* add phpdoc and clean phpstan baseline
* add phpdoc and clean phpstan baseline
* add phpdoc and clean phpstan baseline
2024-11-06 19:39:46 +01:00
Frédéric FRANCE
1adc883b56
add baseline exclude for phpstan ( #31632 )
...
* add baseline exclude for phpstan
* update
* update
* update
* update
* update
* merge
* restore one filter
* delete old errors
* fix
* fix
* fix
* $moreforfilter can t be empty
* fix
* enable check
* refresh baseline
* add phpdoc
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
2024-11-04 23:53:20 +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
e6f1d4835f
Clean sql code
2024-10-29 02:58:20 +01:00
Laurent Destailleur
6a7fac3545
Fix #31609
2024-10-28 19:15:44 +01:00
Frédéric FRANCE
0f563edb5f
replace fetch_projet() and fetch_project() by fetchProject() ( #29821 )
...
* fix cti
* fix cti
* deprecate fetch_projet fetch_project to fetchProject
* deprecate fetch_projet fetch_project to fetchProject
* deprecate fetch_projet fetch_project to fetchProject
* odfHandler->setSegment only throw OdfExceptionSegmentNotFound
* odfHandler->setSegment only throw OdfExceptionSegmentNotFound
* fix deprecated
* fix
* fix sql
2024-10-26 22:43:44 +02:00
Laurent Destailleur
f5e4ab0220
Rewrite code to prepare refactoring
2024-10-26 15:24:54 +02:00
Frédéric FRANCE
331c5e9f4b
fix phpstan ( #31547 )
...
* fix phpstan
* fix phpstan
* fix phpstan
2024-10-25 13:24:10 +02:00
MDW
d7b2f95baf
Qual: Fix phan notices ( #31372 )
...
* fix llx_webhook_target-webhook.sql
* Fix commande/list & facture-rec.class
* Fix bonprelevement
* Qual: Fix prelevement/create notices
* Qual: fix quadridetail notices & update baseline
* Qual: Fix CommonDocGenerator notices
* Qual: Fix commoninvoice and commonobjectline notices (phan/phpstan)
---------
Co-authored-by: Frédéric FRANCE <frederic34@users.noreply.github.com >
2024-10-13 16:45:42 +02:00
Laurent Destailleur
badb9f8cbf
Fix link to url
2024-10-06 21:50:32 +02:00
Laurent Destailleur
2b528c1385
Fix missing links
2024-10-05 14:30:20 +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
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
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
Laurent Destailleur
b32225283d
Merge branch '20.0' of github.com:Dolibarr/dolibarr into develop
2024-09-25 22:32:36 +02:00
MaximilienR-easya
6de574bf5c
Fix a problem when we have an extrafield on the line ( #31104 )
2024-09-25 22:18:26 +02:00
Laurent Destailleur
59dadd88a3
FIX Duplicate trigger printFieldPreListTitle
2024-09-25 13:43:11 +02:00
Laurent Destailleur
ae6e35cc84
Look and feel v21 enhancement on smartphone
2024-09-25 02:35:56 +02:00
Frédéric FRANCE
a82410706c
fix phpstan ( #31088 )
...
* fix phpstan
* fix phpstan
2024-09-23 15:01:02 +02:00
MDW
5e02bec9df
Qual: Fix getTooltipContentArray typing hints ( #31081 )
...
* Qual: Fix getTooltipContentArray typing hints
# Qual: Fix getTooltipContentArray typing hints
This defines the aray type for all getTooltipContentArray occurences
* Ignore undeclared property ref_supplier (does not exist on OrderLine)
2024-09-23 03:24:19 +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
Lucas Marcouiller
632d1832a9
Fix bad request with no token in contrat/card.php ( #31064 )
...
Co-authored-by: Hystepik <lmarcouiller@nltechno.com >
2024-09-20 17:51:33 +02:00
Lucas Marcouiller
768c9de064
Qual create button to factorize services buttons in contrat/card.php ( #31063 )
...
* Qual create button to factorize services buttons in contrat/card.php
* Fix Ci
* fix ci
---------
Co-authored-by: Hystepik <lmarcouiller@nltechno.com >
2024-09-20 17:37:27 +02:00
Frédéric FRANCE
13d4d96dfc
fix phpstan ( #31061 )
...
* fix phpstan
* fix phpstan
2024-09-20 17:25:39 +02:00
Laurent Destailleur
15ca75222b
Debug v21
2024-09-18 16:10:54 +02:00
Laurent Destailleur
a0fe8e4884
Add constant for the moment
2024-09-18 15:55:20 +02:00
Frédéric FRANCE
e43789a3d7
fix phpstan ( #30984 )
...
* fix phpstan
* fix phpstan
* fix phpstan
2024-09-17 00:22:47 +02:00
MDW
115627a054
Qual: Fix PhanPluginUnknownObjectMethodCall where is the only phan notice ( #30957 )
...
* Qual: PhanPluginUnknownObjectMethodCall where it is the only phan notice
# Qual: PhanPluginUnknownObjectMethodCall where it is the only phan notice
Fix PhanPluginUnknownObjectMethodCall in files where it is the only phan notice
* Update phan baseline
* Fix $website global type in some contexts
2024-09-16 01:49:38 +02:00
William Mead
e644f05f98
Qual clean use of CommonSignedObject trait ( #30927 )
...
* Cleaned & refactored code to make full use of CommonSignedObject trait
* Fixed Phan warning
* Revert "Fixed Phan warning"
This reverts commit b79b362733 .
* Try @static tag
* Cleaned code
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
2024-09-13 17:45:05 +02:00
Frédéric FRANCE
2a6bbf88df
fix phpstan ( #30944 )
...
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
2024-09-13 17:40:03 +02:00
MDW
76eaf8bd8d
Qual: Fix phan notices in classes related to class using getNextValue. ( #30925 )
...
* FIX 🛟 phan
* getToolTip() can take null for $coc
* Fix uninitialized vars & arg types
* PHPDoc typing, argument fixes
* PHPDoc typing, argument fixes for AdherentType
* PHPDoc typing, argument fixes for AdherentStats
* Update baseline to enable adherent notices
* Fix PHPDoc typing in api_members
* Minor bug fixes, typing
* PHPDoc api_subscriptions
* PHPDoc Societe
* Ignore empty foreach notice
* Add initialiser
* Categorie is string, old int mode is deprecated
* Fix missing initialisations
* Fix missing initialisations adherents/note
* Fix typing (cast), initialisation of var
* Fix initialisations
* Fix argument types
* Improve array PHPDoc type
* PHPDoc array type
* PHPDoc: Improve typing
* Correct argument type to getNomUrl
* Improve typing for timespent
* Fix typing for getNextValue args
* Improve typing
* Fix typing hints contrat/card
* Update baseline
* Fix typing
* Fix extraparams property typing
* Fix argument typing
* Qual: Correct covariant type
* Impove typing for timespent
* Remove exclusion no longer matched (level 6)
---------
Co-authored-by: Frédéric FRANCE <frederic34@users.noreply.github.com >
2024-09-12 21:16:42 +02:00
William Mead
d0c96c99e0
Qual common signed object trait ( #30913 )
...
* Moved signed status properties & methods to reusable class trait
* Cleaned code
* Updated EN localization
* Fixed Phan warnings
* Fixed Phan warnings
* Added type check. Updated PHPDoc.
* Refactored class properties
* Cleaned PHPDoc
* Revert "Refactored class properties"
This reverts commit 1beb40a7
* Reapply "Refactored class properties"
This reverts commit 9e3d9d554c .
* Fixed PHPDoc
* Fixed class file name
2024-09-10 16:22:25 +02:00
Frédéric FRANCE
97b97c6665
fix phpstan ( #30912 )
...
* fix phpstan
* fix phpstan
* fix phpstan
2024-09-10 14:58:36 +02:00
William Mead
fb6677010d
NEW contract signed status update ( #30779 )
...
* Moved signed status constants to array dictionary
* Added getLibSignedStatus & getSignedStatusLocalisedArray methods
* Updated fetch & create methods for signed_status
* Added signed status to status badge
* Updated signed_status module builder field
* Added object context signed status for action trigger
* Added signed status to contract list
* Fixed signed status for contract list
* Added sign, unsign, confirm_sign, confirm_unsign actions. Added sign button.
* Fixed old contract without signed status
* Added contract modify notification
* Added contract signed status update
* Updated EN localizations
* Fixed contract notification administration
* Fixed notification message
* Fixed contract status badge
* Fixed langs
* Fixed langs key
* Fixed duplicate localization
2024-09-10 03:04:49 +02:00
Laurent Destailleur
5f7efbe041
Fix regression
2024-09-05 19:08:18 +02:00
Laurent Destailleur
24e0c624ee
WIP Add a performance field
2024-09-03 11:36:44 +02:00
Laurent Destailleur
f4a331405f
Request for count is smaller/faster
2024-09-03 04:01:59 +02:00