Imio.helpers

Latest version: v1.2.2

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

Scan your dependencies

Page 9 of 20

0.43

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

- Lowercased email address after validation.
[sgeulette]
- Fixed `submitFormHelperOnsuccessDefault` JS function to handle binary response
so it is possible to download the result of the ajax query.
- Added `xhtml.imagesToData` that turns the src of images used in a xhtml
content from an `http` or equivalent URL to a data base64 value.
[gbastien]

0.42

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

- Added parameter `filetype='PNG'` to `barcode.generate_barcode` so it is
possible to use another supported image file format.
[gbastien]
- Added parameter `replyto` to `emailer.send_email` so it is possible to add
`reply-to` header in message
[sgeulette]
- Adapted `content.object_values` and `content.object_ids` to be able to pass
a single class name or a list of class names like it is the case for
`objectValues/objectIds`.
[gbastien]

0.41

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

- Corrected encoding problem in emailer.
[sgeulette]

0.40

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

- Added `target` option in `object_link` function
[sgeulette]
- Added a ZPublisher `:json` suffix type converter.
[gbastien]
- Changed MockMailHost patch to avoid some problems
[sgeulette]
- Make `xhtml.storeImagesLocally` handle images with `src` using base64 encoded
data (like `data:image/png;base64,...)`.
[gbastien]

0.39

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

- Added `validate_email_address` to check email address with a real name part.
[sgeulette]
- Added `validate_email_addresses` to check email addresses, separated by a comma.
[sgeulette]
- Added `content.get_modified_attrs`, when called in a `IObjectModifiedEvent`
handler, will return the list of field names that were actually modified.
[gbastien]
- Returned email sender error messages.
[sgeulette]
- Added `content.uuidToCatalogBrain` that is a shortcut to
`content.uuidsToCatalogBrains` but that will return a single value.
[gbastien]
- Added `content.object_values` and `content.object_ids` method, equivalent to
Zope's `objectValues` and `objectIds` but that will check contained element
class name instead `meta_type` so it works with DX content types where
`meta_type` is the same for every types.
[gbastien]
- Added `content.uuidToObject` that is a shortcut to
`content.uuidsToObjects` but that will return a single value.
[gbastien]
- Corrected `has_faceted` function call in `submitFormHelperOnsuccessDefault` js
[sgeulette]
- Reloaded page when `submitFormHelper` is used on a non faceted page
[sgeulette]
- Added parameter `toggle_type='slide'` to JS helper `toggleDetails`,
so it is possible to use `slideToggle` (default) or `fadeToggle`.
`fadeToggle` behaves better when the hidden part contains a sticky element
(table header).
[gbastien]

0.38

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

- Added `content.normalize_name` that will normalize a given name, this is the
code used when turning a title to an id when creating a new content.
[gbastien]

Page 9 of 20

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.