# HG changeset patch # User Thierry Florac # Date 1521727410 -3600 # Node ID 5d94baef6923642af27a9f30f377d45f67f04bbf # Parent 04503227569d817b16fac696e7527fbba7b65e91 Version 0.1.12 diff -r 04503227569d -r 5d94baef6923 buildout.cfg --- a/buildout.cfg Thu Mar 22 14:52:22 2018 +0100 +++ b/buildout.cfg Thu Mar 22 15:03:30 2018 +0100 @@ -92,4 +92,4 @@ eggs = pyams_content [test] [versions] -pyams_content = 0.1.11 +pyams_content = 0.1.12 diff -r 04503227569d -r 5d94baef6923 docs/HISTORY.txt --- a/docs/HISTORY.txt Thu Mar 22 14:52:22 2018 +0100 +++ b/docs/HISTORY.txt Thu Mar 22 15:03:30 2018 +0100 @@ -1,6 +1,12 @@ History ======= +0.1.12 +------ + - updated site upgrade code to use factory interfaces for shared tools + - added default site root factory utility + - added default factory adapters for shared tools and shared contents + 0.1.11 ------ - added workflow states vocabulary for use in advanced search form @@ -13,6 +19,8 @@ - added external videos as paragraphs - updated database upgrade code and removed INewLocalSite event subscriber - converted images galleries to medias galleries, allowing any media + - refactored contents preview using "real" renderers (and iframe to get a "real" preview) + - updated form events to only refresh renderer input widget instead of full form on property update - moved internal links interfaces to pyams_sequence package 0.1.10.1 diff -r 04503227569d -r 5d94baef6923 setup.py --- a/setup.py Thu Mar 22 14:52:22 2018 +0100 +++ b/setup.py Thu Mar 22 15:03:30 2018 +0100 @@ -22,7 +22,7 @@ README = os.path.join(DOCS, 'README.txt') HISTORY = os.path.join(DOCS, 'HISTORY.txt') -version = '0.1.11' +version = '0.1.12' long_description = open(README).read() + '\n\n' + open(HISTORY).read() tests_require = [] @@ -83,6 +83,7 @@ 'transaction', 'z3c.form', 'z3c.table', + 'zodbupdate', 'zope.annotation', 'zope.component', 'zope.container', @@ -103,5 +104,8 @@ ], 'fanstatic.libraries': [ 'pyams_content = pyams_content.skin:library' + ], + 'zodbupdate': [ + 'renames = pyams_content.generations:RENAMED_CLASSES' ] }) diff -r 04503227569d -r 5d94baef6923 src/pyams_content.egg-info/PKG-INFO --- a/src/pyams_content.egg-info/PKG-INFO Thu Mar 22 14:52:22 2018 +0100 +++ b/src/pyams_content.egg-info/PKG-INFO Thu Mar 22 15:03:30 2018 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: pyams-content -Version: 0.1.11 +Version: 0.1.12 Summary: PyAMS base content interfaces and classes Home-page: http://hg.ztfy.org/pyams/pyams_content Author: Thierry Florac @@ -73,6 +73,12 @@ History ======= + 0.1.12 + ------ + - updated site upgrade code to use factory interfaces for shared tools + - added default site root factory utility + - added default factory adapters for shared tools and shared contents + 0.1.11 ------ - added workflow states vocabulary for use in advanced search form @@ -85,6 +91,8 @@ - added external videos as paragraphs - updated database upgrade code and removed INewLocalSite event subscriber - converted images galleries to medias galleries, allowing any media + - refactored contents preview using "real" renderers (and iframe to get a "real" preview) + - updated form events to only refresh renderer input widget instead of full form on property update - moved internal links interfaces to pyams_sequence package 0.1.10.1 diff -r 04503227569d -r 5d94baef6923 src/pyams_content.egg-info/SOURCES.txt --- a/src/pyams_content.egg-info/SOURCES.txt Thu Mar 22 14:52:22 2018 +0100 +++ b/src/pyams_content.egg-info/SOURCES.txt Thu Mar 22 15:03:30 2018 +0100 @@ -58,6 +58,7 @@ src/pyams_content/component/paragraph/html.py src/pyams_content/component/paragraph/keypoint.py src/pyams_content/component/paragraph/milestone.py +src/pyams_content/component/paragraph/pictogram.py src/pyams_content/component/paragraph/verbatim.py src/pyams_content/component/paragraph/video.py src/pyams_content/component/paragraph/interfaces/__init__.py @@ -67,6 +68,7 @@ src/pyams_content/component/paragraph/interfaces/html.py src/pyams_content/component/paragraph/interfaces/keypoint.py src/pyams_content/component/paragraph/interfaces/milestone.py +src/pyams_content/component/paragraph/interfaces/pictogram.py src/pyams_content/component/paragraph/interfaces/verbatim.py src/pyams_content/component/paragraph/interfaces/video.py src/pyams_content/component/paragraph/zmi/__init__.py @@ -78,17 +80,18 @@ src/pyams_content/component/paragraph/zmi/interfaces.py src/pyams_content/component/paragraph/zmi/keypoint.py src/pyams_content/component/paragraph/zmi/milestone.py +src/pyams_content/component/paragraph/zmi/pictogram.py src/pyams_content/component/paragraph/zmi/preview.py src/pyams_content/component/paragraph/zmi/verbatim.py src/pyams_content/component/paragraph/zmi/video.py src/pyams_content/component/paragraph/zmi/templates/associations.pt -src/pyams_content/component/paragraph/zmi/templates/html-preview.pt +src/pyams_content/component/paragraph/zmi/templates/html-render.pt src/pyams_content/component/paragraph/zmi/templates/milestones.pt src/pyams_content/component/paragraph/zmi/templates/paragraph-title-icon.pt src/pyams_content/component/paragraph/zmi/templates/paragraph-title-toolbar.pt src/pyams_content/component/paragraph/zmi/templates/paragraphs.pt -src/pyams_content/component/paragraph/zmi/templates/preview.pt -src/pyams_content/component/paragraph/zmi/templates/raw-preview.pt +src/pyams_content/component/paragraph/zmi/templates/pictograms.pt +src/pyams_content/component/paragraph/zmi/templates/raw-render.pt src/pyams_content/component/theme/__init__.py src/pyams_content/component/theme/portlet.py src/pyams_content/component/theme/interfaces/__init__.py @@ -105,12 +108,12 @@ src/pyams_content/component/video/provider/vimeo.py src/pyams_content/component/video/provider/youtube.py src/pyams_content/component/video/provider/zmi/__init__.py -src/pyams_content/component/video/provider/zmi/templates/dailymotion-preview.pt -src/pyams_content/component/video/provider/zmi/templates/vimeo-preview.pt -src/pyams_content/component/video/provider/zmi/templates/youtube-preview.pt +src/pyams_content/component/video/provider/zmi/templates/dailymotion-render.pt +src/pyams_content/component/video/provider/zmi/templates/vimeo-render.pt +src/pyams_content/component/video/provider/zmi/templates/youtube-render.pt src/pyams_content/component/video/zmi/__init__.py src/pyams_content/component/video/zmi/paragraph.py -src/pyams_content/component/video/zmi/templates/video-preview.pt +src/pyams_content/component/video/zmi/templates/video-render.pt src/pyams_content/component/video/zmi/templates/video-settings.pt src/pyams_content/doctests/README.txt src/pyams_content/features/__init__.py @@ -121,6 +124,7 @@ src/pyams_content/features/preview/interfaces.py src/pyams_content/features/preview/zmi/__init__.py src/pyams_content/features/preview/zmi/interfaces.py +src/pyams_content/features/preview/zmi/templates/preview.pt src/pyams_content/features/renderer/__init__.py src/pyams_content/features/renderer/interfaces/__init__.py src/pyams_content/features/renderer/zmi/__init__.py @@ -145,6 +149,12 @@ src/pyams_content/profile/zmi/__init__.py src/pyams_content/reference/__init__.py src/pyams_content/reference/interfaces/__init__.py +src/pyams_content/reference/pictograms/__init__.py +src/pyams_content/reference/pictograms/manager.py +src/pyams_content/reference/pictograms/interfaces/__init__.py +src/pyams_content/reference/pictograms/zmi/__init__.py +src/pyams_content/reference/pictograms/zmi/manager.py +src/pyams_content/reference/pictograms/zmi/templates/manager-selection.pt src/pyams_content/reference/zmi/__init__.py src/pyams_content/reference/zmi/table.py src/pyams_content/root/__init__.py @@ -164,7 +174,6 @@ src/pyams_content/shared/blog/zmi/manager.py src/pyams_content/shared/common/__init__.py src/pyams_content/shared/common/manager.py -src/pyams_content/shared/common/review.py src/pyams_content/shared/common/security.py src/pyams_content/shared/common/types.py src/pyams_content/shared/common/interfaces/__init__.py @@ -210,8 +219,8 @@ src/pyams_content/shared/form/interfaces/__init__.py src/pyams_content/shared/form/zmi/__init__.py src/pyams_content/shared/form/zmi/field.py -src/pyams_content/shared/form/zmi/preview.py src/pyams_content/shared/form/zmi/properties.py +src/pyams_content/shared/form/zmi/render.py src/pyams_content/shared/imagemap/__init__.py src/pyams_content/shared/imagemap/manager.py src/pyams_content/shared/imagemap/paragraph.py @@ -221,13 +230,13 @@ src/pyams_content/shared/imagemap/zmi/area.py src/pyams_content/shared/imagemap/zmi/container.py src/pyams_content/shared/imagemap/zmi/paragraph.py -src/pyams_content/shared/imagemap/zmi/preview.py src/pyams_content/shared/imagemap/zmi/properties.py +src/pyams_content/shared/imagemap/zmi/render.py src/pyams_content/shared/imagemap/zmi/widget.py src/pyams_content/shared/imagemap/zmi/templates/container.pt src/pyams_content/shared/imagemap/zmi/templates/imagemap-preview.pt -src/pyams_content/shared/imagemap/zmi/templates/paragraph-preview.pt -src/pyams_content/shared/imagemap/zmi/templates/preview.pt +src/pyams_content/shared/imagemap/zmi/templates/paragraph-render.pt +src/pyams_content/shared/imagemap/zmi/templates/render.pt src/pyams_content/shared/imagemap/zmi/templates/widget-input.pt src/pyams_content/shared/logo/__init__.py src/pyams_content/shared/logo/manager.py @@ -266,11 +275,11 @@ src/pyams_content/shared/view/portlet/zmi/__init__.py src/pyams_content/shared/view/portlet/zmi/templates/view-items-list-preview.pt src/pyams_content/shared/view/zmi/__init__.py -src/pyams_content/shared/view/zmi/preview.py src/pyams_content/shared/view/zmi/properties.py src/pyams_content/shared/view/zmi/reference.py +src/pyams_content/shared/view/zmi/render.py src/pyams_content/shared/view/zmi/theme.py -src/pyams_content/shared/view/zmi/templates/preview.pt +src/pyams_content/shared/view/zmi/templates/render.pt src/pyams_content/skin/__init__.py src/pyams_content/skin/routes.py src/pyams_content/skin/resources/css/pyams_content.css diff -r 04503227569d -r 5d94baef6923 src/pyams_content.egg-info/entry_points.txt --- a/src/pyams_content.egg-info/entry_points.txt Thu Mar 22 14:52:22 2018 +0100 +++ b/src/pyams_content.egg-info/entry_points.txt Thu Mar 22 15:03:30 2018 +0100 @@ -4,3 +4,6 @@ [fanstatic.libraries] pyams_content = pyams_content.skin:library +[zodbupdate] +renames = pyams_content.generations:RENAMED_CLASSES + diff -r 04503227569d -r 5d94baef6923 src/pyams_content.egg-info/requires.txt --- a/src/pyams_content.egg-info/requires.txt Thu Mar 22 14:52:22 2018 +0100 +++ b/src/pyams_content.egg-info/requires.txt Thu Mar 22 15:03:30 2018 +0100 @@ -25,6 +25,7 @@ transaction z3c.form z3c.table +zodbupdate zope.annotation zope.component zope.container