~bigbes/core-go

ref: fbc8f491b0e7cd9c9b1280bd4ee29b3c0684d53b core-go/server/email.go -rw-r--r-- 2.4 KiB
9f634ce0 — Drew DeVault 4 years ago
server/email: handle errors out of GQL context
d74ae98e — Drew DeVault 4 years ago
server/email: include variables
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.
606ff2ef — Drew DeVault 5 years ago
Sign outgoing emails
e72ffa65 — Drew DeVault 5 years ago
server: incorporate queue management
0c651498 — Drew DeVault 5 years ago
Add email work queue
1d2a30cb — Drew DeVault 5 years ago
Import GQL server interfaces from gql.sr.ht