Commit Graph

12829 Commits

Author SHA1 Message Date
ldestailleur
838e6efd5f Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into 22.0 2025-09-22 09:56:59 +02:00
ldestailleur
83f1825b63 Fix avoid fatal error 2025-09-22 09:56:32 +02:00
Laurent Destailleur
a2640829ca Better sanitization of url and email 2025-09-22 02:38:48 +02:00
ldestailleur
49051ff165 Removed deprecated property ->projet (replace with ->project) 2025-09-21 15:08:56 +02:00
ldestailleur
15f34dbbb0 QUAL: Removed deprecated properties user_valid, user->creation,
user_modification replaced with user_ceation_id, user_validation_id and
user_modification_id.
2025-09-21 14:58:38 +02:00
ldestailleur
f9cd8367ad Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-09-20 16:23:22 +02:00
MDW
b3228aa7ce Qual: Fix phan notices (#35406)
* fix CI

* fix

* Qual: Fix newly appeard phan notices

# Qual: Fix newly appeard phan notices

Fix notices that appearce sin a previous phan report - some of these
notices are masked by the current baseline.

---------

Co-authored-by: Frédéric FRANCE <frederic34@users.noreply.github.com>
Co-authored-by: Frédéric FRANCE <frederic.france@free.fr>
2025-09-20 15:59:05 +02:00
ldestailleur
acd694914b FIX Bad management of carriage return when requesting IA API. 2025-09-20 15:24:45 +02:00
ldestailleur
5ac469634e Clean code for PDF invoices 2025-09-20 02:48:27 +02:00
Frédéric FRANCE
3adedc23d9 fix CI 🐛 (#35392)
* add picto

* fix padding

* fix CI

* Update user.class.php

* fix

* fix

* fix

* fix

* fix

* fix

* fix
2025-09-19 23:38:52 +02:00
ldestailleur
977f552d8b Fix warning and missing unit of delay 2025-09-19 16:19:06 +02:00
ldestailleur
65336ae956 FIX vat detection when country of buyer is unknown. 2025-09-19 13:43:07 +02:00
ldestailleur
25a59cb869 Doc 2025-09-19 13:33:37 +02:00
ldestailleur
00095c904d FIX vat detection when country of buyer is unknown. 2025-09-19 13:25:33 +02:00
ldestailleur
63c8857be7 FIX vat detection when country of buyer is unknown. 2025-09-19 13:23:46 +02:00
ldestailleur
4a363478ae Clean code with rector 2025-09-18 16:26:38 +02:00
ldestailleur
cd0fd6f466 CSS 2025-09-17 23:24:25 +02:00
Frédéric FRANCE
69c65c5f4d fix CI v22 (#35370)
* fix CI v22

* Update cron_run_jobs.php

* Update files.lib.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-09-17 14:47:51 +02:00
ldestailleur
41dd77959a Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2025-09-17 14:45:48 +02:00
John BOTELLA
776b9422e4 Fix WAF alert ModSecurity: Access denied with code 403 (phase 4). (#35360) 2025-09-17 14:20:33 +02:00
Laurent Destailleur
8e1cf72de0 Debug v23 2025-09-16 00:56:18 +02:00
Frédéric FRANCE
d685f1e529 fix CI (#35353)
* fix CI

* Update header.tpl.php

* Update style.css.php

* Update webportal.main.inc.php

* Update files.lib.php
2025-09-15 22:45:42 +02:00
ldestailleur
e8d2095816 NEW dol_sort_array can be used with 2 sorting criteria. 2025-09-15 19:28:38 +02:00
ldestailleur
761804ce55 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-09-15 18:14:29 +02:00
ldestailleur
74cc569329 Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-09-15 18:14:11 +02:00
Charlène Benke
175eea301f NEW add private and public note on ticket (#35303)
* Update copyright and add note fields in SQL

* Add note_public and note_private columns to llx_ticket

* Implement notes tab in ticket details

* Add fk_user_modif column to llx_ticket table

* Add fk_user_modif column to llx_ticket table

* Add files via upload

* Add private and public note fields to ticket class

* Update ticket.class.php

* Update ticket.class.php

* Update note.php

* Update note.php

* Update note.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-09-15 16:17:28 +02:00
Frédéric FRANCE
f8d3713c1c clean code (#35343)
* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code
2025-09-15 16:16:32 +02:00
Frédéric FRANCE
21d50f1a58 clean code expedition class (#35327)
* clean code expedition class

* clean code expedition class

* clean code expedition class

* clean code expedition class

* clean code expedition class

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* clean code
2025-09-15 16:16:22 +02:00
ldestailleur
361169b896 Fix bad tab underlined in display setup 2025-09-15 15:16:36 +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
Vincent Maury
e541438b7e Fix bug #35330 (#35331)
in table header, instead of extrafield filters, this message appears
ERROR : selectForForms: Error bad setup of field objectdescorig=
2025-09-12 18:57:44 +02:00
Frédéric FRANCE
554d2baa32 clean code adherent (member) class (#35259)
* clean code adherent (member) class

* 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

* fix

* fix

* fix

* fix

* fix

* fix

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-09-12 02:40:35 +02:00
ldestailleur
0919cc37e0 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-09-11 13:32:00 +02:00
ldestailleur
92ffba11ca Remove old lang files that are too small (moved into other lang files) 2025-09-11 13:31:34 +02:00
Liammer
d55551ee3c Add "__EVENT_DESCRIPTION__" variable (#35302)
To be able to add the event's description in reminder emails.
2025-09-11 12:52:22 +02:00
Frédéric FRANCE
6378a99e5a add src and id when create ecmfiles (#35292) 2025-09-11 11:22:11 +02:00
ldestailleur
af74f2c057 Lang file paybox is too small for deprecated moduel. Moved inside
stripe.
2025-09-11 11:20:13 +02:00
Frédéric FRANCE
1263054fba fix doc (#35298) 2025-09-11 11:10:45 +02:00
ldestailleur
8f0d2b1f7b Fix missing __THIRDPARTY_URL__ 2025-09-10 12:59:01 +02:00
ldestailleur
b667bc0f13 Fix missing __THIRDPARTY_URL__ 2025-09-10 12:57:29 +02:00
ldestailleur
46276ba216 Doc 2025-09-10 11:53:17 +02:00
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