487 Commits

Author SHA1 Message Date
Braito
3a61d3f2c9 Fix SMTP OAuth refresh scopes (#36950)
Recreate the OAuth service with its configured scopes when refreshing an access token (required by some providers like Microsoft v2).

Also keep the previous refresh token when the refreshed token does not include one (e.g. Google returns it only once).

Co-authored-by: caminotravelcenter <caminotravelcenter@localhost>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-01-24 20:13:06 +01:00
Laurent Destailleur
d4030302c9 Comment 2026-01-21 12:29:49 +01:00
Laurent Destailleur
0c49c8298e Fix case 2026-01-10 17:28:44 +01:00
ldestailleur
8e3a185af5 Fix CI 2025-10-08 20:38:23 +02:00
ldestailleur
e36f3f4e9d Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-10-08 20:28:58 +02:00
ldestailleur
0820139b1d Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into 22.0 2025-10-08 20:27:42 +02:00
ldestailleur
f75b6a64eb Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-10-08 20:26:08 +02:00
Joachim Kueter
8146025b08 Fix #35521 - properly display embedded images in mailings (#35523)
* fix embedded images

* fix php stan

* fix php stan

* Update CMailFile.class.php

* Update CMailFile.class.php

* Update CMailFile.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-10-08 20:24:56 +02:00
ldestailleur
f815571248 Code comment 2025-10-07 13:37:47 +02:00
ldestailleur
f22838782a Fix duplicate instruction 2025-10-07 12:51:56 +02:00
ldestailleur
26a2d47bec Doc 2025-10-07 12:45:33 +02:00
ldestailleur
570c7b2255 Doc 2025-10-07 11:04:10 +02:00
ldestailleur
ca878b2d76 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into 22.0 2025-09-20 16:19:57 +02:00
ldestailleur
048b0f98e6 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-09-20 16:15:15 +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
Frédéric FRANCE
6a8d983f34 clean code for v20 - fix pre-commit (#35397)
* clean code

* Update ruleset.xml

* Update CMailFile.class.php
2025-09-19 23:36:53 +02:00
ldestailleur
4a363478ae Clean code with rector 2025-09-18 16:26:38 +02:00
Frédéric FRANCE
1bbbd96690 clean code (#35317)
* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code
2025-09-12 15:12:55 +02:00
ldestailleur
5fe445c0da Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-08-25 21:53:35 +02:00
ldestailleur
7c30968ed1 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into 22.0 2025-08-24 22:16:14 +02:00
ldestailleur
a21e896dbe Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-08-24 22:10:12 +02:00
ldestailleur
583c4b3270 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2025-08-24 22:09:30 +02:00
ldestailleur
381c6fbecf Fix CI 2025-08-24 22:05:46 +02:00
Frédéric FRANCE
cd5df0bd68 try to fix doc (#35036)
* try to fix doc

* try to fix doc

* try to fix doc

* try to fix doc

* try to fix doc

* try to fix doc

* try to fix doc

* try to fix doc

* try to fix doc
2025-08-21 23:13:00 +02:00
HENRY Florian
e3953f684b fix: with MAIN_MAIL_ADD_INLINE_IMAGES_IF_IN_MEDIAS and multicompany image are not find on send mail (#34946) 2025-08-14 19:03:37 +02:00
ldestailleur
cda2717155 Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-08-13 19:54:21 +02:00
ldestailleur
6d564c0e43 Fix use same encoding for all strings in email ack of payment. 2025-08-13 19:53:16 +02:00
ldestailleur
040f67e393 Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-08-07 20:03:30 +02:00
ldestailleur
944c47c876 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into 22.0 2025-08-07 19:31:18 +02:00
ldestailleur
990462fb9a Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2025-08-07 16:18:25 +02:00
ldestailleur
c064540d4b Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2025-08-07 16:17:11 +02:00
HENRY Florian
5024aee975 fix: with MAIN_MAIL_ADD_INLINE_IMAGES_IF_IN_MEDIAS and multicompany image are not find on send mail (#34894) 2025-08-07 14:42:20 +02:00
ldestailleur
7ea3c419aa Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-07-25 17:00:22 +02:00
ldestailleur
691245512b Debug v22 - FIX Message-ID not set with SMTPs 2025-07-22 01:37:25 +02:00
ldestailleur
fb32860001 Debug v22 - FIX Message-ID not set with SMTPs 2025-07-22 01:23:28 +02:00
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
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
Laurent Destailleur
b1812b1080 Debug v22 2025-06-10 02:24:08 +02:00
ldestailleur
9cc83f44de Debug v22 2025-06-08 13:23:46 +02:00
ldestailleur
cc33eac316 Add method to update socket timeout 2025-04-22 16:57:49 +02:00
Frédéric FRANCE
beb0956d60 add image type in CMailFile.class.php (#33872) 2025-04-16 17:32:59 +02:00
ldestailleur
b84bc626d9 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-04-10 14:34:59 +02:00
ldestailleur
5e3313bf13 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-04-10 14:24:21 +02:00
ldestailleur
43716e856e Bad order of code 2025-04-05 19:09:40 +02:00
ldestailleur
6f9d1a50dd Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-03-27 13:43:22 +01:00
ldestailleur
72ed45b270 Add code to make SMTPs debug 2025-03-26 05:06:41 +01:00
MDW
c3104905b3 Qual: Fix phan notices (html/core) (#33474)
* FIX: Replace compromised tj-actions/changed-files

# FIX: Replace compromised tj-actions/changed-files

See https://www.stepsecurity.io/blog/harden-runner-detection-tj-actions-changed-files-action-is-compromised .

* Add changed php file for test

* Qual: Fix phan notices (html/core)

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-03-15 16:34:35 +01:00
ldestailleur
47d59c7938 NEW Add a test mode for AI setup 2025-02-16 22:45:14 +01:00
Laurent Destailleur (aka Eldy)
1f360ca498 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2025-01-20 12:28:49 +01:00