410 Commits

Author SHA1 Message Date
MDW
9db4c30918 Qual: Add automatic_activation property (DolibarrModules) (#36386)
* Qual: Add automatic_activation property (DolibarrModules)

- Add `automatic_activation` property to store country-specific activation reasons
- Add public to class constants (PSR-2/php-cs-fixer)

* Qual: Simplify $module_activation test in admin.lib.php

The test for $module_activation has been simplified after declaring the property in DolibarrModules.
2025-11-24 15:05:05 +01:00
Laurent Destailleur
cc63bedc4c Move UX/UI pae to Modulebuilder main page. Not a user setup of a
features so useless for an end user so moved into a dev area.
2025-11-07 18:24:15 +01:00
Laurent Destailleur
187840dbb3 NEW Can add info of main IT service provider in setup. 2025-10-30 14:41:37 +01:00
Frédéric FRANCE
675ec205f4 clean phpstan baseline (#35946) 2025-10-25 22:53:09 +02:00
Frédéric FRANCE
29b3880e6c add dolBuildUrl (#35664)
* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* clean baseline

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-10-17 02:31:07 +02:00
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