[Zope-Checkins] SVN: Zope/branches/publication-refactor/lib/python/ - Another checkpoint. Enough majik to render the quickstart page, not much else.
Log message for revision 40775: - Another checkpoint. Enough majik to render the quickstart page, not much else. Changed: _U Zope/branches/publication-refactor/lib/python/ U Zope/branches/publication-refactor/lib/python/Products/Five/configure.zcml U Zope/branches/publication-refactor/lib/python/Products/Five/meta.zcml U Zope/branches/publication-refactor/lib/python/ZPublisher/Publication.py U Zope/branches/publication-refactor/lib/python/Zope2/Startup/__init__.py U Zope/branches/publication-refactor/lib/python/Zope2/Startup/handlers.py U Zope/branches/publication-refactor/lib/python/Zope2/Startup/zopeschema.xml -=- Property changes on: Zope/branches/publication-refactor/lib/python ___ Name: svn:externals - ZConfigsvn://svn.zope.org/repos/main/ZConfig/tags/ZConfig-2.3.1 BTrees svn://svn.zope.org/repos/main/ZODB/tags/3.6.0b4/src/BTrees persistent svn://svn.zope.org/repos/main/ZODB/tags/3.6.0b4/src/persistent ThreadedAsync svn://svn.zope.org/repos/main/ZODB/tags/3.6.0b4/src/ThreadedAsync transactionsvn://svn.zope.org/repos/main/ZODB/tags/3.6.0b4/src/transaction ZEOsvn://svn.zope.org/repos/main/ZODB/tags/3.6.0b4/src/ZEO ZODB svn://svn.zope.org/repos/main/ZODB/tags/3.6.0b4/src/ZODB ZopeUndo svn://svn.zope.org/repos/main/ZODB/tags/3.6.0b4/src/ZopeUndo zdaemon-r 39732 svn://svn.zope.org/repos/main/zdaemon/trunk/src/zdaemon pytz -r 40549 svn://svn.zope.org/repos/main/Zope3/trunk/src/pytz zodbcode -r 40549 svn://svn.zope.org/repos/main/Zope3/trunk/src/zodbcode ClientCookie -r 40549 svn://svn.zope.org/repos/main/Zope3/trunk/src/ClientCookie mechanize -r 40549 svn://svn.zope.org/repos/main/Zope3/trunk/src/mechanize + ZConfigsvn://svn.zope.org/repos/main/ZConfig/tags/ZConfig-2.3.1 BTrees svn://svn.zope.org/repos/main/ZODB/tags/3.6.0b4/src/BTrees persistent svn://svn.zope.org/repos/main/ZODB/tags/3.6.0b4/src/persistent ThreadedAsync svn://svn.zope.org/repos/main/ZODB/tags/3.6.0b4/src/ThreadedAsync transactionsvn://svn.zope.org/repos/main/ZODB/tags/3.6.0b4/src/transaction ZEOsvn://svn.zope.org/repos/main/ZODB/tags/3.6.0b4/src/ZEO ZODB svn://svn.zope.org/repos/main/ZODB/tags/3.6.0b4/src/ZODB ZopeUndo svn://svn.zope.org/repos/main/ZODB/tags/3.6.0b4/src/ZopeUndo zdaemon-r 39732 svn://svn.zope.org/repos/main/zdaemon/trunk/src/zdaemon pytz -r 40549 svn://svn.zope.org/repos/main/Zope3/trunk/src/pytz zodbcode -r 40549 svn://svn.zope.org/repos/main/Zope3/trunk/src/zodbcode ClientCookie -r 40549 svn://svn.zope.org/repos/main/Zope3/trunk/src/ClientCookie mechanize -r 40549 svn://svn.zope.org/repos/main/Zope3/trunk/src/mechanize twisted svn://svn.twistedmatrix.com/svn/Twisted/branches/releases/2.1.x/twisted Modified: Zope/branches/publication-refactor/lib/python/Products/Five/configure.zcml === --- Zope/branches/publication-refactor/lib/python/Products/Five/configure.zcml 2005-12-13 17:56:02 UTC (rev 40774) +++ Zope/branches/publication-refactor/lib/python/Products/Five/configure.zcml 2005-12-14 00:10:45 UTC (rev 40775) @@ -15,6 +15,14 @@ + + + + + Modified: Zope/branches/publication-refactor/lib/python/ZPublisher/Publication.py === --- Zope/branches/publication-refactor/lib/python/ZPublisher/Publication.py 2005-12-13 17:56:02 UTC (rev 40774) +++ Zope/branches/publication-refactor/lib/python/ZPublisher/Publication.py 2005-12-14 00:10:45 UTC (rev 40775) @@ -12,14 +12,22 @@ ## __version__='$Revision$'[11:-2] +import re import sys import transaction + from zope.event import notify +from zope.component import queryUtility from zope.interface import implements from zope.publisher.interfaces import IRequest, IPublication from zope.publisher.interfaces import NotFound, IPublicationRequest +from zope.publisher.browser import BrowserRequest +from zope.publisher.browser import BrowserResponse +from zope.publisher.http import StrResult from zope.app.publication.interfaces import EndRequestEvent from zope.app.publication.interfaces import BeforeTraverseEvent +from zope.app.publication.interfaces import IBrowserRequestFactory +from zope.app.publication.interfaces import IRequestPublicationFactory from ZPublisher.Publish import Retry from ZPublisher.Publish import get_module_info, call_object @@ -27,6 +35,8 @@ from ZPublisher.mapply import mapply from ZPublisher.BaseRequest import RequestContainer +_marker = object() + class ZopePublication(object): """Base Zope2 publication specification. """ @@ -83,11 +93,7 @@ # If the top object has a __bobo_traverse__ method, then use
[Zope-Checkins] SVN: Zope/trunk/ The SiteErrorLog now copies exceptions to the event log by default
Log message for revision 40766: The SiteErrorLog now copies exceptions to the event log by default Changed: U Zope/trunk/doc/CHANGES.txt U Zope/trunk/lib/python/Products/SiteErrorLog/SiteErrorLog.py -=- Modified: Zope/trunk/doc/CHANGES.txt === --- Zope/trunk/doc/CHANGES.txt 2005-12-13 16:34:01 UTC (rev 40765) +++ Zope/trunk/doc/CHANGES.txt 2005-12-13 16:35:07 UTC (rev 40766) @@ -26,6 +26,8 @@ Features added + - The SiteErrorLog now copies exceptions to the event log by default. + - deprecated OFS.content_types (to be removed in Zope 2.11) and replaced all occurences with zope.app.content_types Modified: Zope/trunk/lib/python/Products/SiteErrorLog/SiteErrorLog.py === --- Zope/trunk/lib/python/Products/SiteErrorLog/SiteErrorLog.py 2005-12-13 16:34:01 UTC (rev 40765) +++ Zope/trunk/lib/python/Products/SiteErrorLog/SiteErrorLog.py 2005-12-13 16:35:07 UTC (rev 40766) @@ -71,7 +71,7 @@ id = 'error_log' keep_entries = 20 -copy_to_zlog = 0 +copy_to_zlog = True security = ClassSecurityInfo() ___ Zope-Checkins maillist - Zope-Checkins@zope.org http://mail.zope.org/mailman/listinfo/zope-checkins
[Zope-Checkins] SVN: Zope/branches/2.9/ The SiteErrorLog now copies exceptions to the event log by default
Log message for revision 40765: The SiteErrorLog now copies exceptions to the event log by default Changed: U Zope/branches/2.9/doc/CHANGES.txt U Zope/branches/2.9/lib/python/Products/SiteErrorLog/SiteErrorLog.py -=- Modified: Zope/branches/2.9/doc/CHANGES.txt === --- Zope/branches/2.9/doc/CHANGES.txt 2005-12-13 16:31:53 UTC (rev 40764) +++ Zope/branches/2.9/doc/CHANGES.txt 2005-12-13 16:34:01 UTC (rev 40765) @@ -39,7 +39,7 @@ Features added - - none, feature freeze :-) + - The SiteErrorLog now copies exceptions to the event log by default. Zope 2.9.0 beta 1 (2005/12/06) Modified: Zope/branches/2.9/lib/python/Products/SiteErrorLog/SiteErrorLog.py === --- Zope/branches/2.9/lib/python/Products/SiteErrorLog/SiteErrorLog.py 2005-12-13 16:31:53 UTC (rev 40764) +++ Zope/branches/2.9/lib/python/Products/SiteErrorLog/SiteErrorLog.py 2005-12-13 16:34:01 UTC (rev 40765) @@ -71,7 +71,7 @@ id = 'error_log' keep_entries = 20 -copy_to_zlog = 0 +copy_to_zlog = True security = ClassSecurityInfo() ___ Zope-Checkins maillist - Zope-Checkins@zope.org http://mail.zope.org/mailman/listinfo/zope-checkins
[Zope-Checkins] SVN: Zope/branches/Zope-2_8-branch/ The SiteErrorLog now copies exceptions to the event log by default
Log message for revision 40764: The SiteErrorLog now copies exceptions to the event log by default Changed: U Zope/branches/Zope-2_8-branch/doc/CHANGES.txt U Zope/branches/Zope-2_8-branch/lib/python/Products/SiteErrorLog/SiteErrorLog.py -=- Modified: Zope/branches/Zope-2_8-branch/doc/CHANGES.txt === --- Zope/branches/Zope-2_8-branch/doc/CHANGES.txt 2005-12-13 16:01:06 UTC (rev 40763) +++ Zope/branches/Zope-2_8-branch/doc/CHANGES.txt 2005-12-13 16:31:53 UTC (rev 40764) @@ -66,6 +66,8 @@ Other + - The SiteErrorLog now copies exceptions to the event log by default. + - ObjectManager now has an hasObject method to test presence. This brings it in line with BTreeFolder. Modified: Zope/branches/Zope-2_8-branch/lib/python/Products/SiteErrorLog/SiteErrorLog.py === --- Zope/branches/Zope-2_8-branch/lib/python/Products/SiteErrorLog/SiteErrorLog.py 2005-12-13 16:01:06 UTC (rev 40763) +++ Zope/branches/Zope-2_8-branch/lib/python/Products/SiteErrorLog/SiteErrorLog.py 2005-12-13 16:31:53 UTC (rev 40764) @@ -71,7 +71,7 @@ id = 'error_log' keep_entries = 20 -copy_to_zlog = 0 +copy_to_zlog = True security = ClassSecurityInfo() ___ Zope-Checkins maillist - Zope-Checkins@zope.org http://mail.zope.org/mailman/listinfo/zope-checkins
[Zope-Checkins] Re: SVN: Zope/branches/publication-refactor/lib/python/ZPublisher/Publi - Checkpoint before I dig into refactoring BaseRequest.py and Publish.py
Sidnei da Silva wrote: > On Tue, Dec 13, 2005 at 12:31:54PM +0100, Philipp von Weitershausen wrote: > | Sidnei da Silva wrote: > | > Log message for revision 40742: > | > > | > - Checkpoint before I dig into refactoring BaseRequest.py and Publish.py > | > > | > > | > Changed: > | > A > Zope/branches/publication-refactor/lib/python/ZPublisher/Publication.py > | > | I suggest following Zope 3's package-and-module naming convention (lower > | case) for all the files we add to Zope 2 from now on. > > IMHO, that is silly if we are adding new modules to existing packages. For new > packages I agree. I disagree, but maybe that's just me. :) ___ Zope-Checkins maillist - Zope-Checkins@zope.org http://mail.zope.org/mailman/listinfo/zope-checkins
[Zope-Checkins] Re: SVN: Zope/branches/publication-refactor/lib/python/ZPublisher/Publi - Checkpoint before I dig into refactoring BaseRequest.py and Publish.py
On Tue, Dec 13, 2005 at 12:31:54PM +0100, Philipp von Weitershausen wrote: | Sidnei da Silva wrote: | > Log message for revision 40742: | > | > - Checkpoint before I dig into refactoring BaseRequest.py and Publish.py | > | > | > Changed: | > A Zope/branches/publication-refactor/lib/python/ZPublisher/Publication.py | | I suggest following Zope 3's package-and-module naming convention (lower | case) for all the files we add to Zope 2 from now on. IMHO, that is silly if we are adding new modules to existing packages. For new packages I agree. -- Sidnei da Silva Enfold Systems, LLC. http://enfoldsystems.com ___ Zope-Checkins maillist - Zope-Checkins@zope.org http://mail.zope.org/mailman/listinfo/zope-checkins
[Zope-Checkins] Re: SVN: Zope/branches/publication-refactor/lib/python/ZPublisher/Publi - Checkpoint before I dig into refactoring BaseRequest.py and Publish.py
Sidnei da Silva wrote: > Log message for revision 40742: > > - Checkpoint before I dig into refactoring BaseRequest.py and Publish.py > > > Changed: > A Zope/branches/publication-refactor/lib/python/ZPublisher/Publication.py I suggest following Zope 3's package-and-module naming convention (lower case) for all the files we add to Zope 2 from now on. Philipp ___ Zope-Checkins maillist - Zope-Checkins@zope.org http://mail.zope.org/mailman/listinfo/zope-checkins