Metadata-Version: 1.0
Name: plone.app.versioningbehavior
Version: 1.0b1
Summary: Provides a behavior for using CMFEditions with dexterity content types
Home-page: http://plone.org/products/dexterity
Author: Jonas Baumann, 4teamwork GmbH
Author-email: mailto:dexterity-development@googlegroups.com
License: GPL version 2
Description: Introduction
        ============
        
        The ``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.app.versioningbehavior.behaviors.IVersionable`` in
        your dexterity content type.
        
        In your *profiles/default/types/YOURTYPE.xml* add the behavior::
        
        <?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.app.versioningbehavior.behaviors.IVersionable" />
        </property>
        
        </object>
        
        
        The IVersionable 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
        (/@@types-controlpanel) to either "Manual" or "Automatic" for activating
        versioning.
        
        
        More Information
        ----------------
        
        For more information about how the versioning works see the documentations of
        Products.CMFEdtitions:
        * http://pypi.python.org/pypi/Products.CMFEditions
        * http://plone.org/products/cmfeditions/
        
        
        Changelog
        =========
        
        
        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 anntation
        [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]
        
        
Keywords: plone dexterity behavior versioning CMFEditions
Platform: UNKNOWN
Classifier: Environment :: Web Environment
Classifier: Framework :: Plone
Classifier: Framework :: Zope2
Classifier: License :: OSI Approved :: GNU General Public License (GPL)
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Topic :: Software Development :: Libraries :: Python Modules
