Mercurial > p > roundup > code
comparison templates/classic/config.py @ 2121:fd5459469069
Did a couple of things:
o- Did the proper doc thing, under Richard's stern disciplinary action
- Updated Changes.txt
- Updated Customizing doc
- Took a change out of upgrading.txt that didn't need to be there
- Made config.py be the same as the minimal config.py
| author | Eddie Parker <eparker@users.sourceforge.net> |
|---|---|
| date | Thu, 25 Mar 2004 22:38:55 +0000 |
| parents | cc4667ef3f12 |
| children | 702f9a6afdcf |
comparison
equal
deleted
inserted
replaced
| 2120:09ad4c25fca1 | 2121:fd5459469069 |
|---|---|
| 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 2004-03-25 19:27:15 eparker Exp $ | 18 # $Id: config.py,v 1.7 2004-03-25 22:38:55 eparker 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] |
| 66 # The 'dispatcher' is a role that can get notified of new items to the database. | 66 # The 'dispatcher' is a role that can get notified of new items to the database. |
| 67 DISPATCHER_EMAIL = ADMIN_EMAIL | 67 DISPATCHER_EMAIL = ADMIN_EMAIL |
| 68 | 68 |
| 69 # Additional text to include in the "name" part of the From: address used | 69 # Additional text to include in the "name" part of the From: address used |
| 70 # in nosy messages. If the sending user is "Foo Bar", the From: line is | 70 # in nosy messages. If the sending user is "Foo Bar", the From: line is |
| 71 # usually: | 71 # usually: "Foo Bar" <issue_tracker@tracker.example> |
| 72 # "Foo Bar" <issue_tracker@tracker.example> | |
| 73 # the EMAIL_FROM_TAG goes inside the "Foo Bar" quotes like so: | 72 # the EMAIL_FROM_TAG goes inside the "Foo Bar" quotes like so: |
| 74 # "Foo Bar EMAIL_FROM_TAG" <issue_tracker@tracker.example> | 73 # "Foo Bar EMAIL_FROM_TAG" <issue_tracker@tracker.example> |
| 75 EMAIL_FROM_TAG = "" | 74 EMAIL_FROM_TAG = "" |
| 76 | 75 |
| 76 # | |
| 77 # SECURITY DEFINITIONS | |
| 78 # | |
| 79 # define the Roles that a user gets when they register with the tracker | |
| 80 # these are a comma-separated string of role names (e.g. 'Admin,User') | |
| 81 NEW_WEB_USER_ROLES = 'User' | |
| 82 NEW_EMAIL_USER_ROLES = 'User' | |
| 77 | 83 |
| 78 # Send error messages to the dispatcher, user, or both? | 84 # Send error messages to the dispatcher, user, or both? |
| 79 # If 'dispatcher', error message notifications will only be sent to the dispatcher. | 85 # If 'dispatcher', error message notifications will only be sent to the dispatcher. |
| 80 # If 'user', error message notifications will only be sent to the user. | 86 # If 'user', error message notifications will only be sent to the user. |
| 81 # If 'both', error message notifications will be sent to both individuals. | 87 # If 'both', error message notifications will be sent to both individuals. |
| 82 ERROR_MESSAGES_TO = 'user' | 88 ERROR_MESSAGES_TO = 'user' |
| 83 | 89 |
| 84 # Send nosy messages to the author of the message? | 90 # Send nosy messages to the author of the message |
| 85 # If 'new' is used, then the author will only be sent the message when the | 91 MESSAGES_TO_AUTHOR = 'no' # either 'yes' or 'no' |
| 86 # message creates a new issue. If 'yes' then the author will always be sent | |
| 87 # a copy of the message they wrote. | |
| 88 MESSAGES_TO_AUTHOR = 'no' # one of 'yes', 'no', 'new' | |
| 89 | 92 |
| 90 # Does the author of a message get placed on the nosy list automatically? | 93 # Does the author of a message get placed on the nosy list automatically? |
| 91 # If 'new' is used, then the author will only be added when a message | 94 # If 'new' is used, then the author will only be added when a message |
| 92 # creates a new issue. If 'yes', then the author will be added on followups | 95 # creates a new issue. If 'yes', then the author will be added on followups |
| 93 # too. If 'no', they're never added to the nosy. | 96 # too. If 'no', they're never added to the nosy. |
| 126 # that, so you might need to specify a more limited character set (eg. | 129 # that, so you might need to specify a more limited character set (eg. |
| 127 # 'iso-8859-1'. | 130 # 'iso-8859-1'. |
| 128 EMAIL_CHARSET = 'utf-8' | 131 EMAIL_CHARSET = 'utf-8' |
| 129 #EMAIL_CHARSET = 'iso-8859-1' # use this instead for Eudora users | 132 #EMAIL_CHARSET = 'iso-8859-1' # use this instead for Eudora users |
| 130 | 133 |
| 131 | |
| 132 # | |
| 133 # SECURITY DEFINITIONS | |
| 134 # | |
| 135 # define the Roles that a user gets when they register with the tracker | |
| 136 # these are a comma-separated string of role names (e.g. 'Admin,User') | |
| 137 NEW_WEB_USER_ROLES = 'User' | |
| 138 NEW_EMAIL_USER_ROLES = 'User' | |
| 139 | |
| 140 # vim: set filetype=python ts=4 sw=4 et si | 134 # vim: set filetype=python ts=4 sw=4 et si |
