Imio.helpers

Latest version: v0.80

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

Scan your dependencies

Page 4 of 19

0.66

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

- Added `transmogrifier` module with `get_main_path`, `relative_path` and
`text_int_to_bool` functions.
[sgeulette]
- Added `none_if_unfound` parameter in `get_user_fullname` function
[sgeulette]
- Added parameter `onsuccess=false` to JS function `callViewAndReload` so it is
possible to trigger custom JS code after a success.
[gbastien]
- Added `xhtml.is_html` that will return True or False if given text is HTML or not.
[gbastien]
- Raised validation error when email realname contains an accented character
[sgeulette]

0.65

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

- Return new date when `cache.invalidate_cachekey_volatile_for` is called with
`get_again=True`.
[gbastien]
- Use `dict.items` instead `dict.iteritems` for Py2/Py3 compatibility.
[gbastien]

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]

Page 4 of 19

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.