Mercurial > p > roundup > code
comparison roundup/configuration.py @ 3915:6b3919328381
support for receiving OpenPGP MIME messages (signed or encrypted)
This introduces some new config options that still need to be documented.
This required a small fix for roundup's handling of MIME boundaries. The
multipart tests were changed to have boundaries that match this new handling.
| author | Justus Pendleton <jpend@users.sourceforge.net> |
|---|---|
| date | Sat, 22 Sep 2007 07:25:35 +0000 |
| parents | 46ef2a6fd79d |
| children | 586679a314f7 |
comparison
equal
deleted
inserted
replaced
| 3914:a1b3692f5b1e | 3915:6b3919328381 |
|---|---|
| 1 # Roundup Issue Tracker configuration support | 1 # Roundup Issue Tracker configuration support |
| 2 # | 2 # |
| 3 # $Id: configuration.py,v 1.47 2007-09-03 17:14:08 jpend Exp $ | 3 # $Id: configuration.py,v 1.48 2007-09-22 07:25:34 jpend Exp $ |
| 4 # | 4 # |
| 5 __docformat__ = "restructuredtext" | 5 __docformat__ = "restructuredtext" |
| 6 | 6 |
| 7 import ConfigParser | 7 import ConfigParser |
| 8 import getopt | 8 import getopt |
| 715 (RegExpOption, "eol_re", r"[\r\n]+", | 715 (RegExpOption, "eol_re", r"[\r\n]+", |
| 716 "Regular expression matching end of line."), | 716 "Regular expression matching end of line."), |
| 717 (RegExpOption, "blankline_re", r"[\r\n]+\s*[\r\n]+", | 717 (RegExpOption, "blankline_re", r"[\r\n]+\s*[\r\n]+", |
| 718 "Regular expression matching a blank line."), | 718 "Regular expression matching a blank line."), |
| 719 ), "Roundup Mail Gateway options"), | 719 ), "Roundup Mail Gateway options"), |
| 720 ("pgp", ( | |
| 721 (BooleanOption, "enable", "no", | |
| 722 "Enable PGP processing. Requires pyme."), | |
| 723 (NullableOption, "homedir", "", | |
| 724 "Location of PGP directory. Defaults to $HOME/.gnupg if\n" | |
| 725 "not specified."), | |
| 726 ), "OpenPGP mail processing options"), | |
| 720 ("nosy", ( | 727 ("nosy", ( |
| 721 (RunDetectorOption, "messages_to_author", "no", | 728 (RunDetectorOption, "messages_to_author", "no", |
| 722 "Send nosy messages to the author of the message.", | 729 "Send nosy messages to the author of the message.", |
| 723 ["MESSAGES_TO_AUTHOR"]), | 730 ["MESSAGES_TO_AUTHOR"]), |
| 724 (Option, "signature_position", "bottom", | 731 (Option, "signature_position", "bottom", |
