tvl-depot/web/panettone/default.nix
Griffin Smith 8d3ab61e7c feat(panettone): Send email notifications for comments
When a user posts a comment on an issue, send email
notifications (respecting the enable-email-notifications setting) to the
author of that issue and all the other users who have commented on that
issue. Since the oauth & gmail API stuff that the relay does is slow,
this happens in a background thread.

Change-Id: Ic00c265deab1030d9ba64c29c9f56314dd179141
Reviewed-on: https://cl.tvl.fyi/c/depot/+/2805
Tested-by: BuildkiteCI
Reviewed-by: sterni <sternenseemann@systemli.org>
Reviewed-by: tazjin <mail@tazj.in>
2021-04-04 14:17:25 +00:00

49 lines
781 B
Nix

{ depot, ... }:
depot.nix.buildLisp.program {
name = "panettone";
deps = with depot.third_party.lisp; [
bordeaux-threads
cl-json
cl-ppcre
cl-smtp
cl-who
defclass-std
drakma
easy-routes
hunchentoot
lass
local-time
postmodern
trivial-ldap
depot.lisp.klatre
];
srcs = [
./panettone.asd
./src/packages.lisp
./src/util.lisp
./src/css.lisp
./src/inline-markdown.lisp
./src/authentication.lisp
./src/model.lisp
./src/irc.lisp
./src/panettone.lisp
];
tests = {
deps = with depot.third_party.lisp; [
fiveam
];
srcs = [
./test/package.lisp
./test/model_test.lisp
./test/inline-markdown_test.lisp
];
expression = "(fiveam:run!)";
};
}