Not Logged In

Products.PortalTransforms 2.1.3

Introduction

This Zope product provides two new tools for the CMF in order to make MIME
types based transformations on the portal contents, and so an easy to way to
plugin some new transformations for previously unsupported content types. The
provided tools are:

portal_transform (the transform tool)

handle transformation of data from a mime type to another

A bunch of ready to use transformations are also provided. Look at the
documentation for more information.

Notice this package can also be used as a standalone Python package. If
you’ve downloaded the Python distribution, you can’t make it a Zope
product since Zope files have been removed from this distribution.

2.0b5 - 2010-04-10

Fixed a problem where the cache would return data from transforms
which are sensitive to virtual hosting (such as the resolve UID
transforms used by visual editors) which had been cached for a
different virtual host.
[rossp]

2.0b4 - 2010-03-01

Restore output/logo.jpg and output/logo.bmp from 1.6 branch.
[stefan]

2.0b3 - 2010-02-19

Make tests pass with poppler’s pdftohtml converter. Standalone
pdftohtml produces different output and should be avoided.
[stefan]

1.6.0-a1 - 2007-02-06

1.5.2 - Unreleased

1.5.1-final - 2007-04-17

note for release-managers: The version-bump to 1.5 was a bit early, but now
as we have it, i keep it and next release number in the cycle needed for
Archetypes 1.4.2 (used for Plone 2.5.2) of PortalTransforms is then the 1.5
final.
We dont need increasing of release numbers because of Plone 3.0,
Archetypes 1.5, … if theres no change in the dependen product, like
this one.
[jensens]

1.5.0-final - 2006-12-15

1.5.0-a1 - 2006-10-25

casting to int is evil without previous check of the type. so we assume as
in CMFPlone just zero for non-int-castable values.
[jensens]

the values in the safe_html valid tag dictionary can become strings when
modifying them via the ZMI. Explicitly convert them to integers before
testing their value.
[wichert]

Removed CoUnInitialize call. According to Mark Hammond: The
right thing to do is call that function, although almost noone
does (including pywin32 itself, which does CoInitialize the main
thread) and I’ve never heard of problem caused by this
omission.
[sidnei]

fixed bug with some transformers’ temp filename: it tried to use original
filename which is encoded in utf8 and may contrain invalid charset for my
Windows server. Just use filename as: unknown.suffix
[panjunyong]

STX header level is set to 2 instead of using zope.conf. Limi forced me to
change it.
[tiran]

fixed bug: word_to_html uses office_com under windows

1.3.2-5 - 2004-10-17

Fixed [ 1041637 ] RichWidget: STX level should be set to 3 instead 1. The
structured text transform is now using the zope.conf option or has an
optional level paramenter in the convert method.
[tiran]

Added win32api.GetShortPathName to libtransforms/commandtransform
so binaries found in directories which have spaces in their names
will work as expected
[runyaga]

1.3.2-4 - 2004-09-30

nothing changed

1.3.2-3 - 2004-09-25

Fixed more unit tests
[tiran]

1.3.2-2 - 2004-09-17

Fixed [ 1025066 ] Serious persistency bug
[dmaurer]

Fixed some unit tests failurs. Some unit tests did fail because the reST
and STX output has changed slightly.
[tiran]

Don’t include the first three lines of the lynx output which are url,
title and a blank line. This fixed also a unit test because the url
which was a file in the fs did change every time.
[tiran]

Fixed a bug in make_unpersistent. It seemed that this method touched values
inside the mapping.
[dreamcatcher]

1.3.2-1 - 2004-09-04

Disabled filters that were introduced in 1.3.1-1. The currently used
transform path algo is broken took too long to find a path.
[tiran]

Cleaned up major parts of PT by removing the python only implementation which
was broken anyway

Fixed [ 1019632 ] current svn bundle (rev 2942) broken

1.3.1-1 - 2004-08-16

Introduce the concept of filters (one-hop transforms where the source and
destination are the same mimetype).
[dreamcatcher]

Add a html filter to extract the content of the body tag (so we don’t get a
double <body> when uploading full html files).
[dreamcatcher]

Change base class for Transform to SimpleItem which is equivalent to the
previous base classes and provides a nice __repr__.
[dreamcatcher]

Lower log levels.
[dreamcatcher]

cache.py: Added purgeCache, fixed has cache test.
[tiran]

Fixed non critical typo in error message: Unvalid -> Invalid
[tiran]

1.3.0-3 - 2004-08-06

Added context to the convert, convertTo and __call__ methods. The context is
the object on which the transform was called.
[tiran]

Added isCacheable flag and setCacheable to idatastream (data.py). Now you can
disable the caching of the result of a transformation.
[tiran]

Added __setstate__ to load new transformations from the file system.
[tiran]