Code

ignore coverage files
[roundup.git] / roundup / templates / extended / 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.16 2002-01-14 02:20:15 richard Exp $
20 import instance_config
21 from roundup import cgi_client, mailgw 
23 class Client(cgi_client.ExtendedClient): 
24     ''' derives basic CGI implementation from the standard module, 
25         with any specific extensions 
26     ''' 
27     pass
28  
29 class MailGW(mailgw.MailGW): 
30     ''' derives basic mail gateway implementation from the standard module, 
31         with any specific extensions 
32     ''' 
33     pass
35 #
36 # $Log: not supported by cvs2svn $
37 # Revision 1.15  2002/01/02 02:32:38  richard
38 # ANONYMOUS_ACCESS -> ANONYMOUS_REGISTER
39 #
40 # Revision 1.14  2001/12/20 15:43:01  rochecompaan
41 # Features added:
42 #  .  Multilink properties are now displayed as comma separated values in
43 #     a textbox
44 #  .  The add user link is now only visible to the admin user
45 #  .  Modified the mail gateway to reject submissions from unknown
46 #     addresses if ANONYMOUS_ACCESS is denied
47 #
48 # Revision 1.13  2001/11/26 23:00:53  richard
49 # This config stuff is getting to be a real mess...
50 #
51 # Revision 1.12  2001/10/22 03:25:01  richard
52 # Added configuration for:
53 #  . anonymous user access and registration (deny/allow)
54 #  . filter "widget" location on index page (top, bottom, both)
55 # Updated some documentation.
56 #
57 # Revision 1.11  2001/10/09 07:38:58  richard
58 # Pushed the base code for the extended schema CGI interface back into the
59 # code cgi_client module so that future updates will be less painful.
60 # Also removed a debugging print statement from cgi_client.
61 #
62 # Revision 1.10  2001/10/05 02:23:24  richard
63 #  . roundup-admin create now prompts for property info if none is supplied
64 #    on the command-line.
65 #  . hyperdb Class getprops() method may now return only the mutable
66 #    properties.
67 #  . Login now uses cookies, which makes it a whole lot more flexible. We can
68 #    now support anonymous user access (read-only, unless there's an
69 #    "anonymous" user, in which case write access is permitted). Login
70 #    handling has been moved into cgi_client.Client.main()
71 #  . The "extended" schema is now the default in roundup init.
72 #  . The schemas have had their page headings modified to cope with the new
73 #    login handling. Existing installations should copy the interfaces.py
74 #    file from the roundup lib directory to their instance home.
75 #  . Incorrectly had a Bizar Software copyright on the cgitb.py module from
76 #    Ping - has been removed.
77 #  . Fixed a whole bunch of places in the CGI interface where we should have
78 #    been returning Not Found instead of throwing an exception.
79 #  . Fixed a deviation from the spec: trying to modify the 'id' property of
80 #    an item now throws an exception.
81 #
82 # Revision 1.9  2001/08/07 00:24:43  richard
83 # stupid typo
84 #
85 # Revision 1.8  2001/08/07 00:15:51  richard
86 # Added the copyright/license notice to (nearly) all files at request of
87 # Bizar Software.
88 #
89 # Revision 1.7  2001/08/02 00:43:06  richard
90 # Even better (more useful) headings
91 #
92 # Revision 1.6  2001/08/02 00:36:42  richard
93 # Made all the user-specific link names the same (My Foo)
94 #
95 # Revision 1.5  2001/08/01 05:15:09  richard
96 # Added "My Issues" and "My Support" to extended template.
97 #
98 # Revision 1.4  2001/07/30 08:12:17  richard
99 # Added time logging and file uploading to the templates.
101 # Revision 1.3  2001/07/30 01:26:59  richard
102 # Big changes:
103 #  . split off the support priority into its own class
104 #  . added "new support, new user" to the page head
105 #  . fixed the display options for the heading links
107 # Revision 1.2  2001/07/29 07:01:39  richard
108 # Added vim command to all source so that we don't get no steenkin' tabs :)
110 # Revision 1.1  2001/07/23 23:16:01  richard
111 # Split off the interfaces (CGI, mailgw) into a separate file from the DB stuff.
114 # vim: set filetype=python ts=4 sw=4 et si