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 14 of 20

0.14

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

- Improved content create to avoid creating object when defined id already exists.
[sgeulette]
- Added methods content.uuidsToCatalogBrains and content.uuidsToObjects.
[gbastien]
- Adapted `content.validate_fields` to bypass validation when field.required=False,
value is None and field type is other than Bool. Validation is also bypassed for
field using a `source` attribute because it fails for now...
[gbastien]
- Added parameter raise_on_errors to content.validate_fields to raise a ValueError
when errors are found instead simply returning it.
[gbastien]

0.13

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

- Added `content.get_schema_fields` to get schema fields (behaviors included
by default).
[sgeulette]
- Pep8 on imports.
[sgeulette]
- Added appy.pod usecase for lists containing tables.
[bleybaert]
- Added dependency on `Plone` in `setup.py`.
[gbastien]
- Do not break in `xhtml.storeImagesLocally._handle_internal_image` if image
src is not a path to an image but to another element (like `Folder` or
`Plone Site`).
[gbastien]

0.12

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

- Added appy.pod usecase for rgba().
[gbastien]
- Improved annotation code
[sgeulette]

0.11

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

- Use `html` instead `xml` for `lxml.html.to_string` rendering `method`.
This avoids results like `<p><s></s></p>` turned to `<p><s/></p>`.
[gbastien]

0.10

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

- Fixed bug in `catalog.addOrUpdateIndexes` where a new index was not reindexed
if it was added together with an already existing index.
[gbastien]
- Fixed bug in `xhtml.storeImagesLocally` when img uses a `resolveuid` and
starts with the `portal_url` (this is the case when using `uploadimage plugin`
in `collective.ckeditor`), it raised a NotFound error.
[gbastien]
- In `xhtml.storeImagesLocally`, keep the `scale` at the end of the URL using
`resolveuid` (like `resolveuid/content_uid/image_preview`).
[gbastien]
- Use `PyPDF2` instead deprecated `pyPdf` to insert barcode into PDF.
This solves `ValueError: invalid literal for int() with base 10: ''`.
[gbastien]

0.9

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

- Added appy.pod usecase for complex styles start/end on same paragraph.
[gbastien]
- Do not break in `xhtml.storeImagesLocally` when no `<img> src` found.
[gbastien]
- Add methods to manage annotations (Add and Remove).
[anuyens, odelaere]
- Added method to get annotation
[sgeulette]

Page 14 of 20

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.