Imio.prettylink

Latest version: v1.22

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

Scan your dependencies

Page 3 of 4

1.11

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

- Use `self.context.wl_isLocked()` to show locking icon so it does not break
on non lockable objects.
[gbastien]
- Added boolean `display_tag_title` parameter.
[sgeulette]

1.10

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

- Handle icon path correctly.
[sgeulette]

1.9

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

- Do simplify link to file the download by just appending the download to
the URL, this is enough if current context has a primary field.
[gbastien]

1.8

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

- Take `ACTUAL_URL` stored in the REQUEST into account in the `getLink` caching
cachekey to manage the fact that the URL to the element changed. This can
be the case when accessing element thru different domains or if a parent
of the element was renamed.
[gbastien]

1.7

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

- Do not break in `PrettyLinkAdapter.getLink_cachekey` if context does not have
a workflow.
[gbastien]

1.6

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

- Added caching for `PrettyLinkAdapter.getLink`, the cachekey returns context,
modified, is_locked, review_state and every parameters defined in
`PrettyLinkAdapter.__init__`.
[gbastien]
- Moved link computation from `PrettyLinkAdapter.getLink` that is now a cached
method to `PrettyLinkAdapter._getLink` so it is possible to call it directly
without caching or to override it.
[gbastien]
- Finalized testing configuration to be able to test the getLink caching.
[gbastien]

Page 3 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.