Commit a548f168 authored by Hanno Schlichting's avatar Hanno Schlichting

Reformat the changelog and include it into the long description

parent 5b6f4ec8
Zope Changes Changelog
=========
This file contains change information for the current Zope release. This file contains change information for the current Zope release.
Change information for previous versions of Zope can be found in the Change information for previous versions of Zope can be found in the
file HISTORY.txt. file HISTORY.txt.
Trunk (unreleased) Trunk (unreleased)
------------------
Restructuring Restructuring
+++++++++++++
- Updated to ZODB 3.9.0a10. ZODB-level version support has been - Updated to ZODB 3.9.0a10. ZODB-level version support has been
removed and ZopeUndo now is part of Zope2. removed and ZopeUndo now is part of Zope2.
- The Zope2 SVN trunk is now a buildout pulling in all dependencies as - The Zope2 SVN trunk is now a buildout pulling in all dependencies as
actual released packages and not SVN externals anymore. actual released packages and not SVN externals anymore.
- Make use of the new zope.container and zope.site packages. - Make use of the new zope.container and zope.site packages.
- Updated to newer versions of zope packages. Removed long deprecated - Updated to newer versions of zope packages. Removed long deprecated
layer and skin ZCML directives. layer and skin ZCML directives.
- Disabled the XML export on the UI level - the export functionality - Disabled the XML export on the UI level - the export functionality
however is still available on the Python level. however is still available on the Python level.
- No longer show the Help! links in the ZMI, if there is no help - No longer show the Help! links in the ZMI, if there is no help
available. The help system depends on the product registry. available. The help system depends on the product registry.
- Updated the quick start page and simplified the standard content. - Updated the quick start page and simplified the standard content.
The default index_html is now a page template. The default index_html is now a page template.
- Removed deprecated Draft and Version support from Products.OFSP. - Removed deprecated Draft and Version support from Products.OFSP.
Also removed version handling from the control panel. Versions are Also removed version handling from the control panel. Versions are
no longer supported on the ZODB level. no longer supported on the ZODB level.
- Removed left-overs of the deprecated persistent product distribution - Removed left-overs of the deprecated persistent product distribution
mechanism. mechanism.
- The persistent product registry is not required for starting Zope - The persistent product registry is not required for starting Zope
anymore. `enable-product-installation` can be set to off if you don't anymore. `enable-product-installation` can be set to off if you don't
rely on the functionality provided by the registry. rely on the functionality provided by the registry.
- ZClasses have been deprecated for two major releases. They have been - ZClasses have been deprecated for two major releases. They have been
removed in this version of Zope. removed in this version of Zope.
- Avoid deprecation warnings for the md5 and sha modules in Python 2.6 - Avoid deprecation warnings for the md5 and sha modules in Python 2.6
by adding conditional imports for the hashlib module. by adding conditional imports for the hashlib module.
- Replaced imports from the 'Globals' module throughout the - Replaced imports from the 'Globals' module throughout the
tree with imports from the actual modules; the 'Globals' module tree with imports from the actual modules; the 'Globals' module
was always intended to be an area for shared data, rather than was always intended to be an area for shared data, rather than
a "facade" for imports. Added zope.deferred.deprecation entries a "facade" for imports. Added zope.deferred.deprecation entries
to 'Globals' for all symbols / modules previously imported directly. to 'Globals' for all symbols / modules previously imported directly.
- Protect against non-existing zope.conf path and products directories. - Protect against non-existing zope.conf path and products directories.
This makes it possible to run a Zope instance without a Products or This makes it possible to run a Zope instance without a Products or
lib/python directory. lib/python directory.
- Moved exception MountedStorageError from ZODB.POSExceptions - Moved exception MountedStorageError from ZODB.POSExceptions
to Products.TemporaryFolder.mount (now its only client). to Products.TemporaryFolder.mount (now its only client).
- Moved Zope2-specific module, ZODB/Mount.py, to - Moved Zope2-specific module, ZODB/Mount.py, to
Products/TemporaryFolder/mount.py (its only client is Products/TemporaryFolder/mount.py (its only client is
Products/TemporaryFolder/TemporaryFolder.py). Products/TemporaryFolder/TemporaryFolder.py).
- Removed spurious import-time dependencies from - Removed spurious import-time dependencies from
Products/ZODBMountPoint/MountedObject.py. Products/ZODBMountPoint/MountedObject.py.
- Removed Examples.zexp from the skeleton. The TTW shopping cart isn't - Removed Examples.zexp from the skeleton. The TTW shopping cart isn't
any good example of Zope usage anymore. any good example of Zope usage anymore.
- Removed deprecated ZTUtil.Iterator module - Removed deprecated ZTUtil.Iterator module
- Removed deprecated StructuredText module - Removed deprecated StructuredText module
- Removed deprecated TAL module - Removed deprecated TAL module
- Removed deprecated modules from Products.PageTemplates. - Removed deprecated modules from Products.PageTemplates.
- Removed deprecated ZCML directives from Five including the whole - Removed deprecated ZCML directives from Five including the whole
Five.site subpackage. Five.site subpackage.
Features added Features added
++++++++++++++
- Acquisition has been made aware of __parent__ pointers. This allows - Acquisition has been made aware of __parent__ pointers. This allows
direct access to many Zope 3 classes without the need to mixin direct access to many Zope 3 classes without the need to mixin
Acquisition base classes for the security to work. Acquisition base classes for the security to work.
- MailHost: now uses zope.sendmail for delivering the mail. With this - MailHost: now uses zope.sendmail for delivering the mail. With this
change MailHost integrates with the Zope transaction system (avoids change MailHost integrates with the Zope transaction system (avoids
sending dupe emails in case of conflict errors). In addition sending dupe emails in case of conflict errors). In addition
MailHost now provides support for asynchronous mail delivery. The MailHost now provides support for asynchronous mail delivery. The
'Use queue' configuration option will create a mail queue on the 'Use queue' configuration option will create a mail queue on the
filesystem (under 'Queue directory') and start a queue thread that filesystem (under 'Queue directory') and start a queue thread that
checks the queue every three seconds. This decouples the sending of checks the queue every three seconds. This decouples the sending of
mail from its delivery. In addition MailHosts now supports mail from its delivery. In addition MailHosts now supports
encrypted connections through TLS/SSL. encrypted connections through TLS/SSL.
- SiteErrorLog now includes the entry id in the information copied to - SiteErrorLog now includes the entry id in the information copied to
the event log. This allowes you to correlate a user error report with the event log. This allowes you to correlate a user error report with
the event log after a restart, or let's you find the REQUEST the event log after a restart, or let's you find the REQUEST
information in the SiteErrorLog when looking at a traceback in the information in the SiteErrorLog when looking at a traceback in the
event log. event log.
Bugs Fixed Bugs Fixed
++++++++++
- Specified height/width of icons in ZMI listings so the table doesn't - Specified height/width of icons in ZMI listings so the table doesn't
jump around while loading. jump around while loading.
- After the proper introduction of parent-pointers, it's now - After the proper introduction of parent-pointers, it's now
wrong to acquisition-wrap content providers. We will now use wrong to acquisition-wrap content providers. We will now use
the "classic" content provider expression from Zope 3. the "classic" content provider expression from Zope 3.
- Ported c69896 to Five. This fix makes it possible to provide a - Ported c69896 to Five. This fix makes it possible to provide a
template using Python, and not have it being set to `None` by template using Python, and not have it being set to `None` by
the viewlet manager directive. the viewlet manager directive.
- Made Five.testbrowser compatible with mechanize 0.1.7b.
- Launchpad #280334: Fixed problem with 'timeout' - Made Five.testbrowser compatible with mechanize 0.1.7b.
argument/attribute missing in testbrowser tests.
- Launchpad #267834: proper separation of HTTP header fields - Launchpad #280334: Fixed problem with 'timeout'
using CRLF as requested by RFC 2616. argument/attribute missing in testbrowser tests.
- Launchpad #257276: fix for possible denial-of-service attack - Launchpad #267834: proper separation of HTTP header fields
in PythonScript when passing an arbitrary module to the encode() using CRLF as requested by RFC 2616.
or decode() of strings.
- Launchpad #257269: 'raise SystemExit' with a PythonScript could shutdown - Launchpad #257276: fix for possible denial-of-service attack
a complete Zope instance in PythonScript when passing an arbitrary module to the encode()
or decode() of strings.
- Switch to branch of 'zope.testbrowser' external which suppresses - Launchpad #257269: 'raise SystemExit' with a PythonScript could shutdown
over-the-wire tests. a complete Zope instance
- Launchpad #143902: Fixed App.ImageFile to use a stream iterator to - Switch to branch of 'zope.testbrowser' external which suppresses
output the file. Avoid loading the file content when guessing the over-the-wire tests.
mimetype and only load the first 1024 bytes of the file when it cannot
be guessed from the filename.
- Changed PageTemplateFile not to load the file contents on Zope startup - Launchpad #143902: Fixed App.ImageFile to use a stream iterator to
anymore but on first access instead. This brings them inline with the output the file. Avoid loading the file content when guessing the
zope.pagetemplate version and speeds up Zope startup. mimetype and only load the first 1024 bytes of the file when it cannot
be guessed from the filename.
- Collector #2278: form ':record' objects did not implement enough - Changed PageTemplateFile not to load the file contents on Zope startup
of the mapping protocol. anymore but on first access instead. This brings them inline with the
zope.pagetemplate version and speeds up Zope startup.
- "version.txt" file was being written to the wrong place by the - Collector #2278: form ':record' objects did not implement enough
Makefile, causing Zope to report "unreleased version" even for of the mapping protocol.
released versions.
- Five.browser.metaconfigure.page didn't protect names from interface - "version.txt" file was being written to the wrong place by the
superclasses (http://www.zope.org/Collectors/Zope/2333) Makefile, causing Zope to report "unreleased version" even for
released versions.
- DAV: litmus "notowner_modify" tests warn during a MOVE request - Five.browser.metaconfigure.page didn't protect names from interface
because we returned "412 Precondition Failed" instead of "423 superclasses (http://www.zope.org/Collectors/Zope/2333)
Locked" when the resource attempting to be moved was itself
locked. Fixed by changing Resource.Resource.MOVE to raise the
correct error.
- DAV: litmus props tests 19: propvalnspace and 20: - DAV: litmus "notowner_modify" tests warn during a MOVE request
propwformed were failing because Zope did not strip off the because we returned "412 Precondition Failed" instead of "423
xmlns: attribute attached to XML property values. We now strip Locked" when the resource attempting to be moved was itself
off all attributes that look like xmlns declarations. locked. Fixed by changing Resource.Resource.MOVE to raise the
correct error.
- DAV: When a client attempted to unlock a resource with a token - DAV: litmus props tests 19: propvalnspace and 20:
that the resource hadn't been locked with, in the past we propwformed were failing because Zope did not strip off the
returned a 204 response. This was incorrect. The "correct" xmlns: attribute attached to XML property values. We now strip
behavior is to do what mod_dav does, which is return a '400 off all attributes that look like xmlns declarations.
Bad Request' error. This was caught by litmus
locks.notowner_lock test #10. See
http://lists.w3.org/Archives/Public/w3c-dist-auth/2001JanMar/0099.html
for further rationale.
- When Zope properties were set via DAV in the "null" namespace - DAV: When a client attempted to unlock a resource with a token
(xmlns="") a subsequent PROPFIND for the property would cause the that the resource hadn't been locked with, in the past we
XML representation for that property to show a namespace of returned a 204 response. This was incorrect. The "correct"
xmlns="None". Fixed within OFS.PropertySheets.dav__propstat. behavior is to do what mod_dav does, which is return a '400
Bad Request' error. This was caught by litmus
locks.notowner_lock test #10. See
http://lists.w3.org/Archives/Public/w3c-dist-auth/2001JanMar/0099.html
for further rationale.
- integrated theuni's additional test from 2.11 (see r73132) - When Zope properties were set via DAV in the "null" namespace
(xmlns="") a subsequent PROPFIND for the property would cause the
XML representation for that property to show a namespace of
xmlns="None". Fixed within OFS.PropertySheets.dav__propstat.
- Relaxed requirements for context of - integrated theuni's additional test from 2.11 (see r73132)
Products.Five.browser.pagetemplatefile.ZopeTwoPageTemplateFile,
to reduce barriers for testing renderability of views which
use them.
(http://www.zope.org/Collectors/Zope/2327)
- PluginIndexes: Fixed 'parseIndexRequest' for false values. - Relaxed requirements for context of
Products.Five.browser.pagetemplatefile.ZopeTwoPageTemplateFile,
to reduce barriers for testing renderability of views which
use them.
(http://www.zope.org/Collectors/Zope/2327)
- Collector #2263: 'field2ulines' did not convert empty string - PluginIndexes: Fixed 'parseIndexRequest' for false values.
correctly.
- Collector #2198: Zope 3.3 fix breaks Five 1.5 test_getNextUtility - Collector #2263: 'field2ulines' did not convert empty string
correctly.
- Prevent ZPublisher from insering incorrect <base/> tags into the - Collector #2198: Zope 3.3 fix breaks Five 1.5 test_getNextUtility
headers of plain html files served from Zope3 resource directories.
- Changed the condition checking for setting status of - Prevent ZPublisher from insering incorrect <base/> tags into the
HTTPResponse from to account for new-style classes. headers of plain html files served from Zope3 resource directories.
- The Wrapper_compare function from tp_compare to tp_richcompare. - Changed the condition checking for setting status of
Also another function Wrapper_richcompare is added. HTTPResponse from to account for new-style classes.
- The doc test has been slightly changed in ZPublisher to get - The Wrapper_compare function from tp_compare to tp_richcompare.
the error message extracted correctly. Also another function Wrapper_richcompare is added.
- The changes made in Acquisition.c in Implicit Acquisition - The doc test has been slightly changed in ZPublisher to get
comparison made avail to Explicit Acquisition comparison also. the error message extracted correctly.
- zopedoctest no longer breaks if the URL contains more than one - The changes made in Acquisition.c in Implicit Acquisition
question mark. It broke even when the second question mark was comparison made avail to Explicit Acquisition comparison also.
correctly quoted.
Other Changes - zopedoctest no longer breaks if the URL contains more than one
question mark. It broke even when the second question mark was
correctly quoted.
- Added lib/python/webdav/litmus-results.txt explaining current Other Changes
test results from the litmus WebDAV torture test. +++++++++++++
- DocumentTemplate.DT_Var.newline_to_br(): Simpler, faster - Added lib/python/webdav/litmus-results.txt explaining current
implementation. test results from the litmus WebDAV torture test.
- DocumentTemplate.DT_Var.newline_to_br(): Simpler, faster
implementation.
...@@ -13,6 +13,7 @@ ...@@ -13,6 +13,7 @@
############################################################################## ##############################################################################
"""Setup for the Acquisition egg package """Setup for the Acquisition egg package
""" """
import os
from setuptools import setup, find_packages, Extension from setuptools import setup, find_packages, Extension
EXTENSIONCLASS_INCLUDEDIRS = ['include', 'src'] EXTENSIONCLASS_INCLUDEDIRS = ['include', 'src']
...@@ -39,6 +40,9 @@ setup(name='Zope2', ...@@ -39,6 +40,9 @@ setup(name='Zope2',
description='Zope2 application server / web framework', description='Zope2 application server / web framework',
author='Zope Corporation and Contributors', author='Zope Corporation and Contributors',
author_email='zope-dev@zope.org', author_email='zope-dev@zope.org',
long_description=open("README.txt").read() + "\n" +
open(os.path.join("doc", "CHANGES.txt")).read(),
long_description='', long_description='',
packages=find_packages('src'), packages=find_packages('src'),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment