Plone.app.blocks

Latest version: v7.0.1

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

Scan your dependencies

Page 4 of 5

4.0.1

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

Fixes:

- Fix issue where tile data storage decoded HTML primary fields
using ASCII instead of utf-8 causing broken broken latin
characters in attribute values
[datakurre]

4.0.0

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

Incompatibilities:

- Remove grid transform, because it did not serve its purpose as as well
expected and required HTML-syntax not editable by humans; Instead using
grid framework agnostic CSS class names and building CSS grid against
those class names is recommended
[agitator]

- Remove ``IOmittedField`` marker from layout behavior fields not meant to be
displayed on legacy Deco UIs
[jensens]

- Rename ``ILayoutAware.content`` to ``ILayoutAware.customContentLayout``
[datakurre]

- Move functions ``getDefaultAjaxLayout``, ``getDefaultSiteLayout``,
``getLayout`` and ``getLayoutAwareSiteLayout`` to ``.layoutbehavior`` in
order to avoid circular imports (all deprecated now, see section New).
[jensens]

- Move views from ``.layoutbehavior`` to new module ``.layoutviews`` in order
to avoid circular imports. Deprecated deferred imports are in place.
[jensens]

New:

- Add ``ILayoutAware.content`` as layout independent "layout like" tile
configuration and data storage for all serializable tile configurations
[datakurre]

- Add ``layout_preview`` view for previewing currently drafted layout aware
content
[datakurre]

- ``ILayoutAware`` is now also responsible to lookup the behaviors.
[jensens]

- Get layouts always by adapting with ``ILayoutAware``. This introduces a
generic adapter and a behavior adapter. Deprecated the formerly used functions
``getLayout`` ``getDefaultSiteLayout`` just calls
``ILayoutAware().site_layout`` and is deprected. ``getLayout`` just calls
``ILayoutAware().content_layout`` and is deprecated.
[jensens]

- Behavior shortname ``plone.layoutaware`` added.
[jensens]

Fixes:

- Handle missing content layouts so they do not cause an error
[vangheem]

- A tile raising an 401 Unauthorized on traversal,
results in a status rewriting to a 302 which results in 200 login form.
The whole login form page then is rendered as the tile contents.
This patch catches the 401 by providing a custom exception handler.
The 401 is catched and ignored. This is not pefect yet and need some work,
but it at least does not break design and intended behavior of tiles.
[jensens]

Refactoring:

- Housekeeping: ZCA decorators, sorted imports, line-lengths and related.
[jensens]

- Reformat documentation.
[gforcada]

- Update travis configuration.
[gforcada]

3.1.0

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

New:

- Don't make a tile exception break other tiles (closes `27`_).
[rodfersou, datakurre]

- Provide new getLayoutsFromDirectory utility to get layouts from any
plone.resource directory, not just the base resource directory
[vangheem]

- Index layout data; When collective.dexteritytextindexer is present,
its *Dynamic SearchableText indexer behavior* must be enabled for content
type
[vangheem, datakurre]

- Cleanup tile data on save/edit
[vangheem]

3.0.1

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

- Remove the default 'Custom layout' display menu registration for
'layout_view', because it was not possible to customize it with more exact
registration
[datakurre]

- Fix the default view to report template name as 'template-layout'
[datakurre]

3.0.0

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

- Change layout behavior default view name from ``view`` to ``layout_view``
[datakurre]

- Add to be able to set default grid system in registry settings
[vangheem]

- Add support for provide more than one layout with a layout directory
and manifest (replaces removed layout variants)
[vangheem]

- Add ``contentlayout`` resource type with ``plone.availableContentLayouts``
vocabulary and ``++contentlayout++`` traverser
[vangheem]

- Add ``contentLayout`` field to layoutbehavior to select the rendered layout
from centrally managed content layouts
[vangheem]

- Add content type specific registry configuration with key
``plone.app.blocks.default_layout.portal_type`` for used default content
layout when custom layout is not defined
[vangheem]

- Add to check ``plone.app.blocks.default_layout`` registry key for a default
content layout path when content type specific default content layout path is
not set
[datakurre]

- Fixed layout behavior to apply Plone outputfilters for rendered content
[datakurre]

- Add default grid system registry setting
[vangheem]

- Restore support for Plone 4.2.x
[datakurre]

- Remove layout variants introduced in 2.0.0, in favor of ability to
provide more than one layout with a layout directory and manifest by
using multiple ``[...layout]`` directive in the same manifest
[vangheem]

2.1.2

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

- Fix issue where grid transform did replaced class names instead of appending
to them
[datakurre]

Page 4 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.