From 8e7ba41a3486a53de139486b75d72a349d13c415 Mon Sep 17 00:00:00 2001 From: Griffin Smith Date: Tue, 28 Jul 2020 00:31:55 -0400 Subject: feat(web/panettone): Log when users change issue statuses Log in the database, in a way that will generalize to tracking edit history as well, when users change the status of an issue. To facilitate easily knowing who is currently authenticated (without introducing a circular dependency) the authentication-relaated code has also been factored out into its own package, which is nice because we want to replace that sooner rather than later anyway. Fixes: #13 Change-Id: I65a544fab660ed1c295ee8f6b293e0d4945a8203 Reviewed-on: https://cl.tvl.fyi/c/depot/+/1496 Tested-by: BuildkiteCI Reviewed-by: tazjin --- web/panettone/default.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'web/panettone/default.nix') diff --git a/web/panettone/default.nix b/web/panettone/default.nix index 637ccfea9d00..4d4020923174 100644 --- a/web/panettone/default.nix +++ b/web/panettone/default.nix @@ -22,7 +22,21 @@ depot.nix.buildLisp.program { ./src/packages.lisp ./src/util.lisp ./src/css.lisp + ./src/authentication.lisp ./src/model.lisp ./src/panettone.lisp ]; + + tests = { + deps = with depot.third_party.lisp; [ + fiveam + ]; + + srcs = [ + ./test/package.lisp + ./test/model_test.lisp + ]; + + expression = "(fiveam:run!)"; + }; } -- cgit 1.4.1