Version 0.1.9 0.1.9
authorThierry Florac <thierry.florac@onf.fr>
Fri, 26 Jan 2018 17:31:56 +0100
changeset 54 1df498497961
parent 53 cda141a3f551
child 55 6136b4554c19
Version 0.1.9
.installed.cfg
buildout.cfg
docs/HISTORY.txt
setup.py
src/pyams_workflow.egg-info/PKG-INFO
src/pyams_workflow.egg-info/SOURCES.txt
src/pyams_workflow/locales/fr/LC_MESSAGES/pyams_workflow.mo
src/pyams_workflow/locales/fr/LC_MESSAGES/pyams_workflow.po
src/pyams_workflow/resources/js/workflow.js
src/pyams_workflow/resources/js/workflow.min.js
--- a/.installed.cfg	Fri Jan 26 16:36:04 2018 +0100
+++ b/.installed.cfg	Fri Jan 26 17:31:56 2018 +0100
@@ -9,6 +9,7 @@
 	/home/tflorac/Dropbox/src/PyAMS/pyams_workflow/develop-eggs/pyams-viewlet.egg-link
 	/home/tflorac/Dropbox/src/PyAMS/pyams_workflow/develop-eggs/pyams-i18n.egg-link
 	/home/tflorac/Dropbox/src/PyAMS/pyams_workflow/develop-eggs/pyams-mail.egg-link
+	/home/tflorac/Dropbox/src/PyAMS/pyams_workflow/develop-eggs/tmp3xdiq9_mbuild
 	/home/tflorac/Dropbox/src/PyAMS/pyams_workflow/develop-eggs/pyams-zmi.egg-link
 	/home/tflorac/Dropbox/src/PyAMS/pyams_workflow/develop-eggs/pyams-zmq.egg-link
 	/home/tflorac/Dropbox/src/PyAMS/pyams_workflow/develop-eggs/pyams-catalog.egg-link
@@ -18,15 +19,15 @@
 
 [package]
 __buildout_installed__ = /home/tflorac/Dropbox/src/PyAMS/pyams_workflow/bin/pyams_upgrade
+	/home/tflorac/Dropbox/src/PyAMS/pyams_workflow/bin/pcreate
+	/home/tflorac/Dropbox/src/PyAMS/pyams_workflow/bin/ptweens
+	/home/tflorac/Dropbox/src/PyAMS/pyams_workflow/bin/pdistreport
 	/home/tflorac/Dropbox/src/PyAMS/pyams_workflow/bin/pshell
-	/home/tflorac/Dropbox/src/PyAMS/pyams_workflow/bin/pserve
-	/home/tflorac/Dropbox/src/PyAMS/pyams_workflow/bin/ptweens
-	/home/tflorac/Dropbox/src/PyAMS/pyams_workflow/bin/prequest
 	/home/tflorac/Dropbox/src/PyAMS/pyams_workflow/bin/proutes
-	/home/tflorac/Dropbox/src/PyAMS/pyams_workflow/bin/pcreate
+	/home/tflorac/Dropbox/src/PyAMS/pyams_workflow/bin/pserve
 	/home/tflorac/Dropbox/src/PyAMS/pyams_workflow/bin/pviews
-	/home/tflorac/Dropbox/src/PyAMS/pyams_workflow/bin/pdistreport
-__buildout_signature__ = zc.recipe.egg-2d3d5cf01fdef092e9fa5e150cc1efc3 setuptools-2d3d5cf01fdef092e9fa5e150cc1efc3 zc.buildout-2d3d5cf01fdef092e9fa5e150cc1efc3
+	/home/tflorac/Dropbox/src/PyAMS/pyams_workflow/bin/prequest
+__buildout_signature__ = zc.recipe.egg-c59f466447bdb5f7711aee18447bf4ed zc.buildout-c59f466447bdb5f7711aee18447bf4ed setuptools-c59f466447bdb5f7711aee18447bf4ed
 _b = /home/tflorac/Dropbox/src/PyAMS/pyams_workflow/bin
 _d = /home/tflorac/Dropbox/src/PyAMS/pyams_workflow/develop-eggs
 _e = /var/local/env/pyams/eggs
@@ -51,7 +52,7 @@
 __buildout_installed__ = /home/tflorac/Dropbox/src/PyAMS/pyams_workflow/bin/pybabel
 	/home/tflorac/Dropbox/src/PyAMS/pyams_workflow/bin/pot-create
 	/home/tflorac/Dropbox/src/PyAMS/pyams_workflow/bin/polint
-__buildout_signature__ = zc.recipe.egg-2d3d5cf01fdef092e9fa5e150cc1efc3 setuptools-2d3d5cf01fdef092e9fa5e150cc1efc3 zc.buildout-2d3d5cf01fdef092e9fa5e150cc1efc3
+__buildout_signature__ = zc.recipe.egg-c59f466447bdb5f7711aee18447bf4ed zc.buildout-c59f466447bdb5f7711aee18447bf4ed setuptools-c59f466447bdb5f7711aee18447bf4ed
 _b = /home/tflorac/Dropbox/src/PyAMS/pyams_workflow/bin
 _d = /home/tflorac/Dropbox/src/PyAMS/pyams_workflow/develop-eggs
 _e = /var/local/env/pyams/eggs
@@ -66,7 +67,7 @@
 [pyflakes]
 __buildout_installed__ = /home/tflorac/Dropbox/src/PyAMS/pyams_workflow/bin/pyflakes
 	/home/tflorac/Dropbox/src/PyAMS/pyams_workflow/bin/pyflakes
-__buildout_signature__ = zc.recipe.egg-2d3d5cf01fdef092e9fa5e150cc1efc3 setuptools-2d3d5cf01fdef092e9fa5e150cc1efc3 zc.buildout-2d3d5cf01fdef092e9fa5e150cc1efc3
+__buildout_signature__ = zc.recipe.egg-c59f466447bdb5f7711aee18447bf4ed zc.buildout-c59f466447bdb5f7711aee18447bf4ed setuptools-c59f466447bdb5f7711aee18447bf4ed
 _b = /home/tflorac/Dropbox/src/PyAMS/pyams_workflow/bin
 _d = /home/tflorac/Dropbox/src/PyAMS/pyams_workflow/develop-eggs
 _e = /var/local/env/pyams/eggs
@@ -83,7 +84,7 @@
 [test]
 __buildout_installed__ = /home/tflorac/Dropbox/src/PyAMS/pyams_workflow/parts/test
 	/home/tflorac/Dropbox/src/PyAMS/pyams_workflow/bin/test
-__buildout_signature__ = zc.recipe.testrunner-2d3d5cf01fdef092e9fa5e150cc1efc3 zc.recipe.egg-2d3d5cf01fdef092e9fa5e150cc1efc3 setuptools-2d3d5cf01fdef092e9fa5e150cc1efc3 zope.testrunner-2d3d5cf01fdef092e9fa5e150cc1efc3 zc.buildout-2d3d5cf01fdef092e9fa5e150cc1efc3 zope.interface-2d3d5cf01fdef092e9fa5e150cc1efc3 zope.exceptions-2d3d5cf01fdef092e9fa5e150cc1efc3 six-2d3d5cf01fdef092e9fa5e150cc1efc3
+__buildout_signature__ = six-c59f466447bdb5f7711aee18447bf4ed zc.recipe.testrunner-c59f466447bdb5f7711aee18447bf4ed zc.recipe.egg-c59f466447bdb5f7711aee18447bf4ed zc.buildout-c59f466447bdb5f7711aee18447bf4ed zope.exceptions-c59f466447bdb5f7711aee18447bf4ed zope.interface-c59f466447bdb5f7711aee18447bf4ed zope.testrunner-c59f466447bdb5f7711aee18447bf4ed setuptools-c59f466447bdb5f7711aee18447bf4ed
 _b = /home/tflorac/Dropbox/src/PyAMS/pyams_workflow/bin
 _d = /home/tflorac/Dropbox/src/PyAMS/pyams_workflow/develop-eggs
 _e = /var/local/env/pyams/eggs
--- a/buildout.cfg	Fri Jan 26 16:36:04 2018 +0100
+++ b/buildout.cfg	Fri Jan 26 17:31:56 2018 +0100
@@ -79,4 +79,4 @@
 eggs = pyams_workflow [test]
 
 [versions]
-pyams_workflow = 0.1.8
+pyams_workflow = 0.1.9
--- a/docs/HISTORY.txt	Fri Jan 26 16:36:04 2018 +0100
+++ b/docs/HISTORY.txt	Fri Jan 26 17:31:56 2018 +0100
@@ -1,6 +1,11 @@
 History
 =======
 
+0.1.9
+-----
+ - moved content "transitions" viewlet to dedicated module
+ - removed unused resources
+
 0.1.8
 -----
  - updated content's is_visible/is_published tests
--- a/setup.py	Fri Jan 26 16:36:04 2018 +0100
+++ b/setup.py	Fri Jan 26 17:31:56 2018 +0100
@@ -22,7 +22,7 @@
 README = os.path.join(DOCS, 'README.txt')
 HISTORY = os.path.join(DOCS, 'HISTORY.txt')
 
-version = '0.1.8'
+version = '0.1.9'
 long_description = open(README).read() + '\n\n' + open(HISTORY).read()
 
 tests_require = []
@@ -69,8 +69,4 @@
           'zope.copy',
           'zope.interface',
       ],
-      entry_points={
-          'fanstatic.libraries': [
-              'pyams_workflow = pyams_workflow:library'
-          ]
-      })
+      entry_points={})
--- a/src/pyams_workflow.egg-info/PKG-INFO	Fri Jan 26 16:36:04 2018 +0100
+++ b/src/pyams_workflow.egg-info/PKG-INFO	Fri Jan 26 17:31:56 2018 +0100
@@ -1,16 +1,22 @@
 Metadata-Version: 1.1
 Name: pyams-workflow
-Version: 0.1.8
+Version: 0.1.9
 Summary: PyAMS workflow manager
 Home-page: http://hg.ztfy.org/pyams/pyams_workflow
 Author: Thierry Florac
 Author-email: tflorac@ulthar.net
 License: ZPL
+Description-Content-Type: UNKNOWN
 Description: 
         
         History
         =======
         
+        0.1.9
+        -----
+         - moved content "transitions" viewlet to dedicated module
+         - removed unused resources
+        
         0.1.8
         -----
          - updated content's is_visible/is_published tests
--- a/src/pyams_workflow.egg-info/SOURCES.txt	Fri Jan 26 16:36:04 2018 +0100
+++ b/src/pyams_workflow.egg-info/SOURCES.txt	Fri Jan 26 17:31:56 2018 +0100
@@ -10,7 +10,6 @@
 src/pyams_workflow.egg-info/PKG-INFO
 src/pyams_workflow.egg-info/SOURCES.txt
 src/pyams_workflow.egg-info/dependency_links.txt
-src/pyams_workflow.egg-info/entry_points.txt
 src/pyams_workflow.egg-info/namespace_packages.txt
 src/pyams_workflow.egg-info/not-zip-safe
 src/pyams_workflow.egg-info/requires.txt
@@ -20,9 +19,6 @@
 src/pyams_workflow/locales/pyams_workflow.pot
 src/pyams_workflow/locales/fr/LC_MESSAGES/pyams_workflow.mo
 src/pyams_workflow/locales/fr/LC_MESSAGES/pyams_workflow.po
-src/pyams_workflow/resources/js/workflow.js
-src/pyams_workflow/resources/js/workflow.min.js
-src/pyams_workflow/resources/js/workflow.min.min.js
 src/pyams_workflow/tests/__init__.py
 src/pyams_workflow/tests/test_utilsdocs.py
 src/pyams_workflow/tests/test_utilsdocstrings.py
@@ -30,7 +26,7 @@
 src/pyams_workflow/zmi/interfaces.py
 src/pyams_workflow/zmi/transition.py
 src/pyams_workflow/zmi/versions.py
-src/pyams_workflow/zmi/workflow.py
 src/pyams_workflow/zmi/viewlet/__init__.py
+src/pyams_workflow/zmi/viewlet/transitions.py
 src/pyams_workflow/zmi/viewlet/versions.py
 src/pyams_workflow/zmi/viewlet/templates/versions.pt
\ No newline at end of file
Binary file src/pyams_workflow/locales/fr/LC_MESSAGES/pyams_workflow.mo has changed
--- a/src/pyams_workflow/locales/fr/LC_MESSAGES/pyams_workflow.po	Fri Jan 26 16:36:04 2018 +0100
+++ b/src/pyams_workflow/locales/fr/LC_MESSAGES/pyams_workflow.po	Fri Jan 26 17:31:56 2018 +0100
@@ -81,7 +81,7 @@
 
 #: src/pyams_workflow/interfaces/__init__.py:398
 msgid "Display current version date"
-msgstr "Date de publication de cette version"
+msgstr "Date de publication de cette nouvelle version"
 
 #: src/pyams_workflow/interfaces/__init__.py:307
 msgid "Version ID"
--- a/src/pyams_workflow/resources/js/workflow.js	Fri Jan 26 16:36:04 2018 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,54 +0,0 @@
-(function($, globals) {
-
-	'use strict';
-
-	var MyAMS = globals.MyAMS;
-	var PyAMS_workflow = {
-
-		/**
-		 * Versions list management
-		 */
-		versions_list: {
-
-			switchVersions: function() {
-				return function() {
-					var versions = $(this).siblings('ul.versions');
-					if (versions.hasClass('hidden')) {
-						versions.removeClass('hidden');
-						$(this).removeClass('fa-caret-right')
-							   .addClass('fa-caret-down');
-					} else {
-						versions.addClass('hidden');
-						$(this).removeClass('fa-caret-down')
-							   .addClass('fa-caret-right');
-					}
-				};
-			},
-
-			switchAllVersions: function() {
-				return function() {
-					var link = $(this);
-					var versions = link.siblings('ul.old_versions');
-					if (versions.hasClass('hidden')) {
-						$('i', link).removeClass('fa-caret-right')
-									.addClass('fa-spin fa-gear');
-						var location = link.parents('[data-ams-location]').data('ams-location');
-						var element_name = link.parents('tr').data('ams-element-name');
-						MyAMS.skin.loadURL(location + '/get-old-versions.html?element_name=' + element_name, versions, {
-							afterLoadCallback: function() {
-								$('i', link).removeClass('fa-spin fa-gear')
-											.addClass('fa-caret-down');
-							}
-						});
-					} else {
-						versions.addClass('hidden');
-						$('i', link).removeClass('fa-caret-down')
-									.addClass('fa-caret-right');
-					}
-				};
-			}
-		}
-	};
-	globals.PyAMS_workflow = PyAMS_workflow;
-
-})(jQuery, this);
--- a/src/pyams_workflow/resources/js/workflow.min.js	Fri Jan 26 16:36:04 2018 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-(function(c,b){var d=b.MyAMS;var a={versions_list:{switchVersions:function(){return function(){var e=c(this).siblings("ul.versions");if(e.hasClass("hidden")){e.removeClass("hidden");c(this).removeClass("fa-caret-right").addClass("fa-caret-down")}else{e.addClass("hidden");c(this).removeClass("fa-caret-down").addClass("fa-caret-right")}}},switchAllVersions:function(){return function(){var g=c(this);var e=g.siblings("ul.old_versions");if(e.hasClass("hidden")){c("i",g).removeClass("fa-caret-right").addClass("fa-spin fa-gear");var f=g.parents("[data-ams-location]").data("ams-location");var h=g.parents("tr").data("ams-element-name");d.skin.loadURL(f+"/get-old-versions.html?element_name="+h,e,{afterLoadCallback:function(){c("i",g).removeClass("fa-spin fa-gear").addClass("fa-caret-down")}})}else{e.addClass("hidden");c("i",g).removeClass("fa-caret-down").addClass("fa-caret-right")}}}}};b.PyAMS_workflow=a})(jQuery,this);
\ No newline at end of file