From 4be4c51ea085b056344f2d74b06f714ffd1a0bc4 Mon Sep 17 00:00:00 2001 From: richard Date: Fri, 13 Mar 2009 22:48:17 +0000 Subject: [PATCH] additional fix to handle Unauthorised in file serving git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4202 57a73879-2fb5-44c3-a270-3262357dd7e2 --- CHANGES.txt | 3 ++- doc/announcement.txt | 12 +++++++++--- setup.py | 16 +++++++++++----- 3 files changed, 22 insertions(+), 9 deletions(-) diff --git a/CHANGES.txt b/CHANGES.txt index a221786..a139736 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,7 +1,7 @@ This file contains the changes to the Roundup system over time. The entries are given with the most recent entry first. -2009-03-13 1.4.7 (r4197) +2009-03-13 1.4.7 (r4202) Features: - Provide a "no selection" option in web interface selection widgets @@ -16,6 +16,7 @@ Fixes: - EditCSV and ExportCSV altered to include permission checks - HTTP POST required on actions which alter data - HTML file uploads served as application/octet-stream +- Handle Unauthorised in file serving correctly - New item action reject creation of new users - Item retirement was not being controlled - Roundup is now compatible with Python 2.6 diff --git a/doc/announcement.txt b/doc/announcement.txt index 0326bbf..2b12502 100644 --- a/doc/announcement.txt +++ b/doc/announcement.txt @@ -7,16 +7,22 @@ fixes: - EditCSV and ExportCSV altered to include permission checks - HTTP POST required on actions which alter data - HTML file uploads served as application/octet-stream +- Handle Unauthorised in file serving correctly - New item action reject creation of new users - Item retirement was not being controlled - Roundup is now compatible with Python 2.6 - Improved French and German translations - Improve consistency of item sorting in HTML interface -- Support sendfile() in mod_python for better file transfer +- Various other small bug fixes, robustification and optimisation + +Though some new features made it in also: + - Provide a "no selection" option in web interface selection widgets - Debug logging now uses the logging module rather than print -- Enable XML-RPC through regular web interface -- Various other small bug fixes, robustification and optimisation +- Allow CGI frontend to serve XMLRPC requests. +- Added XMLRPC actions, as well as bridging CGI actions to XMLRPC actions. +- Optimized large file serving via mod_python / sendfile(). +- Support resuming downloads for (large) files. If you're upgrading from an older version of Roundup you *must* follow the "Software Upgrade" guidelines given in the maintenance documentation. diff --git a/setup.py b/setup.py index 839ed0c..68e7219 100644 --- a/setup.py +++ b/setup.py @@ -40,7 +40,7 @@ def include(d, e): 'd' -- A directory 'e' -- A glob pattern""" - + return (d, [f for f in glob('%s/%s'%(d, e)) if os.path.isfile(f)]) def scriptname(path): @@ -93,7 +93,7 @@ def main(): # perform the setup action from roundup import __version__ - + setup(name='roundup', version=__version__, author="Richard Jones", @@ -112,16 +112,22 @@ fixes: - EditCSV and ExportCSV altered to include permission checks - HTTP POST required on actions which alter data - HTML file uploads served as application/octet-stream +- Handle Unauthorised in file serving correctly - New item action reject creation of new users - Item retirement was not being controlled - Roundup is now compatible with Python 2.6 - Improved French and German translations - Improve consistency of item sorting in HTML interface -- Support sendfile() in mod_python for better file transfer +- Various other small bug fixes, robustification and optimisation + +Though some new features made it in also: + - Provide a "no selection" option in web interface selection widgets - Debug logging now uses the logging module rather than print -- Enable XML-RPC through regular web interface -- Various other small bug fixes, robustification and optimisation +- Allow CGI frontend to serve XMLRPC requests. +- Added XMLRPC actions, as well as bridging CGI actions to XMLRPC actions. +- Optimized large file serving via mod_python / sendfile(). +- Support resuming downloads for (large) files. If you're upgrading from an older version of Roundup you *must* follow the "Software Upgrade" guidelines given in the maintenance documentation. -- 2.30.2