diff --git a/roundup/templates/classic/instance_config.py b/roundup/templates/classic/instance_config.py
index 176a9816f470bb0b1d469711a920ec474cdabe9a..34e5b331aa5817a5270913448d4407b3710da81f 100644 (file)
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
#
-# $Id: instance_config.py,v 1.7 2001-10-22 03:25:01 richard Exp $
+# $Id: instance_config.py,v 1.15 2002-05-02 07:56:34 richard Exp $
MAIL_DOMAIN=MAILHOST=HTTP_HOST=None
HTTP_PORT=0
# This is the directory that the HTML templates reside in
TEMPLATES = os.path.join(INSTANCE_HOME, 'html')
+# A descriptive name for your roundup instance
+INSTANCE_NAME = 'Roundup issue tracker'
+
# The email address that mail to roundup should go to
ISSUE_TRACKER_EMAIL = 'issue_tracker@%s'%MAIL_DOMAIN
# Somewhere for roundup to log stuff internally sent to stdout or stderr
LOG = os.path.join(INSTANCE_HOME, 'roundup.log')
+# Where to place the web filtering HTML on the index page
+FILTER_POSITION = 'bottom' # one of 'top', 'bottom', 'top and bottom'
+
# Deny or allow anonymous access to the web interface
-ANONYMOUS_ACCESS = 'deny'
+ANONYMOUS_ACCESS = 'deny' # either 'deny' or 'allow'
# Deny or allow anonymous users to register through the web interface
-ANONYMOUS_REGISTER = 'deny'
+ANONYMOUS_REGISTER = 'deny' # either 'deny' or 'allow'
+
+# Deny or allow anonymous users to register through the mail interface
+ANONYMOUS_REGISTER_MAIL = 'deny' # either 'deny' or 'allow'
+
+# Send nosy messages to the author of the message
+MESSAGES_TO_AUTHOR = 'no' # either 'yes' or 'no'
+
+# Does the author of a message get placed on the nosy list automatically?
+# If 'new' is used, then the author will only be added when a message
+# creates a new issue. If 'yes', then the author will be added on followups
+# too. If 'no', they're never added to the nosy.
+ADD_AUTHOR_TO_NOSY = 'new' # one of 'yes', 'no', 'new'
+
+# Do the recipients (To:, Cc:) of a message get placed on the nosy list?
+# If 'new' is used, then the recipients will only be added when a message
+# creates a new issue. If 'yes', then the recipients will be added on followups
+# too. If 'no', they're never added to the nosy.
+ADD_RECIPIENTS_TO_NOSY = 'new' # either 'yes', 'no', 'new'
+
+# Where to place the email signature
+EMAIL_SIGNATURE_POSITION = 'bottom' # one of 'top', 'bottom', 'none'
+
+# Keep email citations
+EMAIL_KEEP_QUOTED_TEXT = 'no' # either 'yes' or 'no'
+
+# Preserve the email body as is
+EMAIL_LEAVE_BODY_UNCHANGED = 'no' # either 'yes' or 'no'
+
+# Default class to use in the mailgw if one isn't supplied in email
+# subjects. To disable, comment out the variable below or leave it blank.
+# Examples:
+MAIL_DEFAULT_CLASS = 'issue' # use "issue" class by default
+#MAIL_DEFAULT_CLASS = '' # disable (or just comment the var out)
+
+# Define what index links are available in the header, and what their
+# labels are. Each key is used to look up one of the index specifications
+# below - so 'DEFAULT' will use 'DEFAULT_INDEX'.
+# Where the FILTERSPEC has 'assignedto' with a value of None, it will be
+# replaced by the id of the logged-in user.
+HEADER_INDEX_LINKS = ['DEFAULT', 'UNASSIGNED', 'USER']
+
+# list the classes that users are able to add nodes to
+HEADER_ADD_LINKS = ['issue']
+
+# Now the DEFAULT display specification. TODO: describe format
+DEFAULT_INDEX = {
+ 'LABEL': 'All Issues',
+ 'CLASS': 'issue',
+ 'SORT': ['-activity'],
+ 'GROUP': ['priority'],
+ 'FILTER': ['status'],
+ 'COLUMNS': ['id','activity','title','creator','assignedto'],
+ 'FILTERSPEC': {
+ 'status': ['-1', '1', '2', '3', '4', '5', '6', '7'],
+ },
+}
+
+# The "unsassigned issues" index
+UNASSIGNED_INDEX = {
+ 'LABEL': 'Unassigned Issues',
+ 'CLASS': 'issue',
+ 'SORT': ['-activity'],
+ 'GROUP': ['priority'],
+ 'FILTER': ['status', 'assignedto'],
+ 'COLUMNS': ['id','activity','title','creator','status'],
+ 'FILTERSPEC': {
+ 'status': ['-1', '1', '2', '3', '4', '5', '6', '7'],
+ 'assignedto': ['-1'],
+ },
+}
+
+# The "my issues" index -- note that the user's id will replace the None
+# valud of the "assignedto" filterspec
+USER_INDEX = {
+ 'LABEL': 'My Issues',
+ 'CLASS': 'issue',
+ 'SORT': ['-activity'],
+ 'GROUP': ['priority'],
+ 'FILTER': ['status', 'assignedto'],
+ 'COLUMNS': ['id','activity','title','creator','status'],
+ 'FILTERSPEC': {
+ 'status': ['-1', '1', '2', '3', '4', '5', '6', '7'],
+ 'assignedto': None,
+ },
+}
+
#
# $Log: not supported by cvs2svn $
+# Revision 1.14 2002/04/23 15:46:49 rochecompaan
+# . stripping of the email message body can now be controlled through
+# the config variables EMAIL_KEEP_QUOTED_TEST and
+# EMAIL_LEAVE_BODY_UNCHANGED.
+#
+# Revision 1.13 2002/03/14 23:59:24 richard
+# . #517734 ] web header customisation is obscure
+#
+# Revision 1.12 2002/02/15 00:13:38 richard
+# . #503204 ] mailgw needs a default class
+# - partially done - the setting of additional properties can wait for a
+# better configuration system.
+#
+# Revision 1.11 2002/02/14 23:46:02 richard
+# . #516883 ] mail interface + ANONYMOUS_REGISTER
+#
+# Revision 1.10 2001/11/26 22:55:56 richard
+# Feature:
+# . Added INSTANCE_NAME to configuration - used in web and email to identify
+# the instance.
+# . Added EMAIL_SIGNATURE_POSITION to indicate where to place the roundup
+# signature info in e-mails.
+# . Some more flexibility in the mail gateway and more error handling.
+# . Login now takes you to the page you back to the were denied access to.
+#
+# Fixed:
+# . Lots of bugs, thanks Roché and others on the devel mailing list!
+#
+# Revision 1.9 2001/10/30 00:54:45 richard
+# Features:
+# . #467129 ] Lossage when username=e-mail-address
+# . #473123 ] Change message generation for author
+# . MailGW now moves 'resolved' to 'chatting' on receiving e-mail for an issue.
+#
+# Revision 1.8 2001/10/23 01:00:18 richard
+# Re-enabled login and registration access after lopping them off via
+# disabling access for anonymous users.
+# Major re-org of the htmltemplate code, cleaning it up significantly. Fixed
+# a couple of bugs while I was there. Probably introduced a couple, but
+# things seem to work OK at the moment.
+#
+# Revision 1.7 2001/10/22 03:25:01 richard
+# Added configuration for:
+# . anonymous user access and registration (deny/allow)
+# . filter "widget" location on index page (top, bottom, both)
+# Updated some documentation.
+#
# Revision 1.6 2001/10/01 06:10:42 richard
# stop people setting up roundup with our addresses as default - need to
# handle this better in the init