2
0
forked from Wavyzz/dolibarr
Commit Graph

39842 Commits

Author SHA1 Message Date
ldestailleur
4d0aad7d48 Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-07-21 23:20:42 +02:00
ldestailleur
c269ad9332 FIX Sending ticket email must have different from and replyto to avoid
to be set as SPAM
2025-07-21 23:20:08 +02:00
ldestailleur
7a076eead2 Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-07-21 22:14:38 +02:00
ldestailleur
5804520b96 Debug v22 - FIX date of created ticket. 2025-07-21 20:12:51 +02:00
ldestailleur
fa12e7ddeb Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-07-21 18:47:46 +02:00
ldestailleur
7dd642faab Missing field $fields 2025-07-21 18:15:43 +02:00
ldestailleur
cf329df785 Debug v22 2025-07-21 18:02:50 +02:00
ldestailleur
dc2bc00820 Debug v22 2025-07-21 15:03:29 +02:00
ldestailleur
2e47121024 Debug v22 2025-07-21 14:25:48 +02:00
ldestailleur
a800af3b91 Debug v22 2025-07-21 10:47:45 +02:00
moreauftheobald
d4f9fd424f QUAL: OpenID Setup fused in Security Setup + Module removed -- WIP (#34422)
* FIX: OpenID Setup fused in Security Setup + Module removed...

* FIX: OpenID Setup fused in Security Setup + Module removed... WIP

* FIX: OpenID Setup fused in Security Setup + Module removed... WIP

---------

Co-authored-by: Theobald <f.moreau@theobald-groupe.com>
2025-07-20 20:09:53 +02:00
ldestailleur
0277aff89d Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2025-07-20 20:05:40 +02:00
ldestailleur
9195f9be36 Debug getWarningDelay 2025-07-20 19:57:15 +02:00
moreauftheobald
6c86ad3eae FIX-Develop correct getwarningdelay (#34497)
* replace $conf->module->XXX->gwarning_delay by new function getwarningdelay

* replace $conf->module->XXX->gwarning_delay by new function getwarningdelay

* replace $conf->module->XXX->gwarning_delay by new function getwarningdelay

* FIX- Correct function GetwarningDelay

---------

Co-authored-by: Theobald <f.moreau@theobald-groupe.com>
2025-07-20 19:54:06 +02:00
Yannis Hoareau
c9073e95c7 NEW : search all facture rec (#34563)
* feat: new search all in facture rec

* feat: search all working without distinct

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-07-20 18:47:57 +02:00
ldestailleur
449109d0ba FIX use of a google print oauth token restored. No more conflict with
other tokens.
2025-07-20 17:15:14 +02:00
ldestailleur
4d22a52afb Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-07-19 18:20:46 +02:00
ldestailleur
daae9593d6 Fix warnings 2025-07-19 17:48:42 +02:00
ldestailleur
3770c82015 Debug look and feel v21 2025-07-19 02:35:33 +02:00
ldestailleur
e4ba59a509 Fix warning 2025-07-18 19:50:22 +02:00
Charlène Benke
54b359ab8a NEW implement box on product and interventional index page (#34629)
* implement box on product and interventional index page

* Update index.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-07-18 03:01:36 +02:00
Frédéric FRANCE
bb294eef95 NEW add hook getListOfModels (#34626)
* add hook getListOfModels

* Update functions2.lib.php

* Update functions2.lib.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-07-18 02:59:19 +02:00
ldestailleur
6339eaf879 Fix date variables must be in UTC in memory. 2025-07-18 02:57:49 +02:00
VIAL-GOUTEYRON Quentin
7f9b477401 Fix(core): Ensure tms field is always updated in updateCommon (#34723)
* fix(commonobject): ensure `tms` field is updated with current timestamp

- Added logic to automatically update the `tms` field with the current timestamp when it exists in `$fieldvalues`.
- Aligns `tms` behavior with other timestamp fields like `date_modification`.

Improves consistency in timestamp handling across the codebase.

* fix(commonobject): set timezone for `dol_now()` call

- Updated `dol_now()` to use the user's timezone (`tz_user`).
- Ensures timestamps are consistent with user-specific settings.

* fix(commonobject): correct parameter for `dol_now()` function

- Updated `dol_now()` to use 'tzuser' instead of 'tz_user'.
- Fixes incorrect parameter causing potential timezone inconsistencies.

* fix(commonobject): respect `MAIN_DISABLE_AUTO_UPDATE_OF_TMS_FIELDS` setting

- Added a check for `MAIN_DISABLE_AUTO_UPDATE_OF_TMS_FIELDS` in the logic updating the `tms` field.
- Ensures the `tms` field is not auto-updated when this global setting is enabled.
- Retains the update behavior for `date_modification` and `fk_user_modif` fields.

Improves flexibility by honoring user-defined global settings for timestamp management.

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-07-18 02:54:07 +02:00
splohmer
f369730adc Make mail id more unique (#34683)
The current solutions only uses time() which is a timestamp based on seconds. In some scenarios like automizing mails this is not enough. Even with the mt_rand there could be more likely collisions of the ids which is not allowed as it should be overall unique.
The newly used uniqid used a timestamp based on milliseconds and adds additionally a bit randomness which reduces the collision changes much more.

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-07-18 01:33:24 +02:00
F-Node-Karlsruhe
34634cd814 fix purchase order refernece key in pdf generation (#34757)
* fix refernece key in pdf generation

Signed-off-by: F-Node-Karlsruhe <christian.fries@eecc.de>

* Update pdf.lib.php

---------

Signed-off-by: F-Node-Karlsruhe <christian.fries@eecc.de>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-07-17 23:19:55 +02:00
F-Node-Karlsruhe
e59f2447e7 fix purchase order refernece key in pdf generation (#34757)
* fix refernece key in pdf generation

Signed-off-by: F-Node-Karlsruhe <christian.fries@eecc.de>

* Update pdf.lib.php

---------

Signed-off-by: F-Node-Karlsruhe <christian.fries@eecc.de>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-07-17 22:20:45 +02:00
ldestailleur
de8c7f3c6e Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-07-17 21:48:55 +02:00
ldestailleur
487633c117 Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-07-17 21:48:46 +02:00
ldestailleur
49a834b08c Fix warning 2025-07-17 21:48:31 +02:00
Charlène Benke
2bd22cc7c6 NEW : add api_paiements.class.php (#34756)
* NEW : add api_paiements.class.php

* Update functions2.lib.php

add payement api folder

* Update api_paiements.class.php

* Update api_paiements.class.php
2025-07-17 21:34:26 +02:00
ldestailleur
a9c48a3e4d Debug v22 2025-07-17 21:04:59 +02:00
ldestailleur
176c7d178d Debug v22 2025-07-17 19:30:58 +02:00
ldestailleur
54ba7c2672 FIX mass action "Merge PDF" with high number of objects. 2025-07-17 19:30:58 +02:00
ldestailleur
ae18318072 Fix warning 2025-07-17 19:30:58 +02:00
ldestailleur
c0a0acf129 FIX #34746 2025-07-17 19:30:58 +02:00
ldestailleur
61dcd176e0 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into 22.0 2025-07-17 19:30:58 +02:00
ldestailleur
a4aa00c498 Sec: Remove all functions that accept callable params - CVE-2024-40137 2025-07-17 19:30:58 +02:00
ldestailleur
beea58cae6 Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-07-17 19:26:24 +02:00
ldestailleur
5940007f00 Debug v22 2025-07-17 19:26:24 +02:00
ldestailleur
d9c56d586b Simplify regex 2025-07-17 19:26:24 +02:00
ldestailleur
5f4ff4d472 Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-07-17 19:26:24 +02:00
ldestailleur
1f6a9d54e8 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-07-17 19:26:24 +02:00
ldestailleur
f1cef8ec80 FIX mass action "Merge PDF" with high number of objects. 2025-07-17 19:26:24 +02:00
ldestailleur
d8a07f6fd6 Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-07-17 19:26:24 +02:00
ldestailleur
24fcc2803f Fix warning 2025-07-17 19:26:24 +02:00
ldestailleur
f0a0aeb3a4 FIX #34746 - More complete fix for CVE-2024-40137 2025-07-17 19:26:24 +02:00
Noé Cendrier
241a919da1 NEW: New hook mergePdf (#34707)
* ADD: New hook mergePdf (#32)

* Update actions_massactions.inc.php

* Rename hook

---------

Co-authored-by: altairis-melina <91946767+altairis-melina@users.noreply.github.com>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-07-15 18:48:01 +02:00
ldestailleur
8a79e957c6 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-07-15 17:20:13 +02:00
ldestailleur
1dd83c65aa Doc 2025-07-15 16:15:59 +02:00