plone.app.versioningbehavior


Nameplone.app.versioningbehavior JSON
Version 2.0.3 PyPI version JSON
download
home_pagehttp://plone.org/products/dexterity
SummaryProvides a behavior for using CMFEditions with dexterity content types
upload_time2024-07-31 15:22:54
maintainerNone
docs_urlNone
authorJonas Baumann, 4teamwork GmbH
requires_python>=3.8
licenseGPL version 2
keywords plone dexterity behavior versioning cmfeditions
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            Introduction
============

The ``plone.versioning`` (``IVersionable``) behavior is used for enabling the CMFEditions functionality for dexterity contents.
It adds a changeNote-field to the edit- and add-forms and creates a new version when the content is edited, if enabled for the content type.

It's based on *Products.CMFEditions*.
For listing the versions of an object use CMFEdtions' view ``versions_history_form`` or the history viewlet (see default @@view).


Usage
-----

Just use the behavior ``plone.versioning`` (``plone.app.versioningbehavior.behaviors.IVersionable``) in your dexterity content type.

In your *profiles/default/types/YOURTYPE.xml* add the behavior ``plone.versioning``::

    <?xml version="1.0"?>
    <object name="example.conference.presenter" meta_type="Dexterity FTI"
       i18n:domain="example.conference" xmlns:i18n="http://xml.zope.org/namespaces/i18n">

     <!-- enabled behaviors -->
     <property name="behaviors">
         <element value="plone.versioning" />
     </property>

    </object>


**The ``plone.versioning`` behavior just adds versioning support to your content type,
but it does not enable it.**

You have to set the "versioning" option in the Plone types control panel (/@@content-controlpanel) to either "Manual" or "Automatic" for activating versioning.

If you want to automatically enable versioning for your custom content types through generic setup you have to create a file "repositorytool.xml" in your gs profile (e.g. "profiles/default") with the following content::

    <?xml version="1.0"?>
    <repositorytool>
        <policymap>
            <type name="MyType">
                <policy name="at_edit_autoversion"/>
                <policy name="version_on_revert"/>
            </type>
            <type name="AnotherType">
                <policy name="at_edit_autoversion"/>
                <policy name="version_on_revert"/>
            </type>
        </policymap>
    </repositorytool>

See http://plone.org/documentation/manual/upgrade-guide/version/upgrading-plone-4.0-to-4.1/updating-add-on-products-for-plone-4.1/use-generic-setup-for-defining-versioning-policies for more details.


More Information
----------------

For more information about how the versioning works see the documentation of Products.CMFEditions:

 * http://pypi.python.org/pypi/Products.CMFEditions
 * http://plone.org/products/cmfeditions/

Changelog
=========

.. You should *NOT* be adding new change log entries to this file.
   You should create a file in the news directory instead.
   For helpful instructions, please see:
   https://github.com/plone/plone.releaser/blob/master/ADD-A-NEWS-ITEM.rst

.. towncrier release notes start

2.0.3 (2024-07-31)
------------------

Bug fixes:


- Remove setuptools fossils.
  [maurits] (#72)


Internal:


- Update configuration files.
  [plone devs] (6e36bcc4)


2.0.2 (2024-01-19)
------------------

Bug fixes:


- Update configuration.
  [plone devs] (#12345)


2.0.1 (2023-03-22)
------------------

Internal:


- Update configuration files.
  [plone devs] (b2d5d4a5)


2.0.0 (2022-11-30)
------------------

Bug fixes:


- Final release.
  [gforcada] (#600)


2.0.0b1 (2022-07-21)
--------------------

Bug fixes:


- Fix test for changed label in `Products.CMFEditions`.
  [petschki] (#64)
- Improve performance of the CloneNamedFileBlobs modifier
  which is used to handle Dexterity NamedBlobFile and NamedBlobImage fields
  while creating and retrieving versions. Previously the contents of the Blob
  were copied to a new Blob, but that is unnecessary and slow. Now the modifier
  simply ensures that the version retains a reference to the existing Blob.
  This also reduces use of data storage since only one copy of the Blob is needed
  rather than two.
  [davisagli] (#66)


1.4.6 (2022-02-04)
------------------

Bug fixes:


- Removed deprecated `plone.namedfile[blobs]` from the test requirements.
  [maurits] (#106)


1.4.5 (2022-01-28)
------------------

Bug fixes:


- Depend on `plone.namedfile` core instead of its empty `[blobs]` extra.
  [maurits] (#106)


1.4.4 (2021-11-26)
------------------

Bug fixes:


- Fix tests on Python 2 with newer plone.dexterity using repr for the schema.
  [wesleybl] (#60)


1.4.3 (2021-05-03)
------------------

Bug fixes:


- Fix issue where versioning dynamic content types with blob fields broke after a schema update due to change in dynamic schema identifiers since plone.dexterity >= 2.10.0
  [datakurre] (#57)


1.4.2 (2021-02-16)
------------------

Bug fixes:


- Do not break if the portal_repository tool cannot be found (#53)


1.4.1 (2020-07-30)
------------------

Bug fixes:


- Avoid traceback when transforming links on content type with no primary field
  [laulaz] (#51)


1.4.0 (2020-04-30)
------------------

New features:


- Change to use Python's built-in `filecmp.cmp(shallow=False)` to compare blobs for differences instead of the old method of comparing them line by line. [datakurre] (#50)


1.3.9 (2020-04-20)
------------------

Bug fixes:


- Update the documentation that was pointing to the obsolete @@types-controlpanel (it is @@content-controlpanel instead) (#33)


1.3.8 (2019-06-27)
------------------

Bug fixes:


- Initial version for versionable objects is properly created [ale-rt] (#47)


1.3.7 (2019-02-13)
------------------

Bug fixes:


- If a behavior that provides a NamedBlobFile was renamed, we can now still
  find the blob file, provided that the old behavior's dotted name was properly
  registered. [pysailor] (#45)


1.3.6 (2018-12-10)
------------------

Bug fixes:

- Move change notes field to be the last field of the form (just above the buttons).
  https://github.com/plone/Products.CMFPlone/issues/2640
  [gforcada]

1.3.5 (2018-11-02)
------------------

Bug fixes:

- Made writing Blob less aggressive.(issue #42)
  [iham]

- Remove (testing) dependency on zope.app.intid.
  [gforcada]

1.3.4 (2018-09-25)
------------------

Bug fixes:

- Migrate tests away from PloneTestCase
  [pbauer]

- Fix imports for py3
  [pbauer]


1.3.3 (2018-04-03)
------------------

New features:

- Add a field for disabling versions per content item
  https://github.com/plone/Products.CMFPlone/issues/2341
  [tomgross]

Bug fixes:

- Remove obsolete grok usage
  [tomgross]


1.3.2 (2018-02-02)
------------------

Bug fixes:

- Imports are Python3 compatible
  [ale-rt, robbuh]


1.3.1 (2017-06-06)
------------------

Bug fixes:

- Added a missing TTW edit form.
  [Rotonen]


1.3 (2016-12-30)
----------------

New features:

- Add shortname ``plone.versioning`` for behavior.
  [jensens]


1.2.10 (2016-09-23)
-------------------

Bug fixes:

- Do not break in the case of dexterity objects with relations
  migrated from something else (usually Archetypes).
  [ale-rt]


1.2.9 (2016-08-18)
------------------

Bug fixes:

- Use zope.interface decorator.
  [gforcada]


1.2.8 (2016-05-15)
------------------

Fixes:

- Fixes #25: URLs like `${absolute_url}/@@images/${uuid}.png` are not converted
  on `@@version-view`. [rafaelbco]


1.2.7 (2016-02-11)
------------------

New:

- Used plone i18n domain and removed locales folder.  [klinger]

Fixes:

- Updated Traditional Chinese translations.  [l34marr]


1.2.6 (2015-11-28)
------------------

Fixes:

- Update Italian translations
  [ale-rt, cekk]

- Fixes #10: Views for Image and File versions don't work.
  [rafaelbco]


1.2.5 (2015-09-20)
------------------

- Update French translations
  [enclope]


1.2.4 (2015-09-11)
------------------

- Updated basque translation
  [erral]


1.2.3 (2015-07-18)
------------------

- Correct functional test, it was not checking correct on version1.
  [bloodbare]


1.2.2 (2015-05-13)
------------------

- Synchronize translations
  [vincentfretin]

- provide better description of how new versions are created when in manual mode
  [vangheem]


1.2.1 (2015-03-13)
------------------

- Ported tests to plone.app.testing.
  Removed PloneTestCase / p.a.testing compatibility hack.
  [jone]

- Remove dependencies on zope.app.container and rwproperty.
  [davisagli]

- Added Italian translations.
  [cekk]


1.2.0 (2014-09-11)
------------------

- Remove customization of versions_history_form since the changes were ported
  to Products.CMFEditions>2.2.9.
  [rafaelbco]


1.1.4 (2014-08-25)
------------------

- Deal with AttributeError when trying to access fields provided by behaviors
  using attribute storage.
  [lgraf]

- Added Traditional Chinese translations.
  [marr]


1.1.3 (2014-02-26)
------------------

- Include ``*.rst`` files in the release. 1.1.2 was a brown bag release.
  [timo]


1.1.2 (2014-02-26)
------------------

- Remove plone.directives.form dependency since this fetches five.grok, which
  is not allowed in Plone core.
  [timo]


1.1.1 (2013-07-19)
------------------

- Merge Rafael Oliveira's (@rafaelbco) versions_history_form fixes
  from collective.cmfeditionsdexteritycompat.
  [rpatterson]

- danish translation added [tmog]

- Fixed an issue where a clone modifier would cause an incorrect
  pickle due to an implementation detail in CPython's memory
  allocation routine (exposed in Python as the object ``id``).
  [malthe]

- Include grok when grok package is installed.
  This makes sure the ZCML for the `grok` directive is loaded.
  [lgraf]

- For dexterity 1.x compatibility grok the package if grok is installed.
  [jone]

- Added Dutch translations.
  [kingel]

- Fix case where versioning of blobs would cause an error if a
  field was removed from a schema between revisions.
  [mikerhodes]


1.1 (2012-02-20)
----------------

- Added French translations.
  [jone]

- Fixed SkipRelations modifier to also work with behaviors which are storing
  relations in attributes.
  [buchi]

- Added Spanish translation.
  [hvelarde]


1.0 (2011-11-17)
----------------

- Added pt_BR translation.
  [rafaelbco, davisagli]

- Added support for versioning items with relations (plone.app.relationfield).
  Relations are skipped on clone and added from the working copy on restore.
  [buchi]


1.0b7 (2011-10-03)
------------------

* Fixed a bug in the CloneNamedFileBlobs modifier causing an AttributeError
  when the previous version doesn't have a blob and the working copy has one.
  [buchi]


1.0b6 (2011-09-25)
------------------

* Add missing dependency declaration on plone.namedfile[blobs].
  [davisagli]


1.0b5 (2011-09-01)
------------------

* Fixed setuphandler to not fail with older versions of Products.CMFEditions
  that do not have a Skip_z3c_blobfile modifier.
  [buchi]

* Fixed CloneNamedFileBlobs modifier to handle fields with value ``None``.
  [buchi]


1.0b4 (2011-08-11)
------------------

* Added generic setup profile which installs and enables the modifier for
  cloning blobs and disables the Skip_z3c_blobfile modifier.
  [buchi]

* Added support for versioning blobs (NamedBlobFile, NamedBlobImage).
  [buchi]

1.0b3 (2011-03-01)
------------------

* Remove grok usage, tidy up and declare zope.app.container dependency.
  [elro]

* Only version the modified object, not its container on modification.
  [elro]

1.0b2 (2011-01-25)
------------------

* Changed the behavior so that the changeNote field is only
  rendered in the Add and Edit forms.
  [deo]

* Made sure to always try to catch the ArchivistUnregisteredError
  exception at create_version_on_save (this mimics the original
  handling from CMFEditions).
  [deo]


1.0b1 (2010-11-04)
------------------

* Renamed package to `plone.app.versioningbehavior`.
  [jbaumann]

* Load Products.CMFEditions before testing.
  [jbaumann]

* Added some more tests.
  [jbaumann]

* Renamed package to plone.versioningbehavior (see dexterity mailing list).
  [jbaumann]

* Re-enabled IObjectAddedEvent-Eventhandler. The pickling error was fixed in
  CMFEdition's trunk.
  [jbaumann]

* Renamed the behavior marker interface IVersionOnSave to IVersioningSupport
  because it depends on the "version" settings in the types control panel if
  a content is automatically versioning on saving or not. The marker interface
  should only indicate if the type could be versioned or not.
  [jbaumann]

* Added locales directory with own domain for local translations.
  [jbaumann]

* Updated README.txt, included doctests in long-description.
  [jbaumann]

* Updated tests: events and version creation are now tested properly.
  [jbaumann]

* Added helper method for getting the changenote from the request annotation.
  [jbaumann]

* Storing changenote in an annotation on the request between the field-adapter
  and the event handler which creates the version. That makes it possible to
  use different form and widget manager prefixes.
  [jbaumann]

* Added localization for the comment field.
  [jbaumann]

* Disabled the Added-Event because it's not working due to a pickling problem.
  [jbaumann]

* Added a form-field changeNote. It's content is used as comment for the
  created version.
  [jbaumann]

* Added a Event-Handler for creating a new version on save.
  [jbaumann]

* Implemented the behavior plone.behaviors.versioning.behaviors.IVersionable.
  [jbaumann]

            

Raw data

            {
    "_id": null,
    "home_page": "http://plone.org/products/dexterity",
    "name": "plone.app.versioningbehavior",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": null,
    "keywords": "plone dexterity behavior versioning CMFEditions",
    "author": "Jonas Baumann, 4teamwork GmbH",
    "author_email": "mailto:dexterity-development@googlegroups.com",
    "download_url": "https://files.pythonhosted.org/packages/ce/3c/ad6dd03e191964c78017c866e5bd8dff8884f916ac530eb8dc1ec878d0e8/plone_app_versioningbehavior-2.0.3.tar.gz",
    "platform": null,
    "description": "Introduction\n============\n\nThe ``plone.versioning`` (``IVersionable``) behavior is used for enabling the CMFEditions functionality for dexterity contents.\nIt adds a changeNote-field to the edit- and add-forms and creates a new version when the content is edited, if enabled for the content type.\n\nIt's based on *Products.CMFEditions*.\nFor listing the versions of an object use CMFEdtions' view ``versions_history_form`` or the history viewlet (see default @@view).\n\n\nUsage\n-----\n\nJust use the behavior ``plone.versioning`` (``plone.app.versioningbehavior.behaviors.IVersionable``) in your dexterity content type.\n\nIn your *profiles/default/types/YOURTYPE.xml* add the behavior ``plone.versioning``::\n\n    <?xml version=\"1.0\"?>\n    <object name=\"example.conference.presenter\" meta_type=\"Dexterity FTI\"\n       i18n:domain=\"example.conference\" xmlns:i18n=\"http://xml.zope.org/namespaces/i18n\">\n\n     <!-- enabled behaviors -->\n     <property name=\"behaviors\">\n         <element value=\"plone.versioning\" />\n     </property>\n\n    </object>\n\n\n**The ``plone.versioning`` behavior just adds versioning support to your content type,\nbut it does not enable it.**\n\nYou have to set the \"versioning\" option in the Plone types control panel (/@@content-controlpanel) to either \"Manual\" or \"Automatic\" for activating versioning.\n\nIf you want to automatically enable versioning for your custom content types through generic setup you have to create a file \"repositorytool.xml\" in your gs profile (e.g. \"profiles/default\") with the following content::\n\n    <?xml version=\"1.0\"?>\n    <repositorytool>\n        <policymap>\n            <type name=\"MyType\">\n                <policy name=\"at_edit_autoversion\"/>\n                <policy name=\"version_on_revert\"/>\n            </type>\n            <type name=\"AnotherType\">\n                <policy name=\"at_edit_autoversion\"/>\n                <policy name=\"version_on_revert\"/>\n            </type>\n        </policymap>\n    </repositorytool>\n\nSee http://plone.org/documentation/manual/upgrade-guide/version/upgrading-plone-4.0-to-4.1/updating-add-on-products-for-plone-4.1/use-generic-setup-for-defining-versioning-policies for more details.\n\n\nMore Information\n----------------\n\nFor more information about how the versioning works see the documentation of Products.CMFEditions:\n\n * http://pypi.python.org/pypi/Products.CMFEditions\n * http://plone.org/products/cmfeditions/\n\nChangelog\n=========\n\n.. You should *NOT* be adding new change log entries to this file.\n   You should create a file in the news directory instead.\n   For helpful instructions, please see:\n   https://github.com/plone/plone.releaser/blob/master/ADD-A-NEWS-ITEM.rst\n\n.. towncrier release notes start\n\n2.0.3 (2024-07-31)\n------------------\n\nBug fixes:\n\n\n- Remove setuptools fossils.\n  [maurits] (#72)\n\n\nInternal:\n\n\n- Update configuration files.\n  [plone devs] (6e36bcc4)\n\n\n2.0.2 (2024-01-19)\n------------------\n\nBug fixes:\n\n\n- Update configuration.\n  [plone devs] (#12345)\n\n\n2.0.1 (2023-03-22)\n------------------\n\nInternal:\n\n\n- Update configuration files.\n  [plone devs] (b2d5d4a5)\n\n\n2.0.0 (2022-11-30)\n------------------\n\nBug fixes:\n\n\n- Final release.\n  [gforcada] (#600)\n\n\n2.0.0b1 (2022-07-21)\n--------------------\n\nBug fixes:\n\n\n- Fix test for changed label in `Products.CMFEditions`.\n  [petschki] (#64)\n- Improve performance of the CloneNamedFileBlobs modifier\n  which is used to handle Dexterity NamedBlobFile and NamedBlobImage fields\n  while creating and retrieving versions. Previously the contents of the Blob\n  were copied to a new Blob, but that is unnecessary and slow. Now the modifier\n  simply ensures that the version retains a reference to the existing Blob.\n  This also reduces use of data storage since only one copy of the Blob is needed\n  rather than two.\n  [davisagli] (#66)\n\n\n1.4.6 (2022-02-04)\n------------------\n\nBug fixes:\n\n\n- Removed deprecated `plone.namedfile[blobs]` from the test requirements.\n  [maurits] (#106)\n\n\n1.4.5 (2022-01-28)\n------------------\n\nBug fixes:\n\n\n- Depend on `plone.namedfile` core instead of its empty `[blobs]` extra.\n  [maurits] (#106)\n\n\n1.4.4 (2021-11-26)\n------------------\n\nBug fixes:\n\n\n- Fix tests on Python 2 with newer plone.dexterity using repr for the schema.\n  [wesleybl] (#60)\n\n\n1.4.3 (2021-05-03)\n------------------\n\nBug fixes:\n\n\n- Fix issue where versioning dynamic content types with blob fields broke after a schema update due to change in dynamic schema identifiers since plone.dexterity >= 2.10.0\n  [datakurre] (#57)\n\n\n1.4.2 (2021-02-16)\n------------------\n\nBug fixes:\n\n\n- Do not break if the portal_repository tool cannot be found (#53)\n\n\n1.4.1 (2020-07-30)\n------------------\n\nBug fixes:\n\n\n- Avoid traceback when transforming links on content type with no primary field\n  [laulaz] (#51)\n\n\n1.4.0 (2020-04-30)\n------------------\n\nNew features:\n\n\n- Change to use Python's built-in `filecmp.cmp(shallow=False)` to compare blobs for differences instead of the old method of comparing them line by line. [datakurre] (#50)\n\n\n1.3.9 (2020-04-20)\n------------------\n\nBug fixes:\n\n\n- Update the documentation that was pointing to the obsolete @@types-controlpanel (it is @@content-controlpanel instead) (#33)\n\n\n1.3.8 (2019-06-27)\n------------------\n\nBug fixes:\n\n\n- Initial version for versionable objects is properly created [ale-rt] (#47)\n\n\n1.3.7 (2019-02-13)\n------------------\n\nBug fixes:\n\n\n- If a behavior that provides a NamedBlobFile was renamed, we can now still\n  find the blob file, provided that the old behavior's dotted name was properly\n  registered. [pysailor] (#45)\n\n\n1.3.6 (2018-12-10)\n------------------\n\nBug fixes:\n\n- Move change notes field to be the last field of the form (just above the buttons).\n  https://github.com/plone/Products.CMFPlone/issues/2640\n  [gforcada]\n\n1.3.5 (2018-11-02)\n------------------\n\nBug fixes:\n\n- Made writing Blob less aggressive.(issue #42)\n  [iham]\n\n- Remove (testing) dependency on zope.app.intid.\n  [gforcada]\n\n1.3.4 (2018-09-25)\n------------------\n\nBug fixes:\n\n- Migrate tests away from PloneTestCase\n  [pbauer]\n\n- Fix imports for py3\n  [pbauer]\n\n\n1.3.3 (2018-04-03)\n------------------\n\nNew features:\n\n- Add a field for disabling versions per content item\n  https://github.com/plone/Products.CMFPlone/issues/2341\n  [tomgross]\n\nBug fixes:\n\n- Remove obsolete grok usage\n  [tomgross]\n\n\n1.3.2 (2018-02-02)\n------------------\n\nBug fixes:\n\n- Imports are Python3 compatible\n  [ale-rt, robbuh]\n\n\n1.3.1 (2017-06-06)\n------------------\n\nBug fixes:\n\n- Added a missing TTW edit form.\n  [Rotonen]\n\n\n1.3 (2016-12-30)\n----------------\n\nNew features:\n\n- Add shortname ``plone.versioning`` for behavior.\n  [jensens]\n\n\n1.2.10 (2016-09-23)\n-------------------\n\nBug fixes:\n\n- Do not break in the case of dexterity objects with relations\n  migrated from something else (usually Archetypes).\n  [ale-rt]\n\n\n1.2.9 (2016-08-18)\n------------------\n\nBug fixes:\n\n- Use zope.interface decorator.\n  [gforcada]\n\n\n1.2.8 (2016-05-15)\n------------------\n\nFixes:\n\n- Fixes #25: URLs like `${absolute_url}/@@images/${uuid}.png` are not converted\n  on `@@version-view`. [rafaelbco]\n\n\n1.2.7 (2016-02-11)\n------------------\n\nNew:\n\n- Used plone i18n domain and removed locales folder.  [klinger]\n\nFixes:\n\n- Updated Traditional Chinese translations.  [l34marr]\n\n\n1.2.6 (2015-11-28)\n------------------\n\nFixes:\n\n- Update Italian translations\n  [ale-rt, cekk]\n\n- Fixes #10: Views for Image and File versions don't work.\n  [rafaelbco]\n\n\n1.2.5 (2015-09-20)\n------------------\n\n- Update French translations\n  [enclope]\n\n\n1.2.4 (2015-09-11)\n------------------\n\n- Updated basque translation\n  [erral]\n\n\n1.2.3 (2015-07-18)\n------------------\n\n- Correct functional test, it was not checking correct on version1.\n  [bloodbare]\n\n\n1.2.2 (2015-05-13)\n------------------\n\n- Synchronize translations\n  [vincentfretin]\n\n- provide better description of how new versions are created when in manual mode\n  [vangheem]\n\n\n1.2.1 (2015-03-13)\n------------------\n\n- Ported tests to plone.app.testing.\n  Removed PloneTestCase / p.a.testing compatibility hack.\n  [jone]\n\n- Remove dependencies on zope.app.container and rwproperty.\n  [davisagli]\n\n- Added Italian translations.\n  [cekk]\n\n\n1.2.0 (2014-09-11)\n------------------\n\n- Remove customization of versions_history_form since the changes were ported\n  to Products.CMFEditions>2.2.9.\n  [rafaelbco]\n\n\n1.1.4 (2014-08-25)\n------------------\n\n- Deal with AttributeError when trying to access fields provided by behaviors\n  using attribute storage.\n  [lgraf]\n\n- Added Traditional Chinese translations.\n  [marr]\n\n\n1.1.3 (2014-02-26)\n------------------\n\n- Include ``*.rst`` files in the release. 1.1.2 was a brown bag release.\n  [timo]\n\n\n1.1.2 (2014-02-26)\n------------------\n\n- Remove plone.directives.form dependency since this fetches five.grok, which\n  is not allowed in Plone core.\n  [timo]\n\n\n1.1.1 (2013-07-19)\n------------------\n\n- Merge Rafael Oliveira's (@rafaelbco) versions_history_form fixes\n  from collective.cmfeditionsdexteritycompat.\n  [rpatterson]\n\n- danish translation added [tmog]\n\n- Fixed an issue where a clone modifier would cause an incorrect\n  pickle due to an implementation detail in CPython's memory\n  allocation routine (exposed in Python as the object ``id``).\n  [malthe]\n\n- Include grok when grok package is installed.\n  This makes sure the ZCML for the `grok` directive is loaded.\n  [lgraf]\n\n- For dexterity 1.x compatibility grok the package if grok is installed.\n  [jone]\n\n- Added Dutch translations.\n  [kingel]\n\n- Fix case where versioning of blobs would cause an error if a\n  field was removed from a schema between revisions.\n  [mikerhodes]\n\n\n1.1 (2012-02-20)\n----------------\n\n- Added French translations.\n  [jone]\n\n- Fixed SkipRelations modifier to also work with behaviors which are storing\n  relations in attributes.\n  [buchi]\n\n- Added Spanish translation.\n  [hvelarde]\n\n\n1.0 (2011-11-17)\n----------------\n\n- Added pt_BR translation.\n  [rafaelbco, davisagli]\n\n- Added support for versioning items with relations (plone.app.relationfield).\n  Relations are skipped on clone and added from the working copy on restore.\n  [buchi]\n\n\n1.0b7 (2011-10-03)\n------------------\n\n* Fixed a bug in the CloneNamedFileBlobs modifier causing an AttributeError\n  when the previous version doesn't have a blob and the working copy has one.\n  [buchi]\n\n\n1.0b6 (2011-09-25)\n------------------\n\n* Add missing dependency declaration on plone.namedfile[blobs].\n  [davisagli]\n\n\n1.0b5 (2011-09-01)\n------------------\n\n* Fixed setuphandler to not fail with older versions of Products.CMFEditions\n  that do not have a Skip_z3c_blobfile modifier.\n  [buchi]\n\n* Fixed CloneNamedFileBlobs modifier to handle fields with value ``None``.\n  [buchi]\n\n\n1.0b4 (2011-08-11)\n------------------\n\n* Added generic setup profile which installs and enables the modifier for\n  cloning blobs and disables the Skip_z3c_blobfile modifier.\n  [buchi]\n\n* Added support for versioning blobs (NamedBlobFile, NamedBlobImage).\n  [buchi]\n\n1.0b3 (2011-03-01)\n------------------\n\n* Remove grok usage, tidy up and declare zope.app.container dependency.\n  [elro]\n\n* Only version the modified object, not its container on modification.\n  [elro]\n\n1.0b2 (2011-01-25)\n------------------\n\n* Changed the behavior so that the changeNote field is only\n  rendered in the Add and Edit forms.\n  [deo]\n\n* Made sure to always try to catch the ArchivistUnregisteredError\n  exception at create_version_on_save (this mimics the original\n  handling from CMFEditions).\n  [deo]\n\n\n1.0b1 (2010-11-04)\n------------------\n\n* Renamed package to `plone.app.versioningbehavior`.\n  [jbaumann]\n\n* Load Products.CMFEditions before testing.\n  [jbaumann]\n\n* Added some more tests.\n  [jbaumann]\n\n* Renamed package to plone.versioningbehavior (see dexterity mailing list).\n  [jbaumann]\n\n* Re-enabled IObjectAddedEvent-Eventhandler. The pickling error was fixed in\n  CMFEdition's trunk.\n  [jbaumann]\n\n* Renamed the behavior marker interface IVersionOnSave to IVersioningSupport\n  because it depends on the \"version\" settings in the types control panel if\n  a content is automatically versioning on saving or not. The marker interface\n  should only indicate if the type could be versioned or not.\n  [jbaumann]\n\n* Added locales directory with own domain for local translations.\n  [jbaumann]\n\n* Updated README.txt, included doctests in long-description.\n  [jbaumann]\n\n* Updated tests: events and version creation are now tested properly.\n  [jbaumann]\n\n* Added helper method for getting the changenote from the request annotation.\n  [jbaumann]\n\n* Storing changenote in an annotation on the request between the field-adapter\n  and the event handler which creates the version. That makes it possible to\n  use different form and widget manager prefixes.\n  [jbaumann]\n\n* Added localization for the comment field.\n  [jbaumann]\n\n* Disabled the Added-Event because it's not working due to a pickling problem.\n  [jbaumann]\n\n* Added a form-field changeNote. It's content is used as comment for the\n  created version.\n  [jbaumann]\n\n* Added a Event-Handler for creating a new version on save.\n  [jbaumann]\n\n* Implemented the behavior plone.behaviors.versioning.behaviors.IVersionable.\n  [jbaumann]\n",
    "bugtrack_url": null,
    "license": "GPL version 2",
    "summary": "Provides a behavior for using CMFEditions with dexterity content types",
    "version": "2.0.3",
    "project_urls": {
        "Homepage": "http://plone.org/products/dexterity"
    },
    "split_keywords": [
        "plone",
        "dexterity",
        "behavior",
        "versioning",
        "cmfeditions"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b842f18360f8bbf353251077a5f864b62c9d361c1d4c48e70680571fc9ab41be",
                "md5": "f567da2d96384aafb2002d43a3f71bca",
                "sha256": "42dbecf0442fa0aa572c3ad4e69450054171a0b819a3742920c0f5f1812b8e97"
            },
            "downloads": -1,
            "filename": "plone.app.versioningbehavior-2.0.3-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "f567da2d96384aafb2002d43a3f71bca",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 31868,
            "upload_time": "2024-07-31T15:22:52",
            "upload_time_iso_8601": "2024-07-31T15:22:52.817847Z",
            "url": "https://files.pythonhosted.org/packages/b8/42/f18360f8bbf353251077a5f864b62c9d361c1d4c48e70680571fc9ab41be/plone.app.versioningbehavior-2.0.3-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ce3cad6dd03e191964c78017c866e5bd8dff8884f916ac530eb8dc1ec878d0e8",
                "md5": "9e8070a9fb9926c7f58f709fe6ee99ce",
                "sha256": "3ddd50910482d1c2c83335aa18c825688817ed9f1569299200a92a8ac8d3331f"
            },
            "downloads": -1,
            "filename": "plone_app_versioningbehavior-2.0.3.tar.gz",
            "has_sig": false,
            "md5_digest": "9e8070a9fb9926c7f58f709fe6ee99ce",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 30838,
            "upload_time": "2024-07-31T15:22:54",
            "upload_time_iso_8601": "2024-07-31T15:22:54.590179Z",
            "url": "https://files.pythonhosted.org/packages/ce/3c/ad6dd03e191964c78017c866e5bd8dff8884f916ac530eb8dc1ec878d0e8/plone_app_versioningbehavior-2.0.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-07-31 15:22:54",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "plone.app.versioningbehavior"
}
        
Elapsed time: 0.29779s