gotosocial/internal/email
Terin Stock f9b351438b
[feature] allow absolute path to templates (#507)
Only attempt to join the `WebTemplateBaseDir` with the current working
directory if the user has not configured an absolute path to the
template directory.

This changeset also makes a similar change to the testrig, allowing
tests to configure an alternative location for the templates directory.

Fixes #411

Signed-off-by: Terin Stock <terinjokes@gmail.com>
2022-04-29 11:00:25 +02:00
..
confirm.go [bug] Send plaintext emails to fix "message refused: Message is not RFC 2822 compliant" (#366) 2022-01-31 11:46:20 +01:00
email_test.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
noopsender.go [bug] Send plaintext emails to fix "message refused: Message is not RFC 2822 compliant" (#366) 2022-01-31 11:46:20 +01:00
reset.go [bug] Send plaintext emails to fix "message refused: Message is not RFC 2822 compliant" (#366) 2022-01-31 11:46:20 +01:00
sender.go [bug] Send plaintext emails to fix "message refused: Message is not RFC 2822 compliant" (#366) 2022-01-31 11:46:20 +01:00
util_test.go [bug] Send plaintext emails to fix "message refused: Message is not RFC 2822 compliant" (#366) 2022-01-31 11:46:20 +01:00
util.go [feature] allow absolute path to templates (#507) 2022-04-29 11:00:25 +02:00