Commit graph

417 commits

Author SHA1 Message Date
MDW
cec87d9425
Qual: Remove unnecessary quotes around integer values in SQL queries (#39290)
* FIX: Do not quote NULL for fk_user_author & fk_element on insert

* Qual: Remove unnecessary quotes around integer values in SQL queries

# Qual: Remove unnecessary quotes around integer values in SQL queries

Removed unnecessary single quotes around integer values in SQL queries across multiple files.
2026-07-27 12:59:14 +02:00
Laurent Destailleur
4746f6573a Fix Regresion: restore creation of key/functions/data at install/upgrade 2026-07-23 15:05:52 +02:00
MDW
6dac0c7263
Qual: Fix 'SqlInjection' notices (#39203)
# Qual: Fix 'SqlInjection' notices

Batch of 25 files with changes to fix 'SqlInjection' Notices
2026-07-19 15:53:14 +02:00
Laurent Destailleur
ad4ceba536 Automated merge from 23.0 to develop 2026-07-15 02:06:09 +02:00
Laurent Destailleur
c895a4531e Doc 2026-07-03 18:48:20 +02:00
Nathan
b7bcd77d54
FIX: #37978 Clarify _load_tables suffix filtering (#38951) 2026-06-22 13:35:12 +02:00
Laurent Destailleur
c4de36f7a5 Try fix CI 2026-06-21 19:16:53 +02:00
MDW
a270603263
Qual: Fix PHPStan messages (#38053)
* Qual: Fix PHPStan messages

# Qual: Fix PHPStan messages

Fix mostly 'variable.undefined' PHPStan notices.

* Qual: Fix Phan notices

* Qual: Ignore false PhanPluginUnknownObjectMethodCall positive

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-05-07 14:20:03 +02:00
Laurent Destailleur
da47038124 Fix alert on blacklisted module when no message provided 2026-05-05 13:41:18 +02:00
Laurent Destailleur
fb9a3881fa Fix alert on blacklisted module when no message provided 2026-05-05 13:40:41 +02:00
Laurent Destailleur
31affd0f6c NEW Show url of blacklisted modules in tooltip 2026-05-05 13:02:38 +02:00
John BOTELLA
fe2e311101
New: Complete context tab isolation for QuickMemo module (#37901)
* complette context tab isolation

* fix string type

* fix string type

* fix string type

* fix string type

* fix string type

* re-remove useless test

* return int

* php stan

* php stan

* php stan

* php stan

* php stan

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-04-16 21:12:03 +02:00
Frédéric FRANCE
45d0566b6f
clean code and fix phpstan (#37831)
* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan
2026-04-12 11:59:56 +02:00
Laurent Destailleur
de8f15ce38 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2026-02-23 00:11:16 +01:00
Laurent Destailleur
11d4fafca0 Version module 2026-02-19 22:29:20 +01:00
Laurent Destailleur
a703aa6b0f css 2026-01-06 11:22:36 +01:00
Laurent Destailleur
35ad674345 Debug v23 2025-12-15 13:14:04 +01:00
Laurent Destailleur
e60de6525b WIP Loi finance 2025-12-02 20:29:20 +01:00
MDW
0333daa8a8
Qual: Update PHP-CS-Fixer configuration and DolibarrModules class
- Update PHP-CS-Fixer configuration to replace deprecated 'visibility_required' rule with 'modifier_keywords'
- Update DolibarrModules class to use const instead of public const for PHP 7.0 compatibility (revert recent change)
2025-11-27 01:08:46 +01:00
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
9ec8762307 Fix CI 2025-11-12 21:33:35 +01:00
Laurent Destailleur
ad165e3712 Clean permissions 2025-11-12 12:55:21 +01:00
Laurent Destailleur
02216080f6 Fix picto 2025-10-19 17:54:52 +02:00
Christophe Battarel
e81cca858e
NEW: import subscriptions (#35612)
* NEW: import subscriptions

* remove bad code

* FIX: already declared property is not needed

* Update subscription.class.php

* FIX: change format to please php-stan

* ENH: DolibarrModules::$import_convertvalue_array value format

---------

Co-authored-by: Christophe Battarel <christophe@altairis.fr>
Co-authored-by: Noé Cendrier <noe.cendrier@altairis.fr>
Co-authored-by: Noé Cendrier <81741011+altairis-noe@users.noreply.github.com>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-10-17 18:24:40 +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
3403bbe869 NEW Enhance the system for warnings on module activation 2025-10-10 10:16:33 +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
Dylan Bourdere
0ba4c17e66
Fix some undefined array key warning (#35471)
* fix some undefined array key warning

* fix some undefined array key warning
2025-09-24 18:39:38 +02:00
ldestailleur
1842dd616e Debug refresh of website templates 2025-05-16 11:36:29 +02:00
ldestailleur
f0eaae6a1d Debug v22 2025-05-05 17:09:24 +02:00
Mohamed DAOUD
83a0faaf41
add phpmax and dolibarrmax (#33448) 2025-03-14 17:15:55 +01:00
MDW
1608b66742
Qual: Fix DolibarrModules::_init phpdoc type 2025-02-27 18:57:03 +01:00
Laurent Destailleur
67521e9c4f Clean code 2025-01-20 03:54:04 +01:00
Regis Houssin
188070729a FIX avoid php8 warning 2025-01-13 14:10:34 +01:00
Laurent Destailleur
2e0950da3d Fix setup of const 2025-01-11 00:30:05 +01:00
HENRY Florian
b7746121c5
fix: CronJob Propertyy 'comment' do not exist replace by note_private (#31970) 2024-11-18 17:17:09 +01:00
Laurent Destailleur
2d08d89d55 Trans 2024-11-18 13:58:29 +01:00
evarisk-kilyan
a811e061ca
fix: fatal on install step-5 (#31954)
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-11-16 18:58:24 +01:00
Delthair
e2b6762b3c
ISSUE #31816 (#31820)
Bug correction to finalise step 5 of installation
2024-11-14 23:31:25 +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
f4ff437026
Qual: Fix phan/phpstan notices in class files (part 4) (#31598)
* Qual: Fix phan notices for DolibarrModules.class

* Qual: Fix notices for classes actioncomm..task.class.php

* fixup! Qual: Fix notices for classes actioncomm..task.class.php

* Qual: Fix new notices blocking PR
2024-10-30 21:33:30 +01:00
Laurent Destailleur
acac575512 Fix phan 2024-10-20 00:20:16 +02:00
Laurent Destailleur
37880a7964 Debug v21 2024-10-19 23:42:26 +02:00
Laurent Destailleur
992dc88491 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-10-19 15:33:12 +02:00
Laurent Destailleur
76ec55b81e Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2024-10-19 15:31:00 +02:00
Laurent Destailleur
c160da91ed Change URL for module blacklist feature 2024-10-19 15:29:43 +02:00
Laurent Destailleur
c70973c0c8 Merge v20 2024-10-19 14:44:55 +02:00
Laurent Destailleur
17c50368c1 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2024-10-19 14:32:08 +02:00
Laurent Destailleur
e97c1dc48e Better message 2024-10-19 13:51:05 +02:00
Laurent Destailleur
0844ed2f9b NEW Include a protection into check update to detect malware 2024-10-19 13:16:13 +02:00