# HG changeset patch # User Paul Boddie # Date 1226712835 -3600 # Node ID 80acb43f574adbe0bd08c5eff260e75446a34666 # Parent cb7d1387e1ef30e4699e6819abc803927de5023d Updated release information. Added initial Ubuntu Gutsy (7.10) packaging. diff -r cb7d1387e1ef -r 80acb43f574a README.txt --- a/README.txt Sat Nov 15 02:33:06 2008 +0100 +++ b/README.txt Sat Nov 15 02:33:55 2008 +0100 @@ -63,10 +63,20 @@ protocol, address and path values. * Added a StringResource to WebStack.Resources.Static, serving strings as responses. + * Added Last-Modified headers to DirectoryResource and FileResource + responses. * Added experimental OpenID support; improved the authentication resources and mechanisms. * Added a StoreSelector to WebStack.Resources.Selectors in order to provide a convenient mechanism for database-related applications. + * Changed LoginRedirectResource to use class attributes for various optional + parameters, rather than having these supplied to the initialiser. + WARNING: These changes could affect some applications. + * Added a SiteLoginRedirectResource for site-specific login redirection to + WebStack.Resources.LoginRedirect. + * Added AuthInfoSelector for the retrieval of authentication details and + ConditionalAuthSelector for conditional authentication to + WebStack.Resources.Selectors. New in WebStack 1.2.7 (Changes since WebStack 1.2.6) ---------------------------------------------------- diff -r cb7d1387e1ef -r 80acb43f574a packages/ubuntu-feisty/jython-webstack/debian/changelog --- a/packages/ubuntu-feisty/jython-webstack/debian/changelog Sat Nov 15 02:33:06 2008 +0100 +++ b/packages/ubuntu-feisty/jython-webstack/debian/changelog Sat Nov 15 02:33:55 2008 +0100 @@ -1,3 +1,37 @@ +webstack (1.3-0ubuntu1) feisty; urgency=low + + * Changed the default_charset on + WebStack.Generic.Transaction to UTF-8, introducing a + safe_default_charset attribute which employs ISO-8859-1, + and removing the default encoding on various resources, + making them rely on the default_charset property instead. + WARNING: These changes could upset some applications. + The EncodingSelector should be used to override the + default_charset setting if appropriate. + * Added an encode_url_without_query to Transaction for use + with combined protocol, address and path values. + * Added a StringResource to WebStack.Resources.Static, + serving strings as responses. + * Added Last-Modified headers to DirectoryResource and + FileResource responses. + * Added experimental OpenID support; improved the + authentication resources and mechanisms. + * Added a StoreSelector to WebStack.Resources.Selectors in + order to provide a convenient mechanism for + database-related applications. + * Changed LoginRedirectResource to use class attributes + for various optional parameters, rather than having + these supplied to the initialiser. + WARNING: These changes could affect some applications. + * Added a SiteLoginRedirectResource for site-specific + login redirection to WebStack.Resources.LoginRedirect. + * Added AuthInfoSelector for the retrieval of + authentication details and ConditionalAuthSelector for + conditional authentication to + WebStack.Resources.Selectors. + + -- Paul Boddie Sat, 15 Nov 2008 02:27:03 +0100 + webstack (1.2.7-0ubuntu1) feisty; urgency=low * Fixed the MessageBodyStream class, adding an optional diff -r cb7d1387e1ef -r 80acb43f574a packages/ubuntu-feisty/python-webstack/debian/changelog --- a/packages/ubuntu-feisty/python-webstack/debian/changelog Sat Nov 15 02:33:06 2008 +0100 +++ b/packages/ubuntu-feisty/python-webstack/debian/changelog Sat Nov 15 02:33:55 2008 +0100 @@ -1,14 +1,36 @@ webstack (1.3-0ubuntu1) feisty; urgency=low + * Changed the default_charset on + WebStack.Generic.Transaction to UTF-8, introducing a + safe_default_charset attribute which employs ISO-8859-1, + and removing the default encoding on various resources, + making them rely on the default_charset property instead. + WARNING: These changes could upset some applications. + The EncodingSelector should be used to override the + default_charset setting if appropriate. + * Added an encode_url_without_query to Transaction for use + with combined protocol, address and path values. * Added a StringResource to WebStack.Resources.Static, serving strings as responses. + * Added Last-Modified headers to DirectoryResource and + FileResource responses. * Added experimental OpenID support; improved the authentication resources and mechanisms. * Added a StoreSelector to WebStack.Resources.Selectors in order to provide a convenient mechanism for database-related applications. + * Changed LoginRedirectResource to use class attributes + for various optional parameters, rather than having + these supplied to the initialiser. + WARNING: These changes could affect some applications. + * Added a SiteLoginRedirectResource for site-specific + login redirection to WebStack.Resources.LoginRedirect. + * Added AuthInfoSelector for the retrieval of + authentication details and ConditionalAuthSelector for + conditional authentication to + WebStack.Resources.Selectors. - -- Paul Boddie Sat, 1 Dec 2007 01:32:45 +0100 + -- Paul Boddie Sat, 15 Nov 2008 02:26:43 +0100 webstack (1.2.7-0ubuntu1) feisty; urgency=low diff -r cb7d1387e1ef -r 80acb43f574a packages/ubuntu-gutsy/jython-webstack/debian/changelog --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/packages/ubuntu-gutsy/jython-webstack/debian/changelog Sat Nov 15 02:33:55 2008 +0100 @@ -0,0 +1,216 @@ +webstack (1.3-0ubuntu1) feisty; urgency=low + + * Changed the default_charset on + WebStack.Generic.Transaction to UTF-8, introducing a + safe_default_charset attribute which employs ISO-8859-1, + and removing the default encoding on various resources, + making them rely on the default_charset property instead. + WARNING: These changes could upset some applications. + The EncodingSelector should be used to override the + default_charset setting if appropriate. + * Added an encode_url_without_query to Transaction for use + with combined protocol, address and path values. + * Added a StringResource to WebStack.Resources.Static, + serving strings as responses. + * Added Last-Modified headers to DirectoryResource and + FileResource responses. + * Added experimental OpenID support; improved the + authentication resources and mechanisms. + * Added a StoreSelector to WebStack.Resources.Selectors in + order to provide a convenient mechanism for + database-related applications. + * Changed LoginRedirectResource to use class attributes + for various optional parameters, rather than having + these supplied to the initialiser. + WARNING: These changes could affect some applications. + * Added a SiteLoginRedirectResource for site-specific + login redirection to WebStack.Resources.LoginRedirect. + * Added AuthInfoSelector for the retrieval of + authentication details and ConditionalAuthSelector for + conditional authentication to + WebStack.Resources.Selectors. + + -- Paul Boddie Sat, 15 Nov 2008 02:27:03 +0100 + +webstack (1.2.7-0ubuntu1) feisty; urgency=low + + * Fixed the MessageBodyStream class, adding an optional + parameter to the readline method which seems to be + necessary when handling multipart requests. + * Introduced stream usage for file uploads where possible, + in order to reduce memory usage (suggested by Kevin + Glynn), adding a stream attribute to the FileContent + class and making the content attribute a property. + * Removed error handling in the examples in order to make + troubleshooting easier. + * Fixed header issues by introducing a special HeaderDict + class which enforces the case-insensitivity expected of + header dictionaries. + + -- Paul Boddie Sun, 28 Oct 2007 23:21:32 +0100 + +webstack (1.2.6-0ubuntu1) feisty; urgency=low + + * Added a jython-webstack package for Ubuntu Feisty + (7.04). + * Improved support for Jython on Ubuntu Feisty (7.04), + adding python.path and python.cachedir settings which + respectively avoid issues with missing libraries (due to + the separation of libraries in the Ubuntu package) and + with failed imports (due to a read-only class cache + directory). + * Improved the webstack_java_build.py script and added a + deployment descriptor for JSP to accompany the new Java + Servlet-specific JSPTest example. + * Added a special Java Servlet-specific get_servlet method + to support the JSPTest example. It is envisaged that a + more general method could be made available for all + frameworks in order to support access to underlying + request dispatchers and other framework facilities. + * Added more Jython-related documentation as suggested by + Kevin Glynn. + * Added missing request headers for CGI/WSGI environment + variables. + * Fixed Webware support to work with Webware 0.9.4. + * Fixed/improved Zope path value retrieval. + * Added support for wsgiref, changing the WSGI deploy + function for CGI-based applications to deploy_as_cgi and + adding a deploy_with_wsgiref function. + + -- Paul Boddie Sun, 14 Oct 2007 01:36:06 +0200 + +webstack (1.2.5-0ubuntu1) feisty; urgency=low + + * Fixed mod_python status codes using a solution proposed + by John Krukoff. + * Fixed a Twisted deprecation warning when accessing port + numbers, thanks to John Krukoff. + * Added Ubuntu Feisty (7.04) package support. + * Tidied up the documentation HTML. + + -- Paul Boddie Sat, 8 Sep 2007 18:00:50 +0200 + +webstack (1.2.4-0ubuntu1) hoary; urgency=low + + * Made a SessionDirectoryRepository which uses directories + for data produced by the shelve module, rather than + attempting to manipulate files produced by the shelve + module, since the details of such files may differ + between environments: a situation noticed by John + Krukoff in an environment without the bsddb module + installed. + + -- Paul Boddie Wed, 13 Jun 2007 01:49:34 +0200 + +webstack (1.2.3-0ubuntu1) hoary; urgency=low + + * Fixed inadvertent OpenSSL dependency, noticed by John + Krukoff. + + -- Paul Boddie Mon, 16 Apr 2007 16:41:33 +0200 + +webstack (1.2.2-0ubuntu1) hoary; urgency=low + + * Added an EncodingSelector class for the setting of + default encodings on transactions. + * Added some documentation about path processing + strategies. + * Added a secure variant of the BaseHTTPServer provided in + the adapter for BaseHTTPRequestHandler. + + -- Paul Boddie Wed, 28 Feb 2007 20:47:05 +0100 + +webstack (1.2.1-0ubuntu1) hoary; urgency=low + + * Fixed mod_python get_content_type method. + * Fixed LoginResource form field processing; changed the + field type to password. + * Exposed LoginResource and LoginRedirectResource page + contents as attributes. + * Added documentation about extending + LoginRedirectResource and using PathSelector to remember + an application's root path. + * Changed handle_errors to 1 throughout the examples. + + -- Paul Boddie Thu, 18 Jan 2007 23:39:11 +0100 + +webstack (1.2-0ubuntu1) hoary; urgency=low + + * Added support for Django. + * Fixed documentation about the representation of file + upload fields. + * Changed mod_python, Java Servlet and Webware (> 0.8.1) + deployment to use a deploy function instead of more + complicated configuration mechanisms. + * Improved mod_python deployment documentation and tools + so that cleaner application paths/URLs can now be used. + * Moved user and path_info default definitions into + WebStack.Generic as class attributes. + * Fixed encoding usage issues with path fields when using + get_fields in a Zope environment. + * Added a FileResource class to WebStack.Resources.Static. + * Made DirectoryRepository convert filenames to Unicode in + all cases. + * Renamed the Apache and Java Servlet tools, making them + scripts which are installed by setup.py. + * Fixed CGI content charsets and languages support. + * Fixed CGI cookie output. + * Added URL overriding in the LoginRedirectResource. + * Exposed a get_target function from + WebStack.Resources.Login in order to better support + alternative login resources. + * Added improved error reporting for BaseHTTPRequestHandler, + CGI, Django and WSGI. + * Added a traverse_path method to the Transaction class. + * Made a path_encoding alias for urlencoding in the + initialisation of WebStack.Resources.ResourceMap + objects. + * Added a Selectors module to WebStack.Resources in order + to support common resource selection patterns. + + -- Paul Boddie Sat, 6 Jan 2007 21:29:09 +0100 + +webstack (1.1.2-0ubuntu1) hoary; urgency=low + + * Fixed missing import in WebStack.Repositories.Directory. + + -- Paul Boddie Tue, 10 Jan 2006 16:07:52 +0100 + +webstack (1.1.1-0ubuntu1) hoary; urgency=low + + * Fixed update_path to handle the root path properly. + + -- Paul Boddie Tue, 6 Dec 2005 02:39:02 +0100 + +webstack (1.1-0ubuntu1) hoary; urgency=low + + * Added a Repositories package to provide session-like + support for different kinds of storage. + * Added an explicit filesystem encoding to the Calendar + example and adopted the DirectoryRepository from the + Repositories package. + * Added get_path_without_info, update_path and redirect + methods to the Transaction class. + * Added get_attributes (attribute support) to the + Transaction class. + * Added a values method to Helpers.Session.Wrapper. + * Fixed get_processed_virtual_path_info (to match from + right to left). + * Improved/fixed exception handling in the adapters so + that transactions are committed as the final act of an + adapter experiencing an unhandled exception. This should + result in session stores being closed properly. + * Changed the Helpers.Session.SessionStore to use + DirectoryRepository. + * Made the "not found" behaviour of DirectoryResource more + configurable. + * Added documentation for MapResource and DirectoryResource. + * Fixed the distribution names in the Ubuntu changelog. + + -- Paul Boddie Mon, 14 Nov 2005 15:39:55 +0100 + +webstack (1.0-0ubuntu1) hoary; urgency=low + + * New upstream release. + + -- Paul Boddie Tue, 16 Aug 2005 19:19:05 +0200 diff -r cb7d1387e1ef -r 80acb43f574a packages/ubuntu-gutsy/jython-webstack/debian/compat --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/packages/ubuntu-gutsy/jython-webstack/debian/compat Sat Nov 15 02:33:55 2008 +0100 @@ -0,0 +1,1 @@ +5 diff -r cb7d1387e1ef -r 80acb43f574a packages/ubuntu-gutsy/jython-webstack/debian/control --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/packages/ubuntu-gutsy/jython-webstack/debian/control Sat Nov 15 02:33:55 2008 +0100 @@ -0,0 +1,20 @@ +Source: webstack +Section: python +Priority: optional +Maintainer: Paul Boddie +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 +XS-Python-Version: all +Standards-Version: 3.7.2.1 + +Package: jython-webstack +Architecture: all +Depends: jython-gcj, python-webstack +Suggests: java-gcj-compat-dev | sun-java5-jdk | sun-java6-jdk +Conflicts: python2.4-webstack (<< 1.2.5-0ubuntu1) +Replaces: python2.4-webstack (<< 1.2.5-0ubuntu1) +Description: Common API for Web applications + WebStack is a package which provides a common API for Python Web applications + supporting BaseHTTPRequestHandler, CGI, Django, Jython/Java Servlet API, mod_python, + Twisted, Webware and Zope 2. + . + This package specifically supports Jython and the Java Servlet API. diff -r cb7d1387e1ef -r 80acb43f574a packages/ubuntu-gutsy/jython-webstack/debian/copyright --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/packages/ubuntu-gutsy/jython-webstack/debian/copyright Sat Nov 15 02:33:55 2008 +0100 @@ -0,0 +1,39 @@ +Package creator: + + Paul Boddie + +The origin of the package is: + + http://www.boddie.org.uk/python/WebStack.html + +Package author: + + Paul Boddie + +Copyright: + +Licence Agreement for WebStack +------------------------------ + +Copyright (C) 2004, 2005, 2006, 2007 Paul Boddie + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU Lesser General Public +License as published by the Free Software Foundation; either +version 2.1 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Lesser General Public License for more details. + +You should have received a copy of the GNU Lesser General Public +License along with this library; if not, write to the Free Software +Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA + +Licence for Other Software +-------------------------- + +See the LICENCE-PyServlet.txt file for the PyServlet copyrights and licence. +The wsgi_cgi.py module originates from PEP 333 and is apparently "placed in +the public domain" (see http://www.python.org/peps/pep-0333.html). diff -r cb7d1387e1ef -r 80acb43f574a packages/ubuntu-gutsy/jython-webstack/debian/docs --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/packages/ubuntu-gutsy/jython-webstack/debian/docs Sat Nov 15 02:33:55 2008 +0100 @@ -0,0 +1,2 @@ +README.txt +tools diff -r cb7d1387e1ef -r 80acb43f574a packages/ubuntu-gutsy/jython-webstack/debian/rules --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/packages/ubuntu-gutsy/jython-webstack/debian/rules Sat Nov 15 02:33:55 2008 +0100 @@ -0,0 +1,57 @@ +#!/usr/bin/make -f + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +export DH_COMPAT=5 + +build: build-stamp + +build-stamp: + touch $@ + +clean: + dh_testdir + dh_testroot + rm -f *-stamp + dh_clean + +install: build install-prereq install-pyservlet + # Script fixing would appear here. + +install-prereq: + dh_testdir + dh_testroot + dh_clean -k + +# The main WebStack libraries should be installed in the python-webstack package. + +install-pyservlet: + # NOTE: To be enabled in the future, perhaps. + #install -d $(CURDIR)/debian/jython-webstack/usr/share/java + #cp tools/JavaServlet/classes/webstack-pyservlet.jar $(CURDIR)/debian/jython-webstack/usr/share/java/ + +# The WebStack scripts (including Jython/Java-related scripts) should be +# installed in the python-webstack package. + +# Build architecture-independent files here. + +binary-indep: install + JYTHON_LIB=/usr/share/jython/jython.jar SERVLET_LIB=/usr/share/java/servlet-api.jar tools/JavaServlet/compile.sh + dh_testdir -i + dh_testroot -i + #dh_pycentral -i + dh_installdocs -i + dh_fixperms -i + dh_installdeb -i + dh_gencontrol -i + dh_md5sums -i + dh_builddeb -i + +# Build architecture-dependent files here. + +binary-arch: + # Empty rule for this package. + +binary: binary-indep binary-arch +.PHONY: build clean binary-arch binary-indep binary install diff -r cb7d1387e1ef -r 80acb43f574a packages/ubuntu-gutsy/python-webstack/debian/changelog --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/packages/ubuntu-gutsy/python-webstack/debian/changelog Sat Nov 15 02:33:55 2008 +0100 @@ -0,0 +1,216 @@ +webstack (1.3-0ubuntu1) feisty; urgency=low + + * Changed the default_charset on + WebStack.Generic.Transaction to UTF-8, introducing a + safe_default_charset attribute which employs ISO-8859-1, + and removing the default encoding on various resources, + making them rely on the default_charset property instead. + WARNING: These changes could upset some applications. + The EncodingSelector should be used to override the + default_charset setting if appropriate. + * Added an encode_url_without_query to Transaction for use + with combined protocol, address and path values. + * Added a StringResource to WebStack.Resources.Static, + serving strings as responses. + * Added Last-Modified headers to DirectoryResource and + FileResource responses. + * Added experimental OpenID support; improved the + authentication resources and mechanisms. + * Added a StoreSelector to WebStack.Resources.Selectors in + order to provide a convenient mechanism for + database-related applications. + * Changed LoginRedirectResource to use class attributes + for various optional parameters, rather than having + these supplied to the initialiser. + WARNING: These changes could affect some applications. + * Added a SiteLoginRedirectResource for site-specific + login redirection to WebStack.Resources.LoginRedirect. + * Added AuthInfoSelector for the retrieval of + authentication details and ConditionalAuthSelector for + conditional authentication to + WebStack.Resources.Selectors. + + -- Paul Boddie Sat, 15 Nov 2008 02:26:43 +0100 + +webstack (1.2.7-0ubuntu1) feisty; urgency=low + + * Fixed the MessageBodyStream class, adding an optional + parameter to the readline method which seems to be + necessary when handling multipart requests. + * Introduced stream usage for file uploads where possible, + in order to reduce memory usage (suggested by Kevin + Glynn), adding a stream attribute to the FileContent + class and making the content attribute a property. + * Removed error handling in the examples in order to make + troubleshooting easier. + * Fixed header issues by introducing a special HeaderDict + class which enforces the case-insensitivity expected of + header dictionaries. + + -- Paul Boddie Sun, 28 Oct 2007 00:34:44 +0200 + +webstack (1.2.6-0ubuntu1) feisty; urgency=low + + * Added a jython-webstack package for Ubuntu Feisty + (7.04). + * Improved support for Jython on Ubuntu Feisty (7.04), + adding python.path and python.cachedir settings which + respectively avoid issues with missing libraries (due to + the separation of libraries in the Ubuntu package) and + with failed imports (due to a read-only class cache + directory). + * Improved the webstack_java_build.py script and added a + deployment descriptor for JSP to accompany the new Java + Servlet-specific JSPTest example. + * Added a special Java Servlet-specific get_servlet method + to support the JSPTest example. It is envisaged that a + more general method could be made available for all + frameworks in order to support access to underlying + request dispatchers and other framework facilities. + * Added more Jython-related documentation as suggested by + Kevin Glynn. + * Added missing request headers for CGI/WSGI environment + variables. + * Fixed Webware support to work with Webware 0.9.4. + * Fixed/improved Zope path value retrieval. + * Added support for wsgiref, changing the WSGI deploy + function for CGI-based applications to deploy_as_cgi and + adding a deploy_with_wsgiref function. + + -- Paul Boddie Sun, 14 Oct 2007 01:35:54 +0200 + +webstack (1.2.5-0ubuntu1) feisty; urgency=low + + * Fixed mod_python status codes using a solution proposed + by John Krukoff. + * Fixed a Twisted deprecation warning when accessing port + numbers, thanks to John Krukoff. + * Added Ubuntu Feisty (7.04) package support. + * Tidied up the documentation HTML. + + -- Paul Boddie Sat, 8 Sep 2007 18:00:50 +0200 + +webstack (1.2.4-0ubuntu1) hoary; urgency=low + + * Made a SessionDirectoryRepository which uses directories + for data produced by the shelve module, rather than + attempting to manipulate files produced by the shelve + module, since the details of such files may differ + between environments: a situation noticed by John + Krukoff in an environment without the bsddb module + installed. + + -- Paul Boddie Wed, 13 Jun 2007 01:49:34 +0200 + +webstack (1.2.3-0ubuntu1) hoary; urgency=low + + * Fixed inadvertent OpenSSL dependency, noticed by John + Krukoff. + + -- Paul Boddie Mon, 16 Apr 2007 16:41:33 +0200 + +webstack (1.2.2-0ubuntu1) hoary; urgency=low + + * Added an EncodingSelector class for the setting of + default encodings on transactions. + * Added some documentation about path processing + strategies. + * Added a secure variant of the BaseHTTPServer provided in + the adapter for BaseHTTPRequestHandler. + + -- Paul Boddie Wed, 28 Feb 2007 20:47:05 +0100 + +webstack (1.2.1-0ubuntu1) hoary; urgency=low + + * Fixed mod_python get_content_type method. + * Fixed LoginResource form field processing; changed the + field type to password. + * Exposed LoginResource and LoginRedirectResource page + contents as attributes. + * Added documentation about extending + LoginRedirectResource and using PathSelector to remember + an application's root path. + * Changed handle_errors to 1 throughout the examples. + + -- Paul Boddie Thu, 18 Jan 2007 23:39:11 +0100 + +webstack (1.2-0ubuntu1) hoary; urgency=low + + * Added support for Django. + * Fixed documentation about the representation of file + upload fields. + * Changed mod_python, Java Servlet and Webware (> 0.8.1) + deployment to use a deploy function instead of more + complicated configuration mechanisms. + * Improved mod_python deployment documentation and tools + so that cleaner application paths/URLs can now be used. + * Moved user and path_info default definitions into + WebStack.Generic as class attributes. + * Fixed encoding usage issues with path fields when using + get_fields in a Zope environment. + * Added a FileResource class to WebStack.Resources.Static. + * Made DirectoryRepository convert filenames to Unicode in + all cases. + * Renamed the Apache and Java Servlet tools, making them + scripts which are installed by setup.py. + * Fixed CGI content charsets and languages support. + * Fixed CGI cookie output. + * Added URL overriding in the LoginRedirectResource. + * Exposed a get_target function from + WebStack.Resources.Login in order to better support + alternative login resources. + * Added improved error reporting for BaseHTTPRequestHandler, + CGI, Django and WSGI. + * Added a traverse_path method to the Transaction class. + * Made a path_encoding alias for urlencoding in the + initialisation of WebStack.Resources.ResourceMap + objects. + * Added a Selectors module to WebStack.Resources in order + to support common resource selection patterns. + + -- Paul Boddie Sat, 6 Jan 2007 21:29:09 +0100 + +webstack (1.1.2-0ubuntu1) hoary; urgency=low + + * Fixed missing import in WebStack.Repositories.Directory. + + -- Paul Boddie Tue, 10 Jan 2006 16:07:52 +0100 + +webstack (1.1.1-0ubuntu1) hoary; urgency=low + + * Fixed update_path to handle the root path properly. + + -- Paul Boddie Tue, 6 Dec 2005 02:39:02 +0100 + +webstack (1.1-0ubuntu1) hoary; urgency=low + + * Added a Repositories package to provide session-like + support for different kinds of storage. + * Added an explicit filesystem encoding to the Calendar + example and adopted the DirectoryRepository from the + Repositories package. + * Added get_path_without_info, update_path and redirect + methods to the Transaction class. + * Added get_attributes (attribute support) to the + Transaction class. + * Added a values method to Helpers.Session.Wrapper. + * Fixed get_processed_virtual_path_info (to match from + right to left). + * Improved/fixed exception handling in the adapters so + that transactions are committed as the final act of an + adapter experiencing an unhandled exception. This should + result in session stores being closed properly. + * Changed the Helpers.Session.SessionStore to use + DirectoryRepository. + * Made the "not found" behaviour of DirectoryResource more + configurable. + * Added documentation for MapResource and DirectoryResource. + * Fixed the distribution names in the Ubuntu changelog. + + -- Paul Boddie Mon, 14 Nov 2005 15:39:55 +0100 + +webstack (1.0-0ubuntu1) hoary; urgency=low + + * New upstream release. + + -- Paul Boddie Tue, 16 Aug 2005 19:19:05 +0200 diff -r cb7d1387e1ef -r 80acb43f574a packages/ubuntu-gutsy/python-webstack/debian/compat --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/packages/ubuntu-gutsy/python-webstack/debian/compat Sat Nov 15 02:33:55 2008 +0100 @@ -0,0 +1,1 @@ +5 diff -r cb7d1387e1ef -r 80acb43f574a packages/ubuntu-gutsy/python-webstack/debian/control --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/packages/ubuntu-gutsy/python-webstack/debian/control Sat Nov 15 02:33:55 2008 +0100 @@ -0,0 +1,19 @@ +Source: webstack +Section: python +Priority: optional +Maintainer: Paul Boddie +Build-Depends: debhelper (>= 5.0.38), python-all-dev (>= 2.3.5-11), python-central (>= 0.5.6), python-epydoc (>= 2.1-6ubuntu1) +XS-Python-Version: all +Standards-Version: 3.7.2.1 + +Package: python-webstack +Architecture: all +Depends: ${python:Depends} | jython-gcj +Suggests: python-django (>= 0.95), libapache2-mod-python, python-twisted-web, zope2.9, java-gcj-compat-dev +Conflicts: python2.4-webstack (<< 1.2.5-0ubuntu1) +Replaces: python2.4-webstack (<< 1.2.5-0ubuntu1) +XB-Python-Version: ${python:Versions} +Description: Common API for Web applications + WebStack is a package which provides a common API for Python Web applications + supporting BaseHTTPRequestHandler, CGI, Django, Jython/Java Servlet API, mod_python, + Twisted, Webware and Zope 2. diff -r cb7d1387e1ef -r 80acb43f574a packages/ubuntu-gutsy/python-webstack/debian/copyright --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/packages/ubuntu-gutsy/python-webstack/debian/copyright Sat Nov 15 02:33:55 2008 +0100 @@ -0,0 +1,39 @@ +Package creator: + + Paul Boddie + +The origin of the package is: + + http://www.boddie.org.uk/python/WebStack.html + +Package author: + + Paul Boddie + +Copyright: + +Licence Agreement for WebStack +------------------------------ + +Copyright (C) 2004, 2005, 2006, 2007 Paul Boddie + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU Lesser General Public +License as published by the Free Software Foundation; either +version 2.1 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Lesser General Public License for more details. + +You should have received a copy of the GNU Lesser General Public +License along with this library; if not, write to the Free Software +Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA + +Licence for Other Software +-------------------------- + +See the LICENCE-PyServlet.txt file for the PyServlet copyrights and licence. +The wsgi_cgi.py module originates from PEP 333 and is apparently "placed in +the public domain" (see http://www.python.org/peps/pep-0333.html). diff -r cb7d1387e1ef -r 80acb43f574a packages/ubuntu-gutsy/python-webstack/debian/docs --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/packages/ubuntu-gutsy/python-webstack/debian/docs Sat Nov 15 02:33:55 2008 +0100 @@ -0,0 +1,6 @@ +README.txt +apidocs +docs +examples +patches +tools diff -r cb7d1387e1ef -r 80acb43f574a packages/ubuntu-gutsy/python-webstack/debian/rules --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/packages/ubuntu-gutsy/python-webstack/debian/rules Sat Nov 15 02:33:55 2008 +0100 @@ -0,0 +1,66 @@ +#!/usr/bin/make -f +# A debian/rules file using python-central. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +export DH_COMPAT=5 + +PYVERS=$(shell pyversions -vr) + +build: build-stamp + +build-stamp: $(PYVERS:%=build-python%) build-python-scripts + touch $@ + +build-python%: + python$* setup.py build_py + touch $@ + +build-python-scripts: + python setup.py build_scripts + touch $@ + +clean: + dh_testdir + dh_testroot + rm -f *-stamp + rm -rf build + find . -name '*.py[co]' | xargs rm -f + dh_clean + +install: build install-prereq $(PYVERS:%=install-python%) install-python-scripts + # Script fixing would appear here. + +install-prereq: + dh_testdir + dh_testroot + dh_clean -k + +install-python%: + python$* setup.py install_lib --install-dir $(CURDIR)/debian/python-webstack/usr/lib/python$*/site-packages + +install-python-scripts: + python setup.py install_scripts --install-dir $(CURDIR)/debian/python-webstack/usr/bin + +# Build architecture-independent files here. + +binary-indep: install + tools/apidocs.sh + dh_testdir -i + dh_testroot -i + dh_pycentral -i + dh_installdocs -i + dh_fixperms -i + dh_installdeb -i + dh_gencontrol -i + dh_md5sums -i + dh_builddeb -i + +# Build architecture-dependent files here. + +binary-arch: + # Empty rule for this package. + +binary: binary-indep binary-arch +.PHONY: build clean binary-arch binary-indep binary install diff -r cb7d1387e1ef -r 80acb43f574a packages/ubuntu-hoary/python2.4-webstack/debian/changelog --- a/packages/ubuntu-hoary/python2.4-webstack/debian/changelog Sat Nov 15 02:33:06 2008 +0100 +++ b/packages/ubuntu-hoary/python2.4-webstack/debian/changelog Sat Nov 15 02:33:55 2008 +0100 @@ -1,14 +1,36 @@ webstack (1.3-0ubuntu1) hoary; urgency=low + * Changed the default_charset on + WebStack.Generic.Transaction to UTF-8, introducing a + safe_default_charset attribute which employs ISO-8859-1, + and removing the default encoding on various resources, + making them rely on the default_charset property instead. + WARNING: These changes could upset some applications. + The EncodingSelector should be used to override the + default_charset setting if appropriate. + * Added an encode_url_without_query to Transaction for use + with combined protocol, address and path values. * Added a StringResource to WebStack.Resources.Static, serving strings as responses. + * Added Last-Modified headers to DirectoryResource and + FileResource responses. * Added experimental OpenID support; improved the authentication resources and mechanisms. * Added a StoreSelector to WebStack.Resources.Selectors in order to provide a convenient mechanism for database-related applications. + * Changed LoginRedirectResource to use class attributes + for various optional parameters, rather than having + these supplied to the initialiser. + WARNING: These changes could affect some applications. + * Added a SiteLoginRedirectResource for site-specific + login redirection to WebStack.Resources.LoginRedirect. + * Added AuthInfoSelector for the retrieval of + authentication details and ConditionalAuthSelector for + conditional authentication to + WebStack.Resources.Selectors. - -- Paul Boddie Sat, 1 Dec 2007 01:32:00 +0100 + -- Paul Boddie Sat, 15 Nov 2008 02:24:13 +0100 webstack (1.2.7-0ubuntu1) hoary; urgency=low