Skip to main content

ZODB integration for cone.app

Project description

cone.zodb

Latest PyPI version Number of PyPI downloads Test cone.zodb

This package provides ZODB integration in cone.app and basic application nodes for publishing ZODB models.

Changes

1.0a3 (2022-10-06)

  • Replace deprecated use of IStorage by IMappingStorage. [rnix]

  • Replace deprecated use of Storage by MappingStorage. [rnix]

  • Replace deprecated use of Nodify by MappingNode. [rnix]

  • Replace deprecated use of NodeChildValidate by MappingConstraints. [rnix]

1.0a2 (2021-10-21)

  • Implement node.iterfaces.IOrder on ZODBEntry. [rnix]

1.0a1 (2020-07-09)

  • Fix case where _v_parent is not set if ZODBEntryNode is not read via ZODBEntryStorage but from ZODB root directly. [rnix]

  • Remove AsAttrAccess, Nodespaces, and Attributes behaviors from ZODBEntry. [rnix]

  • Add ZODBEntryStorage.attrs. Returns attributes of related ZODBEntryNode. [rnix]

  • Add ZODBEntryNode.__getitem__. Sets ZODBEntryNode.entry as parent on children to keep traversal and acquisition paths sane. [rnix]

  • Access principal_roles when initializing nodes with ZODBPrincipalACL behavior applied to avoid lazy creation. Needed to prevent _p_changed being set on first access. [rnix]

  • Do not remember principal_roles via instance_property decorator on ZODBEntryPrincipalACL to avoid ZODB.POSException.ConnectionStateError errors. [rnix]

  • Proper handling of ZODBEntry and ZODBEntryNode in zodb_path. [rnix]

  • Add include_entry attribute to CatalogAware behavior. Flag controls whether to index entry node in calatog. [rnix]

  • Add entry property to ZODBEntryNode. [rnix]

  • Use pyramid_zodbconn instead of repoze.zodbconn. [rnix]

  • Set node.interfaces.IOrdered on cone.zodb.entry.ZODBEntry to fix treerepr. [rnix]

  • Python 3 compatibility. [rnix]

  • Upgrade to cone.app 1.0b1. [rnix]

< 1.0

  • Initial work. [rnix]

License

Copyright (c) 2011-2021, BlueDynamics Alliance, Austria Copyright (c) 2021-2022, Cone Contributors All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  • Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

  • Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cone.zodb-1.0a3.tar.gz (13.7 kB view hashes)

Uploaded Source

Built Distribution

cone.zodb-1.0a3-py3-none-any.whl (16.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page