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: interfaces.py,v 1.6 2001-08-07 00:24:43 richard Exp $
20 import urlparse, os
22 import instance_config
23 from roundup import cgi_client, mailgw
25 class Client(cgi_client.Client):
26 ''' derives basic mail gateway implementation from the standard module,
27 with any specific extensions
28 '''
29 TEMPLATES = instance_config.TEMPLATES
31 class MailGW(mailgw.MailGW):
32 ''' derives basic mail gateway implementation from the standard module,
33 with any specific extensions
34 '''
35 ISSUE_TRACKER_EMAIL = instance_config.ISSUE_TRACKER_EMAIL
36 ADMIN_EMAIL = instance_config.ADMIN_EMAIL
37 MAILHOST = instance_config.MAILHOST
39 #
40 # $Log: not supported by cvs2svn $
41 # Revision 1.5 2001/08/07 00:15:51 richard
42 # Added the copyright/license notice to (nearly) all files at request of
43 # Bizar Software.
44 #
45 # Revision 1.4 2001/07/30 01:25:57 richard
46 # Changes to reflect cgi_client now implementing this template by default,
47 # and not "extended".
48 #
49 # Revision 1.3 2001/07/29 07:01:39 richard
50 # Added vim command to all source so that we don't get no steenkin' tabs :)
51 #
52 # Revision 1.2 2001/07/29 04:07:37 richard
53 # Fixed the classic template so it's more like the "advertised" Roundup
54 # template.
55 #
56 # Revision 1.1 2001/07/23 23:28:43 richard
57 # Adding the classic template
58 #
59 # Revision 1.1 2001/07/23 23:16:01 richard
60 # Split off the interfaces (CGI, mailgw) into a separate file from the DB stuff.
61 #
62 #
63 # vim: set filetype=python ts=4 sw=4 et si