Imio.helpers

Latest version: v0.80

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

Scan your dependencies

Page 11 of 19

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]

0.20

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

- In `xhtml.storeImagesLocally`, do not break when a `resolveuid` is found but
it does not find the image. This can be the case when copy/pasting HTML code
from another instance or so.
[gbastien]
- In `xhtml.removeBlanks`, check if content is empty by calling
`xhtml.xhtmlContentIsEmpty` with parameter `tagWithAttributeIsNotEmpty=False`
so empty tags with attributes are considered empty.
[gbastien]

0.19

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

- Patch index method from collective.solr to fix an issue with partial reindex
[mpeeters]
- Added css id on row field display in container.pt and content.pt.
[sgeulette]

Page 11 of 19

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.