Mercurial > p > roundup > code
comparison roundup/templates/classic/config.py @ 1360:aa7e4e8b14be
allow additional control over the roundupdb email sending...
...explicit cc addresses, different from address and different
nosy list property.
(thanks John Rouillard)
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Sun, 12 Jan 2003 00:41:27 +0000 |
| parents | 9371d34141bd |
| children |
comparison
equal
deleted
inserted
replaced
| 1359:ebfd8dd1cce7 | 1360:aa7e4e8b14be |
|---|---|
| 13 # BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS | 13 # BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS |
| 14 # FOR A PARTICULAR PURPOSE. THE CODE PROVIDED HEREUNDER IS ON AN "AS IS" | 14 # FOR A PARTICULAR PURPOSE. THE CODE PROVIDED HEREUNDER IS ON AN "AS IS" |
| 15 # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, | 15 # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, |
| 16 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. | 16 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. |
| 17 # | 17 # |
| 18 # $Id: config.py,v 1.6 2002-12-13 22:20:10 richard Exp $ | 18 # $Id: config.py,v 1.7 2003-01-12 00:41:27 richard Exp $ |
| 19 | 19 |
| 20 import os | 20 import os |
| 21 | 21 |
| 22 # roundup home is this package's directory | 22 # roundup home is this package's directory |
| 23 TRACKER_HOME=os.path.split(__file__)[0] | 23 TRACKER_HOME=os.path.split(__file__)[0] |
| 47 TRACKER_WEB = 'http://tracker.example/cgi-bin/roundup.cgi/bugs/' | 47 TRACKER_WEB = 'http://tracker.example/cgi-bin/roundup.cgi/bugs/' |
| 48 | 48 |
| 49 # The email address that roundup will complain to if it runs into trouble | 49 # The email address that roundup will complain to if it runs into trouble |
| 50 ADMIN_EMAIL = 'roundup-admin@%s'%MAIL_DOMAIN | 50 ADMIN_EMAIL = 'roundup-admin@%s'%MAIL_DOMAIN |
| 51 | 51 |
| 52 # | 52 # Additional text to include in the "name" part of the From: address used |
| 53 # SECURITY DEFINITIONS | 53 # in nosy messages. If the sending user is "Foo Bar", the From: line is |
| 54 # | 54 # usually: |
| 55 # define the Roles that a user gets when they register with the tracker | 55 # "Foo Bar" <issue_tracker@tracker.example> |
| 56 # these are a comma-separated string of role names (e.g. 'Admin,User') | 56 # the EMAIL_FROM_TAG goes inside the "Foo Bar" quotes like so: |
| 57 NEW_WEB_USER_ROLES = 'User' | 57 # "Foo Bar EMAIL_FROM_TAG" <issue_tracker@tracker.example> |
| 58 NEW_EMAIL_USER_ROLES = 'User' | 58 EMAIL_FROM_TAG = "" |
| 59 | 59 |
| 60 # Send nosy messages to the author of the message | 60 # Send nosy messages to the author of the message |
| 61 MESSAGES_TO_AUTHOR = 'no' # either 'yes' or 'no' | 61 MESSAGES_TO_AUTHOR = 'no' # either 'yes' or 'no' |
| 62 | 62 |
| 63 # Does the author of a message get placed on the nosy list automatically? | 63 # Does the author of a message get placed on the nosy list automatically? |
| 87 # subjects. To disable, comment out the variable below or leave it blank. | 87 # subjects. To disable, comment out the variable below or leave it blank. |
| 88 # Examples: | 88 # Examples: |
| 89 MAIL_DEFAULT_CLASS = 'issue' # use "issue" class by default | 89 MAIL_DEFAULT_CLASS = 'issue' # use "issue" class by default |
| 90 #MAIL_DEFAULT_CLASS = '' # disable (or just comment the var out) | 90 #MAIL_DEFAULT_CLASS = '' # disable (or just comment the var out) |
| 91 | 91 |
| 92 # | |
| 93 # SECURITY DEFINITIONS | |
| 94 # | |
| 95 # define the Roles that a user gets when they register with the tracker | |
| 96 # these are a comma-separated string of role names (e.g. 'Admin,User') | |
| 97 NEW_WEB_USER_ROLES = 'User' | |
| 98 NEW_EMAIL_USER_ROLES = 'User' | |
| 99 | |
| 92 # vim: set filetype=python ts=4 sw=4 et si | 100 # vim: set filetype=python ts=4 sw=4 et si |
