--- a/.installed.cfg Fri Oct 13 08:57:57 2017 +0200
+++ b/.installed.cfg Fri Oct 13 10:15:26 2017 +0200
@@ -6,54 +6,22 @@
/home/tflorac/Dropbox/src/PyAMS/pyams_file/develop-eggs/pyams-pagelet.egg-link
/home/tflorac/Dropbox/src/PyAMS/pyams_file/develop-eggs/pyams-viewlet.egg-link
/home/tflorac/Dropbox/src/PyAMS/pyams_file/develop-eggs/pyams-i18n.egg-link
+ /home/tflorac/Dropbox/src/PyAMS/pyams_file/develop-eggs/tmpkkcfh4ysbuild
/home/tflorac/Dropbox/src/PyAMS/pyams_file/develop-eggs/pyams-catalog.egg-link
/home/tflorac/Dropbox/src/PyAMS/pyams_file/develop-eggs/pyams-form.egg-link
/home/tflorac/Dropbox/src/PyAMS/pyams_file/develop-eggs/pyams-utils.egg-link
-parts = pyflakes test package i18n
-
-[pyflakes]
-__buildout_installed__ = /home/tflorac/Dropbox/src/PyAMS/pyams_file/bin/pyflakes
- /home/tflorac/Dropbox/src/PyAMS/pyams_file/bin/pyflakes
-__buildout_signature__ = zc.recipe.egg-2.0.3-py3.5.egg setuptools-e7e58fc36ac96295dcff9979007c0533 zc.buildout-2.9.3-py3.5.egg
-_b = /home/tflorac/Dropbox/src/PyAMS/pyams_file/bin
-_d = /home/tflorac/Dropbox/src/PyAMS/pyams_file/develop-eggs
-_e = /var/local/env/pyams/eggs
-bin-directory = /home/tflorac/Dropbox/src/PyAMS/pyams_file/bin
-develop-eggs-directory = /home/tflorac/Dropbox/src/PyAMS/pyams_file/develop-eggs
-eggs = pyflakes
-eggs-directory = /var/local/env/pyams/eggs
-entry-points = pyflakes=pyflakes.scripts.pyflakes:main
-find-links = http://download.ztfy.org/eggs
-initialization = if not sys.argv[1:]: sys.argv[1:] = ["src"]
-recipe = zc.recipe.egg
-scripts = pyflakes
-
-[test]
-__buildout_installed__ = /home/tflorac/Dropbox/src/PyAMS/pyams_file/parts/test
- /home/tflorac/Dropbox/src/PyAMS/pyams_file/bin/test
-__buildout_signature__ = zc.recipe.testrunner-2.0.0-py3.5.egg zc.recipe.egg-2.0.3-py3.5.egg setuptools-e7e58fc36ac96295dcff9979007c0533 zope.testrunner-4.7.0-py3.5.egg zc.buildout-2.9.3-py3.5.egg zope.interface-4.4.1-py3.5-linux-x86_64.egg zope.exceptions-4.1.0-py3.5.egg six-cda86838cf68ee677b66d4f7c5d5ea83
-_b = /home/tflorac/Dropbox/src/PyAMS/pyams_file/bin
-_d = /home/tflorac/Dropbox/src/PyAMS/pyams_file/develop-eggs
-_e = /var/local/env/pyams/eggs
-bin-directory = /home/tflorac/Dropbox/src/PyAMS/pyams_file/bin
-develop-eggs-directory = /home/tflorac/Dropbox/src/PyAMS/pyams_file/develop-eggs
-eggs = pyams_file [test]
-eggs-directory = /var/local/env/pyams/eggs
-find-links = http://download.ztfy.org/eggs
-location = /home/tflorac/Dropbox/src/PyAMS/pyams_file/parts/test
-recipe = zc.recipe.testrunner
-script = /home/tflorac/Dropbox/src/PyAMS/pyams_file/bin/test
+parts = package i18n pyflakes test
[package]
-__buildout_installed__ = /home/tflorac/Dropbox/src/PyAMS/pyams_file/bin/proutes
- /home/tflorac/Dropbox/src/PyAMS/pyams_file/bin/pviews
- /home/tflorac/Dropbox/src/PyAMS/pyams_file/bin/pcreate
+__buildout_installed__ = /home/tflorac/Dropbox/src/PyAMS/pyams_file/bin/prequest
/home/tflorac/Dropbox/src/PyAMS/pyams_file/bin/pserve
/home/tflorac/Dropbox/src/PyAMS/pyams_file/bin/ptweens
- /home/tflorac/Dropbox/src/PyAMS/pyams_file/bin/prequest
/home/tflorac/Dropbox/src/PyAMS/pyams_file/bin/pdistreport
+ /home/tflorac/Dropbox/src/PyAMS/pyams_file/bin/pcreate
+ /home/tflorac/Dropbox/src/PyAMS/pyams_file/bin/pviews
+ /home/tflorac/Dropbox/src/PyAMS/pyams_file/bin/proutes
/home/tflorac/Dropbox/src/PyAMS/pyams_file/bin/pshell
-__buildout_signature__ = zc.recipe.egg-2.0.3-py3.5.egg setuptools-e7e58fc36ac96295dcff9979007c0533 zc.buildout-2.9.3-py3.5.egg
+__buildout_signature__ = zc.recipe.egg-2.0.3-py3.5.egg zc.buildout-2.9.5-py3.5.egg setuptools-33.1.1-py3.5.egg
_b = /home/tflorac/Dropbox/src/PyAMS/pyams_file/bin
_d = /home/tflorac/Dropbox/src/PyAMS/pyams_file/develop-eggs
_e = /var/local/env/pyams/eggs
@@ -73,7 +41,7 @@
__buildout_installed__ = /home/tflorac/Dropbox/src/PyAMS/pyams_file/bin/pybabel
/home/tflorac/Dropbox/src/PyAMS/pyams_file/bin/pot-create
/home/tflorac/Dropbox/src/PyAMS/pyams_file/bin/polint
-__buildout_signature__ = zc.recipe.egg-2.0.3-py3.5.egg setuptools-e7e58fc36ac96295dcff9979007c0533 zc.buildout-2.9.3-py3.5.egg
+__buildout_signature__ = zc.recipe.egg-2.0.3-py3.5.egg zc.buildout-2.9.5-py3.5.egg setuptools-33.1.1-py3.5.egg
_b = /home/tflorac/Dropbox/src/PyAMS/pyams_file/bin
_d = /home/tflorac/Dropbox/src/PyAMS/pyams_file/develop-eggs
_e = /var/local/env/pyams/eggs
@@ -85,11 +53,38 @@
find-links = http://download.ztfy.org/eggs
recipe = zc.recipe.egg
-[buildout]
-parts = test package i18n pyflakes
+[pyflakes]
+__buildout_installed__ = /home/tflorac/Dropbox/src/PyAMS/pyams_file/bin/pyflakes
+ /home/tflorac/Dropbox/src/PyAMS/pyams_file/bin/pyflakes
+__buildout_signature__ = zc.recipe.egg-2.0.3-py3.5.egg zc.buildout-2.9.5-py3.5.egg setuptools-33.1.1-py3.5.egg
+_b = /home/tflorac/Dropbox/src/PyAMS/pyams_file/bin
+_d = /home/tflorac/Dropbox/src/PyAMS/pyams_file/develop-eggs
+_e = /var/local/env/pyams/eggs
+bin-directory = /home/tflorac/Dropbox/src/PyAMS/pyams_file/bin
+develop-eggs-directory = /home/tflorac/Dropbox/src/PyAMS/pyams_file/develop-eggs
+eggs = pyflakes
+eggs-directory = /var/local/env/pyams/eggs
+entry-points = pyflakes=pyflakes.scripts.pyflakes:main
+find-links = http://download.ztfy.org/eggs
+initialization = if not sys.argv[1:]: sys.argv[1:] = ["src"]
+recipe = zc.recipe.egg
+scripts = pyflakes
-[buildout]
-parts = package i18n pyflakes test
+[test]
+__buildout_installed__ = /home/tflorac/Dropbox/src/PyAMS/pyams_file/parts/test
+ /home/tflorac/Dropbox/src/PyAMS/pyams_file/bin/test
+__buildout_signature__ = six-b631ad1454a9f0e2bdac1167b5464291 zc.recipe.testrunner-2.0.0-py3.5.egg zc.recipe.egg-2.0.3-py3.5.egg zc.buildout-2.9.5-py3.5.egg zope.exceptions-4.1.0-py3.5.egg zope.interface-4.4.1-py3.5-linux-x86_64.egg zope.testrunner-4.7.0-py3.5.egg setuptools-33.1.1-py3.5.egg
+_b = /home/tflorac/Dropbox/src/PyAMS/pyams_file/bin
+_d = /home/tflorac/Dropbox/src/PyAMS/pyams_file/develop-eggs
+_e = /var/local/env/pyams/eggs
+bin-directory = /home/tflorac/Dropbox/src/PyAMS/pyams_file/bin
+develop-eggs-directory = /home/tflorac/Dropbox/src/PyAMS/pyams_file/develop-eggs
+eggs = pyams_file [test]
+eggs-directory = /var/local/env/pyams/eggs
+find-links = http://download.ztfy.org/eggs
+location = /home/tflorac/Dropbox/src/PyAMS/pyams_file/parts/test
+recipe = zc.recipe.testrunner
+script = /home/tflorac/Dropbox/src/PyAMS/pyams_file/bin/test
[buildout]
installed_develop_eggs = /home/tflorac/Dropbox/src/PyAMS/pyams_file/develop-eggs/pyams-file.egg-link
@@ -114,28 +109,3 @@
[buildout]
parts = package i18n pyflakes test
-
-[buildout]
-installed_develop_eggs = /home/tflorac/Dropbox/src/PyAMS/pyams_file/develop-eggs/pyams-file.egg-link
- /home/tflorac/Dropbox/src/PyAMS/pyams_file/develop-eggs/lingua.egg-link
- /home/tflorac/Dropbox/src/PyAMS/pyams_file/develop-eggs/pyams-template.egg-link
- /home/tflorac/Dropbox/src/PyAMS/pyams_file/develop-eggs/pyams-skin.egg-link
- /home/tflorac/Dropbox/src/PyAMS/pyams_file/develop-eggs/pyams-pagelet.egg-link
- /home/tflorac/Dropbox/src/PyAMS/pyams_file/develop-eggs/pyams-viewlet.egg-link
- /home/tflorac/Dropbox/src/PyAMS/pyams_file/develop-eggs/pyams-i18n.egg-link
- /home/tflorac/Dropbox/src/PyAMS/pyams_file/develop-eggs/tmp5vx5bnofbuild
- /home/tflorac/Dropbox/src/PyAMS/pyams_file/develop-eggs/pyams-catalog.egg-link
- /home/tflorac/Dropbox/src/PyAMS/pyams_file/develop-eggs/pyams-form.egg-link
- /home/tflorac/Dropbox/src/PyAMS/pyams_file/develop-eggs/pyams-utils.egg-link
-
-[buildout]
-parts = i18n pyflakes test package
-
-[buildout]
-parts = pyflakes test package i18n
-
-[buildout]
-parts = test package i18n pyflakes
-
-[buildout]
-parts = package i18n pyflakes test
--- a/buildout.cfg Fri Oct 13 08:57:57 2017 +0200
+++ b/buildout.cfg Fri Oct 13 10:15:26 2017 +0200
@@ -69,4 +69,4 @@
eggs = pyams_file [test]
[versions]
-pyams_file = 0.1.8
+pyams_file = 0.1.9
--- a/docs/HISTORY.txt Fri Oct 13 08:57:57 2017 +0200
+++ b/docs/HISTORY.txt Fri Oct 13 10:15:26 2017 +0200
@@ -1,6 +1,13 @@
History
=======
+0.1.9
+-----
+ - added support to access file preview from input or display widget
+ - added timestamp to file download links to avoid browser caching
+ - reduced thumbnail height in selection forms
+ - updated file and image widgets templates
+
0.1.8
-----
- updated thumbnail URL in standard file display widget
@@ -54,4 +61,3 @@
0.1.0
-----
- initial release
-
--- a/setup.py Fri Oct 13 08:57:57 2017 +0200
+++ b/setup.py Fri Oct 13 10:15:26 2017 +0200
@@ -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 = []
--- a/src/pyams_file.egg-info/PKG-INFO Fri Oct 13 08:57:57 2017 +0200
+++ b/src/pyams_file.egg-info/PKG-INFO Fri Oct 13 10:15:26 2017 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: pyams-file
-Version: 0.1.8
+Version: 0.1.9
Summary: PyAMS file interfaces and classes
Home-page: http://hg.ztfy.org/pyams/pyams_file
Author: Thierry Florac
@@ -11,6 +11,13 @@
History
=======
+ 0.1.9
+ -----
+ - added support to access file preview from input or display widget
+ - added timestamp to file download links to avoid browser caching
+ - reduced thumbnail height in selection forms
+ - updated file and image widgets templates
+
0.1.8
-----
- updated thumbnail URL in standard file display widget
@@ -65,7 +72,6 @@
-----
- initial release
-
Keywords: Pyramid PyAMS file
Platform: UNKNOWN
Classifier: License :: OSI Approved :: Zope Public License
Binary file src/pyams_file/locales/fr/LC_MESSAGES/pyams_file.mo has changed
--- a/src/pyams_file/locales/fr/LC_MESSAGES/pyams_file.po Fri Oct 13 08:57:57 2017 +0200
+++ b/src/pyams_file/locales/fr/LC_MESSAGES/pyams_file.po Fri Oct 13 10:15:26 2017 +0200
@@ -76,7 +76,7 @@
#: src/pyams_file/widget/templates/file-input.pt:41
#: src/pyams_file/widget/templates/file-display.pt:17
msgid "Download"
-msgstr "Télécharger"
+msgstr "Ouvrir"
#: src/pyams_file/widget/templates/image-input.pt:7
#: src/pyams_file/widget/templates/file-input.pt:7