Regis Houssin
ef21145b1f
FIX #35519 (security) missing check user rights ( #35527 )
...
* FIX (security) missing check user rights
* FIX remove unnecessary check
2025-09-28 22:40:03 +02:00
ldestailleur
8b58b215b4
Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into 22.0
2025-09-27 15:48:40 +02:00
ldestailleur
fe28e36638
Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0
2025-09-27 15:42:44 +02:00
Joachim Kueter
c2e6aa3999
Fix to cover arrays ( #35499 )
2025-09-27 04:11:31 +02:00
ldestailleur
60f0813520
Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into 22.0
2025-09-12 23:05:15 +02:00
VIAL-GOUTEYRON Quentin
eb3d752047
Fix (ecm): support for custom entity in file operations ( #35283 )
...
* fix(ecm): add support for custom entity in file operations
This commit addresses missing support for specifying custom `entity` values during file operations, ensuring proper handling of multi-entity configurations. Changes include:
- Adding an `entity` parameter to the `fetch` method of `EcmFiles` and ensuring proper filtering based on the provided entity.
- Modifying `dol_move`, `deleteFilesIntoDatabaseIndex`, and other file-related functions to support the `entity` parameter.
- Ensuring entity propagation in operations like file indexing, renaming, and deletion.
This resolves issues where operations were limited to the default entity value (`$conf->entity`), improving flexibility and correctness in multi-entity setups.
* fix(ecm): improve code formatting for entity checks
Ensure consistent coding style for entity-related conditions across file operations by adding spacing around `empty()` calls.
This improves code readability and maintains uniformity in the handling of multi-entity configurations within the `EcmFiles` class and related modules.
* fix(ecm): cast entity to int in SQL queries
Ensure `entity` values are explicitly cast to integers in SQL conditions, improving type safety and preventing potential SQL injection vulnerabilities.
This change applies consistent casting in multiple entity-related checks within the `EcmFiles` class to enhance code security and reliability.
2025-09-10 10:59:09 +02:00
Laurent Destailleur
7c2fa3e8a1
Fix CI
2025-05-20 01:09:52 +02:00
ldestailleur
095905670a
Remove BlockUI js plugin. Replaced with few js/css lines.
2025-05-06 19:15:13 +02:00
ldestailleur
eb6bc94d0c
Fix syntax error
2025-04-25 13:46:27 +02:00
ThomasNgr-OpenDSI
3c37f28d50
NEW ticket : display files linked to actioncomm ( #32325 )
...
* modify ecmfiles to link ecmfile to actioncomm
* ticket : link files to actioncomm
* display linked files in actioncomm cards
* Various fix (pre-commit, phpstan, usw.)
2025-04-22 12:44:57 +02:00
ldestailleur
e276def96d
Revert "add param nocreateEcmFile ( #33770 )"
...
This reverts commit 0bd93fa05a .
2025-04-10 14:19:49 +02:00
ldestailleur
15c799b324
Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0
2025-04-10 14:17:56 +02:00
atm-jonathan
0bd93fa05a
add param nocreateEcmFile ( #33770 )
...
Co-authored-by: x <x@x.x>
2025-04-08 15:24:28 +02:00
ldestailleur
ef95c311a7
Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop
2025-04-03 21:09:46 +02:00
VIAL-GOUTEYRON Quentin
3ad05c2dde
FIX: Incorrect entity used when downloading a document generated in another entity ( #33565 )
...
* FIX : Wrong entity to download document
* MODIFICATION : Remplacement de l'ID d'entité par l'objet dans les fonctions de gestion des fichiers pour une meilleure cohérence.
* Update files.lib.php
* Update files.lib.php
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
2025-04-01 23:13:31 +02:00
ldestailleur
8efa60f4b0
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
...
develop
2025-04-01 13:53:52 +02:00
ldestailleur
04b48b7b09
FIX Link to download check receipt.
2025-03-31 19:34:57 +02:00
MDW
8669993ecf
Qual: Fix phan notices (compta/prel..fichinter) ( #33485 )
...
* Qual: Fix phan notices (asset..compta/paiement)
* Qual: Fix phan notices (compta/prel..fichinter)
2025-03-19 15:21:48 +01:00
Laurent Destailleur
7ce3f23b21
Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop
2025-03-17 20:36:32 +01:00
Laurent Destailleur
5443b7cc11
FIX Bad link to download tax vat document
2025-03-17 20:30:02 +01:00
MDW
2cd6459d10
Qual: Fix phan notices (*card) ( #33450 )
2025-03-14 17:25:11 +01:00
ldestailleur
9276042264
Fix CI
2025-03-06 11:34:27 +01:00
ldestailleur
d20e730c66
Clean code
2025-03-06 04:56:54 +01:00
ldestailleur
f8f9a81f9b
Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop
2025-03-03 17:00:48 +01:00
ldestailleur
105ec63eaf
Debug v21 for multicompany
2025-03-03 15:20:39 +01:00
Laurent Destailleur (aka Eldy)
22248f48b0
NEW The public media browser is stable
2025-02-13 14:22:10 +01:00
Laurent Destailleur (aka Eldy)
0aa6d4f237
NEW The public media browser is stable
2025-02-13 14:21:31 +01:00
Laurent Destailleur (aka Eldy)
62e441ad3d
Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop
2025-02-12 22:51:21 +01:00
Laurent Destailleur (aka Eldy)
2b5295497b
Debug v21
2025-02-12 16:22:06 +01:00
Laurent Destailleur (aka Eldy)
ab4eb1f834
WIP Dir statement in ECM
2025-02-04 18:46:20 +01:00
MDW
e5c385999d
Qual: Fix multiple phan notices
...
# Qual: Fix multiple phan notices
Fix multiple phan notices
2025-01-29 01:41:41 +01:00
Frédéric France
b4babd6fcb
fix phpstan
2025-01-11 10:46:57 +01:00
Laurent Destailleur (aka Eldy)
b024b95948
Fix typo
2025-01-09 19:35:01 +01:00
Laurent Destailleur (aka Eldy)
56710ce9b7
FIX CVE-2024-55227 and CVE-2024-55228 CSRF when
...
MAIN_RESTRICTHTML_ONLY_VALID_HTML_TIDY is
on (hidden option not on by default)
2025-01-09 19:35:01 +01:00
Laurent Destailleur (aka Eldy)
de321e8f01
Fix typo
2025-01-09 02:01:49 +01:00
Laurent Destailleur (aka Eldy)
79ae59ee2a
Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop
2025-01-08 17:54:13 +01:00
Laurent Destailleur (aka Eldy)
c0250e4c91
FIX CVE-2024-55227 CSRF when MAIN_RESTRICTHTML_ONLY_VALID_HTML_TIDY is
...
on (hidden option not on by default)
2025-01-08 17:41:45 +01:00
Laurent Destailleur (aka Eldy)
6681979596
NEW Option MAIN_RESTRICTHTML_ONLY_VALID_HTML and
...
MAIN_RESTRICTHTML_ONLY_VALID_HTML_TIDY are on by default
2025-01-05 18:57:18 +01:00
Laurent Destailleur
7ff227bafe
Debug v21
2024-12-09 22:26:56 +01:00
Frédéric FRANCE
01297eeb86
fix phpstan ( #32188 )
...
* fix phpstan
* fix typos
* add phpdoc
* cut long line
2024-12-01 23:15:27 +01:00
Mohamed DAOUD
0777540ee7
fix ecmfile ( #31995 )
2024-11-19 03:05:06 +01:00
Frédéric FRANCE
aa5f526ae1
fix link if subdirectory to remove contains numbers ( #31797 )
...
* fix link if subdirectory to remove contains numbers
* Update ecmfiles.class.php
2024-11-13 22:57:07 +01:00
Laurent Destailleur
062c769cc3
Rename MAIN_USE_FULL_TEXT_INDEXATION into MAIN_SAVE_FILE_CONTENT_AS_TEXT
2024-11-13 00:01:18 +01:00
Frédéric FRANCE
15490b292f
fix phpstan and fix CI ( #31739 )
...
* 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-11-10 11:16:23 +01:00
Laurent Destailleur
028c5d8a92
Debug v21
2024-11-10 01:28:16 +01:00
Laurent Destailleur
576df86eac
NEW Add field to store text content of files
2024-11-09 13:28:50 +01:00
Frédéric FRANCE
5cf3074d28
clean phpstan baseline ( #31725 )
...
* clean phpstan baseline
* fix and clean phpstan baseline
* fix and clean phpstan baseline
* fix and clean phpstan baseline
* fix and clean phpstan baseline
* fix and clean phpstan baseline
* fix and clean phpstan baseline
* fix and clean phpstan baseline
* fix and clean phpstan baseline
* fix and clean phpstan baseline
* fix and clean phpstan baseline
* fix and clean phpstan baseline
* fix and clean phpstan baseline
* fix and clean phpstan baseline
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
2024-11-08 14:41:01 +01:00
Frédéric FRANCE
4f777f58dc
fix ecmfile tooltip ( #30993 )
...
* Update ecmfiles.class.php
* Update ecm.lang
* Update ecmfiles.class.php
* add translations
* wip
* wip
* enhance tooltip
* fix
* fix
* fix
* fix ajaxtooltip
* fix picto
* fix picto
* fix sql
* tooltip
* tooltip
* test
2024-11-07 05:07:41 +01:00
MDW
278d301f32
Qual: Fix phan/phpstan notices in class files (part 6) ( #31634 )
...
* Qual: Fix notices for paymentdonation...workstationusergroup.class
* Qual: Fix PhanPluginRedundantReturnComment, update baseline
* Qual: Complete array phpdoc for properties
2024-11-06 23:57:45 +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