Collective.iconifiedcategory

Latest version: v0.67

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

Scan your dependencies

Page 4 of 12

0.50

Not secure
-----------------

- Use unrestricted catalog query when possible.
[gbastien]
- For the view that generated the CSS, do the catalog query that gets the categories
without `path` and `sort_on` as called from portal and order does not matter.
[gbastien]
- Added `collective.iconifiedcategory.every_categories` and
`collective.iconifiedcategory.every_category_titles` vocabularies returning
every possible categories, including not enabled ones. This will be used to
manage a `MissingTerms` adapter for `z3c.form`.
[gbastien]
- Fixed view that generates `collective-iconifiedcategory.css`, get every
categories including ones that are not `enabled`.
[gbastien]
- Optimized `categorized-childs` view, compute everything only one time
(context url, context UID, ...) and use `python` or `string` in TAL expressions.
By default call `utils.get_categorized_elements` with `check_can_view=False`.
[gbastien]
- Added `check_can_view=True` parameter to `utils.get_categorized_elements`.
This will do the `IIconifiedContent.can_view` check only done when necessary.
[gbastien]
- Added data `last_updated` to `categorized_elements` to be used for caching.
Added upgrade step to version `2103`.
[gbastien]
- Optimized `ram.cache` key for `utils.get_ordered_categories`, cache until
any category added/deleted/position changed.
[gbastien]

0.49

Not secure
-----------------

- Added possibility to filter displayed categorized elements on any attribute
of the categorized element.
[gbastien]
- Rely on imio.helpers because we need the `:json` suffix type converter.
[gbastien]
- Register the `categorized_content_container_cloned ObjectClonedEvent` handler
only for `AT IBaseObject` and `DX IDexterityContent` or is is applied also
for other elements like `portal_type` because it provides `OFS IItem`.
[gbastien]
- Added specific `collective.iconifiedcategory.belowcategorizedelements` viewlet
manager just under the categorized elements table that will be displayed if
table displayed.
[gbastien]
- Make the `z3c.table CategorizedTable` easy to override by making a
`BrowserView` out of it.
[gbastien]
- Adapted `FilesizeColumn` to display total filesize in column header.
[gbastien]
- Added `soft_warn_filesize`, a CSS class applied to files of more that `1 Mb`
(like it is already the case for the `warn_filesize` CSS class applied to
files of more than `5 Mb`).
[gbastien]
- Removed the `Show details` action, details are always shown, except, for
display reasons, when more that 2 columns of elements in the popup.
[gbastien]

0.48

Not secure
-----------------

- Rely on `CategorizedObjectAdapter.can_view` to manage access to a categorized
element, this way, we may manage usecases where current user does not have
the `View` permission on the element but access is managed by the `can_view`
adapter method.
[gbastien]

0.47

Not secure
-----------------

- Added missing translation for `Nothing.`.
[gbastien]
- In `utils._categorized_elements`, use `aq_base` to get `categorized_elements`
to be sure we get the one on context.
Indeed the parent could have this attribute too...
[gbastien]
- Do not use `portal_catalog` to get `categorized_elements`, instead, store
`allowedRolesAndUsers` in the `categorized_elements` data and rely on it to
get the content directly stored in the parent. This for performance reasons.
[gbastien]
- Remove unused `utils.get_UID` function.
[gbastien]
- Make sure a content created with an unexisting `content_category`
does not break anything.
[gbastien]

0.46

Not secure
-----------------

- Make `plone.restapi` validation happy by defining default value for
`IIconifiedCategorization.default_titles` that is not stored on the
adapted context.
[gbastien]

0.45

Not secure
-----------------

- When using `collective.solr`, brains are not `ICatalogBrain` but `PloneFlare`
so register `IIconifiedContent` adapter for it when installed.
[gbastien]

Page 4 of 12

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.