summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 766d9fd)
raw | patch | inline | side by side (parent: 766d9fd)
author | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Thu, 21 Feb 2002 07:02:54 +0000 (07:02 +0000) | ||
committer | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Thu, 21 Feb 2002 07:02:54 +0000 (07:02 +0000) |
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@648 57a73879-2fb5-44c3-a270-3262357dd7e2
roundup/cgi_client.py | patch | blob | history | |
roundup/scripts/roundup_server.py | patch | blob | history |
diff --git a/roundup/cgi_client.py b/roundup/cgi_client.py
index b06b3b8d154787fd25382c51080455f96acc5ada..72cd86f6201fbdd4e07340617e7f3609b80eb346 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.107 2002-02-21 06:57:38 richard Exp $
+# $Id: cgi_client.py,v 1.108 2002-02-21 07:02:54 richard Exp $
__doc__ = """
WWW request handler (also used in the stand-alone server).
machine = self.env['SERVER_NAME']
port = self.env['SERVER_PORT']
if port != '80': machine = machine + ':' + port
- self.base = urlparse.urlunparse(('http', env['HOST'], url, None,None,None))
+ self.base = urlparse.urlunparse(('http', env['HTTP_HOST'], url,
+ None, None, None))
if form is None:
self.form = cgi.FieldStorage(environ=env)
#
# $Log: not supported by cvs2svn $
+# Revision 1.107 2002/02/21 06:57:38 richard
+# . Added popup help for classes using the classhelp html template function.
+# - add <display call="classhelp('priority', 'id,name,description')">
+# to an item page, and it generates a link to a popup window which displays
+# the id, name and description for the priority class. The description
+# field won't exist in most installations, but it will be added to the
+# default templates.
+#
# Revision 1.106 2002/02/21 06:23:00 richard
# *** empty log message ***
#
index 1d6a80b593e3b31a42f2a0a0d416817b67d09434..8cf27047b61eb5fff436e9e48891c153840c5257 100644 (file)
#
""" HTTP Server that serves roundup.
-$Id: roundup_server.py,v 1.3 2002-02-21 06:57:39 richard Exp $
+$Id: roundup_server.py,v 1.4 2002-02-21 07:02:54 richard Exp $
"""
# python version check
env['SCRIPT_NAME'] = ''
env['SERVER_NAME'] = self.server.server_name
env['SERVER_PORT'] = str(self.server.server_port)
- env['HOST'] = self.headers['host']
+ env['HTTP_HOST'] = self.headers['host']
decoded_query = query.replace('+', ' ')
#
# $Log: not supported by cvs2svn $
+# Revision 1.3 2002/02/21 06:57:39 richard
+# . Added popup help for classes using the classhelp html template function.
+# - add <display call="classhelp('priority', 'id,name,description')">
+# to an item page, and it generates a link to a popup window which displays
+# the id, name and description for the priority class. The description
+# field won't exist in most installations, but it will be added to the
+# default templates.
+#
# Revision 1.2 2002/01/29 20:07:15 jhermann
# Conversion to generated script stubs
#