Mercurial > p > roundup > code
comparison roundup/configuration.py @ 4013:a5b68d46bce8 1.4.6
Try to clarify mail_domain config setting
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Mon, 01 Sep 2008 02:30:06 +0000 |
| parents | 1dd64778bc45 |
| children | e039f3cbbb96 |
comparison
equal
deleted
inserted
replaced
| 4012:5bf05d2b3cf8 | 4013:a5b68d46bce8 |
|---|---|
| 1 # Roundup Issue Tracker configuration support | 1 # Roundup Issue Tracker configuration support |
| 2 # | 2 # |
| 3 # $Id: configuration.py,v 1.50 2007-11-14 14:57:47 schlatterbeck Exp $ | 3 # $Id: configuration.py,v 1.51 2008-09-01 02:30:06 richard Exp $ |
| 4 # | 4 # |
| 5 __docformat__ = "restructuredtext" | 5 __docformat__ = "restructuredtext" |
| 6 | 6 |
| 7 import ConfigParser | 7 import ConfigParser |
| 8 import getopt | 8 import getopt |
| 476 "sitewide images, CSS stylesheets etc. and is searched\n" | 476 "sitewide images, CSS stylesheets etc. and is searched\n" |
| 477 "for these files prior to the TEMPLATES directory\n" | 477 "for these files prior to the TEMPLATES directory\n" |
| 478 "specified above. If this option is not set, all static\n" | 478 "specified above. If this option is not set, all static\n" |
| 479 "files are taken from the TEMPLATES directory"), | 479 "files are taken from the TEMPLATES directory"), |
| 480 (MailAddressOption, "admin_email", "roundup-admin", | 480 (MailAddressOption, "admin_email", "roundup-admin", |
| 481 "Email address that roundup will complain to" | 481 "Email address that roundup will complain to if it runs\n" |
| 482 " if it runs into trouble."), | 482 "into trouble.\n" |
| 483 "If no domain is specified then the config item\n" | |
| 484 "mail -> domain is added."), | |
| 483 (MailAddressOption, "dispatcher_email", "roundup-admin", | 485 (MailAddressOption, "dispatcher_email", "roundup-admin", |
| 484 "The 'dispatcher' is a role that can get notified\n" | 486 "The 'dispatcher' is a role that can get notified\n" |
| 485 "of new items to the database.\n" | 487 "of new items to the database.\n" |
| 486 "It is used by the ERROR_MESSAGES_TO config setting."), | 488 "It is used by the ERROR_MESSAGES_TO config setting.\n" |
| 489 "If no domain is specified then the config item\n" | |
| 490 "mail -> domain is added."), | |
| 487 (Option, "email_from_tag", "", | 491 (Option, "email_from_tag", "", |
| 488 "Additional text to include in the \"name\" part\n" | 492 "Additional text to include in the \"name\" part\n" |
| 489 "of the From: address used in nosy messages.\n" | 493 "of the From: address used in nosy messages.\n" |
| 490 "If the sending user is \"Foo Bar\", the From: line\n" | 494 "If the sending user is \"Foo Bar\", the From: line\n" |
| 491 "is usually: \"Foo Bar\" <issue_tracker@tracker.example>\n" | 495 "is usually: \"Foo Bar\" <issue_tracker@tracker.example>\n" |
| 536 " sent to users of the tracker.\n" | 540 " sent to users of the tracker.\n" |
| 537 "The URL MUST include the cgi-bin part or anything else\n" | 541 "The URL MUST include the cgi-bin part or anything else\n" |
| 538 "that is required to get to the home page of the tracker.\n" | 542 "that is required to get to the home page of the tracker.\n" |
| 539 "You MUST include a trailing '/' in the URL."), | 543 "You MUST include a trailing '/' in the URL."), |
| 540 (MailAddressOption, "email", "issue_tracker", | 544 (MailAddressOption, "email", "issue_tracker", |
| 541 "Email address that mail to roundup should go to."), | 545 "Email address that mail to roundup should go to.\n" |
| 546 "If no domain is specified then mail_domain is added."), | |
| 542 (NullableOption, "language", "", | 547 (NullableOption, "language", "", |
| 543 "Default locale name for this tracker.\n" | 548 "Default locale name for this tracker.\n" |
| 544 "If this option is not set, the language is determined\n" | 549 "If this option is not set, the language is determined\n" |
| 545 "by OS environment variable LANGUAGE, LC_ALL, LC_MESSAGES,\n" | 550 "by OS environment variable LANGUAGE, LC_ALL, LC_MESSAGES,\n" |
| 546 "or LANG, in that order of preference."), | 551 "or LANG, in that order of preference."), |
| 604 "Minimal severity level of messages written to log file.\n" | 609 "Minimal severity level of messages written to log file.\n" |
| 605 "If above 'config' option is set, this option has no effect.\n" | 610 "If above 'config' option is set, this option has no effect.\n" |
| 606 "Allowed values: DEBUG, INFO, WARNING, ERROR"), | 611 "Allowed values: DEBUG, INFO, WARNING, ERROR"), |
| 607 )), | 612 )), |
| 608 ("mail", ( | 613 ("mail", ( |
| 609 (Option, "domain", NODEFAULT, "Domain name used for email addresses."), | 614 (Option, "domain", NODEFAULT, |
| 615 "The email domain that admin_email, issue_tracker and\n" | |
| 616 "dispatcher_email belong to.\n" | |
| 617 "This domain is added to those config items if they don't\n" | |
| 618 "explicitly include a domain.\n" | |
| 619 "Do not include the '@' symbol."), | |
| 610 (Option, "host", NODEFAULT, | 620 (Option, "host", NODEFAULT, |
| 611 "SMTP mail host that roundup will use to send mail", | 621 "SMTP mail host that roundup will use to send mail", |
| 612 ["MAILHOST"],), | 622 ["MAILHOST"],), |
| 613 (Option, "username", "", "SMTP login name.\n" | 623 (Option, "username", "", "SMTP login name.\n" |
| 614 "Set this if your mail host requires authenticated access.\n" | 624 "Set this if your mail host requires authenticated access.\n" |
