comparison roundup/configuration.py @ 3417:07c696890f55

mailgw subject parsing has configurable levels of strictness nosy messages may be sent individually to all recipients
author Richard Jones <richard@users.sourceforge.net>
date Fri, 07 Oct 2005 04:42:13 +0000
parents 2913b42c0810
children 2b27c92d64dc
comparison
equal deleted inserted replaced
3415:4a228402b810 3417:07c696890f55
1 # Roundup Issue Tracker configuration support 1 # Roundup Issue Tracker configuration support
2 # 2 #
3 # $Id: configuration.py,v 1.26 2005-06-24 05:22:03 richard Exp $ 3 # $Id: configuration.py,v 1.27 2005-10-07 04:42:13 richard Exp $
4 # 4 #
5 __docformat__ = "restructuredtext" 5 __docformat__ = "restructuredtext"
6 6
7 import getopt 7 import getopt
8 import imp 8 import imp
567 ["MAIL_DEFAULT_CLASS"]), 567 ["MAIL_DEFAULT_CLASS"]),
568 (NullableOption, "language", "", 568 (NullableOption, "language", "",
569 "Default locale name for the tracker mail gateway.\n" 569 "Default locale name for the tracker mail gateway.\n"
570 "If this option is not set, mail gateway will use\n" 570 "If this option is not set, mail gateway will use\n"
571 "the language of the tracker instance."), 571 "the language of the tracker instance."),
572 (Option, "subject_prefix_parsing", "strict",
573 "Controls the parsing of the [prefix] on subject\n"
574 "lines in incoming emails. \"strict\" will return an\n"
575 "error to the sender if the [prefix] is not recognised.\n"
576 "\"loose\" will attempt to parse the [prefix] but just\n"
577 "pass it through as part of the issue title if not\n"
578 "recognised. \"none\" will always pass any [prefix]\n"
579 "through as part of the issue title."),
580 (Option, "subject_suffix_parsing", "strict",
581 "Controls the parsing of the [suffix] on subject\n"
582 "lines in incoming emails. \"strict\" will return an\n"
583 "error to the sender if the [suffix] is not recognised.\n"
584 "\"loose\" will attempt to parse the [suffix] but just\n"
585 "pass it through as part of the issue title if not\n"
586 "recognised. \"none\" will always pass any [suffix]\n"
587 "through as part of the issue title."),
588 (Option, "subject_suffix_delimiters", "[]",
589 "Defines the brackets used for delimiting the commands\n"
590 "suffix in a subject line."),
591 (Option, "subject_content_match", "always",
592 "Controls matching of the incoming email subject line\n"
593 "against issue titles in the case where there is no\n"
594 "designator [prefix]. \"never\" turns off matching.\n"
595 "\"creation + interval\" or \"activity + interval\"\n"
596 "will match an issue for the interval after the issue's\n"
597 "creation or last activity. The interval is a standard\n"
598 "Roundup interval."),
572 ), "Roundup Mail Gateway options"), 599 ), "Roundup Mail Gateway options"),
573 ("nosy", ( 600 ("nosy", (
574 (RunDetectorOption, "messages_to_author", "no", 601 (RunDetectorOption, "messages_to_author", "no",
575 "Send nosy messages to the author of the message.", 602 "Send nosy messages to the author of the message.",
576 ["MESSAGES_TO_AUTHOR"]), 603 ["MESSAGES_TO_AUTHOR"]),
590 "nosy list? If 'new' is used, then the recipients will\n" 617 "nosy list? If 'new' is used, then the recipients will\n"
591 "only be added when a message creates a new issue.\n" 618 "only be added when a message creates a new issue.\n"
592 "If 'yes', then the recipients will be added on followups too.\n" 619 "If 'yes', then the recipients will be added on followups too.\n"
593 "If 'no', they're never added to the nosy.\n", 620 "If 'no', they're never added to the nosy.\n",
594 ["ADD_RECIPIENTS_TO_NOSY"]), 621 ["ADD_RECIPIENTS_TO_NOSY"]),
622 (Option, "email_sending", "single",
623 "Controls the email sending from the nosy reactor. If\n"
624 "\"multiple\" then a separate email is sent to each\n"
625 "recipient. If \"single\" then a single email is sent with\n"
626 "each recipient as a CC address."),
595 ), "Nosy messages sending"), 627 ), "Nosy messages sending"),
596 ) 628 )
597 629
598 ### Configuration classes 630 ### Configuration classes
599 631

Roundup Issue Tracker: http://roundup-tracker.org/