Commit Graph

13078 Commits

Author SHA1 Message Date
Laurent Destailleur
3dfce11ae8 Merge 2026-03-05 00:42:13 +01:00
Laurent Destailleur
1650d96091 FIX Pb with import of agendaevents. Date and import id not visible. 2026-03-04 16:52:48 +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
Laurent Destailleur
864191e881 NEW Refactoring how the counter of print is done.
Now done synchronously in documents.php or receipt.php
2026-03-02 20:05:50 +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
9273cbd919 Clean code 2026-03-02 04:26:03 +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
Sacha Pignot
4810534025 NEW: Add OIDC user auto-creation and fix login bugs (#37314)
* 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>
2026-02-28 15:37:48 +01:00
Milamber
40414d35a3 Fix issue with amount in letters for French (soixante-dix+ and quatre-vingt dix+) (#37369)
Comments in EN
2026-02-27 15:23:01 +01:00
Milamber
7cfa8be4a5 Fix issue with amount in letters for French (soixante-dix+ and quatre-vingt dix+) (#37369)
Comments in EN
2026-02-27 15:22:47 +01:00
Laurent Destailleur
edbd58b102 Doc 2026-02-27 14:19:50 +01:00
Laurent Destailleur
ec2f4146c3 FIX Doc and log 2026-02-27 13:51:45 +01:00
Laurent Destailleur
cd1c327173 FIX Doc and log 2026-02-27 13:49:09 +01:00
Laurent Destailleur
2e7a691371 Doc 2026-02-26 18:44:06 +01:00
Laurent Destailleur
bde08e0868 Merge v23 2026-02-25 19:18:10 +01:00
Alexandre SPANGARO
a7a5e211c2 NEW Accountancy - Transaction template system (#37286)
* NEW Accountancy - Transaction template system

* CI

* CI

* CI

* CI

* CI

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-02-24 17:50:20 +01:00
ATM-NicolasV
11e25b25fb New/add support microsoft exchange oauth (#37329)
* 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>
2026-02-24 17:48:29 +01:00
Laurent Destailleur
7b2761790f Debug v23 2026-02-23 19:49:45 +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
minimexat
4117aa4e31 fix(expedition): add 'shipping' as valid modulepart alias in dol_check_secure_access_document (#37307)
Co-authored-by: f-hoedl <hoefla14@htl-kaindorf.ac.at>
2026-02-23 00:39:44 +01:00
minimexat
e52c212a81 fix(expedition): add 'shipping' as valid modulepart alias in dol_check_secure_access_document (#37307)
Co-authored-by: f-hoedl <hoefla14@htl-kaindorf.ac.at>
2026-02-23 00:38:56 +01:00
Laurent Destailleur
cdbd56c0ba Clean code 2026-02-21 22:34:37 +01:00
Laurent Destailleur
a4d5990c2e Add full version 2026-02-20 00:49:35 +01:00
Laurent Destailleur
c295e97f9c Debug 2025-02-05 14:59:32 +01:00
Laurent Destailleur
9ff8eb695e Debug v23 2026-02-17 16:59:07 +01:00
Laurent Destailleur
5433a5642d Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into 23.0 2026-02-16 21:21:13 +01:00
Laurent Destailleur
02f23d5193 Fix #37227 Fix #37233 2026-02-16 20:54:57 +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
Laurent Destailleur
0b81bef078 Debug v23 2026-02-12 21:46:15 +01:00
Laurent Destailleur
85ccca6ca3 Debug v23 - filters on agenda pages 2026-02-12 01:22:01 +01:00
Laurent Destailleur
db5154871c More functions in blacklist (even if nw we use the whitelist by default) 2026-02-10 14:41:36 +01:00
Laurent Destailleur
ccaf2eae29 Fix CI 2026-02-09 19:20:26 +01:00
Laurent Destailleur
ba28d16da4 Sec: Add param $dolibarr_website_allow_custom_php to block by default
any PHP content in website module.
2026-02-08 17:41:42 +01:00
Laurent Destailleur
574b4b5d62 Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into 23.0 2026-02-08 13:12:52 +01:00
Anthony Berton
6ef62a45b5 FIX - getModuleDirForApiClass for propal (#37098)
Co-authored-by: Anthony Berton <anthony.berton@bb2a.fr>
2026-02-07 23:44:57 +01:00
Laurent Destailleur
556b103dc6 Fix max 2026-02-07 21:57:02 +01:00
Laurent Destailleur
205cb50766 Debug v23 2026-02-07 21:55:20 +01:00
Laurent Destailleur
2ceadc0741 css 2026-02-07 21:39:27 +01:00
Laurent Destailleur
c852aa346a Fix the limit 2026-02-07 21:38:51 +01:00
Laurent Destailleur
c352ae9615 Debug v23 2026-02-07 21:31:33 +01:00
Laurent Destailleur
8d54cac841 Code comment 2026-02-07 21:03:04 +01:00
Laurent Destailleur
012c1fb078 Debug v23 - sql request for list of actioncomm must not use a OR 2026-02-07 20:07:09 +01:00