Laurent Destailleur
1b16ae87e4
Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop
2024-09-05 12:40:15 +02:00
Laurent Destailleur
2ccfe2e2c0
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop
2024-09-05 10:17:12 +02:00
Mohamed DAOUD
e45bf5c487
fix extname for getimagepublicurlofobject ( #30830 )
...
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
2024-09-05 10:03:20 +02:00
Laurent Destailleur
4f48a08d1b
Protect param extName
2024-09-05 10:03:00 +02:00
Mohamed DAOUD
7200d244c2
dynamically set seo meta tags ( #30826 )
...
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
2024-09-04 23:14:25 +02:00
Regis Houssin
6bb818e7fc
FIX avoid the return "AND (())" ( #30829 )
2024-09-04 23:05:51 +02:00
Laurent Destailleur
6e19d09a66
More info to help debug
2024-09-04 16:52:39 +02:00
Laurent Destailleur
c8e2b537c6
Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop
2024-08-30 16:44:24 +02:00
Laurent Destailleur
2a2ff8dd79
Debug v20
2024-08-30 15:06:19 +02:00
Frédéric FRANCE
77c88e9750
add hooke in print_social_networks ( #30797 )
...
add hooke in print_social_networks
2024-08-29 17:25:54 +02:00
MDW
c496e84916
Qual: Fix phan issues related to getNextValue() notices ( #30747 )
...
* Qual: 🛟 Fix reference to $db with $this->db
# Qual: reference to $db with $this->db
$db was undeclared, use $this->db.
* Fix suspected issue with environment max size and md5sum working on limited files
* Qual: Fix LDAP typing
* Qual: Fix some phan typing related to getNextValue()
# Qual: Fix some phan typing related to getNextValue()
This fixes a few typings in relation to getNextValue().
* Update phan baseline
* PHPDoc: set arguments as nullable (+update array types)
* Improve PHPDoc
* Force toselect type to int[]
* Enable all phan notices on actions_massactions.inc.php
* Test was wrong, can not count when it's not an array
* Update baseline
* Remove ignore for notice that no longer exists
* Update baseline
* Fix format argument
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
2024-08-29 15:01:42 +02:00
Laurent Destailleur
8ab740a95f
Export inventory
2024-08-29 10:46:10 +02:00
MaximilienR-easya
89a1e74df3
Force usage of another authentication when there is only openid_connect since he doesn't work for api, ws, and cdav login ( #30777 )
2024-08-29 09:20:02 +02:00
Laurent Destailleur
5a0ec754d8
Fix regression __ID__ lost into backtopage urls
2024-08-28 23:49:53 +02:00
Laurent Destailleur
3392ddf42e
Fix spellcheck
2024-08-27 22:24:32 +02:00
Laurent Destailleur
e7cfa4ddcc
Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop
2024-08-27 07:26:26 +02:00
Laurent Destailleur
c03617d5b7
Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0
2024-08-27 04:46:30 +02:00
Laurent Destailleur
93e8d2baba
FIX #30762
2024-08-27 03:30:24 +02:00
Laurent Destailleur
ce7f038a90
Fix mime for xz
2024-08-26 22:11:16 +02:00
Laurent Destailleur
0feb44cd9e
Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop
2024-08-26 21:09:21 +02:00
Laurent Destailleur
7778bc4b01
Fix switch page status. Fix clone page.
2024-08-26 20:51:42 +02:00
Laurent Destailleur
906063496c
Sync transifex
2024-08-26 15:54:35 +02:00
Laurent Destailleur
ebca595b7d
Fix: disable spellcheck on input url
2024-08-26 15:33:48 +02:00
Laurent Destailleur
3a80cf4033
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop
2024-08-24 14:26:09 +02:00
Laurent Destailleur
f307d28c12
Fix some warnings
2024-08-24 14:25:51 +02:00
Laurent Destailleur
1bfecb5e3b
Fix phan errors (dolibarr_set_const can accept int)
2024-08-24 14:19:59 +02:00
lamrani abdelwadoud
ca26bc5b8a
New dislay for listing events of invoic supplier ( #30714 )
...
* New dislay for listing events of invoic supplier
* Fix phpstan errors
* Fix active tab and refSupplier in agenda file
* Fix whitespace and brackets
2024-08-24 13:41:20 +02:00
Frédéric FRANCE
5f92aaee7e
replace relatives url ( #30719 )
2024-08-23 15:28:41 +02:00
hansemschnokeloch
4849e04fc9
Fix #29292 ( #30720 )
...
* fix #2810
* Fix #29292
2024-08-23 15:27:55 +02:00
hansemschnokeloch
cfb44ce196
Fix #29292 ( #30720 )
...
* fix #2810
* Fix #29292
2024-08-23 15:27:10 +02:00
lamrani abdelwadoud
cc8e1cd81e
New display for listing events ( #30713 )
...
* New display for listing invoice events
* Fix phpstan errors
2024-08-22 03:30:27 +02:00
Mohamed DAOUD
f4417e502e
allow links and scripts on website htmlheader ( #30708 )
2024-08-21 14:10:09 +02:00
MDW
ca414de526
Qual: Fix $fields related notices with Phan ( #30704 )
...
* Qual: Typing hints/ignore directives for phan notices
* Update field typing
2024-08-21 13:23:35 +02:00
Laurent Destailleur
955876b785
Rename param
2024-08-21 02:51:33 +02:00
Laurent Destailleur
e08fd29d0f
Merge branch 'develop' of github.com:Dolibarr/dolibarr into develop
2024-08-21 02:45:37 +02:00
Laurent Destailleur
3c78580471
Add restricthtmlallowlinkjstag in GETPOST
2024-08-21 02:42:13 +02:00
lamrani abdelwadoud
4db05d65a5
New display for list event of contactAddress ( #30702 )
...
* New display for list event of contactAddress
* remove var_dump
2024-08-20 23:32:09 +02:00
Laurent Destailleur
871643857d
Fix label-picto of extrafields
2024-08-20 11:47:55 +02:00
Laurent Destailleur
0830af9f11
Fix label-picto of extrafields
2024-08-20 11:45:15 +02:00
Laurent Destailleur
23c91578f0
NEW Add pîcto on list of notification email templates
2024-08-20 11:02:47 +02:00
Frédéric FRANCE
5ed0d017e0
fix phpdoc ( #30685 )
2024-08-20 09:46:59 +02:00
Laurent Destailleur
a83fb60074
Merge branch 'develop' of github.com:Dolibarr/dolibarr into develop
2024-08-20 04:19:17 +02:00
Laurent Destailleur
0340f0db8d
Fix phpstan
2024-08-20 04:18:02 +02:00
Frédéric FRANCE
fce1c6f328
NEW add hook dolibarrDelConst ( #30672 )
2024-08-20 03:31:02 +02:00
MDW
536e35d2e8
Fix tabcond field type ( #30666 )
2024-08-18 22:02:25 +02:00
MDW
b0087aaf61
Qual: Enable phan on modulebuilder ( #30652 )
...
* Allow null for buyer, and force '' for in printObjectLine(s)
* Allow null for Contact in show_actions_done
* Qual: Enable phan on modulebuilder
# Qual: Enable phan on modulebuilder
Most files of the modulebuilder template can be checked as regular files.
It will help improve the template
* Update baseline (enable modulebuilder notices)
* Add properties that are expected to exist on modules_boxes
* Qual: Ignore false positive (phan)
* Set phpdoc type to include null on formAddObjectLine
* Qual: Fixes for modulebuilder (phan, phpstan, bugs, format)
* Fix phpcs for intracom
* Make ModeleBoxes:showBox() signature match child class's
* Fix *box::showBox() phpdoc types
* Update index.php
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
2024-08-18 18:16:08 +02:00
Laurent Destailleur
3114d1d13e
Clean code
2024-08-17 23:46:16 +02:00
MDW
75ed925f06
Qual: Fix PhanPluginUnknownObjectMethodCall ("part 1") ( #30563 )
...
* Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
# Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
Add typing hint to fix phan notice.
* Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
# Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
Add typing hint in phan config to fix phan notice.
* Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
# Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
Add/improve typing hint to fix phan notice.
* Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
# Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
Add/improve typing hint for linkedObjectBlock
* Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
# Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
Add/improve typing hint for linkedObjectBlock
* Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
# Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
Add/improve typing hint for linkedObjects
* Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
# Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
Add/improve typing hint for PhanPluginUnknownObjectMethodCall
* Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
# Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
Add/improve typing hint for PhanPluginUnknownObjectMethodCall
* Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
# Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
Add/improve typing hint for PhanPluginUnknownObjectMethodCall
* Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
# Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
Add/improve typing hint for PhanPluginUnknownObjectMethodCall
* Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
# Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
Add/improve typing hint for PhanPluginUnknownObjectMethodCall
* Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
# Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
Add/improve typing hint for PhanPluginUnknownObjectMethodCall
* Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
# Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
Add/improve typing hint for PhanPluginUnknownObjectMethodCall
* Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
# Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
Add/improve typing hint for PhanPluginUnknownObjectMethodCall
* Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
# Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
Add/improve typing hint for PhanPluginUnknownObjectMethodCall
* Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
# Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
Add/improve typing hint for PhanPluginUnknownObjectMethodCall
* Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
# Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
Add/improve typing hint for PhanPluginUnknownObjectMethodCall
* Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
# Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
Add/improve typing hint for PhanPluginUnknownObjectMethodCall
* Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
# Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
Add/improve typing hint for PhanPluginUnknownObjectMethodCall
* Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
# Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
Add/improve typing hint for PhanPluginUnknownObjectMethodCall
* Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
# Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
Add/improve typing hint for PhanPluginUnknownObjectMethodCall
* Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
# Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
Add/improve typing hint for PhanPluginUnknownObjectMethodCall
* Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
# Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
Add/improve typing hint for PhanPluginUnknownObjectMethodCall
* Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
# Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
Add/improve typing hint for PhanPluginUnknownObjectMethodCall
* Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
# Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
Add/improve typing hint for PhanPluginUnknownObjectMethodCall
* Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
# Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
Add/improve typing hint for PhanPluginUnknownObjectMethodCall
* Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
# Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
Add/improve typing hint for PhanPluginUnknownObjectMethodCall
* Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
# Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
Add/improve typing hint for PhanPluginUnknownObjectMethodCall
* Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
# Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
Add/improve typing hint for PhanPluginUnknownObjectMethodCall
* Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
# Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
Add/improve typing hint for PhanPluginUnknownObjectMethodCall
* Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
# Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
Add/improve typing hint for PhanPluginUnknownObjectMethodCall
* Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
# Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
Add/improve typing hint for PhanPluginUnknownObjectMethodCall
* Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
# Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
Add/improve typing hint for PhanPluginUnknownObjectMethodCall
* Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
# Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
Add/improve typing hint for PhanPluginUnknownObjectMethodCall
* Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
# Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
Add/improve typing hint for PhanPluginUnknownObjectMethodCall
* Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
# Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
Add/improve typing hint for PhanPluginUnknownObjectMethodCall
* Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
# Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
Add/improve typing hint for PhanPluginUnknownObjectMethodCall
* Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
# Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
Add/improve typing hint for PhanPluginUnknownObjectMethodCall
* Fix: MemberNumRefNumbers getExample does not take any arguments
Found thanks to adding the typing for phan!
* Qual: Correct forced type for $module
* Qual: Ignore phan false positive
* Qual: phan/Correct module type and ignore false positive
* Qual: phan/Ignore false positive
* Qual: phan/Ignore false positive, replace depr.prop with method
* Qual: Fix typing for count by adding is_array check
* Qual: replace depr.prop `nom` with method
* Qual: phan/Correct module type and ignore false positive
* Qual: phan/Correct module type and ignore false positive
* Qual: phan/Correct module type and ignore false positive
* Qual: phan/Fix depr.prop with getter and ignore false positive
* Qual: phan/Correct module type and ignore false positive
* Qual: phan/Correct module type and ignore false positive
* Qual: phan/Correct module type and ignore false positive
* Qual: Improve typing for mymodule template
* Make info method arguments match calls
* Make PrintingDriver abstract class because we added abstract methods
* Add phpdoc typing for phan
* Update getExample function signature for compatibility
* Update getExample function signature for compatibility
* Update getExample function signature for compatibility
* Update header wit correct information
* Update getExample method signature
* Update getExample method signature
* Correct reference to class in comment
* Force php phan typing for numbering modules
* Correct $_GLOBALS to $GLOBALS
* Add phpdoc to indicat type of properties
* Correct default to null
* Improve getNextValue typehint
* Improve getNextValue typehint
* Qual: Improve ModeleNumRefTakepos typing
* Qual: Improve ModeleNumRefRecruitmentJobPosition typing
* Fix default for $langs
* Do not use non-existing ModeleNumRefTakepos::nom
* Allow getNextValue argument to be null
* Correct $_GLOBAL into $GLOBALS
* Improve typing for ldap functions
* Allow null for outputlangs argument
* Improve typing for printOriginLine
* Improve typing for linkedObject access
* Fix PhanTypeMismatchArgumentNullableInternal and optimize
* Fix PhanPossiblyUndeclaredVariable by setting default value
* Ignore PhanPluginDuplicateExpressionAssignmentOperation - needs PHP7.4
* getToolTip does not accept null, changed to ''
* Improve getNextValue typing
* Change PrintingDriver back to normal class (instantiated)
And add errors for functions that should be overloaded
* Adjust pringOriginLine typing to match parent
* Fix phpdoc for getNextValue
* Fix phan typing
* Add/Improve phpdoc typing hints
* Qual: Adjustments to match typing
* Update typing for unit, use GETPOSTINT
* ModeleNumRefTask needs Project
* Fix several notices appearing after update from develop
* Index for choices is int, use GETPOSTINT
* Qual: Ignore empty foreach
* Force BOMLine on object line
* phan typing to indicate that linked objects are BOM
* Type the correct variable name (phan)
* Add typing for $langs
* Type to CommonNumRefGenerator (no class for availabilities)
* Resolve several phan notices after update from dev branch
* Extra typing fixes
* Move common attributes to parent class (phan)
* Add typing to Calendar class
* Improve typing hints
* Add typing to pdf_eagle_proforma
* Qual: Add typing for token in generic_oauthcallback.php
* Add typing for objMod
* Correct getNextValue function signature (phpstan)
* Fix typing (phpstan)
* Update version declarations (fix phpstan)
* Fix phpstan typing issues
* Adjust typing (phpstan)
* Qual: Update baseline & conf to detect 25% of PhanPluginUnknownObjectMethodCall
2024-08-17 19:32:52 +02:00
Frédéric FRANCE
97392965e1
fix ignored phpstan ( #30645 )
...
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
2024-08-16 20:13:02 +02:00
lamrani abdelwadoud
1bd3d1877e
NEW Preview product list when we choose model layout Commerce ( #30185 )
...
* New update for templateMail by creating files
* New updating for get php content
* Update html.formmail.class.php
* Fix updating content news
* Fix CTI Errors
* NEW function for Preview In CKeditor products
* edit html file for news
* Add automaticaly subject value to editor
* Update html.formmail.class.php
* FIX name and path of file
* Fix path for files
* Fix errors variables
* replace file in ajax folder
* rename path
* Fix return function in product class
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
2024-08-15 17:39:15 +02:00