Commit 3e1b44b8 authored by Nicolas Delaby's avatar Nicolas Delaby

Update portal_transforms chains.

* update safe_html chain with new option default_encoding
* Add pdf_to_png chain to avoid conversion of pdf into transitional format pnmraw and
consume less memory.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35624 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 1fb4add1
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="Transform" module="Products.PortalTransforms.Transform"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_config</string> </key>
<value>
<object>
<klass>
<global id="1.1" name="UserDict" module="UserDict"/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key> <string>__allow_access_to_unprotected_subobjects__</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>data</string> </key>
<value>
<dictionary/>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key> <string>_config_metadata</string> </key>
<value>
<object>
<klass> <reference id="1.1"/> </klass>
<tuple/>
<state>
<dictionary>
<item>
<key> <string>data</string> </key>
<value>
<dictionary/>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>pdf_to_png</string> </value>
</item>
<item>
<key> <string>inputs</string> </key>
<value>
<tuple>
<string>application/pdf</string>
</tuple>
</value>
</item>
<item>
<key> <string>module</string> </key>
<value> <string>Products.PortalTransforms.transforms.pdf_to_png</string> </value>
</item>
<item>
<key> <string>output</string> </key>
<value> <string>image/png</string> </value>
</item>
<item>
<key> <string>output_encoding</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -27,6 +27,10 @@
<key> <string>data</string> </key>
<value>
<dictionary>
<item>
<key> <string>default_encoding</string> </key>
<value> <string>utf-8</string> </value>
</item>
<item>
<key> <string>disable_transform</string> </key>
<value> <int>0</int> </value>
......@@ -78,35 +82,41 @@
<value>
<dictionary>
<item>
<key> <string>disable_transform</string> </key>
<key> <string>default_encoding</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent>
</value>
</item>
<item>
<key> <string>inputs</string> </key>
<key> <string>disable_transform</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAY=</string> </persistent>
</value>
</item>
<item>
<key> <string>nasty_tags</string> </key>
<key> <string>inputs</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAc=</string> </persistent>
</value>
</item>
<item>
<key> <string>remove_javascript</string> </key>
<key> <string>nasty_tags</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAg=</string> </persistent>
</value>
</item>
<item>
<key> <string>valid_tags</string> </key>
<key> <string>remove_javascript</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAk=</string> </persistent>
</value>
</item>
<item>
<key> <string>valid_tags</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAo=</string> </persistent>
</value>
</item>
</dictionary>
</value>
</item>
......@@ -472,6 +482,25 @@
</pickle>
</record>
<record id="5" aka="AAAAAAAAAAU=">
<pickle>
<global name="PersistentList" module="persistent.list"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>data</string> </key>
<value>
<list>
<string>string</string>
<string>default_encoding</string>
<string>Encoding used for html string. If encoding is different, the string will be converted</string>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
<record id="6" aka="AAAAAAAAAAY=">
<pickle>
<global name="PersistentList" module="persistent.list"/>
</pickle>
......@@ -490,7 +519,7 @@
</dictionary>
</pickle>
</record>
<record id="6" aka="AAAAAAAAAAY=">
<record id="7" aka="AAAAAAAAAAc=">
<pickle>
<global name="PersistentList" module="persistent.list"/>
</pickle>
......@@ -509,7 +538,7 @@
</dictionary>
</pickle>
</record>
<record id="7" aka="AAAAAAAAAAc=">
<record id="8" aka="AAAAAAAAAAg=">
<pickle>
<global name="PersistentList" module="persistent.list"/>
</pickle>
......@@ -532,7 +561,7 @@
</dictionary>
</pickle>
</record>
<record id="8" aka="AAAAAAAAAAg=">
<record id="9" aka="AAAAAAAAAAk=">
<pickle>
<global name="PersistentList" module="persistent.list"/>
</pickle>
......@@ -555,7 +584,7 @@
</dictionary>
</pickle>
</record>
<record id="9" aka="AAAAAAAAAAk=">
<record id="10" aka="AAAAAAAAAAo=">
<pickle>
<global name="PersistentList" module="persistent.list"/>
</pickle>
......
1588
\ No newline at end of file
1589
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment