Imio.helpers

Latest version: v1.2.3

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

Scan your dependencies

Page 4 of 20

0.74

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

- Fixed `cache.obj_modified` when checking annotations, take care that `_p_mtime`
is not changed on `__annotations__` when a value changes in a stored annotation
that is a `PersistentMapping`.
Also removed parameter `asstring=False`, when `asdatetime=False`, returned
value is float which is convenient to be used in a cachekey.
[gbastien]
- Add `catalog` parameter on `content.uuidsToObjects`, `content.uuidsToObject`,
`content.uuidsToCatalogBrains` and `uuidsToCatalogBrain` to allow query on
other catalogs (e.g. uid_catalog)
[mpeeters]

0.73

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

- Be more defensive in `content.get_user_fullname`, in some case, a userid
is found in `mutable_properties` but there is no properties associated with it.
[gbastien]
- Improved `transmogrifier.clean_value` giving a replacement value
[sgeulette]

0.72

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

- In `submitFormHelperOnsuccessDefault` JS function, only manage `blob` if
`content-type` is `application/xxx`.
[gbastien]
- Added `content.sort_on_vocab_order` that will sort a list of `values`
respecting a given `vocabulary` terms order. This relies on `sort_by_indexes`
from `imio.pyutils` that is now a dependency.
[gbastien]

0.71

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

- Modified `transmogrifier.relative_path` to add option to keep leading slash
(True by default).
[sgeulette]
- In `content.get_user_fullname`, if `fullname` not found at the end,
finally fallback to `portal_membership.getMemberInfo`, this is sometimes
necessary when using LDAP.
[gbastien]
- Removed backward compatible imports for `get_state_infos`, `get_transitions`
and `do_transitions` moved from `content` to `workflow`.
[gbastien]

0.70

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

- Added `security.check_zope_admin` (moved from `Products.CPUtils`).
[gbastien]
- Improved `transmogrifier.filter_keys`
[sgeulette]
- Added `workflow.update_role_mappings_for` helper to update WF role mappings
for a given object.
[gbastien]

0.69

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

- Monkeypatch `CatalogTool._listAllowedRolesAndUsers` to add `ram.cache` decorator.
[gbastien]

Page 4 of 20

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.