- Do not pretty_print HTML returned by lxml.html.tostring or it can leads to weird behaviors like extra blank space in case we have nested <span> tags. 'pretty_print' is now a parameter to relevant methods and is False by default [gbastien] - Added methods to create content from a dictionary, to get object following criterias, to apply multiple transitions, to create a RichTextValue object [sgeulette] - Added default views for Dexterity content and container that display fields in a table with widget label and the left and widget value on the right. The view for container also includes an asynchronous folder_listing that lists contained elements. Taken from imio.project.core [gbastien]
0.4.18
-------------------
- Use by default scale=2 instead of scale=4 when generating barcode. [gbastien] - Added methods int2word, wordizeDate and formatDate aiming to transform numbers into french translation, date with only numbers into date in full and to format dates (with hours, with month name in full, ...). [DieKatze]
0.4.17
-------------------
- Added constant CLASS_TO_LAST_CHILDREN_NUMBER_OF_CHARS_DEFAULT to define the default number of characters to take into account while marking last tags in xhtml.addClassToLastChildren. This way it can be used in other packages. [gbastien] - Fixed xhtml.imagesToPath to handle image src using 'resolveuid' correctly. [gbastien]
0.4.16
-------------------
- Bugfix in xhtml.storeExternalImagesLocally if downloaded external image has no 'Content-Disposition' header. [gbastien]
0.4.15
-------------------
- Added helper to be able to easily test appy.pod rendering by loading a full HTML content to any content (AT or DX) by specifying a RichText field_name. [gbastien] - Added method xhtml.imagesToPath that turns the src of images used in a xhtml content from an 'http' or equivalent path to the absolute path on the FileSystem to the .blob image file. [gbastien] - Added method xhtml.storeExternalImagesLocally that will ensure that externally referenced images are downloaded, stored locally and xhtmlContent is adapted accordingly. [gbastien]
0.4.14
-------------------
- Added methods cache.get_cachekey_volatile and cache.invalidate_cachekey_volatile_for to be used with methods using decorator ram.cache. This is meant for long living cached methods that are invalidated manually. get_cachekey_volatile will be used in the method cachekey and invalidate_cachekey_volatile_for will be used to invalidate the cachekey. [gbastien] - Add a function to generate a barcode with zint : 13100. [mpeeters] - Removed initialize() call from __init__, no need to be considered as a Zope2 product. [gbastien]