Mercurial > p > roundup > code
comparison templates/classic/config.py @ 2149:702f9a6afdcf
Added DEFAULT_TIMEZONE. Fixed up some missing info from What's New.
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Fri, 26 Mar 2004 23:45:34 +0000 |
| parents | fd5459469069 |
| children | fa50e1347397 9e1c4c932323 |
comparison
equal
deleted
inserted
replaced
| 2148:2490d26c88df | 2149:702f9a6afdcf |
|---|---|
| 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.7 2004-03-25 22:38:55 eparker Exp $ | 18 # $Id: config.py,v 1.8 2004-03-26 23:45:34 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] |
| 61 TRACKER_WEB = 'http://tracker.example/cgi-bin/roundup.cgi/bugs/' | 61 TRACKER_WEB = 'http://tracker.example/cgi-bin/roundup.cgi/bugs/' |
| 62 | 62 |
| 63 # The email address that roundup will complain to if it runs into trouble | 63 # The email address that roundup will complain to if it runs into trouble |
| 64 ADMIN_EMAIL = 'roundup-admin@%s'%MAIL_DOMAIN | 64 ADMIN_EMAIL = 'roundup-admin@%s'%MAIL_DOMAIN |
| 65 | 65 |
| 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 |
| 67 # database. It is used by the ERROR_MESSAGES_TO config setting. | |
| 67 DISPATCHER_EMAIL = ADMIN_EMAIL | 68 DISPATCHER_EMAIL = ADMIN_EMAIL |
| 68 | 69 |
| 69 # Additional text to include in the "name" part of the From: address used | 70 # 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 | 71 # in nosy messages. If the sending user is "Foo Bar", the From: line is |
| 71 # usually: "Foo Bar" <issue_tracker@tracker.example> | 72 # usually: "Foo Bar" <issue_tracker@tracker.example> |
| 79 # define the Roles that a user gets when they register with the tracker | 80 # 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 # these are a comma-separated string of role names (e.g. 'Admin,User') |
| 81 NEW_WEB_USER_ROLES = 'User' | 82 NEW_WEB_USER_ROLES = 'User' |
| 82 NEW_EMAIL_USER_ROLES = 'User' | 83 NEW_EMAIL_USER_ROLES = 'User' |
| 83 | 84 |
| 84 # Send error messages to the dispatcher, user, or both? | 85 # Send error message emails to the dispatcher, user, or both? |
| 85 # If 'dispatcher', error message notifications will only be sent to the dispatcher. | 86 # If 'dispatcher', error messages will only be sent to the dispatcher. |
| 86 # If 'user', error message notifications will only be sent to the user. | 87 # If 'user', error messages will only be sent to the user. |
| 87 # If 'both', error message notifications will be sent to both individuals. | 88 # If 'both', error messages will be sent to both individuals. |
| 89 # The dispatcher is configured using the DISPATCHER_EMAIL setting, which | |
| 90 # defaults to ADMIN_EMAIL. | |
| 88 ERROR_MESSAGES_TO = 'user' | 91 ERROR_MESSAGES_TO = 'user' |
| 89 | 92 |
| 90 # Send nosy messages to the author of the message | 93 # Send nosy messages to the author of the message |
| 91 MESSAGES_TO_AUTHOR = 'no' # either 'yes' or 'no' | 94 MESSAGES_TO_AUTHOR = 'no' # either 'yes' or 'no' |
| 92 | 95 |
| 129 # that, so you might need to specify a more limited character set (eg. | 132 # that, so you might need to specify a more limited character set (eg. |
| 130 # 'iso-8859-1'. | 133 # 'iso-8859-1'. |
| 131 EMAIL_CHARSET = 'utf-8' | 134 EMAIL_CHARSET = 'utf-8' |
| 132 #EMAIL_CHARSET = 'iso-8859-1' # use this instead for Eudora users | 135 #EMAIL_CHARSET = 'iso-8859-1' # use this instead for Eudora users |
| 133 | 136 |
| 137 # You may specify a different default timezone, for use when users do not | |
| 138 # choose their own in their settings. | |
| 139 DEFAULT_TIMEZONE = 0 # specify as numeric hour offest | |
| 140 | |
| 134 # vim: set filetype=python ts=4 sw=4 et si | 141 # vim: set filetype=python ts=4 sw=4 et si |
