Subject: PR/32465 CVS commit: pkgsrc/www/zope3
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Thomas Klausner <wiz@netbsd.org>
List: pkgsrc-bugs
Date: 01/07/2006 13:15:04
The following reply was made to PR pkg/32465; it has been noted by GNATS.
From: Thomas Klausner <wiz@netbsd.org>
To: gnats-bugs@netbsd.org
Cc:
Subject: PR/32465 CVS commit: pkgsrc/www/zope3
Date: Sat, 7 Jan 2006 13:13:28 +0000 (UTC)
Module Name: pkgsrc
Committed By: wiz
Date: Sat Jan 7 13:13:28 UTC 2006
Modified Files:
pkgsrc/www/zope3: MESSAGE Makefile PLIST distinfo
pkgsrc/www/zope3/files: zope3.sh zss3.sh
pkgsrc/www/zope3/patches: patch-aa patch-ab patch-ac patch-ad
Added Files:
pkgsrc/www/zope3: Makefile.common package.mk
Log Message:
Update to 3.2.0, from wip/zope3-unstable, provided by Yoshito Komatsu.
Closes PR 32465.
Most Important Changes Since 3.1
* The ZServer has been replaced with the Twisted server. The Twisted
server supports all that the ZServer supporting has well
has HTTP over SSL natively and SFTP (disabled for now because of
error handling problems). Also in the future it brings a
better chance of other non-HTTP related protocols from being
implemented for Zope3, like SMTP-in and IMAP.
ZServer is still supported and will be used if you use the --zserver
when you run mkzopeinstance.
* Added a test browser. The test browser simulates a real Web browser
as much as possible as a Python object. This allows us to
write functional tests the same way the site would be
experienced by the user. This greatly simplifies functional tests,
makes documentation better and even helps analyzing usability. And
of course, it can be used in functional doctests.
* Changed the way returning large results is handled. The
response.write method is no longer supported. Applications can now
simply return files to the publisher.
* Implemented the password managers proposal. Main idea
beside the proposal is a standard way to implement password
encoders/checkers, see
zope.app.authentication.interfaces.IPasswordManager for
details.
+ Added basic password managers: Plain Text, MD5, SHA1.
+ Support for password managers added for ZCML principals
and principals saved in local PrincipalFolers.
+ Added bin/zpasswd command line script which helps to create ZCML
principals.
+ Password managers support integrated into bin/mkzopeinstance.
+ New database generation created for convert local principals to
new format.
* Implemented the language namespace proposal. Now you can
override the browser preferred language through the URL,
like this:
http://site.org/++lang++ru/path
Note: If you want to use a custom IUserPreferredLanguages
adapter and the ++lang++ feature together you should use
zope.app.publisher.browser.CacheableBrowserLanguages adapter as a
base class or at least as example.
* Implemented a new object introspector. Instead of just
providing information of the object's class, the new
introspector focuses on providing information that is specific to
the instance, such as directly provided interfaces and data, for
example attribute values and annotation values.
* Implemented the `devmode` switch for `zope.conf`. When turned on a
ZCML feature called `devmode` is provided. Packages can then
register functionality based on this feature. In Zope 3
itself, the devmode is used to only load the API doc is
devmode; turning off the devmode thus closes a potential
security hole and increases the start time by more than a
second.
* addMenuItem directive supports a `layer` attribute.
* Added a re-implementation of i18n message IDs (now simply
called ``Message``) that is immutable and thus can be treated like
unicode strings with respect to security proxying. This
implementation will replace the old one in upcoming versions.
* Added "test" message catalog for testing i18n. If you specify
++lang++test in a URL, then all translated strings will be
translated to [[domain][message_id], as in "[[zope][Preview]]". Text
without the domain marker isn't translated.
For a complete list of changes see the CHANGES.txt file.
To generate a diff of this commit:
cvs rdiff -r1.1.1.1 -r1.2 pkgsrc/www/zope3/MESSAGE pkgsrc/www/zope3/PLIST \
pkgsrc/www/zope3/distinfo
cvs rdiff -r1.5 -r1.6 pkgsrc/www/zope3/Makefile
cvs rdiff -r0 -r1.1 pkgsrc/www/zope3/Makefile.common \
pkgsrc/www/zope3/package.mk
cvs rdiff -r1.1.1.1 -r1.2 pkgsrc/www/zope3/files/zope3.sh \
pkgsrc/www/zope3/files/zss3.sh
cvs rdiff -r1.1.1.1 -r1.2 pkgsrc/www/zope3/patches/patch-aa \
pkgsrc/www/zope3/patches/patch-ab pkgsrc/www/zope3/patches/patch-ac \
pkgsrc/www/zope3/patches/patch-ad
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.