Code

*** empty log message ***
[roundup.git] / roundup / templates / classic / interfaces.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: interfaces.py,v 1.14 2002-08-30 08:31:01 richard Exp $
20 import instance_config
21 from roundup import mailgw 
22 from roundup.cgi import client
24 class Client(client.Client): 
25     ''' derives basic CGI implementation from the standard module, 
26         with any specific extensions 
27     ''' 
28     pass
30 class MailGW(mailgw.MailGW): 
31     ''' derives basic mail gateway implementation from the standard module, 
32         with any specific extensions 
33     ''' 
34     pass
36 #
37 # $Log: not supported by cvs2svn $
38 # Revision 1.13  2002/08/16 04:26:00  richard
39 # preparation for moving cgi modules around
40 #
41 # Revision 1.12  2002/01/14 02:20:15  richard
42 #  . changed all config accesses so they access either the instance or the
43 #    config attriubute on the db. This means that all config is obtained from
44 #    instance_config instead of the mish-mash of classes. This will make
45 #    switching to a ConfigParser setup easier too, I hope.
46 #
47 # At a minimum, this makes migration a _little_ easier (a lot easier in the
48 # 0.5.0 switch, I hope!)
49 #
50 # Revision 1.11  2002/01/02 02:32:38  richard
51 # ANONYMOUS_ACCESS -> ANONYMOUS_REGISTER
52 #
53 # Revision 1.10  2001/12/20 15:43:01  rochecompaan
54 # Features added:
55 #  .  Multilink properties are now displayed as comma separated values in
56 #     a textbox
57 #  .  The add user link is now only visible to the admin user
58 #  .  Modified the mail gateway to reject submissions from unknown
59 #     addresses if ANONYMOUS_ACCESS is denied
60 #
61 # Revision 1.9  2001/11/26 23:00:53  richard
62 # This config stuff is getting to be a real mess...
63 #
64 # Revision 1.8  2001/10/22 03:25:01  richard
65 # Added configuration for:
66 #  . anonymous user access and registration (deny/allow)
67 #  . filter "widget" location on index page (top, bottom, both)
68 # Updated some documentation.
69 #
70 # Revision 1.7  2001/10/09 07:38:58  richard
71 # Pushed the base code for the extended schema CGI interface back into the
72 # code cgi_client module so that future updates will be less painful.
73 # Also removed a debugging print statement from cgi_client.
74 #
75 # Revision 1.6  2001/08/07 00:24:43  richard
76 # stupid typo
77 #
78 # Revision 1.5  2001/08/07 00:15:51  richard
79 # Added the copyright/license notice to (nearly) all files at request of
80 # Bizar Software.
81 #
82 # Revision 1.4  2001/07/30 01:25:57  richard
83 # Changes to reflect cgi_client now implementing this template by default,
84 # and not "extended".
85 #
86 # Revision 1.3  2001/07/29 07:01:39  richard
87 # Added vim command to all source so that we don't get no steenkin' tabs :)
88 #
89 # Revision 1.2  2001/07/29 04:07:37  richard
90 # Fixed the classic template so it's more like the "advertised" Roundup
91 # template.
92 #
93 # Revision 1.1  2001/07/23 23:28:43  richard
94 # Adding the classic template
95 #
96 # Revision 1.1  2001/07/23 23:16:01  richard
97 # Split off the interfaces (CGI, mailgw) into a separate file from the DB stuff.
98 #
99 #
100 # vim: set filetype=python ts=4 sw=4 et si