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

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]

0.35

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

- Added JS helper method `canonical_url` to get the current canonical URL
so the url of the context when on a view.
[gbastien]
- In `toggleDetails` JS function, moved the part that does the async load in
`loadCollapsibleContent` function so it is possible to call if from outside.
[gbastien]
- Added `get_user_from_criteria` helper method to search users following
email or fullname
[sgeulette]
- Added param on `transitions` method, to not warn by default
[sgeulette]
- Completed `appy_pod` usecases, `font-size 50%/150%`.
[gbastien]
- Added `catalog.merge_queries` function that merges `plone.app.querystring`
compatible catalog queries into one single query.
[gbastien]
- Do not break in `xhtml.storeImagesLocally` if a `NotFound` occurs while
getting an internal image.
[gbastien]

0.34

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

- Moved JS function `setoddeven` from `listings.js` to
`helpers.js` so it is available by default.
[gbastien]
- Added setup_logger in security module to change logger level (when
doing `instance run` by example)
[sgeulette]

0.33

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

- Added `content.get_relations` and `content.get_back_relations` to easily
get relations and back relations on an object.
[gbastien]
- Do not break in `xhtml.storeImagesLocally` if image URL
contains non-ASCII characters.
[gbastien]
- Added `xhtml.separate_images` that will make sure images are separated in
different `<p>` to avoid breaking `appy.pod` when using `LibreOffice 6.0.x`.
[gbastien]

Page 10 of 20

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.