4821 Commits

Author SHA1 Message Date
Laurent Destailleur
5d83e6feb3 Automated merge from 23.0 to develop 2026-03-12 23:40:28 +01:00
Laurent Destailleur
b9f5895c68 Automated merge from 22.0 to 23.0 by tool pullmerge.sh 2026-03-12 23:40:02 +01:00
Zakaria Boushaba
fd71eba41e FIX: Fix mandatory custom fields JS validation in printCommonFooter (#37469)
* Fix mandatory fields JS: use name selector instead of id, fix undefined buttonName on create, fix HTML entities in alert message

* Update alert message for empty field validation

---------

Co-authored-by: Zakaria Boushaba <z.boushaba@vold.africa>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-03-12 13:47:12 +01:00
Laurent Destailleur
b73d055cbb Look and feel v24 2026-03-12 13:12:29 +01:00
Laurent Destailleur
d8bce4e1e4 Merge branch '23.0' of git@github.com:Dolibarr/dolibarr.git into develop 2026-03-12 11:16:17 +01:00
Laurent Destailleur
cd0a4016ff Fix regressions 2026-03-12 11:12:35 +01:00
Laurent Destailleur
2176229ffb Look and feel v24 2026-03-12 01:18:10 +01:00
Laurent Destailleur
432361304a FIX Better compatibility for module using condition object-> in tabs 2026-03-11 23:09:50 +01:00
Laurent Destailleur
d2e1cb18cb Look and feel v24 2026-03-10 19:27:59 +01:00
Laurent Destailleur
1969fcf195 FIX customreport menu must be greyed for external users. 2026-03-07 20:56:33 +01:00
Charlène Benke
be2957816a Add alternative element type for facturerec (#37418)
fail on extrafields showinputfield link
2026-03-05 22:25:48 +01:00
Charlène Benke
3ab609726e Add alternative element type for facturerec (#37418)
fail on extrafields showinputfield link
2026-03-05 22:11:25 +01:00
Laurent Destailleur
a3530f0329 CI 2026-03-05 11:40:00 +01:00
Laurent Destailleur
3dfce11ae8 Merge 2026-03-05 00:42:13 +01:00
Laurent Destailleur
92f76fcef4 Add info fulldayevent 2026-03-04 03:06:42 +01:00
Laurent Destailleur
9940db94d9 Debug v23 2026-03-04 03:04:31 +01:00
Laurent Destailleur
dc794ff2fb NEW Add method dolOutputDates() 2026-03-04 02:20:56 +01:00
Pierre Ardoin
fcb11df3b8 NEW : enable supplier external download links and expose substitution variables for supplier documents (#37386)
* Implement external download option for supplier invoices

Added a new option to allow external downloads for supplier invoices, enhancing user flexibility.

* Add option for external download in supplier order

* Enable external download for supplier orders and invoices

Added conditions to enable external download for supplier orders and invoices based on configuration settings.

* Add direct download URLs for supplier orders and invoices

* Update copyright information in supplier_invoice.php

Added copyright notice for Pierre Ardoin for 2026.

* Update supplier_order.php

* Cast thirdparty ID to integer in fetch call

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-03-02 15:11:10 +01:00
Laurent Destailleur
82d3d3ba92 Merge branch '23.0' of git@github.com:Dolibarr/dolibarr.git into develop 2026-03-02 05:54:03 +01:00
Laurent Destailleur
57a1f05d49 FIX #37372 FIX #37374 2026-03-02 05:52:05 +01:00
Laurent Destailleur
19f8fe8e63 Merge branch '23.0' of git@github.com:Dolibarr/dolibarr.git into develop 2026-03-02 03:14:24 +01:00
Laurent Destailleur
2cbde4df2a Report fix of v23 2026-03-02 03:08:41 +01:00
Laurent Destailleur
743c22e57c Sec: Fix #GHSA-2mfj-r695-5h9r 2026-03-02 02:04:30 +01:00
Laurent Destailleur
4bfe5d2d4a Protect includes (in case dol_include is used without harcoded filename) 2026-03-02 01:03:34 +01:00
Laurent Destailleur
d1a78bf3ac Debug v23 2026-03-01 18:33:28 +01:00
Laurent Destailleur
edbd58b102 Doc 2026-02-27 14:19:50 +01:00
minimexat
dd3709be29 fix: use ob_end_clean() instead of ob_end_flush() in readfileLowMemory() (#37298)
* fix: use ob_end_clean() instead of ob_end_flush() in readfileLowMemory() (fixes #37239)

* fix: use robust ob level cleanup loop per hregis review

---------

Co-authored-by: f-hoedl <hoefla14@htl-kaindorf.ac.at>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-02-23 01:36:32 +01:00
Joachim Kueter
7a37ebbeb3 FIX: Clean filenames with double spaces (#37256)
* Clean filenames with double spaces

If a filename contains double spaces, it can get uploaded in Dolibarr exactly as it is.

When listing the file or trying to download it, the dolibarr functions clear double spaces in the filename. In particular the alpha parameter for GETPOST.

This results in files being uploaded (e.g. attachments for invoices) than can get listed but remain inaccessible and even cannot get deleted via UI. 

We either need to fix all these places to accept double spaces or we change a single location, when we sanitize filenames.

* removed white space
2026-02-16 20:03:22 +01:00
Benjamin Falière
e2aed0f5c1 FIX: #36989 private mention on ticket pdf (#37079)
Co-authored-by: Benjamin Falière <benjamin.faliere@altairis.fr>
2026-02-04 14:41:29 +01:00
Laurent Destailleur
6b73bb78a4 CI 2026-01-30 13:22:02 +01:00
Alexandre SPANGARO
048d71dec3 FIX warnings with GETPOSTDATE and saverestore (#36886) 2026-01-16 02:54:27 +01:00
Laurent Destailleur
39ed2ece8f Backport fix for #36850 2026-01-11 12:48:58 +01:00
Laurent Destailleur
f5cae96280 Complete blacklist. 2025-12-15 17:06:18 +01:00
Laurent Destailleur
89c568ccb7 Fix picto 2025-12-06 13:53:34 +01:00
Laurent Destailleur
78316a577d Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into 22.0 2025-12-04 20:26:59 +01:00
Laurent Destailleur
3068a778da Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-12-04 19:51:48 +01:00
Laurent Destailleur
9d307a4238 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2025-12-04 19:07:33 +01:00
Laurent Destailleur
222cd76799 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2025-12-04 18:53:04 +01:00
atm-florian
0e1c580f11 FIX 18.0: GETPOSTDATE and buildParamDate assumed HTTP param names 'minute' and 'second' instead of 'min' and 'sec' 2025-12-01 13:47:50 +01:00
marc
5c6b4f62c8 FIX #35061
Signed-off-by: marc <marc.baur@ptmsoft.fr>
2025-11-28 18:25:00 +01:00
Laurent Destailleur
8facedc1b6 Fix CI 2025-11-23 01:47:00 +01:00
Laurent Destailleur
6e6253f40d Close #36120 2025-11-21 00:16:06 +01:00
MDW
f5d6533c5b Qual: (v22)Change field name to let phan warn about argument order (#36263)
* FIX wrong $param parameter position

* FIX ok it's good ! ;-)

* Qual: Change field name to let phan warn about argument order

# Qual: Change field name to let phan warn about argument order

Most of the time print_liste_field_titre() is called with $param instead of $moreparam.
By changing the argument name, phan will warn if the position is likely incorrect when '$param' is used - it will not warn for cases where $option or another
name is used.

---------

Co-authored-by: Regis Houssin <regis.houssin@inodbox.com>
2025-11-17 21:49:31 +01:00
Laurent Destailleur
9f2c33aa75 Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into 22.0 2025-10-24 19:39:15 +02:00
Regis Houssin
d37cf4b38a FIX wrong socpeople id when multiple assigned + avoid php warnings (#35878) 2025-10-22 02:29:05 +02:00
Laurent Destailleur
5d3c80e0af FIx try a better fo for #35792 2025-10-16 21:19:00 +02:00
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
65336ae956 FIX vat detection when country of buyer is unknown. 2025-09-19 13:43:07 +02:00