Version 0.1.25 0.1.25
authorThierry Florac <thierry.florac@onf.fr>
Fri, 28 Dec 2018 10:56:13 +0100
changeset 165 005ff4a2d39a
parent 164 69b4c4fb6cac
child 166 1201c71533c5
Version 0.1.25
.installed.cfg
buildout.cfg
docs/HISTORY.txt
setup.py
src/pyams_file.egg-info/PKG-INFO
src/pyams_file.egg-info/SOURCES.txt
src/pyams_file/locales/fr/LC_MESSAGES/pyams_file.po~
--- a/.installed.cfg	Fri Dec 21 16:44:55 2018 +0100
+++ b/.installed.cfg	Fri Dec 28 10:56:13 2018 +0100
@@ -6,21 +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/tmpb1a1bxy5build
 	/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 = package i18n pyflakes test
 
 [package]
-__buildout_installed__ = /home/tflorac/Dropbox/src/PyAMS/pyams_file/bin/pviews
-	/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/pcreate
+__buildout_installed__ = /home/tflorac/Dropbox/src/PyAMS/pyams_file/bin/pdistreport
+	/home/tflorac/Dropbox/src/PyAMS/pyams_file/bin/pviews
 	/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/ptweens
+	/home/tflorac/Dropbox/src/PyAMS/pyams_file/bin/proutes
+	/home/tflorac/Dropbox/src/PyAMS/pyams_file/bin/pserve
 	/home/tflorac/Dropbox/src/PyAMS/pyams_file/bin/pshell
-	/home/tflorac/Dropbox/src/PyAMS/pyams_file/bin/proutes
-__buildout_signature__ = zc.recipe.egg-f634d39fdc0b907ffce64cc8d2553c3f zc.buildout-f634d39fdc0b907ffce64cc8d2553c3f setuptools-f634d39fdc0b907ffce64cc8d2553c3f
+	/home/tflorac/Dropbox/src/PyAMS/pyams_file/bin/pcreate
+__buildout_signature__ = zc.recipe.egg-739dd41a64ab45a8ff4f654525d67856 zc.buildout-739dd41a64ab45a8ff4f654525d67856 setuptools-739dd41a64ab45a8ff4f654525d67856
 _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
@@ -40,7 +41,7 @@
 __buildout_installed__ = /home/tflorac/Dropbox/src/PyAMS/pyams_file/bin/pybabel
 	/home/tflorac/Dropbox/src/PyAMS/pyams_file/bin/polint
 	/home/tflorac/Dropbox/src/PyAMS/pyams_file/bin/pot-create
-__buildout_signature__ = zc.recipe.egg-f634d39fdc0b907ffce64cc8d2553c3f zc.buildout-f634d39fdc0b907ffce64cc8d2553c3f setuptools-f634d39fdc0b907ffce64cc8d2553c3f
+__buildout_signature__ = zc.recipe.egg-739dd41a64ab45a8ff4f654525d67856 zc.buildout-739dd41a64ab45a8ff4f654525d67856 setuptools-739dd41a64ab45a8ff4f654525d67856
 _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
@@ -55,7 +56,7 @@
 [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-f634d39fdc0b907ffce64cc8d2553c3f zc.buildout-f634d39fdc0b907ffce64cc8d2553c3f setuptools-f634d39fdc0b907ffce64cc8d2553c3f
+__buildout_signature__ = zc.recipe.egg-739dd41a64ab45a8ff4f654525d67856 zc.buildout-739dd41a64ab45a8ff4f654525d67856 setuptools-739dd41a64ab45a8ff4f654525d67856
 _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
@@ -72,7 +73,7 @@
 [test]
 __buildout_installed__ = /home/tflorac/Dropbox/src/PyAMS/pyams_file/parts/test
 	/home/tflorac/Dropbox/src/PyAMS/pyams_file/bin/test
-__buildout_signature__ = six-f634d39fdc0b907ffce64cc8d2553c3f zc.recipe.testrunner-f634d39fdc0b907ffce64cc8d2553c3f zc.recipe.egg-f634d39fdc0b907ffce64cc8d2553c3f zc.buildout-f634d39fdc0b907ffce64cc8d2553c3f zope.exceptions-f634d39fdc0b907ffce64cc8d2553c3f zope.interface-f634d39fdc0b907ffce64cc8d2553c3f zope.testrunner-f634d39fdc0b907ffce64cc8d2553c3f setuptools-f634d39fdc0b907ffce64cc8d2553c3f
+__buildout_signature__ = six-739dd41a64ab45a8ff4f654525d67856 zc.recipe.testrunner-739dd41a64ab45a8ff4f654525d67856 zc.recipe.egg-739dd41a64ab45a8ff4f654525d67856 zc.buildout-739dd41a64ab45a8ff4f654525d67856 zope.exceptions-739dd41a64ab45a8ff4f654525d67856 zope.interface-739dd41a64ab45a8ff4f654525d67856 zope.testrunner-739dd41a64ab45a8ff4f654525d67856 setuptools-739dd41a64ab45a8ff4f654525d67856
 _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
@@ -84,51 +85,3 @@
 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
-	/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/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
-
-[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/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 Dec 21 16:44:55 2018 +0100
+++ b/buildout.cfg	Fri Dec 28 10:56:13 2018 +0100
@@ -69,4 +69,4 @@
 eggs = pyams_file [test]
 
 [versions]
-pyams_file = 0.1.24
+pyams_file = 0.1.25
--- a/docs/HISTORY.txt	Fri Dec 21 16:44:55 2018 +0100
+++ b/docs/HISTORY.txt	Fri Dec 28 10:56:13 2018 +0100
@@ -1,6 +1,11 @@
 History
 =======
 
+0.1.25
+------
+ - added inner editor for text and SVG files
+ - moved "picture" TALES extension to new "skin" module
+
 0.1.24
 ------
  - applied CSS class to image tag instead of picture tag in TALES "picture" extension
--- a/setup.py	Fri Dec 21 16:44:55 2018 +0100
+++ b/setup.py	Fri Dec 28 10:56:13 2018 +0100
@@ -22,7 +22,7 @@
 README = os.path.join(DOCS, 'README.txt')
 HISTORY = os.path.join(DOCS, 'HISTORY.txt')
 
-version = '0.1.24'
+version = '0.1.25'
 long_description = open(README).read() + '\n\n' + open(HISTORY).read()
 
 tests_require = []
--- a/src/pyams_file.egg-info/PKG-INFO	Fri Dec 21 16:44:55 2018 +0100
+++ b/src/pyams_file.egg-info/PKG-INFO	Fri Dec 28 10:56:13 2018 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: pyams-file
-Version: 0.1.24
+Version: 0.1.25
 Summary: PyAMS file interfaces and classes
 Home-page: http://hg.ztfy.org/pyams/pyams_file
 Author: Thierry Florac
@@ -11,6 +11,11 @@
         History
         =======
         
+        0.1.25
+        ------
+         - added inner editor for text and SVG files
+         - moved "picture" TALES extension to new "skin" module
+        
         0.1.24
         ------
          - applied CSS class to image tag instead of picture tag in TALES "picture" extension
--- a/src/pyams_file.egg-info/SOURCES.txt	Fri Dec 21 16:44:55 2018 +0100
+++ b/src/pyams_file.egg-info/SOURCES.txt	Fri Dec 28 10:56:13 2018 +0100
@@ -30,8 +30,9 @@
 src/pyams_file/locales/pyams_file.pot
 src/pyams_file/locales/fr/LC_MESSAGES/pyams_file.mo
 src/pyams_file/locales/fr/LC_MESSAGES/pyams_file.po
-src/pyams_file/templates/picture.pt
-src/pyams_file/templates/svg-picture.pt
+src/pyams_file/skin/__init__.py
+src/pyams_file/skin/templates/picture.pt
+src/pyams_file/skin/templates/svg-picture.pt
 src/pyams_file/tests/__init__.py
 src/pyams_file/tests/test_utilsdocs.py
 src/pyams_file/tests/test_utilsdocstrings.py
--- a/src/pyams_file/locales/fr/LC_MESSAGES/pyams_file.po~	Fri Dec 21 16:44:55 2018 +0100
+++ b/src/pyams_file/locales/fr/LC_MESSAGES/pyams_file.po~	Fri Dec 28 10:56:13 2018 +0100
@@ -5,7 +5,7 @@
 msgid ""
 msgstr ""
 "Project-Id-Version: PACKAGE 1.0\n"
-"POT-Creation-Date: 2018-11-28 17:19+0100\n"
+"POT-Creation-Date: 2018-12-20 18:42+0100\n"
 "PO-Revision-Date: 2015-02-06 21:39+0100\n"
 "Last-Translator: Thierry Florac <tflorac@ulthar.net>\n"
 "Language-Team: French\n"
@@ -16,82 +16,108 @@
 "Generated-By: Lingua 3.8\n"
 "Plural-Forms: nplurals=2; plural=(n > 1);\n"
 
-#: src/pyams_file/image.py:51 src/pyams_file/image.py:52
+#: src/pyams_file/image.py:49 src/pyams_file/image.py:50
 msgid "Default thumbnail"
 msgstr "Vignette par défaut"
 
-#: src/pyams_file/image.py:100
+#: src/pyams_file/image.py:98
 msgid "Custom selections"
 msgstr "Sélections spécifiques"
 
-#: src/pyams_file/image.py:176
+#: src/pyams_file/image.py:174
 msgid "Portrait thumbnail"
 msgstr "Vignette portrait"
 
-#: src/pyams_file/image.py:186
+#: src/pyams_file/image.py:184
 msgid "Square thumbnail"
 msgstr "Vignette carrée"
 
-#: src/pyams_file/image.py:196
+#: src/pyams_file/image.py:194
 msgid "Panoramic thumbnail"
 msgstr "Vignette panoramique"
 
-#: src/pyams_file/image.py:213
+#: src/pyams_file/image.py:211
 msgid "Banner thumbnail"
 msgstr "Bandeau"
 
-#: src/pyams_file/image.py:222
+#: src/pyams_file/image.py:220
 msgid "Responsive selections"
 msgstr "Sélections responsives"
 
-#: src/pyams_file/image.py:229
+#: src/pyams_file/image.py:227
 msgid "Smartphone thumbnail"
 msgstr "Smartphone"
 
-#: src/pyams_file/image.py:237
+#: src/pyams_file/image.py:235
 msgid "Tablet thumbnail"
 msgstr "Tablette"
 
-#: src/pyams_file/image.py:245
+#: src/pyams_file/image.py:243
 msgid "Medium screen thumbnail"
 msgstr "Terminaux moyens"
 
-#: src/pyams_file/image.py:253
+#: src/pyams_file/image.py:251
 msgid "Large screen thumbnail"
 msgstr "Grands terminaux"
 
-#: src/pyams_file/interfaces/__init__.py:110
-msgid "Title"
-msgstr "Titre"
+#: src/pyams_file/widget/templates/media-input.pt:7
+#: src/pyams_file/widget/templates/file-input.pt:7
+msgid "Browse..."
+msgstr "Parcourir..."
+
+#: src/pyams_file/widget/templates/media-input.pt:8
+#: src/pyams_file/widget/templates/file-input.pt:8
+msgid "Please select a file..."
+msgstr "Veuillez sélectionner un fichier..."
+
+#: src/pyams_file/widget/templates/media-input.pt:19
+#: src/pyams_file/widget/templates/file-input.pt:19
+msgid "Delete content"
+msgstr "Supprimer ce contenu"
 
-#: src/pyams_file/interfaces/__init__.py:113
-msgid "Description"
-msgstr "Description"
+#: src/pyams_file/widget/templates/media-input.pt:27
+#: src/pyams_file/widget/templates/media-input.pt:62
+#: src/pyams_file/widget/templates/media-input.pt:93
+#: src/pyams_file/widget/templates/file-input.pt:31
+#: src/pyams_file/widget/templates/file-display.pt:14
+#: src/pyams_file/widget/templates/media-display.pt:10
+#: src/pyams_file/widget/templates/media-display.pt:38
+#: src/pyams_file/widget/templates/media-display.pt:62
+msgid "Current value:"
+msgstr "Contenu actuel :"
 
-#: src/pyams_file/interfaces/__init__.py:116
-msgid "Save file as..."
+#: src/pyams_file/widget/templates/media-input.pt:42
+#: src/pyams_file/widget/templates/media-input.pt:79
+#: src/pyams_file/widget/templates/media-input.pt:108
+#: src/pyams_file/widget/templates/file-input.pt:45
+#: src/pyams_file/widget/templates/file-display.pt:21
+#: src/pyams_file/widget/templates/media-display.pt:19
+#: src/pyams_file/widget/templates/media-display.pt:49
+#: src/pyams_file/widget/templates/media-display.pt:70
+msgid "Download"
 msgstr "Enregistrer sous..."
 
-#: src/pyams_file/interfaces/__init__.py:117
-msgid "Name under which the file will be saved"
-msgstr "Nom proposé automatiquement lors de l'enregistrement du fichier"
-
-#: src/pyams_file/interfaces/__init__.py:120
-msgid "Language"
-msgstr "Langue"
-
-#: src/pyams_file/interfaces/__init__.py:121
-msgid "File's content language"
-msgstr "Langue du contenu du fichier"
+#: src/pyams_file/widget/templates/media-input.pt:54
+#: src/pyams_file/widget/templates/media-display.pt:30
+msgid "Zoom image"
+msgstr "Agrandir l'image"
 
 #: src/pyams_file/zmi/file.py:42
 msgid "Properties..."
 msgstr "Propriétés"
 
-#: src/pyams_file/zmi/file.py:56
+#: src/pyams_file/zmi/file.py:57
 msgid "Update file properties"
 msgstr "Mise à jour des propriétés"
 
+#: src/pyams_file/zmi/file.py:92
+msgid "Edit file..."
+msgstr "Éditer le contenu"
+
+#: src/pyams_file/zmi/file.py:108
+msgid "Edit file content"
+msgstr "Editer le contenu du fichier"
+
 #: src/pyams_file/zmi/image.py:120
 msgid "Rotate image to right..."
 msgstr "Tourner l'image vers la droite"
@@ -325,47 +351,29 @@
 "L'image sera redimensionnée (sans jamais être agrandie !) pour être aussi "
 "grande que possible en fonction des contraintes indiquées."
 
-#: src/pyams_file/widget/templates/media-input.pt:7
-#: src/pyams_file/widget/templates/file-input.pt:7
-msgid "Browse..."
-msgstr "Parcourir..."
-
-#: src/pyams_file/widget/templates/media-input.pt:8
-#: src/pyams_file/widget/templates/file-input.pt:8
-msgid "Please select a file..."
-msgstr "Veuillez sélectionner un fichier..."
-
-#: src/pyams_file/widget/templates/media-input.pt:19
-#: src/pyams_file/widget/templates/file-input.pt:19
-msgid "Delete content"
-msgstr "Supprimer ce contenu"
+#: src/pyams_file/interfaces/__init__.py:110
+msgid "Title"
+msgstr "Titre"
 
-#: src/pyams_file/widget/templates/media-input.pt:27
-#: src/pyams_file/widget/templates/media-input.pt:62
-#: src/pyams_file/widget/templates/media-input.pt:93
-#: src/pyams_file/widget/templates/media-display.pt:10
-#: src/pyams_file/widget/templates/media-display.pt:38
-#: src/pyams_file/widget/templates/media-display.pt:62
-#: src/pyams_file/widget/templates/file-input.pt:31
-#: src/pyams_file/widget/templates/file-display.pt:14
-msgid "Current value:"
-msgstr "Contenu actuel :"
+#: src/pyams_file/interfaces/__init__.py:113
+msgid "Description"
+msgstr "Description"
 
-#: src/pyams_file/widget/templates/media-input.pt:42
-#: src/pyams_file/widget/templates/media-input.pt:79
-#: src/pyams_file/widget/templates/media-input.pt:108
-#: src/pyams_file/widget/templates/media-display.pt:19
-#: src/pyams_file/widget/templates/media-display.pt:49
-#: src/pyams_file/widget/templates/media-display.pt:70
-#: src/pyams_file/widget/templates/file-input.pt:45
-#: src/pyams_file/widget/templates/file-display.pt:21
-msgid "Download"
+#: src/pyams_file/interfaces/__init__.py:116
+msgid "Save file as..."
 msgstr "Enregistrer sous..."
 
-#: src/pyams_file/widget/templates/media-input.pt:54
-#: src/pyams_file/widget/templates/media-display.pt:30
-msgid "Zoom image"
-msgstr "Agrandir l'image"
+#: src/pyams_file/interfaces/__init__.py:117
+msgid "Name under which the file will be saved"
+msgstr "Nom proposé automatiquement lors de l'enregistrement du fichier"
+
+#: src/pyams_file/interfaces/__init__.py:120
+msgid "Language"
+msgstr "Langue"
+
+#: src/pyams_file/interfaces/__init__.py:121
+msgid "File's content language"
+msgstr "Langue du contenu du fichier"
 
 #~ msgid "${size} Kb"
 #~ msgstr "${size} Ko"