chiark / gitweb /
xlog: Optionally show more approval/rejection reasons
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 17 Dec 2014 16:37:25 +0000 (16:37 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 17 Dec 2014 16:39:31 +0000 (16:39 +0000)
commit73ab10ce2582ea5b4e41465e075cde89cd2a73fb
tree5aab1ce22ddfe848286a42f3bd81ddfede95c484
parent87c1744952c472b438731e0022c5bcb4709eac3d
xlog: Optionally show more approval/rejection reasons

* Include the $cathow from the decision in the approval mail
* Append it to the event in the event.log
* Make report capable of filtering the reasons shown (by showing
  only a specified number of words, defaulting to 1 for approve
  and reject, which gives the previous behaviour)

Setting -rapprove=9 would show "everything" which includes the
identity of the moderator approving.  -rapprove=2 would show just auto
vs. manual

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
webstump/scripts/filter.lib.pl
xlog/bin/record
xlog/bin/report