Mercurial > p > roundup > code
comparison templates/classic/config.py @ 1591:21312a7564fd
moving templates around
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Thu, 17 Apr 2003 03:38:00 +0000 |
| parents | |
| children | a3442208867f |
comparison
equal
deleted
inserted
replaced
| 1590:198dbefc1d5a | 1591:21312a7564fd |
|---|---|
| 1 # | |
| 2 # Copyright (c) 2001 Bizar Software Pty Ltd (http://www.bizarsoftware.com.au/) | |
| 3 # This module is free software, and you may redistribute it and/or modify | |
| 4 # under the same terms as Python, so long as this copyright message and | |
| 5 # disclaimer are retained in their original form. | |
| 6 # | |
| 7 # IN NO EVENT SHALL BIZAR SOFTWARE PTY LTD BE LIABLE TO ANY PARTY FOR | |
| 8 # DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING | |
| 9 # OUT OF THE USE OF THIS CODE, EVEN IF THE AUTHOR HAS BEEN ADVISED OF THE | |
| 10 # POSSIBILITY OF SUCH DAMAGE. | |
| 11 # | |
| 12 # BIZAR SOFTWARE PTY LTD SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, | |
| 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" | |
| 15 # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, | |
| 16 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. | |
| 17 # | |
| 18 # $Id: config.py,v 1.1 2003-04-17 03:26:03 richard Exp $ | |
| 19 | |
| 20 import os | |
| 21 | |
| 22 # roundup home is this package's directory | |
| 23 TRACKER_HOME=os.path.split(__file__)[0] | |
| 24 | |
| 25 # The SMTP mail host that roundup will use to send mail | |
| 26 MAILHOST = 'localhost' | |
| 27 | |
| 28 # The domain name used for email addresses. | |
| 29 MAIL_DOMAIN = 'your.tracker.email.domain.example' | |
| 30 | |
| 31 # This is the directory that the database is going to be stored in | |
| 32 DATABASE = os.path.join(TRACKER_HOME, 'db') | |
| 33 | |
| 34 # This is the directory that the HTML templates reside in | |
| 35 TEMPLATES = os.path.join(TRACKER_HOME, 'html') | |
| 36 | |
| 37 # A descriptive name for your roundup instance | |
| 38 TRACKER_NAME = 'Roundup issue tracker' | |
| 39 | |
| 40 # The email address that mail to roundup should go to | |
| 41 TRACKER_EMAIL = 'issue_tracker@%s'%MAIL_DOMAIN | |
| 42 | |
| 43 # The web address that the tracker is viewable at. This will be included in | |
| 44 # information sent to users of the tracker. The URL MUST include the cgi-bin | |
| 45 # part or anything else that is required to get to the home page of the | |
| 46 # tracker. You MUST include a trailing '/' in the URL. | |
| 47 TRACKER_WEB = 'http://tracker.example/cgi-bin/roundup.cgi/bugs/' | |
| 48 | |
| 49 # The email address that roundup will complain to if it runs into trouble | |
| 50 ADMIN_EMAIL = 'roundup-admin@%s'%MAIL_DOMAIN | |
| 51 | |
| 52 # Additional text to include in the "name" part of the From: address used | |
| 53 # in nosy messages. If the sending user is "Foo Bar", the From: line is | |
| 54 # usually: | |
| 55 # "Foo Bar" <issue_tracker@tracker.example> | |
| 56 # the EMAIL_FROM_TAG goes inside the "Foo Bar" quotes like so: | |
| 57 # "Foo Bar EMAIL_FROM_TAG" <issue_tracker@tracker.example> | |
| 58 EMAIL_FROM_TAG = "" | |
| 59 | |
| 60 # Send nosy messages to the author of the message | |
| 61 MESSAGES_TO_AUTHOR = 'no' # either 'yes' or 'no' | |
| 62 | |
| 63 # Does the author of a message get placed on the nosy list automatically? | |
| 64 # If 'new' is used, then the author will only be added when a message | |
| 65 # creates a new issue. If 'yes', then the author will be added on followups | |
| 66 # too. If 'no', they're never added to the nosy. | |
| 67 ADD_AUTHOR_TO_NOSY = 'new' # one of 'yes', 'no', 'new' | |
| 68 | |
| 69 # Do the recipients (To:, Cc:) of a message get placed on the nosy list? | |
| 70 # If 'new' is used, then the recipients will only be added when a message | |
| 71 # creates a new issue. If 'yes', then the recipients will be added on followups | |
| 72 # too. If 'no', they're never added to the nosy. | |
| 73 ADD_RECIPIENTS_TO_NOSY = 'new' # either 'yes', 'no', 'new' | |
| 74 | |
| 75 # Where to place the email signature | |
| 76 EMAIL_SIGNATURE_POSITION = 'bottom' # one of 'top', 'bottom', 'none' | |
| 77 | |
| 78 # Keep email citations when accepting messages. Setting this to "no" strips | |
| 79 # out "quoted" text from the message. Signatures are also stripped. | |
| 80 EMAIL_KEEP_QUOTED_TEXT = 'yes' # either 'yes' or 'no' | |
| 81 | |
| 82 # Preserve the email body as is - that is, keep the citations _and_ | |
| 83 # signatures. | |
| 84 EMAIL_LEAVE_BODY_UNCHANGED = 'no' # either 'yes' or 'no' | |
| 85 | |
| 86 # Default class to use in the mailgw if one isn't supplied in email | |
| 87 # subjects. To disable, comment out the variable below or leave it blank. | |
| 88 # Examples: | |
| 89 MAIL_DEFAULT_CLASS = 'issue' # use "issue" class by default | |
| 90 #MAIL_DEFAULT_CLASS = '' # disable (or just comment the var out) | |
| 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 | |
| 100 # vim: set filetype=python ts=4 sw=4 et si |
