Imio.helpers

Latest version: v1.1.0

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

Scan your dependencies

Page 5 of 20

0.64

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

- Added `workflow.remove_state_transitions` function do remove transitions on a state and clean duplicates
[sgeulette]
- Added more tests on cached methods.
[sgeulette]

0.63

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

- Invalidated '_users_groups_value' volatile after a call of `GroupAwareRoleManager.assignRolesToPrincipal`,
`ZODBRoleManager.assignRoleToPrincipal` and `ZODBRoleManager.removeRoleFromPrincipal`
[sgeulette]
- Removed duplicated classifiers.
[sgeulette]

0.62

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

- Added `IMIORAMCache` using `IMIOStorage` to extend used cache duration and
improve displayed statistics
[gbastien]
- Added cache on various acl methods following `decorate_acl_methods` env variable
[gbastien, sgeulette]
- Added IIMIOLayer BrowserLayer (need to execute upgrade step to 2).
[gbastien]
- Override `caching-controlpanel-ramcache` to compute totals for `Hits`, `Misses`,
`Size` and `Entries`, display `Older entry`, do not break to display statistics
when a pickle error occurs but add a portal message.
[gbastien]
- Added parameter `ttl=0` to `cache.get_cachekey_volatile` this way a date older
than given `ttl` (in seconds) will be recomputed.
- Added 'none_if_no_user' param in `content.get_user_fullname`.
[sgeulette]
- Always return unicode in `content.get_user_fullname`.
[sgeulette]
- Added `test_helpers.ImioTestHelpers` class with useful methods from iA.delib
[sgeulette]
- Added `vocabularies.SimplySortedUsers` and modified `vocabularies.SortedUsers`
[sgeulette]
- Added `cache.get_users_in_plone_groups`
[sgeulette]
- Added `setup.load_type_from_package` to reload a single type.
Moved `workflow.load_workflow_from_package` to `setup.load_workflow_from_package`.
[gbastien]

0.61

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

- Moved workflow related functions from content to workflow module.
[sgeulette]
- Added `workflow.load_workflow_from_package` to reload a single workflow.
[sgeulette]
- Be defensive in JS function `toggleDetails` if tag is not available.
[gbastien]

0.60

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

- Handled unfound site in `set_site_from_package_config`.
[sgeulette]

0.59

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

- Added `escaped=True` param on `xhtml.object_link`.
[sgeulette]
- Require a version of `future` recent enough so `html.escape` is available.
[gbastien]
- Added parameter `replace_not_found_image=True` to `xhtml.storeImagesLocally`,
when `True` (default) and an image could not be retrieved,
a `Not found` image will be used. This solves problem when copy/paste a private
image from another site, available in the browser because of shared
authentication but not retrievable.
[gbastien]

Page 5 of 20

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.