Added more allowed commands and pseudo-headers to be-handle-mail.
authorW. Trevor King <wking@drexel.edu>
Sun, 19 Jul 2009 14:36:21 +0000 (10:36 -0400)
committerW. Trevor King <wking@drexel.edu>
Sun, 19 Jul 2009 14:36:21 +0000 (10:36 -0400)
The new pseudo-headers are currently ignored.

interfaces/email/interactive/be-handle-mail

index efa95411a44d4328bc95c14a2250b16a78f6b268..1fa9bc299d93462be3ad62f058cfbc53dd95bd88 100755 (executable)
@@ -61,10 +61,12 @@ SUBJECT_TAG_CONTROL = SUBJECT_TAG_RESPONSE
 
 BREAK = u"--"
 NEW_REQUIRED_PSEUDOHEADERS = [u"Version"]
-NEW_OPTIONAL_PSEUDOHEADERS = [u"Reporter"]
+NEW_OPTIONAL_PSEUDOHEADERS = [u"Reporter", u"Assign", u"Depend", u"Severity",
+                              u"Status", u"Tag", u"Target"]
 CONTROL_COMMENT = u"#"
-ALLOWED_COMMANDS = [u"new", u"comment", u"list", u"show", u"help"]
-
+ALLOWED_COMMANDS = [u"assign", u"comment", u"depend", u"help", u"list",
+                    u"merge", u"new", u"open", u"severity", u"status", u"tag",
+                    u"target"]
 
 libbe.encoding.ENCODING = u"utf-8" # force default encoding
 ENCODING = libbe.encoding.get_encoding()