[Erp5-report] r10491 - in /erp5/trunk/bt5/erp5_dms: ActionTemplateItem/portal_types/DMS%20F...

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Oct 2 18:12:25 CEST 2006


Author: bartek
Date: Mon Oct  2 18:12:12 2006
New Revision: 10491

URL: http://svn.erp5.org?rev=10491&view=rev
Log:
Reorganised object actions.

Added:
    erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/DMS%20File/file_upload.xml
    erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/Graphic/file_upload.xml
    erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/ImageDocument/file_upload.xml
    erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/PdfDocument/file_upload.xml
    erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/Presentation/file_upload.xml
    erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/Spreadsheet/file_upload.xml
    erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/Text/file_upload.xml
Modified:
    erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/DMS%20File/download.xml
    erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/Graphic/download.xml
    erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/Graphic/download_ooo.xml
    erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/Graphic/download_snapshot.xml
    erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/Graphic/export.xml
    erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/ImageDocument/export.xml
    erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/PdfDocument/download.xml
    erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/Presentation/download.xml
    erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/Presentation/download_ooo.xml
    erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/Presentation/download_snapshot.xml
    erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/Presentation/export.xml
    erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/Spreadsheet/download.xml
    erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/Spreadsheet/download_ooo.xml
    erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/Spreadsheet/download_snapshot.xml
    erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/Spreadsheet/export.xml
    erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/Text/download.xml
    erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/Text/download_ooo.xml
    erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/Text/download_snapshot.xml
    erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/Text/export.xml
    erp5/trunk/bt5/erp5_dms/bt/change_log
    erp5/trunk/bt5/erp5_dms/bt/revision
    erp5/trunk/bt5/erp5_dms/bt/template_action_path_list

Modified: erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/DMS%20File/download.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/DMS%2520File/download.xml?rev=10491&r1=10490&r2=10491&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/DMS%20File/download.xml (original)
+++ erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/DMS%20File/download.xml Mon Oct  2 18:12:12 2006
@@ -26,7 +26,7 @@
         </item>
         <item>
             <key> <string>category</string> </key>
-            <value> <string>object_action</string> </value>
+            <value> <string>object_exchange</string> </value>
         </item>
         <item>
             <key> <string>condition</string> </key>
@@ -54,7 +54,7 @@
         </item>
         <item>
             <key> <string>priority</string> </key>
-            <value> <float>1.0</float> </value>
+            <value> <float>10.0</float> </value>
         </item>
         <item>
             <key> <string>title</string> </key>

Added: erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/DMS%20File/file_upload.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/DMS%2520File/file_upload.xml?rev=10491&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/DMS%20File/file_upload.xml (added)
+++ erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/DMS%20File/file_upload.xml Mon Oct  2 18:12:12 2006
@@ -1,0 +1,89 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <tuple>
+          <string>Products.CMFCore.ActionInformation</string>
+          <string>ActionInformation</string>
+        </tuple>
+        <none/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>__ac_local_roles__</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>action</string> </key>
+            <value>
+              <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
+            </value>
+        </item>
+        <item>
+            <key> <string>category</string> </key>
+            <value> <string>object_exchange</string> </value>
+        </item>
+        <item>
+            <key> <string>condition</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>description</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>icon</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>file_upload</string> </value>
+        </item>
+        <item>
+            <key> <string>permissions</string> </key>
+            <value>
+              <tuple>
+                <string>Modify portal content</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>priority</string> </key>
+            <value> <float>5.0</float> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string>Upload file</string> </value>
+        </item>
+        <item>
+            <key> <string>visible</string> </key>
+            <value> <int>1</int> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+  <record id="2" aka="AAAAAAAAAAI=">
+    <pickle>
+      <tuple>
+        <tuple>
+          <string>Products.CMFCore.Expression</string>
+          <string>Expression</string>
+        </tuple>
+        <none/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>text</string> </key>
+            <value> <string>string:${object_url}/DMS_FileUploadDialog</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Modified: erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/Graphic/download.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/Graphic/download.xml?rev=10491&r1=10490&r2=10491&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/Graphic/download.xml (original)
+++ erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/Graphic/download.xml Mon Oct  2 18:12:12 2006
@@ -56,7 +56,7 @@
         </item>
         <item>
             <key> <string>priority</string> </key>
-            <value> <float>10.0</float> </value>
+            <value> <float>40.0</float> </value>
         </item>
         <item>
             <key> <string>title</string> </key>

Modified: erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/Graphic/download_ooo.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/Graphic/download_ooo.xml?rev=10491&r1=10490&r2=10491&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/Graphic/download_ooo.xml (original)
+++ erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/Graphic/download_ooo.xml Mon Oct  2 18:12:12 2006
@@ -56,7 +56,7 @@
         </item>
         <item>
             <key> <string>priority</string> </key>
-            <value> <float>5.0</float> </value>
+            <value> <float>20.0</float> </value>
         </item>
         <item>
             <key> <string>title</string> </key>

Modified: erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/Graphic/download_snapshot.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/Graphic/download_snapshot.xml?rev=10491&r1=10490&r2=10491&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/Graphic/download_snapshot.xml (original)
+++ erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/Graphic/download_snapshot.xml Mon Oct  2 18:12:12 2006
@@ -56,7 +56,7 @@
         </item>
         <item>
             <key> <string>priority</string> </key>
-            <value> <float>20.0</float> </value>
+            <value> <float>30.0</float> </value>
         </item>
         <item>
             <key> <string>title</string> </key>

Modified: erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/Graphic/export.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/Graphic/export.xml?rev=10491&r1=10490&r2=10491&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/Graphic/export.xml (original)
+++ erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/Graphic/export.xml Mon Oct  2 18:12:12 2006
@@ -56,7 +56,7 @@
         </item>
         <item>
             <key> <string>priority</string> </key>
-            <value> <float>1.0</float> </value>
+            <value> <float>10.0</float> </value>
         </item>
         <item>
             <key> <string>title</string> </key>

Added: erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/Graphic/file_upload.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/Graphic/file_upload.xml?rev=10491&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/Graphic/file_upload.xml (added)
+++ erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/Graphic/file_upload.xml Mon Oct  2 18:12:12 2006
@@ -1,0 +1,89 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <tuple>
+          <string>Products.CMFCore.ActionInformation</string>
+          <string>ActionInformation</string>
+        </tuple>
+        <none/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>__ac_local_roles__</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>action</string> </key>
+            <value>
+              <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
+            </value>
+        </item>
+        <item>
+            <key> <string>category</string> </key>
+            <value> <string>object_exchange</string> </value>
+        </item>
+        <item>
+            <key> <string>condition</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>description</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>icon</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>file_upload</string> </value>
+        </item>
+        <item>
+            <key> <string>permissions</string> </key>
+            <value>
+              <tuple>
+                <string>Modify portal content</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>priority</string> </key>
+            <value> <float>5.0</float> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string>Upload file</string> </value>
+        </item>
+        <item>
+            <key> <string>visible</string> </key>
+            <value> <int>1</int> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+  <record id="2" aka="AAAAAAAAAAI=">
+    <pickle>
+      <tuple>
+        <tuple>
+          <string>Products.CMFCore.Expression</string>
+          <string>Expression</string>
+        </tuple>
+        <none/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>text</string> </key>
+            <value> <string>string:${object_url}/DMS_FileUploadDialog</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Modified: erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/ImageDocument/export.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/ImageDocument/export.xml?rev=10491&r1=10490&r2=10491&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/ImageDocument/export.xml (original)
+++ erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/ImageDocument/export.xml Mon Oct  2 18:12:12 2006
@@ -54,7 +54,7 @@
         </item>
         <item>
             <key> <string>priority</string> </key>
-            <value> <float>1.0</float> </value>
+            <value> <float>10.0</float> </value>
         </item>
         <item>
             <key> <string>title</string> </key>

Added: erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/ImageDocument/file_upload.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/ImageDocument/file_upload.xml?rev=10491&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/ImageDocument/file_upload.xml (added)
+++ erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/ImageDocument/file_upload.xml Mon Oct  2 18:12:12 2006
@@ -1,0 +1,89 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <tuple>
+          <string>Products.CMFCore.ActionInformation</string>
+          <string>ActionInformation</string>
+        </tuple>
+        <none/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>__ac_local_roles__</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>action</string> </key>
+            <value>
+              <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
+            </value>
+        </item>
+        <item>
+            <key> <string>category</string> </key>
+            <value> <string>object_action</string> </value>
+        </item>
+        <item>
+            <key> <string>condition</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>description</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>icon</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>file_upload</string> </value>
+        </item>
+        <item>
+            <key> <string>permissions</string> </key>
+            <value>
+              <tuple>
+                <string>Modify portal content</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>priority</string> </key>
+            <value> <float>5.0</float> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string>Upload file</string> </value>
+        </item>
+        <item>
+            <key> <string>visible</string> </key>
+            <value> <int>1</int> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+  <record id="2" aka="AAAAAAAAAAI=">
+    <pickle>
+      <tuple>
+        <tuple>
+          <string>Products.CMFCore.Expression</string>
+          <string>Expression</string>
+        </tuple>
+        <none/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>text</string> </key>
+            <value> <string>string:${object_url}/DMS_FileUploadDialog</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Modified: erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/PdfDocument/download.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/PdfDocument/download.xml?rev=10491&r1=10490&r2=10491&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/PdfDocument/download.xml (original)
+++ erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/PdfDocument/download.xml Mon Oct  2 18:12:12 2006
@@ -26,7 +26,7 @@
         </item>
         <item>
             <key> <string>category</string> </key>
-            <value> <string>object_action</string> </value>
+            <value> <string>object_exchange</string> </value>
         </item>
         <item>
             <key> <string>condition</string> </key>
@@ -54,11 +54,11 @@
         </item>
         <item>
             <key> <string>priority</string> </key>
-            <value> <float>1.0</float> </value>
+            <value> <float>20.0</float> </value>
         </item>
         <item>
             <key> <string>title</string> </key>
-            <value> <string>Download</string> </value>
+            <value> <string>Download original</string> </value>
         </item>
         <item>
             <key> <string>visible</string> </key>

Added: erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/PdfDocument/file_upload.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/PdfDocument/file_upload.xml?rev=10491&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/PdfDocument/file_upload.xml (added)
+++ erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/PdfDocument/file_upload.xml Mon Oct  2 18:12:12 2006
@@ -1,0 +1,89 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <tuple>
+          <string>Products.CMFCore.ActionInformation</string>
+          <string>ActionInformation</string>
+        </tuple>
+        <none/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>__ac_local_roles__</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>action</string> </key>
+            <value>
+              <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
+            </value>
+        </item>
+        <item>
+            <key> <string>category</string> </key>
+            <value> <string>object_exchange</string> </value>
+        </item>
+        <item>
+            <key> <string>condition</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>description</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>icon</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>file_upload</string> </value>
+        </item>
+        <item>
+            <key> <string>permissions</string> </key>
+            <value>
+              <tuple>
+                <string>Modify portal content</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>priority</string> </key>
+            <value> <float>5.0</float> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string>Upload file</string> </value>
+        </item>
+        <item>
+            <key> <string>visible</string> </key>
+            <value> <int>1</int> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+  <record id="2" aka="AAAAAAAAAAI=">
+    <pickle>
+      <tuple>
+        <tuple>
+          <string>Products.CMFCore.Expression</string>
+          <string>Expression</string>
+        </tuple>
+        <none/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>text</string> </key>
+            <value> <string>string:${object_url}/DMS_FileUploadDialog</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Modified: erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/Presentation/download.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/Presentation/download.xml?rev=10491&r1=10490&r2=10491&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/Presentation/download.xml (original)
+++ erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/Presentation/download.xml Mon Oct  2 18:12:12 2006
@@ -56,7 +56,7 @@
         </item>
         <item>
             <key> <string>priority</string> </key>
-            <value> <float>10.0</float> </value>
+            <value> <float>40.0</float> </value>
         </item>
         <item>
             <key> <string>title</string> </key>

Modified: erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/Presentation/download_ooo.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/Presentation/download_ooo.xml?rev=10491&r1=10490&r2=10491&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/Presentation/download_ooo.xml (original)
+++ erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/Presentation/download_ooo.xml Mon Oct  2 18:12:12 2006
@@ -56,7 +56,7 @@
         </item>
         <item>
             <key> <string>priority</string> </key>
-            <value> <float>5.0</float> </value>
+            <value> <float>20.0</float> </value>
         </item>
         <item>
             <key> <string>title</string> </key>

Modified: erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/Presentation/download_snapshot.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/Presentation/download_snapshot.xml?rev=10491&r1=10490&r2=10491&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/Presentation/download_snapshot.xml (original)
+++ erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/Presentation/download_snapshot.xml Mon Oct  2 18:12:12 2006
@@ -56,7 +56,7 @@
         </item>
         <item>
             <key> <string>priority</string> </key>
-            <value> <float>20.0</float> </value>
+            <value> <float>30.0</float> </value>
         </item>
         <item>
             <key> <string>title</string> </key>

Modified: erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/Presentation/export.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/Presentation/export.xml?rev=10491&r1=10490&r2=10491&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/Presentation/export.xml (original)
+++ erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/Presentation/export.xml Mon Oct  2 18:12:12 2006
@@ -56,7 +56,7 @@
         </item>
         <item>
             <key> <string>priority</string> </key>
-            <value> <float>1.0</float> </value>
+            <value> <float>10.0</float> </value>
         </item>
         <item>
             <key> <string>title</string> </key>

Added: erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/Presentation/file_upload.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/Presentation/file_upload.xml?rev=10491&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/Presentation/file_upload.xml (added)
+++ erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/Presentation/file_upload.xml Mon Oct  2 18:12:12 2006
@@ -1,0 +1,89 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <tuple>
+          <string>Products.CMFCore.ActionInformation</string>
+          <string>ActionInformation</string>
+        </tuple>
+        <none/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>__ac_local_roles__</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>action</string> </key>
+            <value>
+              <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
+            </value>
+        </item>
+        <item>
+            <key> <string>category</string> </key>
+            <value> <string>object_exchange</string> </value>
+        </item>
+        <item>
+            <key> <string>condition</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>description</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>icon</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>file_upload</string> </value>
+        </item>
+        <item>
+            <key> <string>permissions</string> </key>
+            <value>
+              <tuple>
+                <string>Modify portal content</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>priority</string> </key>
+            <value> <float>5.0</float> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string>Upload file</string> </value>
+        </item>
+        <item>
+            <key> <string>visible</string> </key>
+            <value> <int>1</int> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+  <record id="2" aka="AAAAAAAAAAI=">
+    <pickle>
+      <tuple>
+        <tuple>
+          <string>Products.CMFCore.Expression</string>
+          <string>Expression</string>
+        </tuple>
+        <none/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>text</string> </key>
+            <value> <string>string:${object_url}/DMS_FileUploadDialog</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Modified: erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/Spreadsheet/download.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/Spreadsheet/download.xml?rev=10491&r1=10490&r2=10491&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/Spreadsheet/download.xml (original)
+++ erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/Spreadsheet/download.xml Mon Oct  2 18:12:12 2006
@@ -56,7 +56,7 @@
         </item>
         <item>
             <key> <string>priority</string> </key>
-            <value> <float>20.0</float> </value>
+            <value> <float>40.0</float> </value>
         </item>
         <item>
             <key> <string>title</string> </key>

Modified: erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/Spreadsheet/download_ooo.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/Spreadsheet/download_ooo.xml?rev=10491&r1=10490&r2=10491&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/Spreadsheet/download_ooo.xml (original)
+++ erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/Spreadsheet/download_ooo.xml Mon Oct  2 18:12:12 2006
@@ -56,7 +56,7 @@
         </item>
         <item>
             <key> <string>priority</string> </key>
-            <value> <float>5.0</float> </value>
+            <value> <float>20.0</float> </value>
         </item>
         <item>
             <key> <string>title</string> </key>

Modified: erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/Spreadsheet/download_snapshot.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/Spreadsheet/download_snapshot.xml?rev=10491&r1=10490&r2=10491&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/Spreadsheet/download_snapshot.xml (original)
+++ erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/Spreadsheet/download_snapshot.xml Mon Oct  2 18:12:12 2006
@@ -56,7 +56,7 @@
         </item>
         <item>
             <key> <string>priority</string> </key>
-            <value> <float>10.0</float> </value>
+            <value> <float>30.0</float> </value>
         </item>
         <item>
             <key> <string>title</string> </key>

Modified: erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/Spreadsheet/export.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/Spreadsheet/export.xml?rev=10491&r1=10490&r2=10491&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/Spreadsheet/export.xml (original)
+++ erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/Spreadsheet/export.xml Mon Oct  2 18:12:12 2006
@@ -56,7 +56,7 @@
         </item>
         <item>
             <key> <string>priority</string> </key>
-            <value> <float>1.0</float> </value>
+            <value> <float>10.0</float> </value>
         </item>
         <item>
             <key> <string>title</string> </key>

Added: erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/Spreadsheet/file_upload.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/Spreadsheet/file_upload.xml?rev=10491&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/Spreadsheet/file_upload.xml (added)
+++ erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/Spreadsheet/file_upload.xml Mon Oct  2 18:12:12 2006
@@ -1,0 +1,89 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <tuple>
+          <string>Products.CMFCore.ActionInformation</string>
+          <string>ActionInformation</string>
+        </tuple>
+        <none/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>__ac_local_roles__</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>action</string> </key>
+            <value>
+              <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
+            </value>
+        </item>
+        <item>
+            <key> <string>category</string> </key>
+            <value> <string>object_exchange</string> </value>
+        </item>
+        <item>
+            <key> <string>condition</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>description</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>icon</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>file_upload</string> </value>
+        </item>
+        <item>
+            <key> <string>permissions</string> </key>
+            <value>
+              <tuple>
+                <string>Modify portal content</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>priority</string> </key>
+            <value> <float>5.0</float> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string>Upload file</string> </value>
+        </item>
+        <item>
+            <key> <string>visible</string> </key>
+            <value> <int>1</int> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+  <record id="2" aka="AAAAAAAAAAI=">
+    <pickle>
+      <tuple>
+        <tuple>
+          <string>Products.CMFCore.Expression</string>
+          <string>Expression</string>
+        </tuple>
+        <none/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>text</string> </key>
+            <value> <string>string:${object_url}/DMS_FileUploadDialog</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Modified: erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/Text/download.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/Text/download.xml?rev=10491&r1=10490&r2=10491&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/Text/download.xml (original)
+++ erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/Text/download.xml Mon Oct  2 18:12:12 2006
@@ -56,7 +56,7 @@
         </item>
         <item>
             <key> <string>priority</string> </key>
-            <value> <float>10.0</float> </value>
+            <value> <float>40.0</float> </value>
         </item>
         <item>
             <key> <string>title</string> </key>

Modified: erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/Text/download_ooo.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/Text/download_ooo.xml?rev=10491&r1=10490&r2=10491&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/Text/download_ooo.xml (original)
+++ erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/Text/download_ooo.xml Mon Oct  2 18:12:12 2006
@@ -56,7 +56,7 @@
         </item>
         <item>
             <key> <string>priority</string> </key>
-            <value> <float>5.0</float> </value>
+            <value> <float>20.0</float> </value>
         </item>
         <item>
             <key> <string>title</string> </key>

Modified: erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/Text/download_snapshot.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/Text/download_snapshot.xml?rev=10491&r1=10490&r2=10491&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/Text/download_snapshot.xml (original)
+++ erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/Text/download_snapshot.xml Mon Oct  2 18:12:12 2006
@@ -56,7 +56,7 @@
         </item>
         <item>
             <key> <string>priority</string> </key>
-            <value> <float>20.0</float> </value>
+            <value> <float>30.0</float> </value>
         </item>
         <item>
             <key> <string>title</string> </key>
@@ -102,7 +102,7 @@
       <dictionary>
         <item>
             <key> <string>text</string> </key>
-            <value> <string>python:object.hasFile()</string> </value>
+            <value> <string>python:object.hasOOfile()</string> </value>
         </item>
       </dictionary>
     </pickle>

Modified: erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/Text/export.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/Text/export.xml?rev=10491&r1=10490&r2=10491&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/Text/export.xml (original)
+++ erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/Text/export.xml Mon Oct  2 18:12:12 2006
@@ -56,7 +56,7 @@
         </item>
         <item>
             <key> <string>priority</string> </key>
-            <value> <float>1.0</float> </value>
+            <value> <float>10.0</float> </value>
         </item>
         <item>
             <key> <string>title</string> </key>

Added: erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/Text/file_upload.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/Text/file_upload.xml?rev=10491&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/Text/file_upload.xml (added)
+++ erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/Text/file_upload.xml Mon Oct  2 18:12:12 2006
@@ -1,0 +1,89 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <tuple>
+          <string>Products.CMFCore.ActionInformation</string>
+          <string>ActionInformation</string>
+        </tuple>
+        <none/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>__ac_local_roles__</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>action</string> </key>
+            <value>
+              <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
+            </value>
+        </item>
+        <item>
+            <key> <string>category</string> </key>
+            <value> <string>object_exchange</string> </value>
+        </item>
+        <item>
+            <key> <string>condition</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>description</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>icon</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>file_upload</string> </value>
+        </item>
+        <item>
+            <key> <string>permissions</string> </key>
+            <value>
+              <tuple>
+                <string>Modify portal content</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>priority</string> </key>
+            <value> <float>5.0</float> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string>Upload file</string> </value>
+        </item>
+        <item>
+            <key> <string>visible</string> </key>
+            <value> <int>1</int> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+  <record id="2" aka="AAAAAAAAAAI=">
+    <pickle>
+      <tuple>
+        <tuple>
+          <string>Products.CMFCore.Expression</string>
+          <string>Expression</string>
+        </tuple>
+        <none/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>text</string> </key>
+            <value> <string>string:${object_url}/DMS_FileUploadDialog</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Modified: erp5/trunk/bt5/erp5_dms/bt/change_log
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_dms/bt/change_log?rev=10491&r1=10490&r2=10491&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_dms/bt/change_log (original)
+++ erp5/trunk/bt5/erp5_dms/bt/change_log Mon Oct  2 18:12:12 2006
@@ -1,3 +1,8 @@
+2006-10-02
+Moved file uploading from /view form to object_exchange
+Uploading new file creates a new object with most properties copied
+Reorganised object actions.
+
 2006-10-01
 Too many things to describe here - refer to svn log and bugtracker on dedibox
 

Modified: erp5/trunk/bt5/erp5_dms/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_dms/bt/revision?rev=10491&r1=10490&r2=10491&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_dms/bt/revision (original)
+++ erp5/trunk/bt5/erp5_dms/bt/revision Mon Oct  2 18:12:12 2006
@@ -1,1 +1,1 @@
-228
+236

Modified: erp5/trunk/bt5/erp5_dms/bt/template_action_path_list
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_dms/bt/template_action_path_list?rev=10491&r1=10490&r2=10491&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_dms/bt/template_action_path_list (original)
+++ erp5/trunk/bt5/erp5_dms/bt/template_action_path_list Mon Oct  2 18:12:12 2006
@@ -1,4 +1,5 @@
 DMS File | download
+DMS File | file_upload
 DMS File | history
 DMS File | local_permission
 DMS File | metadata
@@ -25,6 +26,7 @@
 Graphic | download_ooo
 Graphic | download_snapshot
 Graphic | export
+Graphic | file_upload
 Graphic | history
 Graphic | local_permission
 Graphic | metadata
@@ -35,6 +37,7 @@
 Image Module | sort_on
 Image Module | view
 ImageDocument | export
+ImageDocument | file_upload
 ImageDocument | fullsize_view
 ImageDocument | history
 ImageDocument | local_permission
@@ -43,6 +46,7 @@
 ImageDocument | related_document
 ImageDocument | view
 PdfDocument | download
+PdfDocument | file_upload
 PdfDocument | history
 PdfDocument | html_view
 PdfDocument | local_permission
@@ -56,6 +60,7 @@
 Presentation | download_ooo
 Presentation | download_snapshot
 Presentation | export
+Presentation | file_upload
 Presentation | history
 Presentation | local_permission
 Presentation | metadata
@@ -72,6 +77,7 @@
 Spreadsheet | download_ooo
 Spreadsheet | download_snapshot
 Spreadsheet | export
+Spreadsheet | file_upload
 Spreadsheet | history
 Spreadsheet | html_view
 Spreadsheet | local_permission
@@ -85,6 +91,7 @@
 Text | download_ooo
 Text | download_snapshot
 Text | export
+Text | file_upload
 Text | history
 Text | html_view
 Text | jump_to_all_related




More information about the Erp5-report mailing list