------------------------
New features
~~~~~~~~~~~~
- Add translations to German.
[saily]
- Added preview also to channel view. This was previously only
available for the "send as newsletter" action.
[malthe]
- Refactored channels management view and the dedicated channel view.
Big improvements to usability of the channel view.
[malthe]
- Added capability to embed stylesheets in outgoing mail. Right now,
this is a simple text field that can be set on the channel's composer.
We're now making use of the StoneAgeHTML library to embed styles in
the individual HTML elements instead of providing styles in the
``<head>`` of the HTML document. This gives us much better support
with quirky e-mail clients out there.
[malthe]
In the future, we want to extend this to allow administrators to
select themes for individual channels by browsing and selecting from a
list of registered styles.
- Added Czech translation.
[naro]
- Refactored ``mail.py`` to create ``MIMEMultipart`` based messages.
This allows us to easily adapt the mail sending process to embed
images and the like.
[naro]
- Added a "reference collector". This allows you to select individual
portal items to be sent out, as opposed to items collected by a Smart
Folder or the like.
[malthe]
Bugfixes
~~~~~~~~
- S&D 0.3b2 introduced an incompatible change with channels created in
0.3b1 and earlier. I added a GenericSetup upgrade step to fix this.
The relevant code is in the ``collective.dancing.upgrade`` module.
If you're using a legacy database with channels that were created
before version 0.3b2, you'll need to run this upgrade step, or
you'll see this error::
TypeError: ('object.__new__(HTMLComposer) is not safe, use persistent.Persistent.__new__()', <function _reconstructor at ...>, (<class 'collective.dancing.composer.HTMLComposer'>, <type 'object'>, None))
Refer to the Upgrade_ section for details on how to run upgrades.
[nouri]
- Add ``metadata.xml`` to make QuickInstaller happy with version
numbers.
[naro]
- Back to using checkboxes for multi selection instead of ``select``.
[nouri]
- Make HTMLComposer and channel.composers persistent so that changes
to template and composers are conveniently persisted.
[nouri]
- Use ``zc.lockfile`` to lock the queue processing (sending out of mail)
instead of excessively using ``transaction.commit()``, which caused
massive ZODB bloat when a lot of messages were involved.
[nouri]
- Use ``email.Header`` for message header formatting. This allows for
better internationalization in headers of outgoing e-mails.
[naro]
- In-browser preview now displays what would really be sent out,
i.e. after collectors and transforms could do their thing. Before, it
used to only display the context item as mail.
[malthe]