about summary refs log tree commit diff
path: root/web/panettone/src/packages.lisp
diff options
context:
space:
mode:
authorGriffin Smith <grfn@gws.fyi>2020-08-01T16·10-0400
committerglittershark <grfn@gws.fyi>2020-08-02T02·08+0000
commitb6bab664db5202bb179fede2cb53260324352390 (patch)
tree52476cc42b6f2616f4697adbea0aedfd0864cba7 /web/panettone/src/packages.lisp
parent2646e57aae5aedc3d07d8596aa6a61048b312e54 (diff)
feat(web/panettone): Allow editing issues r/1539
Allow editing both the subject and the body of issues, recording events
indicating the edit and displaying those events in the issue history.

Fixes: #14
Change-Id: I9ed05271ce9bf6bda4e56f15e249c0f28c862b27
Reviewed-on: https://cl.tvl.fyi/c/depot/+/1517
Tested-by: BuildkiteCI
Reviewed-by: tazjin <mail@tazj.in>
Diffstat (limited to 'web/panettone/src/packages.lisp')
-rw-r--r--web/panettone/src/packages.lisp6
1 files changed, 3 insertions, 3 deletions
diff --git a/web/panettone/src/packages.lisp b/web/panettone/src/packages.lisp
index 16cb39dec504..596589f7907c 100644
--- a/web/panettone/src/packages.lisp
+++ b/web/panettone/src/packages.lisp
@@ -19,8 +19,8 @@
 
 (defpackage panettone.model
   (:nicknames :model)
-  (:use :cl :panettone.util :klatre :postmodern)
-  (:import-from :alexandria :if-let :define-constant)
+  (:use :cl :panettone.util :klatre :postmodern :iterate)
+  (:import-from :alexandria :if-let :when-let :define-constant)
   (:export
    :connect-postgres :ddl/init
 
@@ -29,7 +29,7 @@
    :field :previous-value :new-value
 
    :get-issue :issue-exists-p :list-issues :create-issue :set-issue-status
-   :delete-issue :issue-not-found
+   :update-issue :delete-issue :issue-not-found
 
    :issue-events