Plone.dexterity

Latest version: v3.0.6

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

Scan your dependencies

Page 10 of 13

2.2.0

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

- utils.createContent honors behaviors.
[toutpt]

- Date index method works even if source field is a dexterity field
which provides a datetime python value.
Now you can manually add a field with the name of a common Plone metadata field
(as effective_date, publication_date, etc.)
[tdesvenain]

- Replace deprecated test assert statements.
[timo]

- Put a marker interface on the default edit view so viewlets
can be registered for it.
[davisagli]

- Ensure FTI's isConstructionAllowed method returns a boolean.
[danjacka]

- Hide the Dublin Core tab and show the Properties tab for
items when viewed in the ZMI.
[davisagli]

- Avoid storing dublin core metadata on new instances unless it
differs from the default values.
[davisagli]

- Implement CMF's dublin core interfaces inline rather than
depending on CMFDefault.
[davisagli]

- Support GenericSetup structure import/export of Dexterity content.
Content is serialized the same way as for WebDAV,
using plone.rfc822. Not all field types are supported yet,
but this at least gets the basics in place.

GS import used to work by accident in a basic way for Dexterity
containers. If you were using this, you'll need to recreate your
exported files with the rfc822 serialization.
[davisagli]

- Creator accessor should return encoded strings
If your catalog was broken, try to clear & reindex Creator::

cat.clearIndex('Creator')
cat.manage_reindexIndex(['Creator'])

[kiorky]

- Use the same message string for the default fieldset as Archetypes does.
[davisagli]

2.1.3

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

- Fail gracefully when a schema lookup fails due to schema that doesn't
exist or no longer exists for some reason or another.
[eleddy]

2.1.2

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

- Merged Rafael Oliveira's (rafaelbco) content-core views from
collective.cmfeditionsdexteritycompat.
[rpatterson]

2.1.1

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

* No longer add title and description fields to new FTIs by default.
[davisagli, cedricmessiant]

* When pasting into a dexterity container check the FTI for the the pasted
object to see if it is allowed in the new container.
[wichert]

* Fixed schema caching. Previously, a non-persistent counter would be
used as part of the cache key, and changes made to this counter in
one process would obviously not propagate to other processes.

Instead, the cache key now includes the schema and subtypes which
are both retrieved from a FTI-specific volatile cache that uses the
modification time as its cache key.
[malthe]

2.1

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

* Added Finnish translations.
[pingviini]

* Override allowedContentTypes and invokeFactory from PortalFolder
to mimic the behavior of Archetypes based folders. This allows the
registration of IConstrainTypes adapters to actually have the
expected effect.
[gaudenzius]

* The default attribute accessor now also looks through subtypes
(behaviors) to find a field default.
[malthe]

* Added support in the FTI to look up behaviors by utility name when
getting additional schemata (i.e. fields provided by behaviors).

This functionality makes it possible to create a behavior where the
interface is dynamically generated.
[malthe]

* Return early for attributes that begin with two underscores.
https://github.com/plone/plone.dexterity/pull/11
[malthe]

* Make it possible to define a SchemaPolicy for the FTI
[Frédéric Péters]
[gbastien]

2.0

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

* Add a UID method to Dexterity items for compatibility with the Archetypes
API.
[davisagli]

* Remove hard dependency on zope.app.content.
[davisagli]

* Use standard Python properties instead of rwproperty.
[davisagli]

* Removed support for Plone 3 / CMF 2.1 / Zope 2.10.
[davisagli]

* Update package dependencies and imports as appropriate for Zope 2.12 & 2.13.
[davisagli]

Page 10 of 13

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.