Commit graph

44 commits

Author SHA1 Message Date
Chl
c26013ea03 Preparing 0.3.6 release
All checks were successful
/ GenerateReleaseZipfile (push) Successful in 1m22s
2024-08-27 01:46:31 +02:00
Chl
26d25135d6 Add workflow for generating zip file 2024-08-27 01:43:39 +02:00
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
ab5a9c2861 Preparing 0.3.5 release 2024-08-17 21:37:00 +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
44c54ab3f7 $conf->global->MAIN_MAIL_ERRORS_TO is not always set 2024-03-15 01:22:23 +01:00
Chl
0b08f125c9 readme: specify 'customer invoice'
Following the arrival of supplier invoice templates in Dolibarr 16, it's better
to specify than this module only manage customer invoices.

Adding the management of supplier invoice seems possible but I don't really see
a use case at the moment.
2024-03-13 18:54:01 +01:00
Chl
a7532db483 Execute the hook only for customer invoices
With the introduction of supplier invoice templates in Dolibarr 16, with the
same hook but different table, this module tried to load the customer invoice
having the same id than the supplier invoice template being treated. This could
result in severe information disclosure.

Fixes gh-10
2024-03-13 18:29:27 +01:00
Chl
d3bac76b2e CSRF-protect the form + update the version
Fix #8
2023-12-17 00:22:26 +01:00
Chl
cdde859aea Correct the module's family
CRM -> Financial, with the invoice module.
2023-06-05 12:39:50 +02:00
Chl
704fd77e82 Little rewrite on why there is no dedicated scheduled job 2022-01-11 18:11:12 +01:00
Chl
97f6eb9ff1 a little chauvinism :) 2021-12-05 18:19:29 +01:00
Chl
faa3ff6a02 Preparing 0.3.2 release 2021-12-05 02:09:37 +01:00
Chl
904554a0e1 Add a notice if the module cron is disabled 2021-12-05 02:09:37 +01:00
Chl
224e82f9fa Default choice for body format (auto/txt/html) in module's setup
Enhancement for issue #1
2021-12-05 02:04:18 +01:00
Chl
faa9dcaa6c Allow sending emails even when the invoice is a draft 2021-12-05 02:04:18 +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
0043e39f30 readme: more helpful download links + typos & format 2021-08-11 19:57:51 +02:00
Chl
c9bed07a53 v. 0.3.1 2021-07-17 19:33:39 +02:00
Chl
6cfa45fb1b fix for the 0.2.7 "hacky way" :) 2021-07-17 19:27:07 +02:00
Chl
55ae226239 Show attached files in agenda event 2021-07-17 18:52:11 +02: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
Chl
3f14164994 Allow some mail customization for each template via note_private 2021-02-20 00:32:15 +01:00
Chl
36a17c4590 First try at removing lang specifications from email template 2021-02-19 02:48:14 +01:00
Chl
98ffff0f30 version increment 2021-02-19 02:28:54 +01:00
Chl
d6047334de Reload not needed anymore
Tested with Dolibarr 10.0.7 and 13.0.0.
2021-02-19 02:20:45 +01:00
Benjamin Freeman
8f3c0495fc Fix missing thirdparty info 2021-02-19 01:53:57 +01:00
Chl
766e500b17 email template's type corrected to 'facture_send' 2020-01-13 22:42:44 +01:00
Chl
0c6fd5aa04 We now have a range of registered ids 2019-08-03 23:48:23 +02:00
Chl
77c86bcb13 No setup page at the moment 2019-08-03 19:08:07 +02:00
Chl
4a56e8b1c0 Renaming from sendfacrecmail to sendrecurringinvoicebymail
Since Dolibarr 10.0 just came out, this module may (at last) become
useful. Let's use a more easily understandable name for it.
2019-08-03 19:08:07 +02:00
Chl
16315f630c Using the new, generic context for cron jobs 2019-02-28 16:03:48 +01:00
Chl
dbb7acfb8f Hooks intégrés dans develop (pour la v10 ?) 2019-02-28 02:05:20 +01:00
Chl
d0991fb220 Saut de version suite à dernière fonctionnalité 2018-12-03 23:57:13 +01:00
Chl
f7a693d7dc Refonte pour trigger sur agenda 2018-12-03 23:39:40 +01:00
Chl
a982695644 Traductions et doc diverses 2018-12-02 01:30:02 +01:00
Chl
bb2b2dba40 Nettoyage 2018-12-02 01:21:54 +01:00
Chl
59bc09e99f Version fonctionnelle 2018-12-02 01:18:02 +01:00
Chl
2efa632487 version de test 2018-12-02 00:33:14 +01:00
Chl
fed00b67c6 fix 2018-12-02 00:33:09 +01:00
Chl
2b07d8f132 Première passe de config. et nettoyage 2018-12-01 23:26:49 +01:00
Chl
ae6b0cd544 Commit initial
Tout frais sorti de ModuleBuilder (9.0.0-beta 0fb95c91a4faf0930a6a744dec307d3ffc517157)
2018-12-01 22:40:20 +01:00