ldestailleur
a162de2455
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
...
develop
2025-10-09 18:47:52 +02:00
ldestailleur
d17f13f149
FIX detection of setup not done with
...
MAIN_MIN_NB_ENABLED_MODULE_FOR_WARNING
2025-10-09 13:13:51 +02:00
ldestailleur
51be9b6a44
Label
2025-10-08 13:38:55 +02:00
ldestailleur
341ec9d71d
Clean code
2025-10-08 12:53:51 +02:00
Frédéric FRANCE
152cc48585
clean code ( #35677 )
...
* clean code
* clean code
* clean code
* clean code
* clean code
* clean code
2025-10-07 23:30:13 +02:00
Laurent Destailleur
8e1cf72de0
Debug v23
2025-09-16 00:56:18 +02:00
ldestailleur
361169b896
Fix bad tab underlined in display setup
2025-09-15 15:16:36 +02:00
PsyCrow
686de5271a
Update admin.lib.php ( #35246 )
...
Fix PHP Error:
Undefined array key "login" (/admin/tools/listsessions.php:161)
The error is triggered when the user name conatins '_' or '.'
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
2025-09-08 02:12:00 +02:00
ldestailleur
ef5f825667
Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into develop
2025-08-20 16:52:22 +02:00
ldestailleur
263626b2fd
Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into 22.0
2025-08-20 16:51:05 +02:00
ldestailleur
f722602402
Fix comparison on version to show the warning to upgrade database
2025-08-20 16:02:46 +02:00
Lucas Marcouiller
cbd600ec8c
NEW Add a page to edit http security headers of application ( #34941 )
...
* New main http security headers page
* fix CI
* Fix CI
---------
Co-authored-by: Lucas Marcouiller <lmarcouiller@dolicloud.com >
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
2025-08-14 04:06:11 +02:00
ldestailleur
4155233ad6
Fix warning
2025-08-11 18:43:02 +02:00
moreauftheobald
d4f9fd424f
QUAL: OpenID Setup fused in Security Setup + Module removed -- WIP ( #34422 )
...
* FIX: OpenID Setup fused in Security Setup + Module removed...
* FIX: OpenID Setup fused in Security Setup + Module removed... WIP
* FIX: OpenID Setup fused in Security Setup + Module removed... WIP
---------
Co-authored-by: Theobald <f.moreau@theobald-groupe.com >
2025-07-20 20:09:53 +02:00
Laurent Destailleur
eee6104288
Fix phan
2025-07-08 15:49:31 +02:00
Laurent Destailleur
4f679f06d7
Fix CI
2025-07-05 12:41:00 +02:00
Laurent Destailleur
24e3f31ba1
Fix CI
2025-07-01 20:32:31 +02:00
Laurent Destailleur
ac892efb42
Fix CI
2025-07-01 16:22:21 +02:00
Laurent Destailleur
e2c2f73e9c
Fix CI
2025-07-01 15:39:16 +02:00
ldestailleur
7db8252225
Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop
2025-04-21 13:52:25 +02:00
Laurent Destailleur
6ef600e991
WIP option WEBSITE_EXPORT_SQL_ON_SEVERAL_LINES
2025-04-19 02:43:44 +02:00
Regis Houssin
483112810e
FIX avoid sql error when a comment is after without comma ( #33758 )
...
* FIX avoid sql error when a comment is after without comma
* FIX syntax error
* Update admin.lib.php
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
2025-04-16 20:00:13 +02:00
ldestailleur
f7d034a71c
NEW Option MAIN_SECURITY_MAXFILESIZE_DOWNLOADED become official
2025-04-01 19:56:50 +02:00
John BOTELLA
d0d4eedc4f
Change ux doc link ( #33657 )
...
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
2025-03-31 11:59:07 +02:00
Frédéric FRANCE
44c0c6ed2f
List db sessions ( #33410 )
...
* list sessions in db
* list sessions in db
* list sessions in db
* list sessions in db
* list sessions in db
* list sessions in db
* list sessions in db
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* clean sessions
* clean sessions
* fix
2025-03-19 16:22:09 +01:00
ldestailleur
a0ec0002f6
Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop
2025-03-19 13:47:25 +01:00
ldestailleur
302ab362d5
Fix edit of template with back to page
2025-03-18 17:41:37 +01:00
John BOTELLA
c54a7a965c
Add link to doc and fix doc ( #33470 )
2025-03-15 15:44:40 +01:00
MDW
32bf8c5cd5
Qual: Fix phan notices (website)
2025-02-27 11:40:42 +01:00
Laurent Destailleur (aka Eldy)
6f87dc441e
Debug v21
2025-02-11 15:27:37 +01:00
Laurent Destailleur (aka Eldy)
c44ed2154b
Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0
2025-01-28 12:40:20 +01:00
Laurent Destailleur (aka Eldy)
4d1cd18936
Fix translate can accept only 4 subtitutions
2025-01-28 12:36:52 +01:00
Maxime Kohlhaas
1dc3a9796f
Merge branch '20.0' of github.com:Dolibarr/dolibarr into 21.0
2025-01-09 19:35:01 +01:00
PsyCrow
b9b58072ca
Merge branch '20.0' into 20.0
2025-01-08 16:22:02 -06:00
PsyCrow
cd2f211652
Error on function purgeSessions() at admin.lib.php
...
Error on function purgeSessions()
incorrect evaluation of dol_entity so never purge sessions
2024-12-29 12:10:26 -06:00
Laurent Destailleur (aka Eldy)
11b4492c0e
Fix warning.
2024-11-28 19:56:28 +01:00
MDW
cee4535975
Qual: Fix phan notices in admin.lib and tax.lib + related ( #31414 )
...
* Qual: Fix admin.lib phpstan/phan notices
* Qual: Fix some argument types in Societe methods
* Fixup phpdoc
* Qual: Improve typing for static analysis
* Qual: Improve typing for static analysis
* Fix tax typing
* Qual: further phan/phpstan notice fixes in dol_generic_project_odt
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
2024-10-17 03:08:38 +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
42471decac
Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop
2024-10-03 15:50:44 +02:00
HENRY Florian
90a5589c58
fix: php warning ( #31244 )
2024-10-03 15:39:32 +02:00
Laurent Destailleur
182c90da69
Look and feel v21
2024-09-30 14:12:51 +02:00
Laurent Destailleur
84183adaaa
WIP Captcha
2024-09-27 19:31:28 +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
Frédéric FRANCE
e252e36073
fix phpstan ( #31024 )
...
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
2024-09-20 01:45:17 +02:00
Frédéric FRANCE
80d1f47d4d
fix ignored phpstan (most of expects string, int given) ( #30649 )
...
* 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
* 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
* 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
* more ignore
* more ignore
* more ignore
* more ignore
* more ignore
* more ignore
* more ignore
* more ignore
* more ignore
* more ignore
* more ignore
* more ignore
* more ignore
* more ignore
* more ignore
* more ignore
* more ignore
* 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
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
2024-09-05 16:05:37 +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
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
fce1c6f328
NEW add hook dolibarrDelConst ( #30672 )
2024-08-20 03:31:02 +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