- 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]
0.4.13
-------------------
- Use safe_unicode() instead of unicode(), especially in xhtml.markEmptyTags to avoid UnicideDecode errors. [gbastien]
0.4.12
-------------------
- Added test when an uid (path) is no more in the portal_catalog, it does not break catalog.addOrUpdateColumns. [gbastien] - In xhtml.xhtmlContentIsEmpty, do no more consider tag children in _isEmpty, a tag rendering nothing (text_content().strip() is empty) will be considered empty. [gbastien]
0.4.11
-------------------
- Added 'cache.cleanRamCache' method that will invalidateAll ram.cache. [gbastien]
0.4.10
-------------------
- Add get_environment method and test. [bsuttor] - is_develop_environment method is true if global environment variable 'ENV' is equal to 'dev'. [bsuttor] - Added 'cache' module with helper methods 'cleanVocabularyCacheFor' that will clean instance.memoize cache defined on a named vocabulary and 'cleanRamCacheFor' that will clean ram.cache defined on a given method. [gbastien]