Commit 91f54a4e authored by Gerhard Weis's avatar Gerhard Weis

Merge branch '2.13' of https://github.com/zopefoundation/Zope into 2.13

parents c8abc749 778c8ff1
...@@ -8,6 +8,9 @@ http://docs.zope.org/zope2/ ...@@ -8,6 +8,9 @@ http://docs.zope.org/zope2/
2.13.23 (unreleased) 2.13.23 (unreleased)
-------------------- --------------------
- LP #1465432: Ensure that WSGIPublisher starts / ends interaction at
request boundaries (analogous to ZPublisher). Backport from master.
- Fix: Queue additional warning filters at the beginning of the queue in order - Fix: Queue additional warning filters at the beginning of the queue in order
to allow overrides. to allow overrides.
...@@ -20,6 +23,19 @@ http://docs.zope.org/zope2/ ...@@ -20,6 +23,19 @@ http://docs.zope.org/zope2/
- LP #1386795: Fix ``zopectl start`` with zdaemon 3 and newer. - LP #1386795: Fix ``zopectl start`` with zdaemon 3 and newer.
- Updated distributions:
- Acquisition = 2.13.9
- DateTime = 2.12.8
- Products.BTreeFolder2 = 2.13.5
- Products.ExternalMethod = 2.13.1
- Products.Mailhost = 2.13.2
- Products.StandardCacheManagers = 2.13.1
- ZConfig = 2.9.3
- zLOG = 2.11.2
- zope.dublincore = 3.7.1
- zope.mkzeoinstance = 3.9.6
2.13.22 (2014-02-19) 2.13.22 (2014-02-19)
-------------------- --------------------
...@@ -31,8 +47,8 @@ http://docs.zope.org/zope2/ ...@@ -31,8 +47,8 @@ http://docs.zope.org/zope2/
- Updated distributions: - Updated distributions:
- Products.ZCatalog = 2.13.27 - Products.ZCatalog = 2.13.27
- Products.ZCTextIndex = 2.13.5 - Products.ZCTextIndex = 2.13.5
2.13.21 (2013-07-16) 2.13.21 (2013-07-16)
-------------------- --------------------
...@@ -169,6 +185,11 @@ http://docs.zope.org/zope2/ ...@@ -169,6 +185,11 @@ http://docs.zope.org/zope2/
Ported the ``shiftNameToApplication`` implementation from zope.publisher to Ported the ``shiftNameToApplication`` implementation from zope.publisher to
ZPublisher.HTTPRequest.HTTPRequest. ZPublisher.HTTPRequest.HTTPRequest.
- Ensure that the ``WSGIPublisher`` begins and ends an *interaction*
at the request/response barrier. This is required for instance for
the ``checkPermission`` call to function without an explicit
``interaction`` parameter.
- Ensure that ObjectManager's ``get`` and ``__getitem__`` methods return only - Ensure that ObjectManager's ``get`` and ``__getitem__`` methods return only
"items" (no attributes / methods from the class or from acquisition). "items" (no attributes / methods from the class or from acquisition).
Thanks to Richard Mitchell at Netsight for the report. Thanks to Richard Mitchell at Netsight for the report.
......
...@@ -6,44 +6,24 @@ github_push = git@github.com:zopefoundation ...@@ -6,44 +6,24 @@ github_push = git@github.com:zopefoundation
AccessControl = git ${remotes:github}/AccessControl pushurl=${remotes:github_push}/AccessControl branch=2.13 AccessControl = git ${remotes:github}/AccessControl pushurl=${remotes:github_push}/AccessControl branch=2.13
Acquisition = git ${remotes:github}/Acquisition pushurl=${remotes:github_push}/Acquisition branch=2.13 Acquisition = git ${remotes:github}/Acquisition pushurl=${remotes:github_push}/Acquisition branch=2.13
DateTime = git ${remotes:github}/DateTime pushurl=${remotes:github_push}/DateTime branch=2.12 DateTime = git ${remotes:github}/DateTime pushurl=${remotes:github_push}/DateTime branch=2.12
# Note: this should be using a not-yet-ready-for-prime-time 2.13 branch DocumentTemplate = git ${remotes:github}/DocumentTemplate pushurl=${remotes:github_push}/DocumentTemplate branch=2.13
DocumentTemplate = git ${remotes:github}/DocumentTemplate pushurl=${remotes:github_push}/DocumentTemplate ExtensionClass = git ${remotes:github}/ExtensionClass pushurl=${remotes:github_push}/ExtensionClass branch=2.13
# Note: this should be using a not-yet-existing 2.13 branch
ExtensionClass = git ${remotes:github}/ExtensionClass pushurl=${remotes:github_push}/ExtensionClass
# 'master' branch is still on 2.13 release line.
initgroups = git ${remotes:github}/initgroups pushurl=${remotes:github_push}/initgroups initgroups = git ${remotes:github}/initgroups pushurl=${remotes:github_push}/initgroups
# Note: this should be using a not-yet-existing 2.13 branch Missing = git ${remotes:github}/Missing pushurl=${remotes:github_push}/Missing branch=2.13
Missing = git ${remotes:github}/Missing pushurl=${remotes:github_push}/Missing MultiMapping = git ${remotes:github}/MultiMapping pushurl=${remotes:github_push}/MultiMapping branch=2.13
# Note: this should be using a not-yet-existing 2.13 branch nt_svcutils = git ${remotes:github}/nt_svcutils pushurl=${remotes:github_push}/nt_svcutils branch=2.13
MultiMapping = git ${remotes:github}/MultiMapping pushurl=${remotes:github_push}/MultiMapping Persistence = git ${remotes:github}/Persistence pushurl=${remotes:github_push}/Persistence branch=2.13
nt_svcutils = git ${remotes:github}/nt_svcutils pushurl=${remotes:github_push}/nt_svcutils Products.BTreeFolder2 = git ${remotes:github}/Products.BTreeFolder2 pushurl=${remotes:github_push}/Products.BTreeFolder2 branch=2.13
# Note: this should be using a not-yet-existing 2.13 branch Products.ExternalMethod = git ${remotes:github}/Products.ExternalMethod pushurl=${remotes:github_push}/Products.ExternalMethod branch=2.13
Persistence = git ${remotes:github}/Persistence pushurl=${remotes:github_push}/Persistence Products.MailHost = git ${remotes:github}/Products.MailHost pushurl=${remotes:github_push}/Products.MailHost branch=2.13
# 'master' branch is still on 2.13 release line. Products.MIMETools = git ${remotes:github}/Products.MIMETools pushurl=${remotes:github_push}/Products.MIMETools branch=2.13
Products.BTreeFolder2 = git ${remotes:github}/Products.BTreeFolder2 pushurl=${remotes:github_push}/Products.BTreeFolder2 Products.OFSP = git ${remotes:github}/Products.OFSP pushurl=${remotes:github_push}/Products.OFSP branch=2.13
# 'master' branch is still on 2.13 release line. Products.PythonScripts = git ${remotes:github}/Products.PythonScripts pushurl=${remotes:github_push}/Products.PythonScripts branch=2.13
Products.ExternalMethod = git ${remotes:github}/Products.ExternalMethod pushurl=${remotes:github_push}/Products.ExternalMethod Products.StandardCacheManagers = git ${remotes:github}/Products.StandardCacheManagers pushurl=${remotes:github_push}/Products.StandardCacheManagers branch=2.13
# 'master' branch is still on 2.13 release line.
Products.MailHost = git ${remotes:github}/Products.MailHost pushurl=${remotes:github_push}/Products.MailHost
# 'master' branch is still on 2.13 release line.
Products.MIMETools = git ${remotes:github}/Products.MIMETools pushurl=${remotes:github_push}/Products.MIMETools
# 'master' branch is still on 2.13 release line.
Products.OFSP = git ${remotes:github}/Products.OFSP pushurl=${remotes:github_push}/Products.OFSP
# 'master' branch is still on 2.13 release line.
Products.PythonScripts = git ${remotes:github}/Products.PythonScripts pushurl=${remotes:github_push}/Products.PythonScripts
# 'master' branch is still on 2.13 release line.
Products.StandardCacheManagers = git ${remotes:github}/Products.StandardCacheManagers pushurl=${remotes:github_push}/Products.StandardCacheManagers
# 'master' branch is still on 2.13 release line.
Products.ZCatalog = git ${remotes:github}/Products.ZCatalog pushurl=${remotes:github_push}/Products.ZCatalog branch=2.13 Products.ZCatalog = git ${remotes:github}/Products.ZCatalog pushurl=${remotes:github_push}/Products.ZCatalog branch=2.13
# 'master' branch is still on 2.13 release line. Products.ZCTextIndex = git ${remotes:github}/Products.ZCTextIndex pushurl=${remotes:github_push}/Products.ZCTextIndex branch=2.13
Products.ZCTextIndex = git ${remotes:github}/Products.ZCTextIndex pushurl=${remotes:github_push}/Products.ZCTextIndex Record = git ${remotes:github}/Record pushurl=${remotes:github_push}/Record branch=2.13
# Note: this should be using a not-yet-existing 2.13 branch tempstorage = git ${remotes:github}/tempstorage pushurl=${remotes:github_push}/tempstorage branch=2.12
Record = git ${remotes:github}/Record pushurl=${remotes:github_push}/Record zExceptions = git ${remotes:github}/zExceptions pushurl=${remotes:github_push}/zExceptions branch=2.13
# Note: this should be using a not-yet-existing 2.12 branch
tempstorage = git ${remotes:github}/tempstorage pushurl=${remotes:github_push}/tempstorage
# Note: this should be using a not-yet-existing 2.13 branch
zExceptions = git ${remotes:github}/zExceptions pushurl=${remotes:github_push}/zExceptions
# 'master' branch is still on 2.12 release line.
zLOG = git ${remotes:github}/zLOG pushurl=${remotes:github_push}/zLOG branch=2.11 zLOG = git ${remotes:github}/zLOG pushurl=${remotes:github_push}/zLOG branch=2.11
# Note: this should be using a not-yet-existing 2.12 branch ZopeUndo = git ${remotes:github}/ZopeUndo pushurl=${remotes:github_push}/ZopeUndo branch=2.12
ZopeUndo = git ${remotes:github}/ZopeUndo pushurl=${remotes:github_push}/ZopeUndo
...@@ -19,6 +19,7 @@ import transaction ...@@ -19,6 +19,7 @@ import transaction
from zExceptions import Redirect from zExceptions import Redirect
from zExceptions import Unauthorized from zExceptions import Unauthorized
from zope.event import notify from zope.event import notify
from zope.security.management import newInteraction, endInteraction
from zope.publisher.skinnable import setDefaultSkin from zope.publisher.skinnable import setDefaultSkin
from ZServer.medusa.http_date import build_http_date from ZServer.medusa.http_date import build_http_date
...@@ -169,45 +170,49 @@ def publish(request, module_name, ...@@ -169,45 +170,49 @@ def publish(request, module_name,
) = _get_module_info(module_name) ) = _get_module_info(module_name)
notify(PubStart(request)) notify(PubStart(request))
request.processInputs() newInteraction()
response = request.response try:
request.processInputs()
if bobo_after is not None: response = request.response
response.after_list += (bobo_after,)
if bobo_after is not None:
if debug_mode: response.after_list += (bobo_after,)
response.debug_mode = debug_mode
if debug_mode:
if realm and not request.get('REMOTE_USER', None): response.debug_mode = debug_mode
response.realm = realm
if realm and not request.get('REMOTE_USER', None):
if bobo_before is not None: response.realm = realm
bobo_before()
if bobo_before is not None:
# Get the path list. bobo_before()
# According to RFC1738 a trailing space in the path is valid.
path = request.get('PATH_INFO') # Get the path list.
# According to RFC1738 a trailing space in the path is valid.
request['PARENTS'] = [object] path = request.get('PATH_INFO')
object = request.traverse(path, validated_hook=validated_hook)
notify(PubAfterTraversal(request)) request['PARENTS'] = [object]
object = request.traverse(path, validated_hook=validated_hook)
if transactions_manager: notify(PubAfterTraversal(request))
transactions_manager.recordMetaData(object, request)
if transactions_manager:
result = mapply(object, transactions_manager.recordMetaData(object, request)
request.args,
request, result = mapply(object,
call_object, request.args,
1, request,
missing_name, call_object,
dont_publish_class, 1,
request, missing_name,
bind=1, dont_publish_class,
) request,
bind=1,
if result is not response: )
response.setBody(result)
if result is not response:
response.setBody(result)
finally:
endInteraction()
notify(PubBeforeCommit(request)) notify(PubBeforeCommit(request))
return response return response
......
...@@ -7,7 +7,7 @@ versions = versions ...@@ -7,7 +7,7 @@ versions = versions
Zope2 = Zope2 =
AccessControl = 2.13.13 AccessControl = 2.13.13
Acquisition = 2.13.9 Acquisition = 2.13.9
DateTime = 2.12.7 DateTime = 2.12.8
DocumentTemplate = 2.13.2 DocumentTemplate = 2.13.2
ExtensionClass = 2.13.2 ExtensionClass = 2.13.2
initgroups = 2.13.0 initgroups = 2.13.0
...@@ -15,7 +15,7 @@ Missing = 2.13.1 ...@@ -15,7 +15,7 @@ Missing = 2.13.1
MultiMapping = 2.13.0 MultiMapping = 2.13.0
nt-svcutils = 2.13.0 nt-svcutils = 2.13.0
Persistence = 2.13.2 Persistence = 2.13.2
Products.BTreeFolder2 = 2.13.4 Products.BTreeFolder2 = 2.13.5
Products.ExternalMethod = 2.13.1 Products.ExternalMethod = 2.13.1
Products.MailHost = 2.13.2 Products.MailHost = 2.13.2
Products.MIMETools = 2.13.0 Products.MIMETools = 2.13.0
...@@ -27,7 +27,7 @@ Products.ZCTextIndex = 2.13.5 ...@@ -27,7 +27,7 @@ Products.ZCTextIndex = 2.13.5
Record = 2.13.0 Record = 2.13.0
tempstorage = 2.12.2 tempstorage = 2.12.2
zExceptions = 2.13.0 zExceptions = 2.13.0
zLOG = 2.11.1 zLOG = 2.11.2
ZopeUndo = 2.12.0 ZopeUndo = 2.12.0
# ZTK KGS overrides # ZTK KGS overrides
......
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