Commit graph

7 commits

Author SHA1 Message Date
Chl
f94ba084a3 Disable Dolibarr filter on email addresses and subject
'was wondering if the filter change of Dolibarr 13 might have affected
something else and, well, yes...

So, following e1ac0a6d69, we also disable the
filter for the email addresses, else we get something like
"Webmaster <webmaster@bugness.org>" becoming "Webmaster".
2024-08-25 15:10:07 +02:00
Chl
e1ac0a6d69 Fix GH-11: HTML silently removed with Dolibarr 13+
The behaviour of GETPOST(..., 'alpha') changed with Dolibarr 13, copying
'alphanohtml'. Unfortunately, there is no retro-compatible option. Thus the
'none' filter seems the better call since there doesn't seem to have any big
attack involving emails' body (except HTML+JS...)

For the next big version, maybe use the 'restricthtml' filter, but it only
appeared in Dolibarr 12.
2024-08-17 21:28:02 +02:00
Chl
d3bac76b2e CSRF-protect the form + update the version
Fix #8
2023-12-17 00:22:26 +01:00
Chl
4c49334c31 optimization: Don't load the facture-rec twice 2021-12-05 02:04:18 +01:00
Chl
1e694ef51d [DB upgrade] Adding a field to select the mail's body format
Technical reminder about the DB upgrade :
There doesn't seem to be an easy and reusable way to give CMail both
parts of an text+html email, so we rework the database schema to have
a simple 'body' field with a 'body_ishtml' switch, following CMail
interface.

Enhancement from issue #1
2021-12-05 02:01:00 +01:00
Chl
53d755cc58 Link to default sender address configuration 2021-07-17 17:23:01 +02:00
Chl
b5bc4bca93 v. 0.3.0 : customization form for each recurring invoice 2021-03-23 15:27:33 +01:00