ldestailleur
fd08708d6a
Doc
2025-09-10 11:50:46 +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
ldestailleur
328058c571
Fix ci
2025-09-09 19:36:08 +02:00
ldestailleur
bce059e2fa
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop
2025-09-09 19:21:41 +02:00
ldestailleur
42e59c9370
Fix ci
2025-09-09 19:21:29 +02:00
Frédéric FRANCE
03fe13d93d
fix template and fix CI ( #35254 )
...
* fix adminnotification
* Update notify.class.php
* Update html.formmail.class.php
* fix
* fix
* fix
2025-09-09 19:17:32 +02:00
ldestailleur
ef15577d40
Add br
2025-09-08 13:25:28 +02:00
ldestailleur
e2c317a7cd
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop
2025-09-08 12:15:20 +02:00
ldestailleur
d27940dd8b
NEW Can have a tooltip picto on title of column and keep autotruncation
...
of label. Tooltip is show at begin of text.
2025-09-08 11:58:32 +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
Frédéric FRANCE
0e1478206a
clean code ( #35229 )
...
* clean code
* clean code
* clean code
* clean code
* clean code
* clean code
* clean code
* clean code
* clean code
* clean code
* clean code
* clean code
* clean code
* clean code
* clean code
* clean code
* clean code
* clean code
* clean code
* clean code
* clean code
* clean code
* clean code
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
2025-09-08 01:48:52 +02:00
Laurent Destailleur
148574fe4e
Fix CI
2025-09-08 01:47:44 +02:00
ldestailleur
f095528260
Clean code
2025-09-07 19:58:59 +02:00
ldestailleur
97d5025c08
Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into develop
2025-09-07 18:51:58 +02:00
ldestailleur
f160e23918
Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into 22.0
2025-09-05 17:23:25 +02:00
ldestailleur
6c0873708a
Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0
2025-09-05 15:34:13 +02:00
ldestailleur
17f35be9c9
Better name for var
2025-09-05 14:32:41 +02:00
ldestailleur
c2ed4519b1
Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0
2025-09-05 11:38:30 +02:00
ldestailleur
91664a34db
Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 19.0
2025-09-04 20:47:24 +02:00
ldestailleur
781adf507b
Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0
2025-09-04 20:47:13 +02:00
ThomasNgr-OpenDSI
01aa901f93
18.0 fix CVE 2024 40137 ( #34762 )
...
* Sec: Remove all functions that accept callable params - CVE-2024-40137
* FIX #34746 - More complete fix for CVE-2024-40137
---------
Co-authored-by: ldestailleur <eldy@destailleur.fr >
2025-09-04 14:59:44 +02:00
ldestailleur
cef6eb34c1
Remove warnings
2025-09-04 14:39:41 +02:00
ldestailleur
68544e9bf7
Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into develop
2025-09-04 14:39:08 +02:00
ldestailleur
d33682e9b4
Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into 22.0
2025-09-04 14:37:49 +02:00
ldestailleur
cf536abe2e
Fix warning
2025-09-04 14:35:44 +02:00
ldestailleur
9e2e6eea92
Fix warning
2025-09-04 14:35:02 +02:00
VIAL-GOUTEYRON Quentin
75ee26c3ed
Add HRM module support in dol_check_secure_access_document() function to manage file access rights. ( #35218 )
...
* Add HRM module support in `dol_check_secure_access_document()` function to manage file access rights.
* fix space
* Update files.lib.php
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
2025-09-04 14:26:42 +02:00
ldestailleur
9085f37593
Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into develop
2025-09-04 14:01:51 +02:00
ldestailleur
8089334670
Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into 22.0
2025-09-04 14:01:27 +02:00
ldestailleur
05f3111134
Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0
2025-09-04 13:51:56 +02:00
bohdanpotuzhnyi
c6b62915f6
support RFC5789 (patch) ( #35213 )
2025-09-04 13:26:47 +02:00
ldestailleur
d7a59530de
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
...
develop
2025-09-03 19:24:39 +02:00
ldestailleur
61a10cf58d
NEW Can view/list/edit the dispute status of an invoice
2025-09-03 18:27:40 +02:00
Lucas Marcouiller
5fa3ecd41a
Fix impossibility to validate objects ( #35202 )
...
* Fix impossibility to validate objects
* fix pre commit
---------
Co-authored-by: Lucas Marcouiller <lmarcouiller@dolicloud.com >
2025-09-03 16:28:10 +02:00
Jyhere
2e8bf5eb94
NEW: add combining characters (accents, cedilla...) codes in dol_string_unaccent() ( #35130 )
...
* NEW: add combining characters (accents, cedilla...) codes in dol_string_unaccent()
* NEW: add combining characters (accents, cedilla...) codes in dol_string_unaccent()
2025-09-03 00:28:49 +02:00
boudet jean pascal
9a0e0a53b1
fix bug div added without value ( #35178 )
...
Co-authored-by: jpb <jean-pascal.boudet@atm-consulting>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
2025-09-03 00:04:54 +02:00
Clément
69850016d9
FIX Quick search sellist extrafield ( #35070 )
...
* FIX Quick search sellist extrafield
* Update functions.lib.php
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
2025-09-03 00:03:09 +02:00
ldestailleur
eb20f6f009
Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into develop
2025-09-02 23:59:09 +02:00
ldestailleur
0d70325cc5
Fix CI warning
2025-09-02 23:58:47 +02:00
ldestailleur
62f761ac71
Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into develop
2025-09-02 12:07:15 +02:00
ldestailleur
6727d0c361
FIX we saw links to object on private not just after a save.
2025-09-02 03:51:08 +02:00
ldestailleur
f60dac9a62
Comment
2025-09-01 21:33:45 +02:00
ldestailleur
3e2b962c1d
Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into develop
2025-09-01 11:40:04 +02:00
ldestailleur
c1fb41e5d9
FIX setup of default doc template for supplier proposal when none.
2025-09-01 11:10:36 +02:00
ldestailleur
f729d33dcc
Clean setup of antivirus
2025-08-30 17:14:57 +02:00
Laurent Destailleur
2619ee7696
FIX #35105
2025-08-28 03:22:17 +02:00
Laurent Destailleur
4a30325361
Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into develop
2025-08-26 05:21:51 +02:00
Laurent Destailleur
ca835cb92d
Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into 22.0
2025-08-26 05:21:20 +02:00
Benjamin Chanudet
d81f8e539d
FIX #34857 Structured communication number checksum is now always correct ( #35081 )
...
* FIX #34857 Structured communication number now works correctly
* make sure we follow Dolibarr code chart
* fix last CI warning
2025-08-26 05:16:32 +02:00
Frédéric FRANCE
3a23318ed8
add doc ( #35079 )
...
* add doc
* fix
* fix
* fix
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
2025-08-26 04:33:05 +02:00