~bigbes/core-go

ref: c2c2f3848fa9a88d96952ff08f886483f8b9d1f7 core-go/email d---------
8c2729f4 — Adnan Maolood 4 years ago
email.EnqueueStd: Don't overwrite headers

Sometimes we need to specify the Message-Id, From, and Reply-To headers
(e.g. for todo.sr.ht ticket notifications). Don't overwrite these
headers if they are present.
3f80f677 — Conrad Hoffmann 4 years ago
email: handle failure to encrypt notifications

Currently, failure to encrypt the notification email - e.g. due to an
expired key - will make the entire request fail. Instead, fall back to
sending an unencrypted email and let the request succeed (unless that
fails also, which is unlikely).
e28d47cf — Adnan Maolood 4 years ago
go fmt
f762ad22 — Peter Sanchez 4 years ago
Bugfix, mail config placed in wrong setting.
dd20891a — Julien Moutinho 4 years ago
Replace x/crypto package by ProtonMail/go-crypto to support ed25519 OpenPGP keys
31e77bac — Peter Sanchez 4 years ago
Add support for mail setups that don't support TLS or Auth
f44afb10 — Simon Ser 4 years ago
go fmt
48250772 — Simon Ser 4 years ago
Remove %e formatting verbs

%e is not valid for formatting error values:

> %e	scientific notation, e.g. -1.234456e+78

Instead, use %w when using fmt.Errorf (for error wrapping) and
%v when using log.Printf (%w is not valid in that context).
1371ba4b — Drew DeVault 4 years ago
Configure server to manage mail queue

This also sets up the recovery function for webhooks, so we get emailed
when we panic during a webhook query.
177d60f9 — Drew DeVault 5 years ago
Encrypt outgoing emails
606ff2ef — Drew DeVault 5 years ago
Sign outgoing emails
b7e39188 — Drew DeVault 5 years ago
Make worker logs less loud
14f4b921 — Drew DeVault 5 years ago
Expand context for work queues
9af62068 — Drew DeVault 5 years ago
email: remove leftover debug code
0c651498 — Drew DeVault 5 years ago
Add email work queue