Imio.helpers

Latest version: v1.2.3

Safety actively analyzes 723326 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 12 of 20

0.26

-----------------

- Added set_to_annotation method.
[sgeulette]
- Always return something in annotations functions.
[sgeulette]

0.25

-----------------

- Added logging in `xhtml.storeImagesLocally` if unable to
traverse to `img_path`.
[gbastien]
- Fixed bug in `xhtml.storeImagesLocally` where an image stored in another
Plone element having `absolute_url` starting with current element
`absolute_url` was not stored locally.
[gbastien]

0.24

-----------------

- Removed wrong overrides of `collective.iconifiedcategory` translation file.
[gbastien]
- Added optionally behavior prefix in get_schema_fields.
[sgeulette]
- Fixed bug in `xhtml.storeImagesLocally._handle_internal_image` to be sure
that traversed path to image does not starts with a `/` or it fails with
a `KeyError`. This is the case when the `Plone Site` is using a domain name.
Make sure also traversed `img_path` element is actually an `Image`.
[gbastien]

0.23

-----------------

- Added `content.get_vocab` helper method to easily get a `IVocabularyFactory`
vocabulary instance or only the factory when parameter `only_factory=True`.
[gbastien]
- Added `catalog.reindexIndexes` helper method making it possible to reindex a
specific `portal_catalog` index with `ZLogHandler` log output.
[gbastien]
- Added javascript function to callViewAndReload with ajax. Gotten from PloneMeeting ;-)
[sgeulette]
- Added get_state_infos (used in PM and plonetheme.imioapps).
[sgeulette]

0.22

-----------------

- Added parameter `update_metadata` to `catalog.addOrUpdateColumns`,
if `True` (default), the new added metadata are updated on every
catalogued objects.
[gbastien]
- Added function to return html link for an object
[sgeulette]

0.21

-----------------

- Added parameter `get_again=False` to
`cache.invalidate_cachekey_volatile_for`, when True, this will call
`cache.get_cachekey_volatile` just after the cache is invalidated so we get
a fresh date stored. This is useful to avoid write by async requests if it
calls `cache.get_cachekey_volatile`.
[gbastien]

Page 12 of 20

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.