summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 20170c6)
raw | patch | inline | side by side (parent: 20170c6)
author | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Mon, 26 Nov 2001 23:00:53 +0000 (23:00 +0000) | ||
committer | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Mon, 26 Nov 2001 23:00:53 +0000 (23:00 +0000) |
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@425 57a73879-2fb5-44c3-a270-3262357dd7e2
roundup/cgi_client.py | patch | blob | history | |
roundup/templates/classic/interfaces.py | patch | blob | history | |
roundup/templates/extended/interfaces.py | patch | blob | history |
diff --git a/roundup/cgi_client.py b/roundup/cgi_client.py
index 2976814cc710ee1e7fbb68b82d6fa400de9856e7..4b8c7c4361a650e084d3a236a0ae38d27f080e75 100644 (file)
--- a/roundup/cgi_client.py
+++ b/roundup/cgi_client.py
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
#
-# $Id: cgi_client.py,v 1.64 2001-11-26 22:56:35 richard Exp $
+# $Id: cgi_client.py,v 1.65 2001-11-26 23:00:53 richard Exp $
__doc__ = """
WWW request handler (also used in the stand-alone server).
style = open(os.path.join(self.TEMPLATES, 'style.css')).read()
user_name = self.user or ''
if self.user == 'admin':
- admin_links = ' | <a href="list_classes">Class List</a>'
+ admin_links = ' | <a href="list_classes">Class List</a>' \
+ ' | <a href="user">User List</a>'
else:
admin_links = ''
if self.user not in (None, 'anonymous'):
cn = self.classname
cl = self.db.classes[cn]
self.pagehead(_('%(instancename)s: Index of %(classname)s')%{
- 'classname': cn, 'instancename': cl.INSTANCE_NAME})
+ 'classname': cn, 'instancename': self.INSTANCE_NAME})
if sort is None: sort = self.index_arg(':sort')
if group is None: group = self.index_arg(':group')
if filter is None: filter = self.index_arg(':filter')
style = open(os.path.join(self.TEMPLATES, 'style.css')).read()
user_name = self.user or ''
if self.user == 'admin':
- admin_links = ' | <a href="list_classes">Class List</a>'
+ admin_links = ' | <a href="list_classes">Class List</a>' \
+ ' | <a href="user">User List</a>'
else:
admin_links = ''
if self.user not in (None, 'anonymous'):
#
# $Log: not supported by cvs2svn $
+# Revision 1.64 2001/11/26 22:56:35 richard
+# typo
+#
# Revision 1.63 2001/11/26 22:55:56 richard
# Feature:
# . Added INSTANCE_NAME to configuration - used in web and email to identify
index bd64559384869747a68765348d356d63bed9129b..72c2cbb629851ac3c97b07c36eb58b4ffa45718e 100644 (file)
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
#
-# $Id: interfaces.py,v 1.8 2001-10-22 03:25:01 richard Exp $
+# $Id: interfaces.py,v 1.9 2001-11-26 23:00:53 richard Exp $
import instance_config
from roundup import cgi_client, mailgw
''' derives basic CGI implementation from the standard module,
with any specific extensions
'''
+ INSTANCE_NAME = instance_config.INSTANCE_NAME
TEMPLATES = instance_config.TEMPLATES
FILTER_POSITION = instance_config.FILTER_POSITION
ANONYMOUS_ACCESS = instance_config.ANONYMOUS_ACCESS
''' derives basic mail gateway implementation from the standard module,
with any specific extensions
'''
+ INSTANCE_NAME = instance_config.INSTANCE_NAME
ISSUE_TRACKER_EMAIL = instance_config.ISSUE_TRACKER_EMAIL
ADMIN_EMAIL = instance_config.ADMIN_EMAIL
MAILHOST = instance_config.MAILHOST
#
# $Log: not supported by cvs2svn $
+# Revision 1.8 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.7 2001/10/09 07:38:58 richard
# Pushed the base code for the extended schema CGI interface back into the
# code cgi_client module so that future updates will be less painful.
index 3f2ac142c46ddbffc1e2149aac92d2889ca5bab3..bfe9269a36bf5170aa79c751dc17323739d66956 100644 (file)
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
#
-# $Id: interfaces.py,v 1.12 2001-10-22 03:25:01 richard Exp $
+# $Id: interfaces.py,v 1.13 2001-11-26 23:00:53 richard Exp $
import instance_config
from roundup import cgi_client, mailgw
''' derives basic CGI implementation from the standard module,
with any specific extensions
'''
+ INSTANCE_NAME = instance_config.INSTANCE_NAME
TEMPLATES = instance_config.TEMPLATES
FILTER_POSITION = instance_config.FILTER_POSITION
ANONYMOUS_ACCESS = instance_config.ANONYMOUS_ACCESS
''' derives basic mail gateway implementation from the standard module,
with any specific extensions
'''
+ INSTANCE_NAME = instance_config.INSTANCE_NAME
ISSUE_TRACKER_EMAIL = instance_config.ISSUE_TRACKER_EMAIL
ADMIN_EMAIL = instance_config.ADMIN_EMAIL
MAILHOST = instance_config.MAILHOST
#
# $Log: not supported by cvs2svn $
+# Revision 1.12 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.11 2001/10/09 07:38:58 richard
# Pushed the base code for the extended schema CGI interface back into the
# code cgi_client module so that future updates will be less painful.