Code

Eudora can't handle utf-8 headers. We love Eudora. (sf bug 900046)
[roundup.git] / templates / classic / config.py
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.5 2004-02-23 05:29:05 richard Exp $
20 import os
22 # roundup home is this package's directory
23 TRACKER_HOME=os.path.split(__file__)[0]
25 # The SMTP mail host that roundup will use to send mail
26 MAILHOST = 'localhost'
28 # If your SMTP mail host requires a username and password for access, then
29 # specify them here.
30 # eg. MAILUSER = ('username', 'password')
31 MAILUSER = ()
33 # If your SMTP mail host provides or requires TLS (Transport Layer
34 # Security) then set MAILHOST_TLS = 'yes'
35 # Optionallly, you may also set MAILHOST_TLS_KEYFILE to the name of a PEM
36 # formatted file that contains your private key, and MAILHOST_TLS_CERTFILE
37 # to the name of a PEM formatted certificate chain file.
38 MAILHOST_TLS = 'no'
39 MAILHOST_TLS_KEYFILE = ''
40 MAILHOST_TLS_CERTFILE = ''
42 # The domain name used for email addresses.
43 MAIL_DOMAIN = 'your.tracker.email.domain.example'
45 # This is the directory that the database is going to be stored in
46 DATABASE = os.path.join(TRACKER_HOME, 'db')
48 # This is the directory that the HTML templates reside in
49 TEMPLATES = os.path.join(TRACKER_HOME, 'html')
51 # A descriptive name for your roundup instance
52 TRACKER_NAME = 'Roundup issue tracker'
54 # The email address that mail to roundup should go to
55 TRACKER_EMAIL = 'issue_tracker@%s'%MAIL_DOMAIN
57 # The web address that the tracker is viewable at. This will be included in
58 # information sent to users of the tracker. The URL MUST include the cgi-bin
59 # part or anything else that is required to get to the home page of the
60 # tracker. You MUST include a trailing '/' in the URL.
61 TRACKER_WEB = 'http://tracker.example/cgi-bin/roundup.cgi/bugs/'
63 # The email address that roundup will complain to if it runs into trouble
64 ADMIN_EMAIL = 'roundup-admin@%s'%MAIL_DOMAIN
66 # Additional text to include in the "name" part of the From: address used
67 # in nosy messages. If the sending user is "Foo Bar", the From: line is
68 # usually:
69 #    "Foo Bar" <issue_tracker@tracker.example>
70 # the EMAIL_FROM_TAG goes inside the "Foo Bar" quotes like so:
71 #    "Foo Bar EMAIL_FROM_TAG" <issue_tracker@tracker.example>
72 EMAIL_FROM_TAG = ""
74 # Send nosy messages to the author of the message?
75 # If 'new' is used, then the author will only be sent the message when the
76 # message creates a new issue. If 'yes' then the author will always be sent
77 # a copy of the message they wrote.
78 MESSAGES_TO_AUTHOR = 'no'           # one of 'yes', 'no', 'new'
80 # Does the author of a message get placed on the nosy list automatically?
81 # If 'new' is used, then the author will only be added when a message
82 # creates a new issue. If 'yes', then the author will be added on followups
83 # too. If 'no', they're never added to the nosy.
84 ADD_AUTHOR_TO_NOSY = 'new'          # one of 'yes', 'no', 'new'
86 # Do the recipients (To:, Cc:) of a message get placed on the nosy list?
87 # If 'new' is used, then the recipients will only be added when a message
88 # creates a new issue. If 'yes', then the recipients will be added on followups
89 # too. If 'no', they're never added to the nosy.
90 ADD_RECIPIENTS_TO_NOSY = 'new'      # either 'yes', 'no', 'new'
92 # Where to place the email signature
93 EMAIL_SIGNATURE_POSITION = 'bottom' # one of 'top', 'bottom', 'none'
95 # Keep email citations when accepting messages. Setting this to "no" strips
96 # out "quoted" text from the message. Signatures are also stripped.
97 EMAIL_KEEP_QUOTED_TEXT = 'yes'      # either 'yes' or 'no'
99 # Preserve the email body as is - that is, keep the citations _and_
100 # signatures.
101 EMAIL_LEAVE_BODY_UNCHANGED = 'no'   # either 'yes' or 'no'
103 # Default class to use in the mailgw if one isn't supplied in email
104 # subjects. To disable, comment out the variable below or leave it blank.
105 # Examples:
106 MAIL_DEFAULT_CLASS = 'issue'   # use "issue" class by default
107 #MAIL_DEFAULT_CLASS = ''        # disable (or just comment the var out)
109 # HTML version to generate. The templates are html4 by default. If you
110 # wish to make them xhtml, then you'll need to change this var to 'xhtml'
111 # too so all auto-generated HTML is compliant.
112 HTML_VERSION = 'html4'         # either 'html4' or 'xhtml'
114 # Character set to encode email headers with. We use utf-8 by default, as
115 # it's the most flexible. Some mail readers (eg. Eudora) can't cope with
116 # that, so you might need to specify a more limited character set (eg.
117 # 'iso-8859-1'.
118 EMAIL_CHARSET = 'utf-8'
119 #EMAIL_CHARSET = 'iso-8859-1'   # use this instead for Eudora users
122
123 # SECURITY DEFINITIONS
125 # define the Roles that a user gets when they register with the tracker
126 # these are a comma-separated string of role names (e.g. 'Admin,User')
127 NEW_WEB_USER_ROLES = 'User'
128 NEW_EMAIL_USER_ROLES = 'User'
130 # vim: set filetype=python ts=4 sw=4 et si