Mercurial > p > roundup > code
comparison roundup/configuration.py @ 3877:83748b2de465
Make addition of line about new submission/comment at top of each message...
...configurable
Make presence of e-mail address in the added line configurable.
| author | Erik Forsberg <forsberg@users.sourceforge.net> |
|---|---|
| date | Sat, 01 Sep 2007 16:30:11 +0000 |
| parents | f4e8dc583256 |
| children | 6d14a3b4e295 |
comparison
equal
deleted
inserted
replaced
| 3876:29759dfcfbcf | 3877:83748b2de465 |
|---|---|
| 1 # Roundup Issue Tracker configuration support | 1 # Roundup Issue Tracker configuration support |
| 2 # | 2 # |
| 3 # $Id: configuration.py,v 1.43 2007-05-12 16:14:54 forsberg Exp $ | 3 # $Id: configuration.py,v 1.44 2007-09-01 16:30:11 forsberg Exp $ |
| 4 # | 4 # |
| 5 __docformat__ = "restructuredtext" | 5 __docformat__ = "restructuredtext" |
| 6 | 6 |
| 7 import ConfigParser | 7 import ConfigParser |
| 8 import getopt | 8 import getopt |
| 633 (FilePathOption, "debug", "", | 633 (FilePathOption, "debug", "", |
| 634 "Setting this option makes Roundup to write all outgoing email\n" | 634 "Setting this option makes Roundup to write all outgoing email\n" |
| 635 "messages to this file *instead* of sending them.\n" | 635 "messages to this file *instead* of sending them.\n" |
| 636 "This option has the same effect as environment variable" | 636 "This option has the same effect as environment variable" |
| 637 " SENDMAILDEBUG.\nEnvironment variable takes precedence."), | 637 " SENDMAILDEBUG.\nEnvironment variable takes precedence."), |
| 638 (BooleanOption, "add_authorinfo", "yes", | |
| 639 "Add a line with author information at top of all messages\n" | |
| 640 "sent by roundup"), | |
| 641 (BooleanOption, "add_authoremail", "yes", | |
| 642 "Add the mail address of the author to the author information at\n" | |
| 643 "added if add_authorinfo is true."), | |
| 638 ), "Outgoing email options.\nUsed for nozy messages and approval requests"), | 644 ), "Outgoing email options.\nUsed for nozy messages and approval requests"), |
| 639 ("mailgw", ( | 645 ("mailgw", ( |
| 640 (BooleanOption, "keep_quoted_text", "yes", | 646 (BooleanOption, "keep_quoted_text", "yes", |
| 641 "Keep email citations when accepting messages.\n" | 647 "Keep email citations when accepting messages.\n" |
| 642 "Setting this to \"no\" strips out \"quoted\" text" | 648 "Setting this to \"no\" strips out \"quoted\" text" |
