Helmut K. C. Tessarek
8631430018
add missing eol at eof (POSIX compliance)
According to the POSIX standard a line is defined as follows:
```
A sequence of zero or more non-<newline> characters plus a terminating <newline> character.
```
/ref https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_206
3 years ago
BlackDex
7cb19ef767
Updated branding, email and crates
- Updated branding for admin and emails
- Updated crates and some deprications
- Removed newline-converter because this is built-in into lettre
- Updated email templates to use a shared header and footer template
- Also trigger SMTP SSL When TLS is selected without SSL
Resolves #1641
5 years ago
Daniel García
34ea10475d
Project renaming
5 years ago
BlackDex
3fed323385
Fixed plain/text email format
plain/text emails should not contain html elements like <p> <a> etc..
This triggers some spamfilters and increases the spam score.
Also added the github link into the text only emails since this also
triggers spamfilters to increase the score since the url/link count is
different between the multipart messages.
5 years ago
Jeremy Lin
a447e4e7ef
Don't HTML-escape email subject lines
For example, this causes org names like `X&Y` to appear as `X&Y`.
5 years ago
Jeremy Lin
29a0795219
Add backend support for alternate base dir (subdir/subpath) hosting
To use this, include a path in the `DOMAIN` URL, e.g.:
* `DOMAIN=https://example.com/custom-path `
* `DOMAIN=https://example.com/multiple/levels/are/ok `
6 years ago
TheMardy
22b0b95209
Added HTML templates (+14 squashed commit)
Squashed commit:
[ece2260] Plaintext send_org_invite
[01d4884] Plaintext pw_hint_some
[6ce5173] Plaintext pw_hint_none
[881af3e] Plaintext invite_confirmed
[ce78621] Plaintext invite_accepted
[13a44a4] Rename send_org_invite.hbs to send_org_invite.html.hbs
[b52bf2f] Rename pw_hint_some.hbs to pw_hint_some.html.hbs
[e0d1aeb] Rename pw_hint_none.hbs to pw_hint_none.html.hbs
[898dbcd] Rename invite_confirmed.hbs to invite_confirmed.html.hbs
[107af31] Rename invite_accepted.hbs to invite_accepted.html.hbs
[d26d662] Updated send_org_invite template
[71f47af] Updated pw_hint_some template
[c2ca3c2] Updated pw_hint_none template
[50f8bfb] Updated invite_accepted template
[17f96f8] Updated invite_confirmed template
7 years ago
Daniel García
97aa407fe4
Move email templates to subfolder
7 years ago
Daniel García
19b6bb0fd6
Initial stab at templates
7 years ago