1.1 --- a/README.txt Sat Nov 15 02:33:06 2008 +0100 1.2 +++ b/README.txt Sat Nov 15 02:33:55 2008 +0100 1.3 @@ -63,10 +63,20 @@ 1.4 protocol, address and path values. 1.5 * Added a StringResource to WebStack.Resources.Static, serving strings as 1.6 responses. 1.7 + * Added Last-Modified headers to DirectoryResource and FileResource 1.8 + responses. 1.9 * Added experimental OpenID support; improved the authentication resources 1.10 and mechanisms. 1.11 * Added a StoreSelector to WebStack.Resources.Selectors in order to provide 1.12 a convenient mechanism for database-related applications. 1.13 + * Changed LoginRedirectResource to use class attributes for various optional 1.14 + parameters, rather than having these supplied to the initialiser. 1.15 + WARNING: These changes could affect some applications. 1.16 + * Added a SiteLoginRedirectResource for site-specific login redirection to 1.17 + WebStack.Resources.LoginRedirect. 1.18 + * Added AuthInfoSelector for the retrieval of authentication details and 1.19 + ConditionalAuthSelector for conditional authentication to 1.20 + WebStack.Resources.Selectors. 1.21 1.22 New in WebStack 1.2.7 (Changes since WebStack 1.2.6) 1.23 ----------------------------------------------------
2.1 --- a/packages/ubuntu-feisty/jython-webstack/debian/changelog Sat Nov 15 02:33:06 2008 +0100 2.2 +++ b/packages/ubuntu-feisty/jython-webstack/debian/changelog Sat Nov 15 02:33:55 2008 +0100 2.3 @@ -1,3 +1,37 @@ 2.4 +webstack (1.3-0ubuntu1) feisty; urgency=low 2.5 + 2.6 + * Changed the default_charset on 2.7 + WebStack.Generic.Transaction to UTF-8, introducing a 2.8 + safe_default_charset attribute which employs ISO-8859-1, 2.9 + and removing the default encoding on various resources, 2.10 + making them rely on the default_charset property instead. 2.11 + WARNING: These changes could upset some applications. 2.12 + The EncodingSelector should be used to override the 2.13 + default_charset setting if appropriate. 2.14 + * Added an encode_url_without_query to Transaction for use 2.15 + with combined protocol, address and path values. 2.16 + * Added a StringResource to WebStack.Resources.Static, 2.17 + serving strings as responses. 2.18 + * Added Last-Modified headers to DirectoryResource and 2.19 + FileResource responses. 2.20 + * Added experimental OpenID support; improved the 2.21 + authentication resources and mechanisms. 2.22 + * Added a StoreSelector to WebStack.Resources.Selectors in 2.23 + order to provide a convenient mechanism for 2.24 + database-related applications. 2.25 + * Changed LoginRedirectResource to use class attributes 2.26 + for various optional parameters, rather than having 2.27 + these supplied to the initialiser. 2.28 + WARNING: These changes could affect some applications. 2.29 + * Added a SiteLoginRedirectResource for site-specific 2.30 + login redirection to WebStack.Resources.LoginRedirect. 2.31 + * Added AuthInfoSelector for the retrieval of 2.32 + authentication details and ConditionalAuthSelector for 2.33 + conditional authentication to 2.34 + WebStack.Resources.Selectors. 2.35 + 2.36 + -- Paul Boddie <paul@boddie.org.uk> Sat, 15 Nov 2008 02:27:03 +0100 2.37 + 2.38 webstack (1.2.7-0ubuntu1) feisty; urgency=low 2.39 2.40 * Fixed the MessageBodyStream class, adding an optional
3.1 --- a/packages/ubuntu-feisty/python-webstack/debian/changelog Sat Nov 15 02:33:06 2008 +0100 3.2 +++ b/packages/ubuntu-feisty/python-webstack/debian/changelog Sat Nov 15 02:33:55 2008 +0100 3.3 @@ -1,14 +1,36 @@ 3.4 webstack (1.3-0ubuntu1) feisty; urgency=low 3.5 3.6 + * Changed the default_charset on 3.7 + WebStack.Generic.Transaction to UTF-8, introducing a 3.8 + safe_default_charset attribute which employs ISO-8859-1, 3.9 + and removing the default encoding on various resources, 3.10 + making them rely on the default_charset property instead. 3.11 + WARNING: These changes could upset some applications. 3.12 + The EncodingSelector should be used to override the 3.13 + default_charset setting if appropriate. 3.14 + * Added an encode_url_without_query to Transaction for use 3.15 + with combined protocol, address and path values. 3.16 * Added a StringResource to WebStack.Resources.Static, 3.17 serving strings as responses. 3.18 + * Added Last-Modified headers to DirectoryResource and 3.19 + FileResource responses. 3.20 * Added experimental OpenID support; improved the 3.21 authentication resources and mechanisms. 3.22 * Added a StoreSelector to WebStack.Resources.Selectors in 3.23 order to provide a convenient mechanism for 3.24 database-related applications. 3.25 + * Changed LoginRedirectResource to use class attributes 3.26 + for various optional parameters, rather than having 3.27 + these supplied to the initialiser. 3.28 + WARNING: These changes could affect some applications. 3.29 + * Added a SiteLoginRedirectResource for site-specific 3.30 + login redirection to WebStack.Resources.LoginRedirect. 3.31 + * Added AuthInfoSelector for the retrieval of 3.32 + authentication details and ConditionalAuthSelector for 3.33 + conditional authentication to 3.34 + WebStack.Resources.Selectors. 3.35 3.36 - -- Paul Boddie <paul@boddie.org.uk> Sat, 1 Dec 2007 01:32:45 +0100 3.37 + -- Paul Boddie <paul@boddie.org.uk> Sat, 15 Nov 2008 02:26:43 +0100 3.38 3.39 webstack (1.2.7-0ubuntu1) feisty; urgency=low 3.40
4.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 4.2 +++ b/packages/ubuntu-gutsy/jython-webstack/debian/changelog Sat Nov 15 02:33:55 2008 +0100 4.3 @@ -0,0 +1,216 @@ 4.4 +webstack (1.3-0ubuntu1) feisty; urgency=low 4.5 + 4.6 + * Changed the default_charset on 4.7 + WebStack.Generic.Transaction to UTF-8, introducing a 4.8 + safe_default_charset attribute which employs ISO-8859-1, 4.9 + and removing the default encoding on various resources, 4.10 + making them rely on the default_charset property instead. 4.11 + WARNING: These changes could upset some applications. 4.12 + The EncodingSelector should be used to override the 4.13 + default_charset setting if appropriate. 4.14 + * Added an encode_url_without_query to Transaction for use 4.15 + with combined protocol, address and path values. 4.16 + * Added a StringResource to WebStack.Resources.Static, 4.17 + serving strings as responses. 4.18 + * Added Last-Modified headers to DirectoryResource and 4.19 + FileResource responses. 4.20 + * Added experimental OpenID support; improved the 4.21 + authentication resources and mechanisms. 4.22 + * Added a StoreSelector to WebStack.Resources.Selectors in 4.23 + order to provide a convenient mechanism for 4.24 + database-related applications. 4.25 + * Changed LoginRedirectResource to use class attributes 4.26 + for various optional parameters, rather than having 4.27 + these supplied to the initialiser. 4.28 + WARNING: These changes could affect some applications. 4.29 + * Added a SiteLoginRedirectResource for site-specific 4.30 + login redirection to WebStack.Resources.LoginRedirect. 4.31 + * Added AuthInfoSelector for the retrieval of 4.32 + authentication details and ConditionalAuthSelector for 4.33 + conditional authentication to 4.34 + WebStack.Resources.Selectors. 4.35 + 4.36 + -- Paul Boddie <paul@boddie.org.uk> Sat, 15 Nov 2008 02:27:03 +0100 4.37 + 4.38 +webstack (1.2.7-0ubuntu1) feisty; urgency=low 4.39 + 4.40 + * Fixed the MessageBodyStream class, adding an optional 4.41 + parameter to the readline method which seems to be 4.42 + necessary when handling multipart requests. 4.43 + * Introduced stream usage for file uploads where possible, 4.44 + in order to reduce memory usage (suggested by Kevin 4.45 + Glynn), adding a stream attribute to the FileContent 4.46 + class and making the content attribute a property. 4.47 + * Removed error handling in the examples in order to make 4.48 + troubleshooting easier. 4.49 + * Fixed header issues by introducing a special HeaderDict 4.50 + class which enforces the case-insensitivity expected of 4.51 + header dictionaries. 4.52 + 4.53 + -- Paul Boddie <paul@boddie.org.uk> Sun, 28 Oct 2007 23:21:32 +0100 4.54 + 4.55 +webstack (1.2.6-0ubuntu1) feisty; urgency=low 4.56 + 4.57 + * Added a jython-webstack package for Ubuntu Feisty 4.58 + (7.04). 4.59 + * Improved support for Jython on Ubuntu Feisty (7.04), 4.60 + adding python.path and python.cachedir settings which 4.61 + respectively avoid issues with missing libraries (due to 4.62 + the separation of libraries in the Ubuntu package) and 4.63 + with failed imports (due to a read-only class cache 4.64 + directory). 4.65 + * Improved the webstack_java_build.py script and added a 4.66 + deployment descriptor for JSP to accompany the new Java 4.67 + Servlet-specific JSPTest example. 4.68 + * Added a special Java Servlet-specific get_servlet method 4.69 + to support the JSPTest example. It is envisaged that a 4.70 + more general method could be made available for all 4.71 + frameworks in order to support access to underlying 4.72 + request dispatchers and other framework facilities. 4.73 + * Added more Jython-related documentation as suggested by 4.74 + Kevin Glynn. 4.75 + * Added missing request headers for CGI/WSGI environment 4.76 + variables. 4.77 + * Fixed Webware support to work with Webware 0.9.4. 4.78 + * Fixed/improved Zope path value retrieval. 4.79 + * Added support for wsgiref, changing the WSGI deploy 4.80 + function for CGI-based applications to deploy_as_cgi and 4.81 + adding a deploy_with_wsgiref function. 4.82 + 4.83 + -- Paul Boddie <paul@boddie.org.uk> Sun, 14 Oct 2007 01:36:06 +0200 4.84 + 4.85 +webstack (1.2.5-0ubuntu1) feisty; urgency=low 4.86 + 4.87 + * Fixed mod_python status codes using a solution proposed 4.88 + by John Krukoff. 4.89 + * Fixed a Twisted deprecation warning when accessing port 4.90 + numbers, thanks to John Krukoff. 4.91 + * Added Ubuntu Feisty (7.04) package support. 4.92 + * Tidied up the documentation HTML. 4.93 + 4.94 + -- Paul Boddie <paul@boddie.org.uk> Sat, 8 Sep 2007 18:00:50 +0200 4.95 + 4.96 +webstack (1.2.4-0ubuntu1) hoary; urgency=low 4.97 + 4.98 + * Made a SessionDirectoryRepository which uses directories 4.99 + for data produced by the shelve module, rather than 4.100 + attempting to manipulate files produced by the shelve 4.101 + module, since the details of such files may differ 4.102 + between environments: a situation noticed by John 4.103 + Krukoff in an environment without the bsddb module 4.104 + installed. 4.105 + 4.106 + -- Paul Boddie <paul@boddie.org.uk> Wed, 13 Jun 2007 01:49:34 +0200 4.107 + 4.108 +webstack (1.2.3-0ubuntu1) hoary; urgency=low 4.109 + 4.110 + * Fixed inadvertent OpenSSL dependency, noticed by John 4.111 + Krukoff. 4.112 + 4.113 + -- Paul Boddie <paul@boddie.org.uk> Mon, 16 Apr 2007 16:41:33 +0200 4.114 + 4.115 +webstack (1.2.2-0ubuntu1) hoary; urgency=low 4.116 + 4.117 + * Added an EncodingSelector class for the setting of 4.118 + default encodings on transactions. 4.119 + * Added some documentation about path processing 4.120 + strategies. 4.121 + * Added a secure variant of the BaseHTTPServer provided in 4.122 + the adapter for BaseHTTPRequestHandler. 4.123 + 4.124 + -- Paul Boddie <paul@boddie.org.uk> Wed, 28 Feb 2007 20:47:05 +0100 4.125 + 4.126 +webstack (1.2.1-0ubuntu1) hoary; urgency=low 4.127 + 4.128 + * Fixed mod_python get_content_type method. 4.129 + * Fixed LoginResource form field processing; changed the 4.130 + field type to password. 4.131 + * Exposed LoginResource and LoginRedirectResource page 4.132 + contents as attributes. 4.133 + * Added documentation about extending 4.134 + LoginRedirectResource and using PathSelector to remember 4.135 + an application's root path. 4.136 + * Changed handle_errors to 1 throughout the examples. 4.137 + 4.138 + -- Paul Boddie <paul@boddie.org.uk> Thu, 18 Jan 2007 23:39:11 +0100 4.139 + 4.140 +webstack (1.2-0ubuntu1) hoary; urgency=low 4.141 + 4.142 + * Added support for Django. 4.143 + * Fixed documentation about the representation of file 4.144 + upload fields. 4.145 + * Changed mod_python, Java Servlet and Webware (> 0.8.1) 4.146 + deployment to use a deploy function instead of more 4.147 + complicated configuration mechanisms. 4.148 + * Improved mod_python deployment documentation and tools 4.149 + so that cleaner application paths/URLs can now be used. 4.150 + * Moved user and path_info default definitions into 4.151 + WebStack.Generic as class attributes. 4.152 + * Fixed encoding usage issues with path fields when using 4.153 + get_fields in a Zope environment. 4.154 + * Added a FileResource class to WebStack.Resources.Static. 4.155 + * Made DirectoryRepository convert filenames to Unicode in 4.156 + all cases. 4.157 + * Renamed the Apache and Java Servlet tools, making them 4.158 + scripts which are installed by setup.py. 4.159 + * Fixed CGI content charsets and languages support. 4.160 + * Fixed CGI cookie output. 4.161 + * Added URL overriding in the LoginRedirectResource. 4.162 + * Exposed a get_target function from 4.163 + WebStack.Resources.Login in order to better support 4.164 + alternative login resources. 4.165 + * Added improved error reporting for BaseHTTPRequestHandler, 4.166 + CGI, Django and WSGI. 4.167 + * Added a traverse_path method to the Transaction class. 4.168 + * Made a path_encoding alias for urlencoding in the 4.169 + initialisation of WebStack.Resources.ResourceMap 4.170 + objects. 4.171 + * Added a Selectors module to WebStack.Resources in order 4.172 + to support common resource selection patterns. 4.173 + 4.174 + -- Paul Boddie <paul@boddie.org.uk> Sat, 6 Jan 2007 21:29:09 +0100 4.175 + 4.176 +webstack (1.1.2-0ubuntu1) hoary; urgency=low 4.177 + 4.178 + * Fixed missing import in WebStack.Repositories.Directory. 4.179 + 4.180 + -- Paul Boddie <paul@boddie.org.uk> Tue, 10 Jan 2006 16:07:52 +0100 4.181 + 4.182 +webstack (1.1.1-0ubuntu1) hoary; urgency=low 4.183 + 4.184 + * Fixed update_path to handle the root path properly. 4.185 + 4.186 + -- Paul Boddie <paul@boddie.org.uk> Tue, 6 Dec 2005 02:39:02 +0100 4.187 + 4.188 +webstack (1.1-0ubuntu1) hoary; urgency=low 4.189 + 4.190 + * Added a Repositories package to provide session-like 4.191 + support for different kinds of storage. 4.192 + * Added an explicit filesystem encoding to the Calendar 4.193 + example and adopted the DirectoryRepository from the 4.194 + Repositories package. 4.195 + * Added get_path_without_info, update_path and redirect 4.196 + methods to the Transaction class. 4.197 + * Added get_attributes (attribute support) to the 4.198 + Transaction class. 4.199 + * Added a values method to Helpers.Session.Wrapper. 4.200 + * Fixed get_processed_virtual_path_info (to match from 4.201 + right to left). 4.202 + * Improved/fixed exception handling in the adapters so 4.203 + that transactions are committed as the final act of an 4.204 + adapter experiencing an unhandled exception. This should 4.205 + result in session stores being closed properly. 4.206 + * Changed the Helpers.Session.SessionStore to use 4.207 + DirectoryRepository. 4.208 + * Made the "not found" behaviour of DirectoryResource more 4.209 + configurable. 4.210 + * Added documentation for MapResource and DirectoryResource. 4.211 + * Fixed the distribution names in the Ubuntu changelog. 4.212 + 4.213 + -- Paul Boddie <paul@boddie.org.uk> Mon, 14 Nov 2005 15:39:55 +0100 4.214 + 4.215 +webstack (1.0-0ubuntu1) hoary; urgency=low 4.216 + 4.217 + * New upstream release. 4.218 + 4.219 + -- Paul Boddie <paul@boddie.org.uk> Tue, 16 Aug 2005 19:19:05 +0200
5.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 5.2 +++ b/packages/ubuntu-gutsy/jython-webstack/debian/compat Sat Nov 15 02:33:55 2008 +0100 5.3 @@ -0,0 +1,1 @@ 5.4 +5
6.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 6.2 +++ b/packages/ubuntu-gutsy/jython-webstack/debian/control Sat Nov 15 02:33:55 2008 +0100 6.3 @@ -0,0 +1,20 @@ 6.4 +Source: webstack 6.5 +Section: python 6.6 +Priority: optional 6.7 +Maintainer: Paul Boddie <paul@boddie.org.uk> 6.8 +Build-Depends: debhelper (>= 5.0.38), python-all-dev (>= 2.3.5-11), python-central (>= 0.5.6), java-gcj-compat-dev | sun-java5-jdk | sun-java6-jdk, libservlet2.4-java 6.9 +XS-Python-Version: all 6.10 +Standards-Version: 3.7.2.1 6.11 + 6.12 +Package: jython-webstack 6.13 +Architecture: all 6.14 +Depends: jython-gcj, python-webstack 6.15 +Suggests: java-gcj-compat-dev | sun-java5-jdk | sun-java6-jdk 6.16 +Conflicts: python2.4-webstack (<< 1.2.5-0ubuntu1) 6.17 +Replaces: python2.4-webstack (<< 1.2.5-0ubuntu1) 6.18 +Description: Common API for Web applications 6.19 + WebStack is a package which provides a common API for Python Web applications 6.20 + supporting BaseHTTPRequestHandler, CGI, Django, Jython/Java Servlet API, mod_python, 6.21 + Twisted, Webware and Zope 2. 6.22 + . 6.23 + This package specifically supports Jython and the Java Servlet API.
7.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 7.2 +++ b/packages/ubuntu-gutsy/jython-webstack/debian/copyright Sat Nov 15 02:33:55 2008 +0100 7.3 @@ -0,0 +1,39 @@ 7.4 +Package creator: 7.5 + 7.6 + Paul Boddie <paul@boddie.org.uk> 7.7 + 7.8 +The origin of the package is: 7.9 + 7.10 + http://www.boddie.org.uk/python/WebStack.html 7.11 + 7.12 +Package author: 7.13 + 7.14 + Paul Boddie <paul@boddie.org.uk> 7.15 + 7.16 +Copyright: 7.17 + 7.18 +Licence Agreement for WebStack 7.19 +------------------------------ 7.20 + 7.21 +Copyright (C) 2004, 2005, 2006, 2007 Paul Boddie <paul@boddie.org.uk> 7.22 + 7.23 +This library is free software; you can redistribute it and/or 7.24 +modify it under the terms of the GNU Lesser General Public 7.25 +License as published by the Free Software Foundation; either 7.26 +version 2.1 of the License, or (at your option) any later version. 7.27 + 7.28 +This library is distributed in the hope that it will be useful, 7.29 +but WITHOUT ANY WARRANTY; without even the implied warranty of 7.30 +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 7.31 +Lesser General Public License for more details. 7.32 + 7.33 +You should have received a copy of the GNU Lesser General Public 7.34 +License along with this library; if not, write to the Free Software 7.35 +Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA 7.36 + 7.37 +Licence for Other Software 7.38 +-------------------------- 7.39 + 7.40 +See the LICENCE-PyServlet.txt file for the PyServlet copyrights and licence. 7.41 +The wsgi_cgi.py module originates from PEP 333 and is apparently "placed in 7.42 +the public domain" (see http://www.python.org/peps/pep-0333.html).
8.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 8.2 +++ b/packages/ubuntu-gutsy/jython-webstack/debian/docs Sat Nov 15 02:33:55 2008 +0100 8.3 @@ -0,0 +1,2 @@ 8.4 +README.txt 8.5 +tools
9.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 9.2 +++ b/packages/ubuntu-gutsy/jython-webstack/debian/rules Sat Nov 15 02:33:55 2008 +0100 9.3 @@ -0,0 +1,57 @@ 9.4 +#!/usr/bin/make -f 9.5 + 9.6 +# Uncomment this to turn on verbose mode. 9.7 +#export DH_VERBOSE=1 9.8 + 9.9 +export DH_COMPAT=5 9.10 + 9.11 +build: build-stamp 9.12 + 9.13 +build-stamp: 9.14 + touch $@ 9.15 + 9.16 +clean: 9.17 + dh_testdir 9.18 + dh_testroot 9.19 + rm -f *-stamp 9.20 + dh_clean 9.21 + 9.22 +install: build install-prereq install-pyservlet 9.23 + # Script fixing would appear here. 9.24 + 9.25 +install-prereq: 9.26 + dh_testdir 9.27 + dh_testroot 9.28 + dh_clean -k 9.29 + 9.30 +# The main WebStack libraries should be installed in the python-webstack package. 9.31 + 9.32 +install-pyservlet: 9.33 + # NOTE: To be enabled in the future, perhaps. 9.34 + #install -d $(CURDIR)/debian/jython-webstack/usr/share/java 9.35 + #cp tools/JavaServlet/classes/webstack-pyservlet.jar $(CURDIR)/debian/jython-webstack/usr/share/java/ 9.36 + 9.37 +# The WebStack scripts (including Jython/Java-related scripts) should be 9.38 +# installed in the python-webstack package. 9.39 + 9.40 +# Build architecture-independent files here. 9.41 + 9.42 +binary-indep: install 9.43 + JYTHON_LIB=/usr/share/jython/jython.jar SERVLET_LIB=/usr/share/java/servlet-api.jar tools/JavaServlet/compile.sh 9.44 + dh_testdir -i 9.45 + dh_testroot -i 9.46 + #dh_pycentral -i 9.47 + dh_installdocs -i 9.48 + dh_fixperms -i 9.49 + dh_installdeb -i 9.50 + dh_gencontrol -i 9.51 + dh_md5sums -i 9.52 + dh_builddeb -i 9.53 + 9.54 +# Build architecture-dependent files here. 9.55 + 9.56 +binary-arch: 9.57 + # Empty rule for this package. 9.58 + 9.59 +binary: binary-indep binary-arch 9.60 +.PHONY: build clean binary-arch binary-indep binary install
10.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 10.2 +++ b/packages/ubuntu-gutsy/python-webstack/debian/changelog Sat Nov 15 02:33:55 2008 +0100 10.3 @@ -0,0 +1,216 @@ 10.4 +webstack (1.3-0ubuntu1) feisty; urgency=low 10.5 + 10.6 + * Changed the default_charset on 10.7 + WebStack.Generic.Transaction to UTF-8, introducing a 10.8 + safe_default_charset attribute which employs ISO-8859-1, 10.9 + and removing the default encoding on various resources, 10.10 + making them rely on the default_charset property instead. 10.11 + WARNING: These changes could upset some applications. 10.12 + The EncodingSelector should be used to override the 10.13 + default_charset setting if appropriate. 10.14 + * Added an encode_url_without_query to Transaction for use 10.15 + with combined protocol, address and path values. 10.16 + * Added a StringResource to WebStack.Resources.Static, 10.17 + serving strings as responses. 10.18 + * Added Last-Modified headers to DirectoryResource and 10.19 + FileResource responses. 10.20 + * Added experimental OpenID support; improved the 10.21 + authentication resources and mechanisms. 10.22 + * Added a StoreSelector to WebStack.Resources.Selectors in 10.23 + order to provide a convenient mechanism for 10.24 + database-related applications. 10.25 + * Changed LoginRedirectResource to use class attributes 10.26 + for various optional parameters, rather than having 10.27 + these supplied to the initialiser. 10.28 + WARNING: These changes could affect some applications. 10.29 + * Added a SiteLoginRedirectResource for site-specific 10.30 + login redirection to WebStack.Resources.LoginRedirect. 10.31 + * Added AuthInfoSelector for the retrieval of 10.32 + authentication details and ConditionalAuthSelector for 10.33 + conditional authentication to 10.34 + WebStack.Resources.Selectors. 10.35 + 10.36 + -- Paul Boddie <paul@boddie.org.uk> Sat, 15 Nov 2008 02:26:43 +0100 10.37 + 10.38 +webstack (1.2.7-0ubuntu1) feisty; urgency=low 10.39 + 10.40 + * Fixed the MessageBodyStream class, adding an optional 10.41 + parameter to the readline method which seems to be 10.42 + necessary when handling multipart requests. 10.43 + * Introduced stream usage for file uploads where possible, 10.44 + in order to reduce memory usage (suggested by Kevin 10.45 + Glynn), adding a stream attribute to the FileContent 10.46 + class and making the content attribute a property. 10.47 + * Removed error handling in the examples in order to make 10.48 + troubleshooting easier. 10.49 + * Fixed header issues by introducing a special HeaderDict 10.50 + class which enforces the case-insensitivity expected of 10.51 + header dictionaries. 10.52 + 10.53 + -- Paul Boddie <paul@boddie.org.uk> Sun, 28 Oct 2007 00:34:44 +0200 10.54 + 10.55 +webstack (1.2.6-0ubuntu1) feisty; urgency=low 10.56 + 10.57 + * Added a jython-webstack package for Ubuntu Feisty 10.58 + (7.04). 10.59 + * Improved support for Jython on Ubuntu Feisty (7.04), 10.60 + adding python.path and python.cachedir settings which 10.61 + respectively avoid issues with missing libraries (due to 10.62 + the separation of libraries in the Ubuntu package) and 10.63 + with failed imports (due to a read-only class cache 10.64 + directory). 10.65 + * Improved the webstack_java_build.py script and added a 10.66 + deployment descriptor for JSP to accompany the new Java 10.67 + Servlet-specific JSPTest example. 10.68 + * Added a special Java Servlet-specific get_servlet method 10.69 + to support the JSPTest example. It is envisaged that a 10.70 + more general method could be made available for all 10.71 + frameworks in order to support access to underlying 10.72 + request dispatchers and other framework facilities. 10.73 + * Added more Jython-related documentation as suggested by 10.74 + Kevin Glynn. 10.75 + * Added missing request headers for CGI/WSGI environment 10.76 + variables. 10.77 + * Fixed Webware support to work with Webware 0.9.4. 10.78 + * Fixed/improved Zope path value retrieval. 10.79 + * Added support for wsgiref, changing the WSGI deploy 10.80 + function for CGI-based applications to deploy_as_cgi and 10.81 + adding a deploy_with_wsgiref function. 10.82 + 10.83 + -- Paul Boddie <paul@boddie.org.uk> Sun, 14 Oct 2007 01:35:54 +0200 10.84 + 10.85 +webstack (1.2.5-0ubuntu1) feisty; urgency=low 10.86 + 10.87 + * Fixed mod_python status codes using a solution proposed 10.88 + by John Krukoff. 10.89 + * Fixed a Twisted deprecation warning when accessing port 10.90 + numbers, thanks to John Krukoff. 10.91 + * Added Ubuntu Feisty (7.04) package support. 10.92 + * Tidied up the documentation HTML. 10.93 + 10.94 + -- Paul Boddie <paul@boddie.org.uk> Sat, 8 Sep 2007 18:00:50 +0200 10.95 + 10.96 +webstack (1.2.4-0ubuntu1) hoary; urgency=low 10.97 + 10.98 + * Made a SessionDirectoryRepository which uses directories 10.99 + for data produced by the shelve module, rather than 10.100 + attempting to manipulate files produced by the shelve 10.101 + module, since the details of such files may differ 10.102 + between environments: a situation noticed by John 10.103 + Krukoff in an environment without the bsddb module 10.104 + installed. 10.105 + 10.106 + -- Paul Boddie <paul@boddie.org.uk> Wed, 13 Jun 2007 01:49:34 +0200 10.107 + 10.108 +webstack (1.2.3-0ubuntu1) hoary; urgency=low 10.109 + 10.110 + * Fixed inadvertent OpenSSL dependency, noticed by John 10.111 + Krukoff. 10.112 + 10.113 + -- Paul Boddie <paul@boddie.org.uk> Mon, 16 Apr 2007 16:41:33 +0200 10.114 + 10.115 +webstack (1.2.2-0ubuntu1) hoary; urgency=low 10.116 + 10.117 + * Added an EncodingSelector class for the setting of 10.118 + default encodings on transactions. 10.119 + * Added some documentation about path processing 10.120 + strategies. 10.121 + * Added a secure variant of the BaseHTTPServer provided in 10.122 + the adapter for BaseHTTPRequestHandler. 10.123 + 10.124 + -- Paul Boddie <paul@boddie.org.uk> Wed, 28 Feb 2007 20:47:05 +0100 10.125 + 10.126 +webstack (1.2.1-0ubuntu1) hoary; urgency=low 10.127 + 10.128 + * Fixed mod_python get_content_type method. 10.129 + * Fixed LoginResource form field processing; changed the 10.130 + field type to password. 10.131 + * Exposed LoginResource and LoginRedirectResource page 10.132 + contents as attributes. 10.133 + * Added documentation about extending 10.134 + LoginRedirectResource and using PathSelector to remember 10.135 + an application's root path. 10.136 + * Changed handle_errors to 1 throughout the examples. 10.137 + 10.138 + -- Paul Boddie <paul@boddie.org.uk> Thu, 18 Jan 2007 23:39:11 +0100 10.139 + 10.140 +webstack (1.2-0ubuntu1) hoary; urgency=low 10.141 + 10.142 + * Added support for Django. 10.143 + * Fixed documentation about the representation of file 10.144 + upload fields. 10.145 + * Changed mod_python, Java Servlet and Webware (> 0.8.1) 10.146 + deployment to use a deploy function instead of more 10.147 + complicated configuration mechanisms. 10.148 + * Improved mod_python deployment documentation and tools 10.149 + so that cleaner application paths/URLs can now be used. 10.150 + * Moved user and path_info default definitions into 10.151 + WebStack.Generic as class attributes. 10.152 + * Fixed encoding usage issues with path fields when using 10.153 + get_fields in a Zope environment. 10.154 + * Added a FileResource class to WebStack.Resources.Static. 10.155 + * Made DirectoryRepository convert filenames to Unicode in 10.156 + all cases. 10.157 + * Renamed the Apache and Java Servlet tools, making them 10.158 + scripts which are installed by setup.py. 10.159 + * Fixed CGI content charsets and languages support. 10.160 + * Fixed CGI cookie output. 10.161 + * Added URL overriding in the LoginRedirectResource. 10.162 + * Exposed a get_target function from 10.163 + WebStack.Resources.Login in order to better support 10.164 + alternative login resources. 10.165 + * Added improved error reporting for BaseHTTPRequestHandler, 10.166 + CGI, Django and WSGI. 10.167 + * Added a traverse_path method to the Transaction class. 10.168 + * Made a path_encoding alias for urlencoding in the 10.169 + initialisation of WebStack.Resources.ResourceMap 10.170 + objects. 10.171 + * Added a Selectors module to WebStack.Resources in order 10.172 + to support common resource selection patterns. 10.173 + 10.174 + -- Paul Boddie <paul@boddie.org.uk> Sat, 6 Jan 2007 21:29:09 +0100 10.175 + 10.176 +webstack (1.1.2-0ubuntu1) hoary; urgency=low 10.177 + 10.178 + * Fixed missing import in WebStack.Repositories.Directory. 10.179 + 10.180 + -- Paul Boddie <paul@boddie.org.uk> Tue, 10 Jan 2006 16:07:52 +0100 10.181 + 10.182 +webstack (1.1.1-0ubuntu1) hoary; urgency=low 10.183 + 10.184 + * Fixed update_path to handle the root path properly. 10.185 + 10.186 + -- Paul Boddie <paul@boddie.org.uk> Tue, 6 Dec 2005 02:39:02 +0100 10.187 + 10.188 +webstack (1.1-0ubuntu1) hoary; urgency=low 10.189 + 10.190 + * Added a Repositories package to provide session-like 10.191 + support for different kinds of storage. 10.192 + * Added an explicit filesystem encoding to the Calendar 10.193 + example and adopted the DirectoryRepository from the 10.194 + Repositories package. 10.195 + * Added get_path_without_info, update_path and redirect 10.196 + methods to the Transaction class. 10.197 + * Added get_attributes (attribute support) to the 10.198 + Transaction class. 10.199 + * Added a values method to Helpers.Session.Wrapper. 10.200 + * Fixed get_processed_virtual_path_info (to match from 10.201 + right to left). 10.202 + * Improved/fixed exception handling in the adapters so 10.203 + that transactions are committed as the final act of an 10.204 + adapter experiencing an unhandled exception. This should 10.205 + result in session stores being closed properly. 10.206 + * Changed the Helpers.Session.SessionStore to use 10.207 + DirectoryRepository. 10.208 + * Made the "not found" behaviour of DirectoryResource more 10.209 + configurable. 10.210 + * Added documentation for MapResource and DirectoryResource. 10.211 + * Fixed the distribution names in the Ubuntu changelog. 10.212 + 10.213 + -- Paul Boddie <paul@boddie.org.uk> Mon, 14 Nov 2005 15:39:55 +0100 10.214 + 10.215 +webstack (1.0-0ubuntu1) hoary; urgency=low 10.216 + 10.217 + * New upstream release. 10.218 + 10.219 + -- Paul Boddie <paul@boddie.org.uk> Tue, 16 Aug 2005 19:19:05 +0200
11.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 11.2 +++ b/packages/ubuntu-gutsy/python-webstack/debian/compat Sat Nov 15 02:33:55 2008 +0100 11.3 @@ -0,0 +1,1 @@ 11.4 +5
12.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 12.2 +++ b/packages/ubuntu-gutsy/python-webstack/debian/control Sat Nov 15 02:33:55 2008 +0100 12.3 @@ -0,0 +1,19 @@ 12.4 +Source: webstack 12.5 +Section: python 12.6 +Priority: optional 12.7 +Maintainer: Paul Boddie <paul@boddie.org.uk> 12.8 +Build-Depends: debhelper (>= 5.0.38), python-all-dev (>= 2.3.5-11), python-central (>= 0.5.6), python-epydoc (>= 2.1-6ubuntu1) 12.9 +XS-Python-Version: all 12.10 +Standards-Version: 3.7.2.1 12.11 + 12.12 +Package: python-webstack 12.13 +Architecture: all 12.14 +Depends: ${python:Depends} | jython-gcj 12.15 +Suggests: python-django (>= 0.95), libapache2-mod-python, python-twisted-web, zope2.9, java-gcj-compat-dev 12.16 +Conflicts: python2.4-webstack (<< 1.2.5-0ubuntu1) 12.17 +Replaces: python2.4-webstack (<< 1.2.5-0ubuntu1) 12.18 +XB-Python-Version: ${python:Versions} 12.19 +Description: Common API for Web applications 12.20 + WebStack is a package which provides a common API for Python Web applications 12.21 + supporting BaseHTTPRequestHandler, CGI, Django, Jython/Java Servlet API, mod_python, 12.22 + Twisted, Webware and Zope 2.
13.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 13.2 +++ b/packages/ubuntu-gutsy/python-webstack/debian/copyright Sat Nov 15 02:33:55 2008 +0100 13.3 @@ -0,0 +1,39 @@ 13.4 +Package creator: 13.5 + 13.6 + Paul Boddie <paul@boddie.org.uk> 13.7 + 13.8 +The origin of the package is: 13.9 + 13.10 + http://www.boddie.org.uk/python/WebStack.html 13.11 + 13.12 +Package author: 13.13 + 13.14 + Paul Boddie <paul@boddie.org.uk> 13.15 + 13.16 +Copyright: 13.17 + 13.18 +Licence Agreement for WebStack 13.19 +------------------------------ 13.20 + 13.21 +Copyright (C) 2004, 2005, 2006, 2007 Paul Boddie <paul@boddie.org.uk> 13.22 + 13.23 +This library is free software; you can redistribute it and/or 13.24 +modify it under the terms of the GNU Lesser General Public 13.25 +License as published by the Free Software Foundation; either 13.26 +version 2.1 of the License, or (at your option) any later version. 13.27 + 13.28 +This library is distributed in the hope that it will be useful, 13.29 +but WITHOUT ANY WARRANTY; without even the implied warranty of 13.30 +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13.31 +Lesser General Public License for more details. 13.32 + 13.33 +You should have received a copy of the GNU Lesser General Public 13.34 +License along with this library; if not, write to the Free Software 13.35 +Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA 13.36 + 13.37 +Licence for Other Software 13.38 +-------------------------- 13.39 + 13.40 +See the LICENCE-PyServlet.txt file for the PyServlet copyrights and licence. 13.41 +The wsgi_cgi.py module originates from PEP 333 and is apparently "placed in 13.42 +the public domain" (see http://www.python.org/peps/pep-0333.html).
14.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 14.2 +++ b/packages/ubuntu-gutsy/python-webstack/debian/docs Sat Nov 15 02:33:55 2008 +0100 14.3 @@ -0,0 +1,6 @@ 14.4 +README.txt 14.5 +apidocs 14.6 +docs 14.7 +examples 14.8 +patches 14.9 +tools
15.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 15.2 +++ b/packages/ubuntu-gutsy/python-webstack/debian/rules Sat Nov 15 02:33:55 2008 +0100 15.3 @@ -0,0 +1,66 @@ 15.4 +#!/usr/bin/make -f 15.5 +# A debian/rules file using python-central. 15.6 + 15.7 +# Uncomment this to turn on verbose mode. 15.8 +#export DH_VERBOSE=1 15.9 + 15.10 +export DH_COMPAT=5 15.11 + 15.12 +PYVERS=$(shell pyversions -vr) 15.13 + 15.14 +build: build-stamp 15.15 + 15.16 +build-stamp: $(PYVERS:%=build-python%) build-python-scripts 15.17 + touch $@ 15.18 + 15.19 +build-python%: 15.20 + python$* setup.py build_py 15.21 + touch $@ 15.22 + 15.23 +build-python-scripts: 15.24 + python setup.py build_scripts 15.25 + touch $@ 15.26 + 15.27 +clean: 15.28 + dh_testdir 15.29 + dh_testroot 15.30 + rm -f *-stamp 15.31 + rm -rf build 15.32 + find . -name '*.py[co]' | xargs rm -f 15.33 + dh_clean 15.34 + 15.35 +install: build install-prereq $(PYVERS:%=install-python%) install-python-scripts 15.36 + # Script fixing would appear here. 15.37 + 15.38 +install-prereq: 15.39 + dh_testdir 15.40 + dh_testroot 15.41 + dh_clean -k 15.42 + 15.43 +install-python%: 15.44 + python$* setup.py install_lib --install-dir $(CURDIR)/debian/python-webstack/usr/lib/python$*/site-packages 15.45 + 15.46 +install-python-scripts: 15.47 + python setup.py install_scripts --install-dir $(CURDIR)/debian/python-webstack/usr/bin 15.48 + 15.49 +# Build architecture-independent files here. 15.50 + 15.51 +binary-indep: install 15.52 + tools/apidocs.sh 15.53 + dh_testdir -i 15.54 + dh_testroot -i 15.55 + dh_pycentral -i 15.56 + dh_installdocs -i 15.57 + dh_fixperms -i 15.58 + dh_installdeb -i 15.59 + dh_gencontrol -i 15.60 + dh_md5sums -i 15.61 + dh_builddeb -i 15.62 + 15.63 +# Build architecture-dependent files here. 15.64 + 15.65 +binary-arch: 15.66 + # Empty rule for this package. 15.67 + 15.68 +binary: binary-indep binary-arch 15.69 +.PHONY: build clean binary-arch binary-indep binary install
16.1 --- a/packages/ubuntu-hoary/python2.4-webstack/debian/changelog Sat Nov 15 02:33:06 2008 +0100 16.2 +++ b/packages/ubuntu-hoary/python2.4-webstack/debian/changelog Sat Nov 15 02:33:55 2008 +0100 16.3 @@ -1,14 +1,36 @@ 16.4 webstack (1.3-0ubuntu1) hoary; urgency=low 16.5 16.6 + * Changed the default_charset on 16.7 + WebStack.Generic.Transaction to UTF-8, introducing a 16.8 + safe_default_charset attribute which employs ISO-8859-1, 16.9 + and removing the default encoding on various resources, 16.10 + making them rely on the default_charset property instead. 16.11 + WARNING: These changes could upset some applications. 16.12 + The EncodingSelector should be used to override the 16.13 + default_charset setting if appropriate. 16.14 + * Added an encode_url_without_query to Transaction for use 16.15 + with combined protocol, address and path values. 16.16 * Added a StringResource to WebStack.Resources.Static, 16.17 serving strings as responses. 16.18 + * Added Last-Modified headers to DirectoryResource and 16.19 + FileResource responses. 16.20 * Added experimental OpenID support; improved the 16.21 authentication resources and mechanisms. 16.22 * Added a StoreSelector to WebStack.Resources.Selectors in 16.23 order to provide a convenient mechanism for 16.24 database-related applications. 16.25 + * Changed LoginRedirectResource to use class attributes 16.26 + for various optional parameters, rather than having 16.27 + these supplied to the initialiser. 16.28 + WARNING: These changes could affect some applications. 16.29 + * Added a SiteLoginRedirectResource for site-specific 16.30 + login redirection to WebStack.Resources.LoginRedirect. 16.31 + * Added AuthInfoSelector for the retrieval of 16.32 + authentication details and ConditionalAuthSelector for 16.33 + conditional authentication to 16.34 + WebStack.Resources.Selectors. 16.35 16.36 - -- Paul Boddie <paul@boddie.org.uk> Sat, 1 Dec 2007 01:32:00 +0100 16.37 + -- Paul Boddie <paul@boddie.org.uk> Sat, 15 Nov 2008 02:24:13 +0100 16.38 16.39 webstack (1.2.7-0ubuntu1) hoary; urgency=low 16.40