Commit Graph

10 Commits

Author SHA1 Message Date
Raphael Michel
3e686211e1 Update translations 2017-10-07 18:42:02 +02:00
Sanket Dasgupta
58938fc07c Fix #531 -- Make placeholders replace in subject (#594)
Placeholders in subject were not being replaced because there was
no `.format()` called on the subject.

This commit creates a context dict that is used for both the body
and the subject. It is then replaced using `.format_map()`

Fixes https://github.com/pretix/pretix/issues/531
2017-10-07 18:16:13 +02:00
scabux
27d6f24c3c Mail signature (#485)
* added signature field -- no function yet

* added mail signature feature

* fixed style issue

* fixed problem with signature default

* added unit test for mail signatures

* added unit test for mail signatures
2017-05-06 11:12:38 +02:00
Raphael Michel
56d9a1a3ad Skip test_send_mail_with_user_locale if .mo files do not exist 2016-11-11 14:32:58 +01:00
Raphael Michel
06868d6d17 Simplified mail tests 2015-09-28 22:30:36 +02:00
Raphael Michel
9d625198bd Refs #96 -- Allow anonymous orders 2015-09-17 22:45:57 +02:00
Raphael Michel
7def097dcd Refs #96 -- Completely removed local users 2015-09-17 00:55:00 +02:00
Raphael Michel
e828d711bd Used isort to order all import statements 2015-07-19 20:46:34 +02:00
Raphael Michel
926d543bf7 Added test for mail subject prefixes 2015-06-21 21:42:31 +02:00
Raphael Michel
fad8605aa7 Add unit tests for our mail API 2015-06-03 18:09:00 +02:00