Imio.helpers

Latest version: v0.80

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

Scan your dependencies

Page 8 of 19

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]

0.37

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

- Added JS function `submitFormHelper` that will submit a given form and
`onsuccess`, will call the function `onsuccess` in parameter
(by default, when called in an overlay, will close the overlay and
reload the faceted navigation).
[gbastien]
- Added `security.fplog` helper to ease adding a `collective.fingerpointing`
message to the log.
[gbastien]
- Added `plone.app.relationfield` as a direct dependency.
[gbastien]

0.36

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

- Added email functions (`create_html_email`, `add_attachment`, `send_email`)
to create and send an email with attachments.
[sgeulette]
- Optimized `xhtml.separate_images`, do only walk the tree if
it contains images (`img` tag).
[gbastien]
- Fixed `content.richtextval` `outputMimeType` parameter to use
`text/x-html-safe` instead `text/html`.
[gbastien]
- Renamed JS function `loadCollapsibleContent` to `loadContent` as it can be
used outside of `collapsible` scope.
[gbastien]

Page 8 of 19

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.