[Checkins] SVN: z3c.blobfile/tags/0.1.2/ Tag 0.1.2

Dan Korostelev nadako at gmail.com
Thu Sep 11 06:15:24 EDT 2008


Log message for revision 91056:
  Tag 0.1.2

Changed:
  A   z3c.blobfile/tags/0.1.2/
  D   z3c.blobfile/tags/0.1.2/CHANGES.txt
  A   z3c.blobfile/tags/0.1.2/CHANGES.txt
  U   z3c.blobfile/tags/0.1.2/setup.py
  D   z3c.blobfile/tags/0.1.2/src/z3c/blobfile/browser/file_add.pt
  A   z3c.blobfile/tags/0.1.2/src/z3c/blobfile/browser/file_add.pt
  D   z3c.blobfile/tags/0.1.2/src/z3c/blobfile/browser/file_upload.pt
  A   z3c.blobfile/tags/0.1.2/src/z3c/blobfile/browser/file_upload.pt

-=-
Copied: z3c.blobfile/tags/0.1.2 (from rev 91054, z3c.blobfile/trunk)


Property changes on: z3c.blobfile/tags/0.1.2
___________________________________________________________________
Name: svn:ignore
   + bin
parts
.installed.cfg
.project
.pydevproject
dist


Deleted: z3c.blobfile/tags/0.1.2/CHANGES.txt
===================================================================
--- z3c.blobfile/trunk/CHANGES.txt	2008-09-11 08:46:20 UTC (rev 91054)
+++ z3c.blobfile/tags/0.1.2/CHANGES.txt	2008-09-11 10:15:24 UTC (rev 91056)
@@ -1,22 +0,0 @@
-=======
-CHANGES
-=======
-
-Version 0.1.2 (unreleased)
-
-- Bug: Set i18n domain in "overrides.zcml" to avoid warnings. 
-
-Version 0.1.1 (2008-09-08)
---------------------------
-
-- Bug: Register zope.app.wsgi.fileresult.FileResult as an adapter for BlobFile,
-  making optimized file views really work.
-- Bug: Also use optimized file view for z3c.blobfile.image.Image.
-- Bug: Make blob versions of File and Image implement IBlobFile and
-  IBlobImage interfaces respectively. This enables z3c.blobfile's views.
-- Bug: Use local ZopeMessageFactory. This fixes import error on Zope 2.10
-
-Version 0.1.0 (2008-02-27)
---------------------------
-
-- Initial Release

Copied: z3c.blobfile/tags/0.1.2/CHANGES.txt (from rev 91055, z3c.blobfile/trunk/CHANGES.txt)
===================================================================
--- z3c.blobfile/tags/0.1.2/CHANGES.txt	                        (rev 0)
+++ z3c.blobfile/tags/0.1.2/CHANGES.txt	2008-09-11 10:15:24 UTC (rev 91056)
@@ -0,0 +1,25 @@
+=======
+CHANGES
+=======
+
+Version 0.1.2 (2008-09-11)
+
+- Bug: Set i18n domain in "overrides.zcml" to avoid warnings.
+- Don't expose Blob implementation details in add/upload forms. Also, "zope"
+  translation domain has no translations for "Upload a File (Blob)", it just
+  has "Upload a File" translations, so use it.
+
+Version 0.1.1 (2008-09-08)
+--------------------------
+
+- Bug: Register zope.app.wsgi.fileresult.FileResult as an adapter for BlobFile,
+  making optimized file views really work.
+- Bug: Also use optimized file view for z3c.blobfile.image.Image.
+- Bug: Make blob versions of File and Image implement IBlobFile and
+  IBlobImage interfaces respectively. This enables z3c.blobfile's views.
+- Bug: Use local ZopeMessageFactory. This fixes import error on Zope 2.10
+
+Version 0.1.0 (2008-02-27)
+--------------------------
+
+- Initial Release

Modified: z3c.blobfile/tags/0.1.2/setup.py
===================================================================
--- z3c.blobfile/trunk/setup.py	2008-09-11 08:46:20 UTC (rev 91054)
+++ z3c.blobfile/tags/0.1.2/setup.py	2008-09-11 10:15:24 UTC (rev 91056)
@@ -22,7 +22,7 @@
     return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
 
 setup(name='z3c.blobfile',
-      version='0.1.2dev',
+      version='0.1.2',
       author = "Zope Community",
       author_email = "zope3-dev at zope.org",
       license = "ZPL 2.1",

Deleted: z3c.blobfile/tags/0.1.2/src/z3c/blobfile/browser/file_add.pt
===================================================================
--- z3c.blobfile/trunk/src/z3c/blobfile/browser/file_add.pt	2008-09-11 08:46:20 UTC (rev 91054)
+++ z3c.blobfile/tags/0.1.2/src/z3c/blobfile/browser/file_add.pt	2008-09-11 10:15:24 UTC (rev 91056)
@@ -1,62 +0,0 @@
-<html metal:use-macro="context/@@standard_macros/page"
-    i18n:domain="zope">
-<body>
-<div metal:fill-slot="body">
-
-  <form action="." tal:attributes="action request/URL"
-        method="post" enctype="multipart/form-data">
-
-    <h3 i18n:translate="">Add a File (Blob)</h3>
-
-    <div tal:define="errors view/errors" tal:content="errors"
-        i18n:translate=""/>
-
-    <div class="row">
-      <div class="label">
-        <label for="field.contentType"
-               title="The content type identifies the type of data."
-               i18n:attributes="title" i18n:translate="">Content Type</label>
-      </div>
-      <div class="field">
-        <input class="textType"
-               id="field.contentType"
-               name="field.contentType"
-               size="20"
-               type="text"
-               value="" /></div>
-    </div>
-
-    <div class="row">
-      <div class="label">
-        <label for="field.data"
-               title="The actual content of the object."
-               i18n:attributes="title" i18n:translate="">Data</label>
-      </div>
-      <div class="field">
-        <input class="fileType"
-               id="field.data"
-               name="field.data"
-               size="20"
-               type="file" /></div>
-    </div>
-
-    <div class="row">
-      <div class="controls"><hr />
-
-        <input type="submit" i18n:attributes="value refresh-button"
-            value="Refresh" />
-        <input type="submit" i18n:attributes="value add-button"
-            value="Add" name="UPDATE_SUBMIT" />
-
-        &nbsp;&nbsp;<b i18n:translate="">Object Name</b>&nbsp;&nbsp;
-        <input type="text" name="add_input_name" value="" />
-
-      </div>
-    </div>
-
-  </form>
-
-</div>
-</body>
-
-</html>

Copied: z3c.blobfile/tags/0.1.2/src/z3c/blobfile/browser/file_add.pt (from rev 91055, z3c.blobfile/trunk/src/z3c/blobfile/browser/file_add.pt)
===================================================================
--- z3c.blobfile/tags/0.1.2/src/z3c/blobfile/browser/file_add.pt	                        (rev 0)
+++ z3c.blobfile/tags/0.1.2/src/z3c/blobfile/browser/file_add.pt	2008-09-11 10:15:24 UTC (rev 91056)
@@ -0,0 +1,62 @@
+<html metal:use-macro="context/@@standard_macros/page"
+    i18n:domain="zope">
+<body>
+<div metal:fill-slot="body">
+
+  <form action="." tal:attributes="action request/URL"
+        method="post" enctype="multipart/form-data">
+
+    <h3 i18n:translate="">Add a File</h3>
+
+    <div tal:define="errors view/errors" tal:content="errors"
+        i18n:translate=""/>
+
+    <div class="row">
+      <div class="label">
+        <label for="field.contentType"
+               title="The content type identifies the type of data."
+               i18n:attributes="title" i18n:translate="">Content Type</label>
+      </div>
+      <div class="field">
+        <input class="textType"
+               id="field.contentType"
+               name="field.contentType"
+               size="20"
+               type="text"
+               value="" /></div>
+    </div>
+
+    <div class="row">
+      <div class="label">
+        <label for="field.data"
+               title="The actual content of the object."
+               i18n:attributes="title" i18n:translate="">Data</label>
+      </div>
+      <div class="field">
+        <input class="fileType"
+               id="field.data"
+               name="field.data"
+               size="20"
+               type="file" /></div>
+    </div>
+
+    <div class="row">
+      <div class="controls"><hr />
+
+        <input type="submit" i18n:attributes="value refresh-button"
+            value="Refresh" />
+        <input type="submit" i18n:attributes="value add-button"
+            value="Add" name="UPDATE_SUBMIT" />
+
+        &nbsp;&nbsp;<b i18n:translate="">Object Name</b>&nbsp;&nbsp;
+        <input type="text" name="add_input_name" value="" />
+
+      </div>
+    </div>
+
+  </form>
+
+</div>
+</body>
+
+</html>

Deleted: z3c.blobfile/tags/0.1.2/src/z3c/blobfile/browser/file_upload.pt
===================================================================
--- z3c.blobfile/trunk/src/z3c/blobfile/browser/file_upload.pt	2008-09-11 08:46:20 UTC (rev 91054)
+++ z3c.blobfile/tags/0.1.2/src/z3c/blobfile/browser/file_upload.pt	2008-09-11 10:15:24 UTC (rev 91056)
@@ -1,61 +0,0 @@
-<html metal:use-macro="context/@@standard_macros/view"
-    i18n:domain="zope">
-<body>
-<div metal:fill-slot="body">
-
-  <form action="." tal:attributes="action request/URL"
-        method="post" enctype="multipart/form-data">
-
-    <h3 i18n:translate="">Upload a file (blob)</h3>
-    
-    <div tal:define="errors view/errors" tal:content="errors"
-        i18n:translate=""/>
-
-    <div class="row">
-      <div class="label">
-        <label for="field.contentType"
-               title="The content type identifies the type of data."
-               i18n:attributes="title" i18n:translate="">Content Type</label>
-      </div>
-      <div class="field">
-        <input class="textType"
-               id="field.contentType"
-               name="field.contentType"
-               size="20"
-               type="text"
-               value="" 
-	       tal:attributes="value context/contentType"/>
-      </div>
-    </div>
-
-    <div class="row">
-      <div class="label">
-        <label for="field.data"
-               title="The actual content of the object."
-               i18n:attributes="title" i18n:translate="">Data</label>
-      </div>
-      <div class="field">
-        <input class="fileType"
-               id="field.data"
-               name="field.data"
-               size="20"
-               type="file"/></div>
-    </div>
-
-    <div class="row">
-      <div class="controls"><hr />
-
-        <input type="submit" i18n:attributes="value refresh-button"
-            value="Refresh" />
-        <input type="submit" i18n:attributes="value update-button"
-            value="Update" name="UPDATE_SUBMIT" />
-
-      </div>
-    </div>
-
-  </form>
-
-</div>
-</body>
-
-</html>

Copied: z3c.blobfile/tags/0.1.2/src/z3c/blobfile/browser/file_upload.pt (from rev 91055, z3c.blobfile/trunk/src/z3c/blobfile/browser/file_upload.pt)
===================================================================
--- z3c.blobfile/tags/0.1.2/src/z3c/blobfile/browser/file_upload.pt	                        (rev 0)
+++ z3c.blobfile/tags/0.1.2/src/z3c/blobfile/browser/file_upload.pt	2008-09-11 10:15:24 UTC (rev 91056)
@@ -0,0 +1,61 @@
+<html metal:use-macro="context/@@standard_macros/view"
+    i18n:domain="zope">
+<body>
+<div metal:fill-slot="body">
+
+  <form action="." tal:attributes="action request/URL"
+        method="post" enctype="multipart/form-data">
+
+    <h3 i18n:translate="">Upload a file</h3>
+    
+    <div tal:define="errors view/errors" tal:content="errors"
+        i18n:translate=""/>
+
+    <div class="row">
+      <div class="label">
+        <label for="field.contentType"
+               title="The content type identifies the type of data."
+               i18n:attributes="title" i18n:translate="">Content Type</label>
+      </div>
+      <div class="field">
+        <input class="textType"
+               id="field.contentType"
+               name="field.contentType"
+               size="20"
+               type="text"
+               value="" 
+	       tal:attributes="value context/contentType"/>
+      </div>
+    </div>
+
+    <div class="row">
+      <div class="label">
+        <label for="field.data"
+               title="The actual content of the object."
+               i18n:attributes="title" i18n:translate="">Data</label>
+      </div>
+      <div class="field">
+        <input class="fileType"
+               id="field.data"
+               name="field.data"
+               size="20"
+               type="file"/></div>
+    </div>
+
+    <div class="row">
+      <div class="controls"><hr />
+
+        <input type="submit" i18n:attributes="value refresh-button"
+            value="Refresh" />
+        <input type="submit" i18n:attributes="value update-button"
+            value="Update" name="UPDATE_SUBMIT" />
+
+      </div>
+    </div>
+
+  </form>
+
+</div>
+</body>
+
+</html>



More information about the Checkins mailing list