[Checkins] SVN: z3ext.statusmessage/tags/1.3.6/ release tag

Nikolay Kim fafhrd91 at gmail.com
Mon Jun 1 06:40:24 EDT 2009


Log message for revision 100567:
  release tag

Changed:
  A   z3ext.statusmessage/tags/1.3.6/
  D   z3ext.statusmessage/tags/1.3.6/CHANGES.txt
  A   z3ext.statusmessage/tags/1.3.6/CHANGES.txt
  U   z3ext.statusmessage/tags/1.3.6/setup.py
  D   z3ext.statusmessage/tags/1.3.6/src/z3ext/statusmessage/handler.py
  A   z3ext.statusmessage/tags/1.3.6/src/z3ext/statusmessage/handler.py

-=-
Deleted: z3ext.statusmessage/tags/1.3.6/CHANGES.txt
===================================================================
--- z3ext.statusmessage/trunk/CHANGES.txt	2009-05-29 00:36:13 UTC (rev 100525)
+++ z3ext.statusmessage/tags/1.3.6/CHANGES.txt	2009-06-01 10:40:23 UTC (rev 100567)
@@ -1,68 +0,0 @@
-=======
-CHANGES
-=======
-
-1.3.5 (2009-04-15)
-------------------
-
-- Do not use z3c.autoinclude
-
-
-1.3.4 (2009-03-12)
-------------------
-
-- Added default css styles
-
-
-1.3.3 (2008-11-27)
-------------------
-
-- Handle error if session is not available
-
-
-1.3.2 (2008-11-23)
-------------------
-
-- Fixed tests agains zope3.4
-
-
-1.3.1 (2008-11-21)
-------------------
-
-- Fixed UnicodeEncodeError
-
-
-1.3.0 (2008-11-20)
-------------------
-
-- API refactored
-
-- Allow add messages at any stage of page processing
-
-
-1.2.1 (2008-05-14)
-------------------
-
-- Replace 'autoinclude' with 'includeDependendcies'
-
-
-1.2.0 (2008-03-21)
-------------------
-
-- rename to z3ext.statusmessage
-
-- moved to svn.zope.org
-
-
-1.1.0 (2008-03-18)
-------------------
-
-- Use z3c.autoinclude
-
-- Code cleanup
-
-
-1.0.0 (2007-12-08)
-------------------
-
-- Initial release.

Copied: z3ext.statusmessage/tags/1.3.6/CHANGES.txt (from rev 100566, z3ext.statusmessage/trunk/CHANGES.txt)
===================================================================
--- z3ext.statusmessage/tags/1.3.6/CHANGES.txt	                        (rev 0)
+++ z3ext.statusmessage/tags/1.3.6/CHANGES.txt	2009-06-01 10:40:23 UTC (rev 100567)
@@ -0,0 +1,74 @@
+=======
+CHANGES
+=======
+
+1.3.6 (2009-06-01)
+------------------
+
+- Fix publication afterCall handler
+
+
+1.3.5 (2009-04-15)
+------------------
+
+- Do not use z3c.autoinclude
+
+
+1.3.4 (2009-03-12)
+------------------
+
+- Added default css styles
+
+
+1.3.3 (2008-11-27)
+------------------
+
+- Handle error if session is not available
+
+
+1.3.2 (2008-11-23)
+------------------
+
+- Fixed tests agains zope3.4
+
+
+1.3.1 (2008-11-21)
+------------------
+
+- Fixed UnicodeEncodeError
+
+
+1.3.0 (2008-11-20)
+------------------
+
+- API refactored
+
+- Allow add messages at any stage of page processing
+
+
+1.2.1 (2008-05-14)
+------------------
+
+- Replace 'autoinclude' with 'includeDependendcies'
+
+
+1.2.0 (2008-03-21)
+------------------
+
+- rename to z3ext.statusmessage
+
+- moved to svn.zope.org
+
+
+1.1.0 (2008-03-18)
+------------------
+
+- Use z3c.autoinclude
+
+- Code cleanup
+
+
+1.0.0 (2007-12-08)
+------------------
+
+- Initial release.

Modified: z3ext.statusmessage/tags/1.3.6/setup.py
===================================================================
--- z3ext.statusmessage/trunk/setup.py	2009-05-29 00:36:13 UTC (rev 100525)
+++ z3ext.statusmessage/tags/1.3.6/setup.py	2009-06-01 10:40:23 UTC (rev 100567)
@@ -21,7 +21,7 @@
 def read(*rnames):
     return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
 
-version = '1.3.6dev'
+version = '1.3.6'
 
 
 setup(name='z3ext.statusmessage',

Deleted: z3ext.statusmessage/tags/1.3.6/src/z3ext/statusmessage/handler.py
===================================================================
--- z3ext.statusmessage/trunk/src/z3ext/statusmessage/handler.py	2009-05-29 00:36:13 UTC (rev 100525)
+++ z3ext.statusmessage/tags/1.3.6/src/z3ext/statusmessage/handler.py	2009-06-01 10:40:23 UTC (rev 100567)
@@ -1,49 +0,0 @@
-##############################################################################
-#
-# Copyright (c) 2008 Zope Corporation and Contributors.
-# All Rights Reserved.
-#
-# This software is subject to the provisions of the Zope Public License,
-# Version 2.1 (ZPL).  A copy of the ZPL should accompany this distribution.
-# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
-# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
-# FOR A PARTICULAR PURPOSE.
-#
-##############################################################################
-""" 
-
-$Id$
-"""
-from threading import local
-from zope import interface, component
-from zope.app.publication.zopepublication import ZopePublication
-
-from interfaces import IStatusMessage
-
-
-# BAD! VERY BAD
-
-def newAfterCall(self, request, ob):
-    response = request.response
-
-    status = response.getStatus()
-    if status not in (302, 303):
-        service = IStatusMessage(request, None)
-        if service is None:
-            return
-
-        messages = service.clear()
-
-        if messages:
-            msg = u'\n'.join(messages)
-            msg = msg.encode('utf-8', 'ignore')
-
-            body = response.consumeBody()
-            body = body.replace('<!--z3ext-statusmessage-->', msg, 1)
-            response.setResult(body)
-
-    afterCall(self, request, ob)
-
-afterCall = ZopePublication.afterCall
-ZopePublication.afterCall = newAfterCall

Copied: z3ext.statusmessage/tags/1.3.6/src/z3ext/statusmessage/handler.py (from rev 100566, z3ext.statusmessage/trunk/src/z3ext/statusmessage/handler.py)
===================================================================
--- z3ext.statusmessage/tags/1.3.6/src/z3ext/statusmessage/handler.py	                        (rev 0)
+++ z3ext.statusmessage/tags/1.3.6/src/z3ext/statusmessage/handler.py	2009-06-01 10:40:23 UTC (rev 100567)
@@ -0,0 +1,47 @@
+##############################################################################
+#
+# Copyright (c) 2008 Zope Corporation and Contributors.
+# All Rights Reserved.
+#
+# This software is subject to the provisions of the Zope Public License,
+# Version 2.1 (ZPL).  A copy of the ZPL should accompany this distribution.
+# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
+# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
+# FOR A PARTICULAR PURPOSE.
+#
+##############################################################################
+""" 
+
+$Id$
+"""
+from threading import local
+from zope import interface, component
+from zope.app.publication.zopepublication import ZopePublication
+
+from interfaces import IStatusMessage
+
+
+# BAD! VERY BAD
+
+def newAfterCall(self, request, ob):
+    response = request.response
+
+    status = response.getStatus()
+    if status not in (302, 303):
+        service = IStatusMessage(request, None)
+        if service is not None:
+            messages = service.clear()
+
+            if messages:
+                msg = u'\n'.join(messages)
+                msg = msg.encode('utf-8', 'ignore')
+
+                body = response.consumeBody()
+                body = body.replace('<!--z3ext-statusmessage-->', msg, 1)
+                response.setResult(body)
+
+    afterCall(self, request, ob)
+
+afterCall = ZopePublication.afterCall
+ZopePublication.afterCall = newAfterCall



More information about the Checkins mailing list