Collective.behavior.talcondition

Latest version: v1.0.0

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

Scan your dependencies

Page 2 of 3

0.12

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

- Add Transifex.net service integration to manage the translation process.
[macagua]
- Add Spanish translation
[macagua]
- Do not consider the `archetypes.schemaextender` on Plone5.
[gbastien]
- Adapted code (except, implementer) to be Python3 compatible.
[gbastien]
- Added parameter `trusted=False` to `utils._evaluateExpression`, this will use
a trusted expression handler instead the restricted python default.
[gbastien]

0.11

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

- Added parameter `raise_on_error` to `utils.evaluateExpressionFor` to raise an
error when an exception occurs instead returning False.
[gbastien]
- Added method `TALCondition.complete_extra_expr_ctx` to the behavior to
formalize the way to get `extra_expr_ctx` to avoid the `evaluate` method
to be overrided.
[gbastien]

0.10

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

- Do not break if parameter `expression` passed to
`utils._evaluateExpression` is None.
[gbastien]

0.9

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

- Added new parameter `error_pattern=WRONG_TAL_CONDITION` to
`utils.evaluateExpressionFor` and underlying `utils._evaluateExpression` to
be able to log a custom message in case an error occurs during
expression evaluation.
[gbastien]

0.8

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

- Mark elements using behavior with `ITALConditionable` interface so it behaves
like element using the AT extender.
[gbastien]

0.7

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

- Use CheckBoxWidget for `ITALCondition.roles_bypassing_talcondition` to ease
selection when displaying several elements.
[gbastien]

Page 2 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.