diff templates/classic/config.py @ 2119:cc4667ef3f12

Added the ability to toggle where error messages go. They either go to the user (default, for backwards compatibility), the dispatcher, or both. These are able to be toggled via settings in config.py. Please refer to upgrading.txt for more details. (And Richard, let me know if I've done anything wrong with this checkin. :))
author Eddie Parker <eparker@users.sourceforge.net>
date Thu, 25 Mar 2004 19:27:15 +0000
parents be047db3dd3d
children fd5459469069
line wrap: on
line diff
--- a/templates/classic/config.py	Thu Mar 25 16:25:15 2004 +0000
+++ b/templates/classic/config.py	Thu Mar 25 19:27:15 2004 +0000
@@ -15,7 +15,7 @@
 # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
 # 
-# $Id: config.py,v 1.5 2004-02-23 05:29:05 richard Exp $
+# $Id: config.py,v 1.6 2004-03-25 19:27:15 eparker Exp $
 
 import os
 
@@ -63,6 +63,9 @@
 # The email address that roundup will complain to if it runs into trouble
 ADMIN_EMAIL = 'roundup-admin@%s'%MAIL_DOMAIN
 
+# The 'dispatcher' is a role that can get notified of new items to the database.
+DISPATCHER_EMAIL = ADMIN_EMAIL
+
 # Additional text to include in the "name" part of the From: address used
 # in nosy messages. If the sending user is "Foo Bar", the From: line is
 # usually:
@@ -71,6 +74,13 @@
 #    "Foo Bar EMAIL_FROM_TAG" <issue_tracker@tracker.example>
 EMAIL_FROM_TAG = ""
 
+
+# Send error messages to the dispatcher, user, or both?
+# If 'dispatcher', error message notifications will only be sent to the dispatcher.
+# If 'user',       error message notifications will only be sent to the user.
+# If 'both',       error message notifications will be sent to both individuals.
+ERROR_MESSAGES_TO = 'user'
+
 # Send nosy messages to the author of the message?
 # If 'new' is used, then the author will only be sent the message when the
 # message creates a new issue. If 'yes' then the author will always be sent

Roundup Issue Tracker: http://roundup-tracker.org/