[Checkins] SVN: grokproject/branches/1.0/ use the debug_application_factory
Jan-Wijbrand Kolman
janwijbrand at gmail.com
Wed Oct 7 15:25:38 EDT 2009
Log message for revision 104892:
use the debug_application_factory
Changed:
U grokproject/branches/1.0/CHANGES.txt
U grokproject/branches/1.0/grokproject/ext_eggs_paster.cfg
U grokproject/branches/1.0/grokproject/template_paste/etc/debug.ini.in_tmpl
U grokproject/branches/1.0/grokproject/template_paste/setup.py_tmpl
-=-
Modified: grokproject/branches/1.0/CHANGES.txt
===================================================================
--- grokproject/branches/1.0/CHANGES.txt 2009-10-07 19:02:42 UTC (rev 104891)
+++ grokproject/branches/1.0/CHANGES.txt 2009-10-07 19:25:37 UTC (rev 104892)
@@ -4,7 +4,9 @@
1.0 (unreleased)
----------------
-* ...
+* The ``debug.ini`` file now by default configures the Unuathorized
+ exception to not to be reraised. This will make sure Zope's authentication
+ mechanism keep working when using the ``z3c.evalexception`` middleware.
1.0b1 (2009-09-17)
------------------
Modified: grokproject/branches/1.0/grokproject/ext_eggs_paster.cfg
===================================================================
--- grokproject/branches/1.0/grokproject/ext_eggs_paster.cfg 2009-10-07 19:02:42 UTC (rev 104891)
+++ grokproject/branches/1.0/grokproject/ext_eggs_paster.cfg 2009-10-07 19:25:37 UTC (rev 104892)
@@ -1,7 +1,6 @@
Paste = 1.7.2
PasteDeploy = 1.3.2
PasteScript = 1.7.3
-grokcore.startup = 0.2
grokui.admin = 0.4.0
setuptools = 0.6c9
collective.recipe.template = 1.4.0
Modified: grokproject/branches/1.0/grokproject/template_paste/etc/debug.ini.in_tmpl
===================================================================
--- grokproject/branches/1.0/grokproject/template_paste/etc/debug.ini.in_tmpl 2009-10-07 19:02:42 UTC (rev 104891)
+++ grokproject/branches/1.0/grokproject/template_paste/etc/debug.ini.in_tmpl 2009-10-07 19:25:37 UTC (rev 104892)
@@ -53,8 +53,9 @@
next = zope
[app:zope]
-use = egg:${egg}
+use = egg:${egg}#debug
filter-with = translogger
+exempt-exceptions = zope.security.interfaces.IUnauthorized
[server:main]
use = egg:Paste#http
Modified: grokproject/branches/1.0/grokproject/template_paste/setup.py_tmpl
===================================================================
--- grokproject/branches/1.0/grokproject/template_paste/setup.py_tmpl 2009-10-07 19:02:42 UTC (rev 104891)
+++ grokproject/branches/1.0/grokproject/template_paste/setup.py_tmpl 2009-10-07 19:25:37 UTC (rev 104892)
@@ -8,7 +8,7 @@
long_description="""\
${long_description|nothing}""",
# Get strings from http://www.python.org/pypi?%3Aaction=list_classifiers
- classifiers=[],
+ classifiers=[],
keywords=${repr(keywords)|empty},
author=${repr(author)|empty},
author_email=${repr(author_email)|empty},
@@ -31,5 +31,6 @@
${package}-ctl = grokcore.startup:zdaemon_controller
[paste.app_factory]
main = grokcore.startup:application_factory
+ debug = grokcore.startup:debug_application_factory
""",
)
More information about the checkins
mailing list