[Checkins] SVN: z3ext.controlpanel/tags/1.3.2/ release tag

Nikolay Kim fafhrd at datacom.kz
Wed Oct 22 03:33:22 EDT 2008


Log message for revision 92460:
  release tag

Changed:
  A   z3ext.controlpanel/tags/1.3.2/
  D   z3ext.controlpanel/tags/1.3.2/CHANGES.txt
  A   z3ext.controlpanel/tags/1.3.2/CHANGES.txt
  D   z3ext.controlpanel/tags/1.3.2/buildout.cfg
  A   z3ext.controlpanel/tags/1.3.2/buildout.cfg
  D   z3ext.controlpanel/tags/1.3.2/scripts/i18nall.in
  A   z3ext.controlpanel/tags/1.3.2/scripts/i18nall.in
  U   z3ext.controlpanel/tags/1.3.2/setup.py
  A   z3ext.controlpanel/tags/1.3.2/src/z3ext/controlpanel/locales/nl/
  D   z3ext.controlpanel/tags/1.3.2/src/z3ext/controlpanel/locales/ru/LC_MESSAGES/z3ext.controlpanel.mo
  A   z3ext.controlpanel/tags/1.3.2/src/z3ext/controlpanel/locales/ru/LC_MESSAGES/z3ext.controlpanel.mo
  D   z3ext.controlpanel/tags/1.3.2/src/z3ext/controlpanel/locales/ru/LC_MESSAGES/z3ext.controlpanel.po
  A   z3ext.controlpanel/tags/1.3.2/src/z3ext/controlpanel/locales/ru/LC_MESSAGES/z3ext.controlpanel.po
  D   z3ext.controlpanel/tags/1.3.2/src/z3ext/controlpanel/locales/z3ext.controlpanel.pot
  A   z3ext.controlpanel/tags/1.3.2/src/z3ext/controlpanel/locales/z3ext.controlpanel.pot
  D   z3ext.controlpanel/tags/1.3.2/src/z3ext/controlpanel/storage.py
  A   z3ext.controlpanel/tags/1.3.2/src/z3ext/controlpanel/storage.py

-=-
Copied: z3ext.controlpanel/tags/1.3.2 (from rev 92458, z3ext.controlpanel/trunk)

Deleted: z3ext.controlpanel/tags/1.3.2/CHANGES.txt
===================================================================
--- z3ext.controlpanel/trunk/CHANGES.txt	2008-10-21 21:55:43 UTC (rev 92458)
+++ z3ext.controlpanel/tags/1.3.2/CHANGES.txt	2008-10-22 07:33:21 UTC (rev 92460)
@@ -1,122 +0,0 @@
-=======
-CHANGES
-=======
-
-1.3.1 (2008-10-07)
-------------------
-
-- Fixed migration script for multiple databases
-
-
-1.3.0 (2008-10-07)
-------------------
-
-- Added default stylesheets
-
-- Configlet data storage api has been refactored.
-
-- Use z3ext.controlpanel i18n domain
-
-
-1.2.6 (2008-08-28)
-------------------
-
-- Fixed data storage copy
-
-
-1.2.5 (2008-08-28)
-------------------
-
-- Remove wrong html tag for category view
-
-- Fix configlet storage name
-
-- Added copier for data storage
-
-
-1.2.4 (2008-05-26)
-------------------
-
-- Fixed configlet subcategory + z3c.baseregistry bug
-
-
-1.2.3 (2008-05-14)
-------------------
-
-- Replace 'autoinclude' with 'includeDependendcies'
-
-- Tests updated
-
-
-1.2.2 (2008-04-08)
-------------------
-
-- Fix UI navigation
-
-
-1.2.1 (2008-03-28)
-------------------
-
-- Removed 'principals' configlet category
-
-
-1.2.0 (2008-03-21)
-------------------
-
-- Use z3ext.pagelet directive for browser views
-
-- Added i18n
-
-- Moved to svn.zope.org
-
-
-1.1.7 (2008-03-18)
-------------------
-
-- Added functional tests
-
-
-1.1.6 (2008-02-28)
-------------------
-
-- Use z3c.autoinclude
-
-
-1.1.5 (2008-02-22)
-------------------
-
-- Added buildout.cfg for testing
-
-- Added viewlet manager for configlet navigation
-
-
-1.1.4 (2008-02-20)
-------------------
-
-- Use z3ext.layoutform
-
-
-1.1.3 (2008-02-0?)
-------------------
-
-- Added 'UI' configuration category
-
-
-1.1.2 (2008-02-04)
-------------------
-
-- Fixed problem with generated class and persistence
-
-- Remove all <grant/> directives
-
-
-1.1.0 (2008-01-31)
-------------------
-
-- Use z3ext.layout for rendering
-
-
-1.0.0 (2007-26-07)
-------------------
-
-- Initial release

Copied: z3ext.controlpanel/tags/1.3.2/CHANGES.txt (from rev 92459, z3ext.controlpanel/trunk/CHANGES.txt)
===================================================================
--- z3ext.controlpanel/tags/1.3.2/CHANGES.txt	                        (rev 0)
+++ z3ext.controlpanel/tags/1.3.2/CHANGES.txt	2008-10-22 07:33:21 UTC (rev 92460)
@@ -0,0 +1,130 @@
+=======
+CHANGES
+=======
+
+1.3.2 (2008-10-22)
+------------------
+
+- Fixed configlet storage if ISite doesn't exists
+
+- Updated translations: nl, ru
+
+
+1.3.1 (2008-10-07)
+------------------
+
+- Fixed migration script for multiple databases
+
+
+1.3.0 (2008-10-07)
+------------------
+
+- Added default stylesheets
+
+- Configlet data storage api has been refactored.
+
+- Use z3ext.controlpanel i18n domain
+
+
+1.2.6 (2008-08-28)
+------------------
+
+- Fixed data storage copy
+
+
+1.2.5 (2008-08-28)
+------------------
+
+- Remove wrong html tag for category view
+
+- Fix configlet storage name
+
+- Added copier for data storage
+
+
+1.2.4 (2008-05-26)
+------------------
+
+- Fixed configlet subcategory + z3c.baseregistry bug
+
+
+1.2.3 (2008-05-14)
+------------------
+
+- Replace 'autoinclude' with 'includeDependendcies'
+
+- Tests updated
+
+
+1.2.2 (2008-04-08)
+------------------
+
+- Fix UI navigation
+
+
+1.2.1 (2008-03-28)
+------------------
+
+- Removed 'principals' configlet category
+
+
+1.2.0 (2008-03-21)
+------------------
+
+- Use z3ext.pagelet directive for browser views
+
+- Added i18n
+
+- Moved to svn.zope.org
+
+
+1.1.7 (2008-03-18)
+------------------
+
+- Added functional tests
+
+
+1.1.6 (2008-02-28)
+------------------
+
+- Use z3c.autoinclude
+
+
+1.1.5 (2008-02-22)
+------------------
+
+- Added buildout.cfg for testing
+
+- Added viewlet manager for configlet navigation
+
+
+1.1.4 (2008-02-20)
+------------------
+
+- Use z3ext.layoutform
+
+
+1.1.3 (2008-02-0?)
+------------------
+
+- Added 'UI' configuration category
+
+
+1.1.2 (2008-02-04)
+------------------
+
+- Fixed problem with generated class and persistence
+
+- Remove all <grant/> directives
+
+
+1.1.0 (2008-01-31)
+------------------
+
+- Use z3ext.layout for rendering
+
+
+1.0.0 (2007-26-07)
+------------------
+
+- Initial release

Deleted: z3ext.controlpanel/tags/1.3.2/buildout.cfg
===================================================================
--- z3ext.controlpanel/trunk/buildout.cfg	2008-10-21 21:55:43 UTC (rev 92458)
+++ z3ext.controlpanel/tags/1.3.2/buildout.cfg	2008-10-22 07:33:21 UTC (rev 92460)
@@ -1,60 +0,0 @@
-[buildout]
-develop = .
-parts = test coverage-test coverage-report 
-      i18n- i18nall i18ncheck i18ndude
-
-[test]
-recipe = zc.recipe.testrunner
-eggs = z3ext.controlpanel [test]
-
-[coverage-test]
-recipe = zc.recipe.testrunner
-eggs = z3ext.controlpanel [test]
-defaults = ['--coverage', '../../coverage']
-
-[coverage-report]
-recipe = zc.recipe.egg
-eggs = z3c.coverage
-scripts = coverage=coverage-report
-arguments = ('coverage', 'coverage/report')
-
-[i18n-]
-recipe = z3c.recipe.i18n:i18n
-packages = z3ext.controlpanel
-domain = z3ext.controlpanel
-output = ${buildout:directory}/src/z3ext/controlpanel/locales
-eggs = z3ext.controlpanel [test]
-zcml =
-  <configure i18n_domain="zope"
-             xmlns:zcml="http://namespaces.zope.org/zcml"
-             xmlns:browser="http://namespaces.zope.org/browser">
-    <include package="zope.component" file="meta.zcml" />
-    <include package="zope.viewlet" file="meta.zcml" />
-    <include package="zope.app.component" file="meta.zcml" />
-    <include package="zope.app.security" file="meta.zcml" />
-    <include package="zope.app.pagetemplate" file="meta.zcml" />
-
-    <include package="zope.contentprovider" />
-    <include package="zope.app.security" />
-    <include package="zope.app.zcmlfiles" />
-    <include package="zope.app.authentication" />
-
-    <include package="z3c.autoinclude" file="meta.zcml" />
-    <include package="z3ext.controlpanel" file="meta.zcml" />
-    <include package="z3ext.controlpanel" />
-  </configure>
-
-[i18nall]
-recipe = buildout_script
-template_dir = ${buildout:directory}/scripts
-template = i18nall.in
-
-[i18ncheck]
-recipe = buildout_script
-template_dir = ${buildout:directory}/scripts
-template = i18ncheck.in
-
-[i18ndude]
-unzip = true
-recipe = zc.recipe.egg
-eggs = i18ndude

Copied: z3ext.controlpanel/tags/1.3.2/buildout.cfg (from rev 92459, z3ext.controlpanel/trunk/buildout.cfg)
===================================================================
--- z3ext.controlpanel/tags/1.3.2/buildout.cfg	                        (rev 0)
+++ z3ext.controlpanel/tags/1.3.2/buildout.cfg	2008-10-22 07:33:21 UTC (rev 92460)
@@ -0,0 +1,59 @@
+[buildout]
+develop = .
+parts = test coverage-test coverage-report i18n i18nall i18ncheck i18ndude
+
+[test]
+recipe = zc.recipe.testrunner
+eggs = z3ext.controlpanel [test]
+
+[coverage-test]
+recipe = zc.recipe.testrunner
+eggs = z3ext.controlpanel [test]
+defaults = ['--coverage', '../../coverage']
+
+[coverage-report]
+recipe = zc.recipe.egg
+eggs = z3c.coverage
+scripts = coverage=coverage-report
+arguments = ('coverage', 'coverage/report')
+
+[i18n]
+recipe = z3c.recipe.i18n:i18n
+packages = z3ext.controlpanel
+domain = z3ext.controlpanel
+output = ${buildout:directory}/src/z3ext/controlpanel/locales
+eggs = z3ext.controlpanel [test]
+zcml =
+  <configure i18n_domain="zope"
+             xmlns:zcml="http://namespaces.zope.org/zcml"
+             xmlns:browser="http://namespaces.zope.org/browser">
+    <include package="zope.component" file="meta.zcml" />
+    <include package="zope.viewlet" file="meta.zcml" />
+    <include package="zope.app.component" file="meta.zcml" />
+    <include package="zope.app.security" file="meta.zcml" />
+    <include package="zope.app.pagetemplate" file="meta.zcml" />
+
+    <include package="zope.contentprovider" />
+    <include package="zope.app.security" />
+    <include package="zope.app.zcmlfiles" />
+    <include package="zope.app.authentication" />
+
+    <include package="z3c.autoinclude" file="meta.zcml" />
+    <include package="z3ext.controlpanel" file="meta.zcml" />
+    <include package="z3ext.controlpanel" />
+  </configure>
+
+[i18nall]
+recipe = buildout_script
+template_dir = ${buildout:directory}/scripts
+template = i18nall.in
+
+[i18ncheck]
+recipe = buildout_script
+template_dir = ${buildout:directory}/scripts
+template = i18ncheck.in
+
+[i18ndude]
+unzip = true
+recipe = zc.recipe.egg
+eggs = i18ndude

Deleted: z3ext.controlpanel/tags/1.3.2/scripts/i18nall.in
===================================================================
--- z3ext.controlpanel/trunk/scripts/i18nall.in	2008-10-21 21:55:43 UTC (rev 92458)
+++ z3ext.controlpanel/tags/1.3.2/scripts/i18nall.in	2008-10-22 07:33:21 UTC (rev 92460)
@@ -1,13 +0,0 @@
-#!/bin/sh
-
-update_egg()
-{
-    echo "Start update $@"
-
-    bin/i18n_${2}_extract && \
-    bin/i18n_${2}_mergeall && \
-    msgfmt ${1}/locales/nl/LC_MESSAGES/${2}.po -o ${1}/locales/nl/LC_MESSAGES/${2}.mo --no-hash && \
-    msgfmt ${1}/locales/en/LC_MESSAGES/${2}.po -o ${1}/locales/en/LC_MESSAGES/${2}.mo --no-hash
-}
-
-update_egg src/z3ext/controlpanel z3ext && \

Copied: z3ext.controlpanel/tags/1.3.2/scripts/i18nall.in (from rev 92459, z3ext.controlpanel/trunk/scripts/i18nall.in)
===================================================================
--- z3ext.controlpanel/tags/1.3.2/scripts/i18nall.in	                        (rev 0)
+++ z3ext.controlpanel/tags/1.3.2/scripts/i18nall.in	2008-10-22 07:33:21 UTC (rev 92460)
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+update_egg()
+{
+    echo "Start update $@"
+
+    bin/i18nextract && \
+    bin/i18nmergeall && \
+    msgfmt ${1}/locales/ru/LC_MESSAGES/${2}.po -o ${1}/locales/ru/LC_MESSAGES/${2}.mo --no-hash && \
+    msgfmt ${1}/locales/nl/LC_MESSAGES/${2}.po -o ${1}/locales/nl/LC_MESSAGES/${2}.mo --no-hash
+}
+
+update_egg src/z3ext/controlpanel z3ext.controlpanel;

Modified: z3ext.controlpanel/tags/1.3.2/setup.py
===================================================================
--- z3ext.controlpanel/trunk/setup.py	2008-10-21 21:55:43 UTC (rev 92458)
+++ z3ext.controlpanel/tags/1.3.2/setup.py	2008-10-22 07:33:21 UTC (rev 92460)
@@ -21,7 +21,7 @@
 def read(*rnames):
     return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
 
-version='1.3.2dev'
+version='1.3.2'
 
 
 setup(name = 'z3ext.controlpanel',

Copied: z3ext.controlpanel/tags/1.3.2/src/z3ext/controlpanel/locales/nl (from rev 92459, z3ext.controlpanel/trunk/src/z3ext/controlpanel/locales/nl)

Deleted: z3ext.controlpanel/tags/1.3.2/src/z3ext/controlpanel/locales/ru/LC_MESSAGES/z3ext.controlpanel.mo
===================================================================
(Binary files differ)

Copied: z3ext.controlpanel/tags/1.3.2/src/z3ext/controlpanel/locales/ru/LC_MESSAGES/z3ext.controlpanel.mo (from rev 92459, z3ext.controlpanel/trunk/src/z3ext/controlpanel/locales/ru/LC_MESSAGES/z3ext.controlpanel.mo)
===================================================================
(Binary files differ)

Deleted: z3ext.controlpanel/tags/1.3.2/src/z3ext/controlpanel/locales/ru/LC_MESSAGES/z3ext.controlpanel.po
===================================================================
--- z3ext.controlpanel/trunk/src/z3ext/controlpanel/locales/ru/LC_MESSAGES/z3ext.controlpanel.po	2008-10-21 21:55:43 UTC (rev 92458)
+++ z3ext.controlpanel/tags/1.3.2/src/z3ext/controlpanel/locales/ru/LC_MESSAGES/z3ext.controlpanel.po	2008-10-22 07:33:21 UTC (rev 92460)
@@ -1,62 +0,0 @@
-##############################################################################
-#
-# Copyright (c) 2003-2004 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.
-#
-##############################################################################
-msgid ""
-msgstr ""
-"Project-Id-Version: z3ext.controlpanel\n"
-"POT-Creation-Date: Tue Oct  7 18:55:43 2008\n"
-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
-"Last-Translator: Nikolay Kim <fafhrd91 at gmail.com>\n"
-"Language-Team: Zope 3 Developers <zope3-dev at zope.org>\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-"Generated-By: zope/app/locales/extract.py\n"
-
-#: src/z3ext/controlpanel/browser/category.pt:8
-msgid "There are no configlets in this category."
-msgstr "В этой категории нет конфиглетов."
-
-#: src/z3ext/controlpanel/browser/configure.zcml:24
-msgid "View"
-msgstr "Просмотр"
-
-#: src/z3ext/controlpanel/configlettype.py:193
-msgid "Field is readonly"
-msgstr "Поле только для чтения"
-
-#: src/z3ext/controlpanel/configure.zcml:41
-msgid "This area allows you to configure system."
-msgstr ""
-
-#: src/z3ext/controlpanel/configure.zcml:41
-msgid "System configuration"
-msgstr "Конфигурация системы"
-
-#: src/z3ext/controlpanel/configure.zcml:49
-msgid "User interface configuration"
-msgstr "Конфигурация пользовательского интерфейса"
-
-#: src/z3ext/controlpanel/configure.zcml:49
-msgid "This area allows you to configure portal look&feel."
-msgstr ""
-
-#: src/z3ext/controlpanel/configure.zcml:8
-msgid "Configure control panel's configlets."
-msgstr ""
-
-#: src/z3ext/controlpanel/root.py:36
-#: src/z3ext/controlpanel/browser/configure.zcml:53
-#: src/z3ext/controlpanel/browser/configure.zcml:60
-msgid "System settings"
-msgstr "Системные установки"

Copied: z3ext.controlpanel/tags/1.3.2/src/z3ext/controlpanel/locales/ru/LC_MESSAGES/z3ext.controlpanel.po (from rev 92459, z3ext.controlpanel/trunk/src/z3ext/controlpanel/locales/ru/LC_MESSAGES/z3ext.controlpanel.po)
===================================================================
--- z3ext.controlpanel/tags/1.3.2/src/z3ext/controlpanel/locales/ru/LC_MESSAGES/z3ext.controlpanel.po	                        (rev 0)
+++ z3ext.controlpanel/tags/1.3.2/src/z3ext/controlpanel/locales/ru/LC_MESSAGES/z3ext.controlpanel.po	2008-10-22 07:33:21 UTC (rev 92460)
@@ -0,0 +1,62 @@
+# #############################################################################
+#
+# Copyright (c) 2003-2004 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.
+#
+# #############################################################################
+msgid ""
+msgstr ""
+"Project-Id-Version: z3ext.controlpanel\n"
+"POT-Creation-Date: Wed Oct 22 13:17:55 2008\n"
+"PO-Revision-Date: 2008-10-22 13:22+0600\n"
+"Last-Translator: Nikolay Kim <fafhrd91 at gmail.com>\n"
+"Language-Team: Zope 3 Developers <zope3-dev at zope.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Generated-By: zope/app/locales/extract.py\n"
+
+#: src/z3ext/controlpanel/browser/category.pt:8
+msgid "There are no configlets in this category."
+msgstr "В этой категории нет конфиглетов."
+
+#: src/z3ext/controlpanel/browser/configure.zcml:24
+msgid "View"
+msgstr "Просмотр"
+
+#: src/z3ext/controlpanel/configlettype.py:193
+msgid "Field is readonly"
+msgstr "Поле только для чтения"
+
+#: src/z3ext/controlpanel/configure.zcml:42
+msgid "This area allows you to configure system."
+msgstr "Конфиглеты в этой категории позволяют вам конфигурировать систему."
+
+#: src/z3ext/controlpanel/configure.zcml:42
+msgid "System configuration"
+msgstr "Конфигурация системы"
+
+#: src/z3ext/controlpanel/configure.zcml:50
+msgid "User interface configuration"
+msgstr "Конфигурация пользовательского интерфейса"
+
+#: src/z3ext/controlpanel/configure.zcml:50
+msgid "This area allows you to configure portal look&feel."
+msgstr "Конфиглеты в этой категории позволяют вам конфигурировать как выглядит сайт."
+
+#: src/z3ext/controlpanel/configure.zcml:9
+msgid "Configure control panel's configlets."
+msgstr ""
+
+#: src/z3ext/controlpanel/root.py:36
+#: src/z3ext/controlpanel/browser/configure.zcml:53
+#: src/z3ext/controlpanel/browser/configure.zcml:60
+msgid "System settings"
+msgstr "Системные установки"

Deleted: z3ext.controlpanel/tags/1.3.2/src/z3ext/controlpanel/locales/z3ext.controlpanel.pot
===================================================================
--- z3ext.controlpanel/trunk/src/z3ext/controlpanel/locales/z3ext.controlpanel.pot	2008-10-21 21:55:43 UTC (rev 92458)
+++ z3ext.controlpanel/tags/1.3.2/src/z3ext/controlpanel/locales/z3ext.controlpanel.pot	2008-10-22 07:33:21 UTC (rev 92460)
@@ -1,63 +0,0 @@
-##############################################################################
-#
-# Copyright (c) 2003-2004 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.
-#
-##############################################################################
-msgid ""
-msgstr ""
-"Project-Id-Version: Development/Unknown\n"
-"POT-Creation-Date: Tue Oct  7 18:55:43 2008\n"
-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
-"Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
-"Language-Team: Zope 3 Developers <zope3-dev at zope.org>\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-"Generated-By: zope/app/locales/extract.py\n"
-
-#: src/z3ext/controlpanel/browser/category.pt:8
-msgid "There are no configlets in this category."
-msgstr ""
-
-#: src/z3ext/controlpanel/browser/configure.zcml:24
-msgid "View"
-msgstr ""
-
-#: src/z3ext/controlpanel/configlettype.py:193
-msgid "Field is readonly"
-msgstr ""
-
-#: src/z3ext/controlpanel/configure.zcml:41
-msgid "This area allows you to configure system."
-msgstr ""
-
-#: src/z3ext/controlpanel/configure.zcml:41
-msgid "System configuration"
-msgstr ""
-
-#: src/z3ext/controlpanel/configure.zcml:49
-msgid "User interface configuration"
-msgstr ""
-
-#: src/z3ext/controlpanel/configure.zcml:49
-msgid "This area allows you to configure portal look&feel."
-msgstr ""
-
-#: src/z3ext/controlpanel/configure.zcml:8
-msgid "Configure control panel's configlets."
-msgstr ""
-
-#: src/z3ext/controlpanel/root.py:36
-#: src/z3ext/controlpanel/browser/configure.zcml:53
-#: src/z3ext/controlpanel/browser/configure.zcml:60
-msgid "System settings"
-msgstr ""
-

Copied: z3ext.controlpanel/tags/1.3.2/src/z3ext/controlpanel/locales/z3ext.controlpanel.pot (from rev 92459, z3ext.controlpanel/trunk/src/z3ext/controlpanel/locales/z3ext.controlpanel.pot)
===================================================================
--- z3ext.controlpanel/tags/1.3.2/src/z3ext/controlpanel/locales/z3ext.controlpanel.pot	                        (rev 0)
+++ z3ext.controlpanel/tags/1.3.2/src/z3ext/controlpanel/locales/z3ext.controlpanel.pot	2008-10-22 07:33:21 UTC (rev 92460)
@@ -0,0 +1,63 @@
+##############################################################################
+#
+# Copyright (c) 2003-2004 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.
+#
+##############################################################################
+msgid ""
+msgstr ""
+"Project-Id-Version: Development/Unknown\n"
+"POT-Creation-Date: Wed Oct 22 13:26:20 2008\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
+"Language-Team: Zope 3 Developers <zope3-dev at zope.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Generated-By: zope/app/locales/extract.py\n"
+
+#: src/z3ext/controlpanel/browser/category.pt:8
+msgid "There are no configlets in this category."
+msgstr ""
+
+#: src/z3ext/controlpanel/browser/configure.zcml:24
+msgid "View"
+msgstr ""
+
+#: src/z3ext/controlpanel/configlettype.py:193
+msgid "Field is readonly"
+msgstr ""
+
+#: src/z3ext/controlpanel/configure.zcml:42
+msgid "This area allows you to configure system."
+msgstr ""
+
+#: src/z3ext/controlpanel/configure.zcml:42
+msgid "System configuration"
+msgstr ""
+
+#: src/z3ext/controlpanel/configure.zcml:50
+msgid "User interface configuration"
+msgstr ""
+
+#: src/z3ext/controlpanel/configure.zcml:50
+msgid "This area allows you to configure portal look&feel."
+msgstr ""
+
+#: src/z3ext/controlpanel/configure.zcml:9
+msgid "Configure control panel's configlets."
+msgstr ""
+
+#: src/z3ext/controlpanel/root.py:36
+#: src/z3ext/controlpanel/browser/configure.zcml:53
+#: src/z3ext/controlpanel/browser/configure.zcml:60
+msgid "System settings"
+msgstr ""
+

Deleted: z3ext.controlpanel/tags/1.3.2/src/z3ext/controlpanel/storage.py
===================================================================
--- z3ext.controlpanel/trunk/src/z3ext/controlpanel/storage.py	2008-10-21 21:55:43 UTC (rev 92458)
+++ z3ext.controlpanel/tags/1.3.2/src/z3ext/controlpanel/storage.py	2008-10-22 07:33:21 UTC (rev 92460)
@@ -1,186 +0,0 @@
-##############################################################################
-#
-# Copyright (c) 2007 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.
-#
-##############################################################################
-""" configlet storage implementation
-
-$Id$
-"""
-from zope import interface, component, event
-from zope.security.proxy import removeSecurityProxy
-from zope.location.interfaces import ILocation
-from zope.lifecycleevent import ObjectCreatedEvent
-from zope.app.container.btree import BTreeContainer
-from zope.app.component.hooks import getSite
-from zope.app.component.interfaces import ILocalSiteManager
-
-from interfaces import IConfiglet, IConfigletData, IRootConfiglet
-from interfaces import IConfigletDataStorage, IConfigletDataFactory
-
-
-class ConfigletDataStorage(BTreeContainer):
-    interface.implements(IConfigletDataStorage)
-
-
-class ConfigletData(BTreeContainer):
-    """
-    >>> data = ConfigletData()
-
-    Simple values saved as object attributes
-
-    >>> data['attr1'] = 'value1'
-    >>> data['attr1']
-    'value1'
-
-    >>> data.get('attr1')
-    'value1'
-
-    >>> getattr(data, 'attr1')
-    'value1'
-
-    >>> 'attr1' in data
-    False
-
-    >>> del data['attr1']
-
-    >>> getattr(data, 'attr1', None) is None
-    True
-
-    >>> data['attr1']
-    Traceback (most recent call last):
-    ...
-    KeyError: 'attr1'
-
-
-    Locatable objects saved as container items
-
-    >>> class Test(object):
-    ...     interface.implements(ILocation)
-    ...     __parent__ = __name__ = None
-
-    >>> data['attr2'] = Test()
-
-    >>> data['attr2']
-    <z3ext.controlpanel.storage.Test ...>
-
-    >>> data.get('attr2')
-    <z3ext.controlpanel.storage.Test ...>
-
-    >>> hasattr(data, 'attr2')
-    False
-
-    >>> 'attr2' in data
-    True
-
-    >>> data['attr2'].__parent__ is data
-    True
-
-    >>> del data['attr2']
-
-    >>> 'attr2' in data
-    False
-
-    >>> data['attr2']
-    Traceback (most recent call last):
-    ...
-    KeyError: 'attr2'
-
-
-    """
-    
-    interface.implements(IConfigletData)
-
-    def get(self, name, default=None):
-        if name in self:
-            return super(ConfigletData, self).__getitem__(name)
-
-        elif hasattr(self, name):
-            return getattr(self, name, default)
-
-        else:
-            return default
-
-    def __getitem__(self, name):
-        if name in self:
-            return super(ConfigletData, self).__getitem__(name)
-
-        elif hasattr(self, name):
-            return getattr(self, name)
-
-        raise KeyError(name)
-
-    def __setitem__(self, name, value):
-        if ILocation.providedBy(value):
-            super(ConfigletData, self).__setitem__(name, value)
-
-            if hasattr(self, name):
-                delattr(self, name)
-
-        else:
-            setattr(self, name, value)
-
-    def __delitem__(self, name):
-        if name in self:
-            super(ConfigletData, self).__delitem__(name)
-
-        if hasattr(self, name):
-            delattr(self, name)
-
-
- at component.adapter(IConfiglet)
- at interface.implementer(IConfigletData)
-def getConfigletData(configlet):
-    site = getSite()
-    storage = IConfigletDataStorage(site.getSiteManager())
-
-    if configlet.__id__ not in storage:
-        data = IConfigletDataFactory(configlet)()
-        event.notify(ObjectCreatedEvent(data))
-
-        if IRootConfiglet.providedBy(configlet):
-            if '__rootconfiglet__' not in storage:
-                storage['__rootconfiglet__'] = data
-            return storage['__rootconfiglet__']
-        else:
-            storage[configlet.__id__] = data
-
-    return storage[configlet.__id__]
-
-
- at component.adapter(ILocalSiteManager)
- at interface.implementer(IConfigletDataStorage)
-def getConfigletDataStorage(siteManager):
-    sm = removeSecurityProxy(siteManager)
-    
-    storage = sm.get('controlpanel', None)
-    if storage is None or not IConfigletDataStorage.providedBy(storage):
-        if storage is not None:
-            del sm['controlpanel']
-
-        storage = ConfigletDataStorage()
-        event.notify(ObjectCreatedEvent(storage))
-        sm['controlpanel'] = storage
-
-        storage = sm['controlpanel']
-
-    return storage
-
-
-class DefaultConfigletDataFactory(object):
-    component.adapts(IConfiglet)
-    interface.implements(IConfigletDataFactory)
-
-    def __init__(self, configlet):
-        self.configlet = configlet
-
-    def __call__(self, *args, **kw):
-        return ConfigletData(*args, **kw)

Copied: z3ext.controlpanel/tags/1.3.2/src/z3ext/controlpanel/storage.py (from rev 92459, z3ext.controlpanel/trunk/src/z3ext/controlpanel/storage.py)
===================================================================
--- z3ext.controlpanel/tags/1.3.2/src/z3ext/controlpanel/storage.py	                        (rev 0)
+++ z3ext.controlpanel/tags/1.3.2/src/z3ext/controlpanel/storage.py	2008-10-22 07:33:21 UTC (rev 92460)
@@ -0,0 +1,192 @@
+##############################################################################
+#
+# Copyright (c) 2007 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.
+#
+##############################################################################
+""" configlet storage implementation
+
+$Id$
+"""
+from zope import interface, component, event
+from zope.security.proxy import removeSecurityProxy
+from zope.location.interfaces import ILocation
+from zope.lifecycleevent import ObjectCreatedEvent
+from zope.app.container.btree import BTreeContainer
+from zope.app.component.hooks import getSite
+from zope.app.component.interfaces import ILocalSiteManager
+
+from interfaces import IConfiglet, IConfigletData, IRootConfiglet
+from interfaces import IConfigletDataStorage, IConfigletDataFactory
+
+
+class ConfigletDataStorage(BTreeContainer):
+    interface.implements(IConfigletDataStorage)
+
+
+class ConfigletData(BTreeContainer):
+    """
+    >>> data = ConfigletData()
+
+    Simple values saved as object attributes
+
+    >>> data['attr1'] = 'value1'
+    >>> data['attr1']
+    'value1'
+
+    >>> data.get('attr1')
+    'value1'
+
+    >>> getattr(data, 'attr1')
+    'value1'
+
+    >>> 'attr1' in data
+    False
+
+    >>> del data['attr1']
+
+    >>> getattr(data, 'attr1', None) is None
+    True
+
+    >>> data['attr1']
+    Traceback (most recent call last):
+    ...
+    KeyError: 'attr1'
+
+
+    Locatable objects saved as container items
+
+    >>> class Test(object):
+    ...     interface.implements(ILocation)
+    ...     __parent__ = __name__ = None
+
+    >>> data['attr2'] = Test()
+
+    >>> data['attr2']
+    <z3ext.controlpanel.storage.Test ...>
+
+    >>> data.get('attr2')
+    <z3ext.controlpanel.storage.Test ...>
+
+    >>> hasattr(data, 'attr2')
+    False
+
+    >>> 'attr2' in data
+    True
+
+    >>> data['attr2'].__parent__ is data
+    True
+
+    >>> del data['attr2']
+
+    >>> 'attr2' in data
+    False
+
+    >>> data['attr2']
+    Traceback (most recent call last):
+    ...
+    KeyError: 'attr2'
+
+
+    """
+    
+    interface.implements(IConfigletData)
+
+    def get(self, name, default=None):
+        if name in self:
+            return super(ConfigletData, self).__getitem__(name)
+
+        elif hasattr(self, name):
+            return getattr(self, name, default)
+
+        else:
+            return default
+
+    def __getitem__(self, name):
+        if name in self:
+            return super(ConfigletData, self).__getitem__(name)
+
+        elif hasattr(self, name):
+            return getattr(self, name)
+
+        raise KeyError(name)
+
+    def __setitem__(self, name, value):
+        if ILocation.providedBy(value):
+            super(ConfigletData, self).__setitem__(name, value)
+
+            if hasattr(self, name):
+                delattr(self, name)
+
+        else:
+            setattr(self, name, value)
+
+    def __delitem__(self, name):
+        if name in self:
+            super(ConfigletData, self).__delitem__(name)
+
+        if hasattr(self, name):
+            delattr(self, name)
+
+
+ at component.adapter(IConfiglet)
+ at interface.implementer(IConfigletData)
+def getConfigletData(configlet):
+    site = getSite()
+
+    storage = None
+    if site is not None:
+        storage = IConfigletDataStorage(site.getSiteManager())
+
+    if storage is None:
+        return IConfigletDataFactory(configlet)()
+
+    if configlet.__id__ not in storage:
+        data = IConfigletDataFactory(configlet)()
+        event.notify(ObjectCreatedEvent(data))
+
+        if IRootConfiglet.providedBy(configlet):
+            if '__rootconfiglet__' not in storage:
+                storage['__rootconfiglet__'] = data
+            return storage['__rootconfiglet__']
+        else:
+            storage[configlet.__id__] = data
+
+    return storage[configlet.__id__]
+
+
+ at component.adapter(ILocalSiteManager)
+ at interface.implementer(IConfigletDataStorage)
+def getConfigletDataStorage(siteManager):
+    sm = removeSecurityProxy(siteManager)
+    
+    storage = sm.get('controlpanel', None)
+    if storage is None or not IConfigletDataStorage.providedBy(storage):
+        if storage is not None:
+            del sm['controlpanel']
+
+        storage = ConfigletDataStorage()
+        event.notify(ObjectCreatedEvent(storage))
+        sm['controlpanel'] = storage
+
+        storage = sm['controlpanel']
+
+    return storage
+
+
+class DefaultConfigletDataFactory(object):
+    component.adapts(IConfiglet)
+    interface.implements(IConfigletDataFactory)
+
+    def __init__(self, configlet):
+        self.configlet = configlet
+
+    def __call__(self, *args, **kw):
+        return ConfigletData(*args, **kw)



More information about the Checkins mailing list