* 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>
* NEW #25922 Add OIDC user auto-creation and fix login bugs
NEW #25922 Add OIDC user auto-creation and fix login bugs
* Fix indentation in OIDC auto-create user admin settings block
* Move require_once statements to file level in openid_connect.lib.php
* Cast login_claim to string before user creation
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
* backport de la liste des ressources v23
* fix oauth api conexion
* fix oauth api conexion
* fix oauth api conexion
* Fix CI
* fix: in some case on create invoice when create PDF the lang is not correcly defined because ->thirdparty is not set (#37287)
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
* add microsoft exchange oauth
* add microsoft exchange oauth
* add microsoft exchange oauth
* add microsoft exchange oauth
* add microsoft exchange oauth
* Revert unintended changes to resource list
* Tidy OAuth logging and consent prompt
* Fix PHPCS blank line warnings
---------
Co-authored-by: ATM-Lucas <lucas.mantegari@atm-consulting.fr>
Co-authored-by: VIAL-GOUTEYRON Quentin <quentin.vial-gouteyron@atm-consulting.fr>
Co-authored-by: Laurent Destailleur <eldy@users.sourceforge.net>
Co-authored-by: HENRY Florian <florian.henry@open-concept.pro>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
* 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>
* 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