Package: plone.app.contenttypes
Contentsplone.app.contenttypes documentationIntroductionInstallationInformation for Addon-DevelopersDesign decisionsExtending the typesChanging the base class for existing objectsSource CodeLicenseContributorsChangelog3.0.5 (2023-10-25)3.0.4 (2023-10-07)3.0.3 (2023-05-22)3.0.2 (2023-04-14)3.0.1 (2023-01-26)3.0.0 (2022-12-01)3.0.0b2 (2022-08-30)3.0.0b1 (2022-06-23)3.0.0a13 (2022-05-24)3.0.0a12 (2022-05-14)3.0.0a11 (2022-04-07)3.0.0a10 (2022-02-24)3.0.0a9 (2022-01-28)3.0.0a8 (2022-01-28)3.0.0a7 (2022-01-19)3.0.0a6 (2022-01-07)3.0.0a5 (2021-11-23)3.0.0a4 (2021-10-16)3.0.0a3 (2021-09-15)3.0.0a2 (2021-05-11)3.0.0a1 (2021-04-20)2.2.1 (2020-10-12)2.2.0 (2020-09-28)2.1.10 (2020-08-14)2.1.9 (2020-07-17)2.1.8 (2020-06-30)2.1.7 (2020-04-20)2.1.6 (2020-02-16)2.1.5 (2019-11-25)2.1.4 (2019-10-22)2.1.3 (2019-10-12)2.1.2 (2019-07-18)2.1.1 (2019-07-06)2.1.0 (2019-06-19)2.0.5 (2019-05-04)2.0.4 (2019-04-29)2.0.3 (2019-03-21)2.0.2 (2019-03-03)2.0.1 (2019-02-13)2.0.0 (2018-10-30)1.4.12 (2018-09-23)1.4.11 (2018-06-18)1.4.10 (2018-04-03)1.4.9 (2018-02-11)1.4.8 (2018-02-05)1.4.7 (2017-12-14)1.4.6 (2017-11-26)1.4.5 (2017-10-06)1.4.4 (2017-10-02)1.4.3 (2017-08-30)1.4.2 (2017-08-27)1.4.1 (2017-07-03)1.4 (2017-06-03)1.3.0 (2017-03-27)1.2.22 (2017-02-20)1.2.21 (2017-02-05)1.2.20 (2017-01-20)1.2.19 (2016-12-02)1.2.18 (2016-09-14)1.2.17 (2016-08-18)1.2.16 (2016-06-12)1.2.15 (2016-06-06)1.2.14 (2016-05-25)1.2.13 (2016-05-12)1.2.12 (2016-04-13)1.2.11 (2016-03-31)1.2.10 (2016-02-27)1.2.9 (2016-01-08)1.2.8 (2015-12-15)1.2.7 (2015-11-28)1.2.6 (2015-11-25)1.2.5 (2015-10-28)1.2.4 (2015-09-27)1.2.3 (2015-09-20)1.2.2 (2015-09-15)1.2.1 (2015-09-12)1.2.0 (2015-09-07)1.2b4 (2015-08-22)1.2b3 (2015-07-18)1.2b2 (2015-06-05)1.2b1 (2015-05-30)1.2a9 (2015-05-13)1.2a8 (2015-05-04)1.2a7 (2015-03-27)1.2a6 (2015-03-26)1.2a5 (2014-10-23)1.2a4 (2014-09-17)1.2a3 (2014-04-19)1.2a2 (2014-04-13)1.2a1 (2014-02-22)1.1b3 (2014-09-07)1.1b2 (2014-02-21)1.1b1 (2014-02-19)1.1a1 (2013-11-22)1.0 (2013-10-08)1.0rc1 (2013-09-24)1.0b2 (2013-05-31)1.0b1 (2013-01-27)1.0a2 (unreleased)1.0a1 (unreleased)plone.app.contenttypes documentationIntroductionplone.app.contenttypes provides default content types for Plone based on Dexterity.It contains the following types:CollectionDocumentEventFileFolderImageLinkNews ItemThese types are editable and extendable through-the-web and you can add or remove fields and behaviors using the control-panel “Dexterity Content Types” (/@@dexterity-types).InstallationThis package is included in Plone 6 and does not need installation.Information for Addon-DevelopersDesign decisionsSchemata that are defined in XML-files usingplone.supermodelallow editing those types’ schemata through the web.
This is the case for the default File, Image and Link content types.
Schemata coming from behaviors, on the other hand, are not editable through the web.
The Document, News Item, Folder and Event default types, for example, have no schemata of their own at all, all their fields are provided by behaviors.Extending the typesYou have several options:Extend the types through-the-web by adding new fields or behaviors in the types-controlpanel/@@dexterity-types.Extend the types with a custom type-profile that extends the existing profile with behaviors, or fields.You will first have to add the type to your[yourpackage]/profiles/default/types.xml.<?xml version="1.0"?><objectname="portal_types"meta_type="Plone Types Tool"><objectname="Folder"meta_type="Dexterity FTI"/></object>Here is an example that enables the image-behavior for Folders in[yourpackage]/profiles/default/types/Folder.xml:<?xml version="1.0"?><objectname="Folder"meta_type="Dexterity FTI"><propertyname="behaviors"purge="False"><elementvalue="plone.app.contenttypes.behaviors.leadimage.ILeadImage"/></property></object>By adding a schema-definition to the profile you can add fields.<?xml version="1.0"?><objectname="Folder"meta_type="Dexterity FTI"><propertyname="model_file">your.package.content:folder.xml</property><propertyname="behaviors"purge="False"><elementvalue="plone.app.contenttypes.behaviors.leadimage.ILeadImage"/></property></object>Put the schema-xml inyour/package/content/folder.xml(the foldercontentneeds a__init__.py)<modelxmlns:security="http://namespaces.plone.org/supermodel/security"xmlns:marshal="http://namespaces.plone.org/supermodel/marshal"xmlns:form="http://namespaces.plone.org/supermodel/form"xmlns="http://namespaces.plone.org/supermodel/schema"><schema><fieldname="teaser_title"type="zope.schema.TextLine"><description/><required>False</required><title>Teasertitle</title></field><fieldname="teaser_subtitle"type="zope.schema.Text"><description/><required>False</required><title>Teasersubtitle</title></field><fieldname="teaser_details"type="plone.app.textfield.RichText"><description/><required>False</required><title>Teaserdetails</title></field></schema></model>You could alternatively override the peropertymodel_fileof the type-definition with a empty string and use the propertyschemato provide your custom python-schema.For more complex features you should always consider create custom behaviors and/or write your own content-types since that will most likely give you more flexibility and less problem when you want to upgrade to a newer version in the future.For more information on custom dexterity-types and custom behaviors please read thedexterity documentation.Changing the base class for existing objectsIf you changed the base-class of existing types (e.g. because you changed them to be folderish) you also need to upgrade the base-class of existing objects. You can use the following form for this:@@base_class_migrator_form.This form lets you select classes to be updated and shows the number of objects for each class. This form can be used to change the base-class of any dexterity-types instances. The migration will also transform itemish content to folderish content if the new class is folderish. You might want to use the methodplone.app.contenttypes.migration.dxmigration.migrate_base_class_to_new_classin your own upgrade-steps.Source CodeContributors please read the documentProcess for Plone core’s developmentSources are at thePlone code repository hosted at Github.LicenseGNU General Public License, version 2ContributorsPhilip Bauer <bauer@starzel.de>Michael Mulich <michael.mulich@gmail.com>Timo Stollenwerk <contact@timostollenwerk.net>Peter Holzer <peter.holzer@agitator.com>Patrick Gerken <gerken@starzel.de>Steffen Lindner <lindner@starzel.de>Daniel Widerin <daniel@widerin.net>Jens Klein <jens@bluedynamics.com>Joscha Krutzki <joka@jokasis.de>Mathias Leimgruber <m.leimgruber@4teamwork.ch>Matthias Broquet <mbroquet@atreal.fr>Wolfgang Thomas <thomas@syslab.com>Bo Simonsen <bo@geekworld.dk>Andrew Mleczko <andrew@mleczko.net>Roel Bruggink <roel@jaroel.nl>Carsten Senger <senger@rehfisch.de>Rafael Oliveira <rafaelbco@gmail.com>Martin Opstad Reistadbakk <martin@blaastolen.com>Nathan Van Gheem <vangheem@gmail.com>Johannes Raggam <raggam-nl@adm.at>Jamie Lentin <jm@lentin.co.uk>Maurits van Rees <maurits@vanrees.org>David Glick <david@glicksoftware.com>Kees Hink <keeshink@gmail.com>Roman Kozlovskyi <krzroman@gmail.com>Gauthier Bastien <gauthier.bastien@imio.be>Andrea Cecchi <andrea.cecchi@redturtle.it>Bogdan Girman <bogdan.girman@gmail.com>Martin Opstad Reistadbakk <martin@blaastolen.com>Florent Michon <fmichon@atreal.fr>Hector Velarde <hector.velarde@gmail.com>Changelog3.0.5 (2023-10-25)Bug fixes:Fix link_redirect_view, respect vhm vs none-vhm url schemes @1letter (#671)3.0.4 (2023-10-07)Internal:Update configuration files.
[plone devs] (7723aeaf)3.0.3 (2023-05-22)Bug fixes:extends the the calculation of url if resolveuid part of link in LinkRedirectView @1letter (#626)Remove the unused dependency plone.app.event
[@folix-01] (#663)3.0.2 (2023-04-14)Bug fixes:Fix test_behaviors_table_of_contents: ordering of attrtributes changed.
@jensens (fix-test_behaviors_table_of_contents)Internal:Update configuration files.
[plone devs] (#47959565)TestsRun the robot tests.
[maurits] (#69)3.0.1 (2023-01-26)Bug fixes:Fix error in News Item view when it doesn’t have a text field. [davisagli] (#652)3.0.0 (2022-12-01)New features:add loading=’lazy’ to img tag in listing album, summary and tabular
[yurj] (#655)3.0.0b2 (2022-08-30)Bug fixes:Robot tests: use more specific element when clicking Save button.
‘Click Button Save’ sometimes failed.
[maurits] (#3582)3.0.0b1 (2022-06-23)Bug fixes:Add missing i18n tags
[erral] (#648)3.0.0a13 (2022-05-24)Bug fixes:When using@@imagesview, calltagdirectly.
[maurits] (#3535)3.0.0a12 (2022-05-14)Breaking changes:Use plone.base, code style black, isort, pyupgrade, manual overhaul.
[jensens] (#644)Bug fixes:Removed unused migration and uninstall code, and rfc822 tests.
[maurits] (#641)Re-register and improve @@base_class_migrator_form required to migrate to foilderish items.
[pbauer] (#642)3.0.0a11 (2022-04-07)New features:PLIP 2780: Move features of collective.dexteritytextindexer to core.
[zworkb] (#2780)Bug fixes:Fix Collections Standard view when showing events
[frapell] (#634)listing_view and summary_view cleanup and float fix
[petschki] (#638)Aftermath of PLIP 3395 + isort/black on these files.
[jensens] (#639)3.0.0a10 (2022-02-24)Bug fixes:A content type with the richtext behavior might not have atextattribute,
handle that gracefully.
[gforcada] (#1)3.0.0a9 (2022-01-28)Bug fixes:Security fix: prevent cache poisoning with the Referer header.
Seesecurity advisory <https://github.com/plone/plone.app.contenttypes/security/advisories/GHSA-f7qw-5fgj-247x>.
[maurits] (#1)3.0.0a8 (2022-01-28)Bug fixes:Depend onplone.namedfilecore instead of its empty[blobs]extra.
[maurits] (#106)3.0.0a7 (2022-01-19)Breaking changes:Remove upgrade steps that are not relevant anymore in Plone 6 [ale-rt] (#613)Bug fixes:Fix tests with ES6.
[maurits] (#6)3.0.0a6 (2022-01-07)Bug fixes:Fix author url in tabular listing
[petschki] (#627)3.0.0a5 (2021-11-23)Breaking changes:Remove atcontenttypes dependencies, migration, keep BaseClassMigratorForm.
[agitator] (#620)Remove (ATCT) BBB view name registrations.
[agitator] (#621)Bug fixes:Adapt the tests to cope with the fact the since Plone 6 the Plone site root is cataloged [ale-rt] (#616)Fixed typo in test ‘constraints’ -> ‘constrains’. [iham] (#619) (#619)Use document_view as default for dx site root.
[agitator] (#624)3.0.0a4 (2021-10-16)Bug fixes:Upgrade: fix icon expressions for portal_types and their view and edit actions.
Seethis PR comment.
[maurits] (#259)Add missing i18n:translate tags
[erral] (#614)3.0.0a3 (2021-09-15)Breaking changes:Plone Site is now a DX container. This means that the front-page object no
longer exists.
Refs PLIP 2454.
[jaroel] (#475)Bug fixes:Remove cyclic dependency with Products.CMFPlone
[ericof] (#609)Removed autoinclude entry point.
No longer needed, sinceProducts.CMFPloneexplicitly includes our zcml.
[maurits] (#611)3.0.0a2 (2021-05-11)New features:Rework contenttype views.
[agitator] (#598)3.0.0a1 (2021-04-20)Breaking changes:Update for Plone 6 with Bootstrap markup
[agitator, ale-rt, ladplone, mliebischer, pbauer, petschki, santonelli] (#589)Bug fixes:Various fixes for restoring references:MigraterelatesToAT relation torelatedItemsDX relation.In DX check the schema to see if relation field is list or item.
Taken over fromcollective.relationhelpers.restore_references: acceptrelationship_fieldname_mappingargument.
This must be a dictionary with a relationship name as key and fieldname as value, instead of always usingrelatedItemsas fieldname.[maurits] (#510)Use python statements in templates.
[pbauer, mliebischer, ladplone] (#579)Catch AttributeError forgetNextPreviousEnabledduring migration.
[maurits] (#582)migrate_datetimefield: do nothing when old value is None.
This fixesAttributeError: 'NoneType' object has no attribute 'asdatetime'.
[maurits] (#584)Fix condition indocument.pt[petschki] (#596)2.2.1 (2020-10-12)Bug fixes:Update tests to fix updated schema cache.
Seehttps://github.com/plone/plone.dexterity/pull/137[@avoinea] (#573)2.2.0 (2020-09-28)New features:Allow passing a custom catalog-query to migrateCustomAT to constrain which objects to migrate. [pbauer] (#572)Bug fixes:Fix various deprecation warnings.
[maurits] (#3130)2.1.10 (2020-08-14)Bug fixes:Handle cases where the __parent__ of a discussion was not set to the migrated DX object.
[pbauer] (#566)In the edge case where the meta_type could not be resolved assume is_folderish being false.
[pbauer] (#567)Fixed problems ingetMimeTypeIcon.
The contentType of the file was ignored, and icon paths could have a duplicate++resource++mimetype.icons/.
[maurits] (#569)2.1.9 (2020-07-17)Bug fixes:Display the image size rounded with 1 decimal digit [ale-rt] (#554)Avoid doing the search twice in listings by reusing the batch variable.
[vincentfretin] (#560)2.1.8 (2020-06-30)Bug fixes:Internationalize selectable columns in collection and tabular view.
This fixeshttps://github.com/plone/Products.CMFPlone/issues/2597[vincentfretin] (#559)2.1.7 (2020-04-20)Bug fixes:Minor packaging updates. (#1)2.1.6 (2020-02-16)Bug fixes:Integrate PloneHotFix20200121: add more permission checks.
Seehttps://plone.org/security/hotfix/20200121/privilege-escalation-for-overwriting-content[maurits] (#3021)Add a guard in the document.pt template to allow the Document type not to have the RichText
enforce the behavior enabled.
[sneridagh] (#3047)2.1.5 (2019-11-25)Bug fixes:for migration tests uninstall plone.app.contenttypes if previously installed
[ericof] (#535)2.1.4 (2019-10-22)Bug fixes:Fix richtextgetTextview to use the correct schema interface.
[thet]Robot tests: split big content listing scenario, fix deprecations.
[maurits] (#533)2.1.3 (2019-10-12)Bug fixes:Clear schema cache after migration stepmigrate_to_pa_event. [jensens] (#531)Explicitly load zcml of dependencies, instead of usingincludeDependencies[maurits] (#2952)2.1.2 (2019-07-18)Bug fixes:Speedup stats during migration by not waking up all objects.
[pbauer] (#529)2.1.1 (2019-07-06)Bug fixes:Don’t test for hard coded image size in test.
[agitator] (#527)2.1.0 (2019-06-19)New features:Support ILeadImage behavior when display collection album view.
[rodfersou] (#524)Add more log-messages during migration from AT to DX.
[pbauer] (#526)Bug fixes:Use the shared ‘Plone test setup’ and ‘Plone test teardown’ keywords in Robot tests.
[Rotonen] (#522)2.0.5 (2019-05-04)Bug fixes:Move dotted behaviors to named behaviors. [iham] (#519)2.0.4 (2019-04-29)Bug fixes:Add ‘content-core’ macro definition to summary_view.pt so it can be reused
[petschki] (#514)Speed up traversal to main_template by markling it as a browser-view.
[pbauer] (#517)2.0.3 (2019-03-21)Bug fixes:Detect whether a webdav request is RFC822 or pure payload and handle accordingly. (#2781)2.0.2 (2019-03-03)Bug fixes:Fix robots test after dropdownnavigation is enabled for new sites. [pbauer]
(#511)2.0.1 (2019-02-13)Bug fixes:Following the rename of the lead image and rich text behaviors, use the new
setting of plone.behavior to register theirformer_dotted_names, so that
consumers that have stored the old dotted name have a chance of recovering.
This is especially needed for plone.app.versioningbehavior, seeissue
<https://github.com/plone/plone.app.versioningbehavior/pull/45>[pysailor]
(#480)Fixed sorting error after Changing the base class for existing objects. seeissue <https://github.com/plone/plone.app.contenttypes/issues/487>[jianaijun] (#497)Fix for folder view when there is one item more than the batch size. seeissue <https://github.com/plone/plone.app.contenttypes/issues/500>[reinhardt] (#500)replace catalog_get_all(catalog) with catalog.getAllBrains() [pbauer] (#503)2.0.0 (2018-10-30)Breaking changes:ILeadImage and IRichText behaviors now have proper “Marker”-Interfaces.
As this was only possible by renaming the schema adapter toBehaviorto
not break with implementations inside the collective, the FTI-behavior-definition
has changed:plone.app.contenttypes.behaviors.leadimage.ILeadImagebecomesplone.app.contenttypes.behaviors.leadimage.ILeadImageBehaviorandplone.app.contenttypes.behaviors.richtext.IRichTextbecomesplone.app.contenttypes.behaviors.richtext.IRichTextBehavior[iham]New features:By using correct (Marker-)Interfaces for the ILeadImage and IRichText,
the factories are now working properly and can be reconfigured
wherever you might need them. ZCA FTW!
[iham]Use human_readable_size from Products.CMFPlone.utils to replace getObjSize
script. #1801
[reinhardt]Bug fixes:TheFormataccessor should actually return theformatattribute
(see plone/Products.CMFPlone#2540)
[ale-rt]Fix resource warnings.
[davisagli]1.4.12 (2018-09-23)Breaking changes:ILeadImage and IRichText behaviors now have proper “Marker”-Interfaces.
As this was only possible by renaming the schema adapter toBehaviorto
not break with implementations inside the collective, the FTI-behavior-definition
has changed:plone.app.contenttypes.behaviors.leadimage.ILeadImagebecomesplone.app.contenttypes.behaviors.leadimage.ILeadImageBehaviorandplone.app.contenttypes.behaviors.richtext.IRichTextbecomesplone.app.contenttypes.behaviors.richtext.IRichTextBehavior[iham]New features:By using correct (Marker-)Interfaces for the ILeadImage and IRichText,
the factories are now working properly and can be reconfigured
wherever you might need them. ZCA FTW!
[iham]Bug fixes:Fix folder layout property migration. The default listing_view layout was
always set if a folder didn’t have a layout property.
Also a default_page property could be inherited from parent folders or
the Plone Siteroot, causing ‘front-page’ default_pages on many folders.
Now only a direct layout property is copied and in that case on the local
default_page if set is copied again.
seeissue 444 <https://github.com/plone/plone.app.contenttypes/issues/444>[fredvd]Fixed false implemented Factories and Markers for ILeadImage and IRichText.
seeissue 457 <https://github.com/plone/plone.app.contenttypes/issues/476>[iham]Fixed Tests for collection and migration.
seeissue <https://github.com/plone/plone.app.contenttypes/issues/477>[iham]Pinned pydocstyle as it broke buildout.
[iham]pep8 cleanup.
[iham]Fix various issues in py3
[pbauer]1.4.11 (2018-06-18)Bug fixes:Fix SearchableText in Python 3
[pbauer]Skip migration tests if ATContentTypes is not installed.
[davisagli]check if a contentrule exists before assignment on migration
[MrTango]1.4.10 (2018-04-03)New features:Set theplone.app.contenttypes_migration_runningkey while running a migration.
Other addons can check for that and handle accordingly.
[thet]Bug fixes:Implement better human readable file size logic.
[hvelarde]Do not encode query strings on internal link redirections;
fixesissue 457.
[hvelarde]Migrations:Handle ignore catalog errors where a brain can’t find it’s object.Try to delete the layout attribute before setting the layout.
Rework parts where the layout is set by always setting the layout.[thet]In folder listings, when a content object has no title show it’s id instead of an empty title.
[thet]Fix upgrades steps when the catalog is inconsistent
[ale-rt]1.4.9 (2018-02-11)New features:Members folder made permanently private. Fixeshttps://github.com/plone/Products.CMFPlone/issues/2259[mrsaicharan1]1.4.8 (2018-02-05)Bug fixes:Do not useportal_quickinstallerin the migration form.
Useget_installerto check ifplone.app.contenttypesis
installed or installable.  Useportal_setupdirectly for
blacklisting thetype_infostep when installing our profile.
[maurits]Add Python 2 / 3 compatibility
[pbauer]1.4.7 (2017-12-14)Bug fixes:Rename post_handlers. Fixeshttps://github.com/plone/Products.CMFPlone/issues/2238[pbauer]1.4.6 (2017-11-26)New features:Allow to patch searchableText index during migrations.
[pbauer]Expose option to skip catalog-reindex after migration in form.
[pbauer]Bug fixes:Remove last use ofatcontenttypestranslation domain.
Fixesissue 37.
[maurits]Don’t overwrite existing settings for Plone Site.
[roel]1.4.5 (2017-10-06)Bug fixes:Do not install plone.app.discussion when installing plone.app.contenttypes.
[timo]1.4.4 (2017-10-02)New features:Test SVG handling
[tomgross]Use post_handler instead of import_steps.
[pbauer]Bug fixes:Do not use a default value in the form ofhttp://for the link.
The new link widget resolves that to the portal root object.
Also, it’s not a valid URL.
Fixes:https://github.com/plone/Products.CMFPlone/issues/2163[thet]Remove obsolete HAS_MULTILINGUAL from utils.
[pbauer]Clean up all__init__methods of the browser views to avoid unnecessary code execution.
[thet]Make sure the effects of the robotframework REMOTE_LIBRARY_BUNDLE_FIXTURE
fixture are not accidentally removed as part of tearing down the
PLONE_APP_CONTENTTYPES_ROBOT_FIXTURE.
[davisagli]1.4.3 (2017-08-30)Bug fixes:Disable queuing of indexing-operations (PLIPhttps://github.com/plone/Products.CMFPlone/issues/1343)
during migration to Dexterity to prevent catalog-errors.
[pbauer]1.4.2 (2017-08-27)New features:Index default values when indexing the file fails due to a missing binary.
[pbauer]Allow to skip rebuilding the catalog when migrating at to dx in code.
[pbauer]Bug fixes:Add translation namesspace and i18n:translate to the dexterity schema
definitions for the content types that have extra field defined on top of the
behavior composition. Otherwise no translations can be picked up.
[fredvd]Use original raw text and mimetype when indexing rich text.
This avoids a double transform (raw source to output mimetype to plain text).
Includes a reindex of the SearchableText index for Collections, Documents and News Items.Issue 2066.
[maurits]Migrate the richtext-field ‘text’ when migrating ATTopics to Collections.
[pbauer]Remove Language=’all’ from migration-query since it was removed from p.a.multilingual
[pbauer]Actually migrate all migratable types when passing ‘all’ to at-dx migration.
[pbauer]Remove plone.app.robotframework ‘reload’ extra.
This allows to remove quite some other external dependencies that are not Python 3 compatible.
[gforcada]1.4.1 (2017-07-03)New features:Integrate new link widget from plone.app.z3cform.
[tomgross]Bug fixes:Made sure the text field of Collections is searchable.Issue 406.
[maurits]Fix issue preventing disabling icons and/or thumbs globally.
[fgrcon]1.4 (2017-06-03)New features:New metadata catalog column MimeTypehttps://github.com/plone/Products.CMFPlone/issues/1995[fgrcon]new behavior: IThumbIconHandling, suppress thumbs /icons, adjust thumb size, templates adaptedhttps://github.com/plone/Products.CMFPlone/issues/1734(PLIP)Bug fixes:fixed css-classes for thumb scales …https://github.com/plone/Products.CMFPlone/issues/2077[fgrcon]Fix test for checking if TinyMCE is loaded which broke afterhttps://github.com/plone/Products.CMFPlone/pull/2059[thet]Fix flaky test in test_indexes.
[thet]removed unittest2 dependency
[kakshay21]Fix issue where contentFilter could not be read from request
[datakurre]1.3.0 (2017-03-27)New features:Make use of plone.namedfile’s tag() function to generate img tags. Part of plip 1483.
[didrix]Bug fixes:Avoid failure during migration if relation is broken.
[cedricmessiant]Fix import location for Products.ATContentTypes.interfaces.
[thet]1.2.22 (2017-02-20)Bug fixes:Add condition so custom folder migration does not fail if there is not
an ‘excludeFromNav’
[cdw9]1.2.21 (2017-02-05)New features:Remove browserlayer from listing views to allow overrides from other packages
[agitator]Bug fixes:Use helper method to retrieve all catalog brains in migration code, because Products.ZCatalog removed the ability to get all brains by calling the catalog without arguments.
[thet, gogobd]Fix use of add_file in testbrowser tests. [davisagli]Render migration results without using Zope session. [davisagli]1.2.20 (2017-01-20)Bug fixes:Use unicode string when .format() parameter is unicode for the field migrator
[frapell]1.2.19 (2016-12-02)Bug fixes:Fix SearchableText indexer, using textvalue.mimeType
[agitator]Fix Mimetype icon path. With the removal of the skins folder inhttps://github.com/plone/Products.MimetypesRegistry/pull/8/commits/61acf8327e5c844bff9e5c5676170aaf0ee2c323we need the full resourcepath now
[agitator]Show message for editors when viewing Link.
Fixesissue 375.
[maurits]Update code to follow Plone styleguide.
[gforcada]Update File.xml view action url_expr to append /view
Fixes ‘issue 378’ <https://github.com/plone/plone.app.contenttypes/issues/378>`_.
[lbrannon]1.2.18 (2016-09-14)Bug fixes:Correct the SearchableText base indexer: use mime type of RichText output
(rather than raw) value in plaintext conversion. Fixes #357.
[petri]1.2.17 (2016-08-18)New features:Configure edit urls for locking support, where locking support is enabled.
[thet]Addi18n:attributeproperties to all action nodes for FTI types.
[thet]added few pypi links in ‘Migration’ section
[kkhan]Bug fixes:Marked relative location criterion robot test as unstable.
This needs further investigation, but must not block Plone development.
See issuehttps://github.com/plone/plone.app.contenttypes/issues/362[maurits]Removepathindex injection in “plone.collection” behaviorsresultsmethod.
It is a duplicate.
Exactly the same is done already in theplone.app.querybuilder.querybuilder._makequery,
which is called by aboveresultsmethod.
[jensens]Select all migratable types in migration-form by default. Fixes #193.
[pbauer]Use zope.interface decorator.
[gforcada]Mark robot testplone.app.contenttypes.tests.test_robot.RobotTestCase.Scenario Test Absolute Location Criterionas unstable.
This needs further investigation, but must not block Plone development.
[jensens]corrected typos in the documentation
[kkhan]1.2.16 (2016-06-12)Bug fixes:Wait longer to fix unstable robot tests.  [maurits]1.2.15 (2016-06-06)Bug fixes:Fixed possible cross site scripting (XSS) attack in lead image caption.  [maurits]1.2.14 (2016-05-25)Bug fixes:Encode the linked url for the Link type to allow for non ascii characters in the url.
[martior]1.2.13 (2016-05-12)Fixes:Deferred adapter lookup in collection view.
This was looked up for contentmenu/toolbar at every authenticated request.
It also had side effects if custom collection behaviors are used.
[jensens]Fixed unstable robot test for location criterion.  [maurits]Don’t fail forutils.replace_link_variables_by_paths, if value isNone.
The value can beNonewhen creating aLinktype withinvokeFactorywithoutremoteUrlset and calling the indexer before setting the URL.
[thet]1.2.12 (2016-04-13)New:assign shortnames to behaviors as supported by plone.behavior
[thet]1.2.11 (2016-03-31)New:WebDAV support for File and Image
[ebrehault]Fixes:Made xpath expression in test less restrictive.
[maurits]Register explicitly plone.app.event dependency on configure.zcml.
[hvelarde]1.2.10 (2016-02-27)New:Addedlistingmacro as found inlisting.pttolisting_album.ptandlisting_tabular.ptfor
a coherent customization.
[tomgross]Fixes:Check if there is a non-empty leadimage field for migration.
[bsuttor]Make sure to have image scale before generating tag for album view.
[vangheem]Also remove collections upon uninstalling.
[pbauer]Various fixes while migrating custom contenttypes:do not fail if source object does not have a ‘excludeFromNav’ field;do not fail if source object field’s label contains special characters;do not try to migrate assigned portlets if source object is not
portlet assignable.
[gbastien]No longer try to install ATContentTypes-types on uninstalling.
[pbauer]Enhancement: Split up migration test for modification date and references
in two functions for easier debugging.
[jensens]Simplify test in robot framework which fails in its newer version.
[jensens]1.2.9 (2016-01-08)Fixes:Change all text getters onplone.app.textfield.value.RichTextValueobjects tooutput_relative_towith the current context. This correctly
transforms relative links. See:https://github.com/plone/plone.app.textfield/issues/7[thet]1.2.8 (2015-12-15)Fixes:fix issue in migration where source or target uuid could not
be found
[vangheem]1.2.7 (2015-11-28)Fixes:Index subject field on the catalog so that is searchable.
Fixeshttps://github.com/plone/plone.app.contenttypes/issues/194[gforcada]1.2.6 (2015-11-25)New:Allow to pass custom field_migrator methods with custom migrations.
[pbauer]Fixes:Create standard news/events collections withselection.any.
Issuehttps://github.com/plone/Products.CMFPlone/issues/1040[maurits]Avoid AttributeError from potential acquisition issues with folder listings
[vangheem]Avoid AttributeError when trying to get the default_page of an item
when migrating
[frapell]Used html5 doctype in image_view_fullscreen.  Now it can be parsed
correctly by for example i18ndude.
[maurits]Use plone i18n domain in zcml.
[vincentfretin]Do aIRichTexttext indexing on all registered SearchableText indexers by
doing it as part of the baseSearchableTextfunction. Convert the text
from the source mimetype totext/plain.
[thet]AddgetRawQuerymethod to Collection content type for backward compatibility with Archetypes API.
Fixes (partially)https://github.com/plone/plone.app.contenttypes/issues/283.
[hvelarde]1.2.5 (2015-10-28)Fixes:Fix custom migration from and to types with spaces in the type-name.
[pbauer]Fixed full_view when content is not IUUIDAware (like the portal).Cleanup and rework: contenttype-icons
and showing thumbnails for images/leadimages in listings …https://github.com/plone/Products.CMFPlone/issues/1226[fgrcon]Fix full_view when content is not IUUIDAware (like the portal).
Fixeshttps://github.com/plone/Products.CMFPlone/issues/1109.
[pbauer]Added plone.app.linkintegrity to dependencies due to test-issues.
[pbauer]1.2.4 (2015-09-27)Fixed full_view error when collection contains itself.
[vangheem]test_content_profile: do not apply Products.CMFPlone:plone.
[maurits]1.2.3 (2015-09-20)Do not raise an exception for items where @@full_view_item throws an
exception. Instead hide the object.
[pbauer]Do not raise errors when IPrimaryFieldInfo(obj) fails (e.g. when the
Schema-Cache is gone).
Fixeshttps://github.com/plone/Products.CMFPlone/issues/839[pbauer]Fix an error with logging an exception on indexing SearchableText for files
and concatenating utf-8 encoded strings.
[thet]Make consistent use of LeadImage behavior everywhere. Related to
plone/plone.app.contenttypes#1012. Contentleadimages no longer show up in
full_view since they are a viewlet.
[sneridagh, pbauer]Fixed the summary_view styling
[sneridagh]redirect_links property has moved to the configuration registry.redirect_links, types_view_action_in_listings properties have moved to the
configuration registry.
[esteele]1.2.2 (2015-09-15)Prevent negative ints and zero when limiting collection-results.
[pbauer]1.2.1 (2015-09-12)Migrate next-previous-navigation.
Fixhttps://github.com/plone/plone.app.contenttypes/issues/267[pbauer]1.2.0 (2015-09-07)Handle languages better for content that is create when site is generated
[vangheem]InFolderViewbased views, don’t include theportal_typesquery, ifobject_providesis set in theresultsmethod keyword arguments. Fixes
a case, where no Album Images were shown, when portal_state’sfriendly_typesdidn’t include theImagetype.
[thet]1.2b4 (2015-08-22)Test Creator criterion with Any selection.
[mvanrees]Selection criterion converter: allow selection.is alternative operation.
[mvanrees]Fixed corner case in topic migration.
[mvanrees]Use event_listung for /events/aggregator in new sites.
[pbauer]Remove obsolete collections.css
[pbauer]Add plone.app.querystring as a dependency (fixes collections migrated to p5
and dexterity).
[pbauer]Migrate layout of portal to use the new listing-views when migrating to dx.
[pbauer]Migrate layout using the new listing-views when migrating folders,
collections, topics.
[pbauer]Update allowed view_methods of the site-root on installing or migrating.
Fixes #25.
[pbauer]Set default_view when updating view_methods. Fixes #250.
[pbauer]Fix bug in reference-migrations where linkintegrity-relations were turned
into relatedItems.
[pbauer]Setup calendar and visible ids even when no default-content gets created.
[pbauer]Remove upgrade-step that resets all behaviors. Fixes #246.
[pbauer]Add convenience-view @@export_all_relations to export all relations.
[pbauer]Add method link_items that allows to link any kind of item (AT/DX) with any
kind of relationship.
[pbauer]New implementation of reference-migrations.
[pbauer]Fix i18n on custom_migration view.
[vincentfretin]1.2b3 (2015-07-18)Fix BlobNewsItemMigrator.
[MrTango]Fix ATSelectionCriterionConverter to set the right operators.
[MrTango]Fix @@custom_migraton when they type-name has a space (fixes #243).
[pbauer]Get and set linkintegrity-setting with registry.
[pbauer]Use generic field_migrators in all migrations.
[pbauer]Remove superfluous ‘for’. Fixes plone/Products.CMFPlone#669.
[fulv]1.2b2 (2015-06-05)Use modal pattern for news item image instead of jquery tools.
[vangheem]1.2b1 (2015-05-30)Keep additional view_methods when migrating to new view_methods. Fixes #231.
[pbauer]Fix upgrade-step to use new view_methods.
[pbauer]Fix possible error setting fields for tabular_view for
collections.  Issue #209.
[maurits]1.2a9 (2015-05-13)Provide table of contents for document view.
[vangheem]Default to using locking support on Page, Collection, Event and News Item types.
[vangheem]Show the LeadImageViewlet only on default views.
[thet]1.2a8 (2015-05-04)Follow best practice for CHANGES.rst.
[timo]Add migrations from custom AT types to available DX types (fix #133).
[gbastien, cekk, tiazma, flohcim, pbauer]FixcontentFilterfor collections.
[thet]Don’t batch the already batched collection results. Fixes #221.
[thet]I18n fixes.
[vincentfretin]Fixtest_warning_for_uneditable_contentto work with recent browser layer
changes inplone.app.z3cform.
[thet]Update image_view_fullscreen.pt for mobile friendliness.
[fulv]Removed dependency on CMFDefault
[tomgross]1.2a7 (2015-03-27)Re-relase 1.2a6. Seehttps://github.com/plone/plone.app.contenttypes/commit/7cb74a2fcbf108acd43fe4ae3713f007db2073bffor details.
[timo]1.2a6 (2015-03-26)In the listing view, don’t repeat on thearticletag, which makes it
impossible to override this structure. Instead, repeat on a unrenderedtaltag and move the article tag within.
[thet]Don’t try to show IContentLeadImage images, if theree none. Use the “mini”
scale as default scale for IContentLeadImage.
[thet]Improve handling of Link types with other URL schemes thanhttp://andhttps://.
[thet]When installing the default profile, restrict uninstalling of old types to
old FTI based ones.
[thet]Reformatted all templates for 2 space indentation, 4 space for attributes.
[thet]Register folder and collection views under the same name. Old registrations
are kept for BBB compatibility.
[thet]Refactor full_view and incorporate fixes from collective.fullview to
1) display the default views of it’s items, 2) be recursively callable
and 3) have the same templates for folder and collections.
[thet]Refactor folder_listing, folder_summary_view, folder_tabular_view and
folder_album_view for folders as well as standard_view (collection_view),
summary_view, tabular_view and thumbnail_view for collections to use the same
templates and base view class.
[thet]In the file view, render HTML5<audio>or<video>tags for audio
respectively video file types. Ancient browsers, which do not support that,
just don’t render these tags.
[thet]Definedefault_page_typesin thepropertiestool.xmlprofile.
[thet]Addevent_listingto available view methods for the Folder and Collection
types.
[thet]Add migration for images added with collective.contentleadimage.
[pbauer]Add migration for contentrules.
[pbauer]Fix folder_full_view_item and allow overriding with jbot (fix #162).
[pbauer]Migrate comments created with plone.app.discussion.
[gbastien, pbauer]Allow migrating Topics and Subtopics to folderish Collections.
[pbauer]Add migration from Topics to Collections (fixes #131).
[maurits, pbauer]Add helpers and a form to update object with changed base class. Also
allows migrating from itemish to folderish.
[bogdangi, pbauer]Keep portlets when migrating AT to DX (fixes #161)
[frisi, gbastien, petschki]1.2a5 (2014-10-23)Code modernization: sorted imports, use decorators, utf8 headers.
[jensens]Fix: Added missing types to CMFDiffTool configuration.
[jensens]Integration of the new markup update and CSS for both Plone and Barceloneta
theme. This is the work done in the GSOC Barceloneta theme project. Fix
several templates.
[albertcasado, sneridagh]1.2a4 (2014-09-17)Include translated content into migration-information (see #170)
[pbauer]Add simple confirmation to prevent unintentional migration.
[pbauer]Don’t remove custom behaviors on reinstalling.
[pbauer]Add bbb getText view for content with IRichText-behavior
[datakurre]Supportcustom_queryparameter in theresultmethod of theCollectionbehavior. This allows for run time customization of the
stored query, e.g. by request parameters.
[thet]Fix ‘AttributeError: image’ when NewsItem unused the lead image behavior.
[jianaijun]Restore Plone 4.3 compatibility by depending onplone.app.event >= 2.0a4.
The previous release of p.a.c got an implicit Plone 5 dependency through a
previous version of plone.app.event.
[thet]Replace AT-fti with DX-fti when migrating a type.
[esteele, pbauer]Only show migratable types (fixes #155)
[pbauer]Add logging during and after migration (fixes #156)
[pbauer]When replacing the default news and events collections, reverse the
sort order correctly.
[maurits]1.2a3 (2014-04-19)Adapt to changes of plone.app.event 2.0.
[thet]Fix issue when mimetype can be None.
[pbauer]1.2a2 (2014-04-13)Enable IShortName for all default-types.
[pbauer, mikejmets]Add form to install pac and forward to dx_migration
after a successful migration to Plone 5
[pbauer]Rename atct_album_view to folder_album_view.
[pbauer]Do a better check, if LinguaPlone is installed, based on the presence of the
“LinguaPlone” browser layer. Asking the quick installer tool might claim it’s
installed, where it’s not.
[thet]Register folderish views not for plone.app.contenttypes’ IFolder but for
plone.dexterity’s IDexterityContainer. Now, these views can be used on any
folderish Dexterity content.
[thet]Add a ICustomMigrator interface to the migration framework, which can be used
to register custom migrator adapters. This can be useful to add custom
migrators to more than one or all content types. For example for
schemaextenders, which are registered on a interface, which is provided by
several content types.
[thet]In the migration framework, fix queries for Archetype objects, where only
interfaces are used to skip brains with no or Dexterity meta_type. In some
cases Dexterity and Archetype objects might provide the same marker
interfaces.
[thet]Add logging messages to content migrator for more verbosity on what’s
happening while running the migration.
[thet]Use Plone 4 based @@atct_migrator and @@atct_migrator_results template
structure.
[thet]1.2a1 (2014-02-22)Fix viewlet warning about ineditable content (fixes #130)
[pbauer]Reintroduce the removed schema-files and add upgrade-step to migrate to
behavior-driven richtext-fields (fixes #127)
[pbauer]Delete Archetypes Member-folder before creating new default-content
(fixes #128)
[pbauer]Remove outdated summary-behavior from event (fixes #129)
[pbauer]1.1b3 (2014-09-07)Include translated content into migration-information (see #170)
[pbauer]Add simple confirmation to prevent unintentional migration.
[pbauer]Don’t remove custom behaviors on reinstalling.
[pbauer]Remove enabling simple_publication_workflow from testing fixture.
[timo]Only show migratable types (fixes #155)
[pbauer]Add logging during and after migration (fixes #156)
[pbauer]Remove ‘robot-test-folder’ from p.a.contenttypes test setup. It is bad to
add content to test layers, especially if those test layers are used by
other packages.
[timo]When replacing the default news and events collections, reverse the
sort order correctly.
[maurits]For plone.app.contenttypes 1.1.x, depend on plone.app.event < 1.1.999.
Closes/Fixes #149.
[khink, thet]1.1b2 (2014-02-21)Fix viewlet warning about ineditable content (fixes #130)
[pbauer]Reintroduce the removed schema-files and add upgrade-step to migrate to
behavior-driven richtext-fields (fixes #127)
[pbauer]Delete Archetypes Member-folder before creating new default-content
(fixes #128)
[pbauer]Remove outdated summary-behavior from event (fixes #129)
[pbauer]1.1b1 (2014-02-19)Add tests for collections and collection-migrations.
[pbauer]Removed Plone 4.2 compatibility.
[pbauer]Add migration of at-collections to the new collection-behavior.
[pbauer]Display richtext in collection-views.
[pbauer]Reorganize and improve documentation.
[pbauer]Add a richtext-behavior and use it in for all types.
[amleczko, pysailor]Improve the migration-results page (Fix #67).
[pbauer]For uneditable content show a warning and hide the edit-link.
[pbauer]Keep all modification-date during migration (Fix #62).
[pbauer]Only attempt transforming files if valid content type.
[vangheem]Make the collection behavior aware of INavigationRoot. Fixes #98
[rafaelbco]Use unique URL provided byplone.app.imagingto show the large version
of a news item’s lead image. This allows use of a stronger caching policy.
[rafaelbco]Fix URL for Link object on the navigation portlet if it
contains variables (Fix #110).
[rafaelbco]1.1a1 (2013-11-22)Event content migration for Products.ATContentTypes ATEvent,
plone.app.event’s ATEvent and Dexterity example type and
plone.app.contenttypes 1.0 Event to plone.app.contenttypes 1.1
Event based on plone.app.event’s Dexterity behaviors.
[lentinj]Remove DL’s from portal message templates.https://github.com/plone/Products.CMFPlone/issues/153[khink]Collection: getquerybuilderresultsview instead of using theQueryBuilderclass directly.
[maurits]Fix migration restoreReferencesOrder removes references
[joka]Enable summary_view and all_content views for content types that
have the collection behavior enabled.  Define collection_view for
those types so you can view the results.  These simply show the
results.  The normal view of such a type will just show all fields
in the usual dexterity way.
[maurits, kaselis]Add customViewFields to the Collection behavior.  This was available
on old collections too.
[maurits, kaselis]Change Collection to use a behavior.  Issue #65.
[maurits, kaselis]Improved test coverage for test_migration
[joka]Add tests for vocabularies used for the migration
[maethu]Add migration-form /@@atct_migrate based on initial work by gborelli
[pbauer, tiazma]Add ATBlob tests and use migration layer for test_migration
[joka]Integrate plone.app.event.
[thet]1.0 (2013-10-08)Remove AT content and create DX-content when installing in a fresh site.
[pbauer]Remove obsolete extra ‘migrate_atct’.
[pbauer]Add link and popup to the image of News Items.
[pbauer]Use the default profile title for the example content profile.
[timo]Unicode is expected, butobj.titleand/orobj.descriptioncan be
still be None in SearchableText indexer.
[saily]1.0rc1 (2013-09-24)Implement a tearDownPloneSite method in testing.py to prevent test
isolation problems.
[timo]Its possible to upload non-image data into a newsitem. The view was broken
then. Now it shows the uploaded file for download below the content. Its no
longer broken.
[jensens]Add contributor role as default for all add permissions in order to
work together with the different plone workflows, which assume it is
set this way.
[jensens]fix #60: File Type has no mimetype specific icon in catalog metadata.
Also fixed for Image.
[jensens]fix #58: Migration ignores “Exclude from Navigation”.
[jensens]disable LinkIntegrityNotifications during migrations, closes #40.
[jensens]Fix Bug on SearchableText_file indexer when input stream contains
characters not convertible in ASCII. Assumes now utf-8 and replaces
all unknown. Even if search can not find the words with special
characters in, indexer does not break completely on those items.
[jensens]Remove dependency on plone.app.referenceablebehavior, as it depends on
Products.Archetypes which installs the uid_catalog.
[thet]Make collection syndicatable.
[vangheem]Include the migration module not only when Products.ATContentTypes is
installed but also archetypes.schemaextender. The schemaextender might not
always be available.
[thet]Add fulltext search of file objects.
[do3cc]Fix link_redirect_view: Use index instead of template class var to
let customization by ZCML of the template.
[toutpt]Add a permission for each content types.
[toutpt]1.0b2 (2013-05-31)Fix translations to the plone domain, and some translations match existing
translations in the plone domain. (ported from plone.app.collection)
[bosim]Fix atct_album_view and don’t use atctListAlbum.py.
[pbauer]Add constrains for content create with the Content profile.
[ericof]Add SearchableText indexer to Folder content type.
[ericof]Fix atct_album_view.
[pbauer]Removed dependency for collective.dexteritydiff since its features were
merged into Products.CMFDiffTool.
[pbauer]Add test for behavior table_of_contents.
[pbauer]Add migration for blobnewsitems as proposed inhttps://github.com/plone/plone.app.blob/pull/2.
[pbauer]Require cmf.ManagePortal for migration.
[pbauer]Always migrate files and images to blob (fixes #26).
[pbauer]Add table of contents-behavior for documents.
[pbauer]Add versioning-behavior and it’s dependencies.
[pbauer]Remove image_view_fullscreen from the display-dropdown.
[pbauer]Enable selecting addable types on folders by default.
[pbauer]Fix reference-migrations if some objects were not migrated.
[pbauer]Keep the order references when migrating.
[pabo3000]Move templates into their own folder.
[pbauer]Moved migration related code to specific module.
[gborelli]Added migration Collection from app.collection to app.contenttypes.
[kroman0]Add missingi18n:attributesto ‘Edit’ and ‘View’ actions of File type.
[saily]Bind ‘View’ action to${object_url}/viewinstead of${object_url}as in ATCT for File and Image type.
[saily]Fixed installation of p.a.relationfield together with p.a.contenttypes.
[kroman0]Fixed creating aggregator of events on creating Plone site.
[kroman0]Added titles for menuitems.
[kroman0]Hide uninstall profile from @@plone-addsite.
[kroman0]Fix ‘ImportError: cannot import name Counter’ for Python 2.6.http://github.com/plone/plone.app.contenttypes/issues/19[timo]Move XML schema definitions to schema folder.
[timo]Prevent the importContent step from being run over and over again.
[pysailor]Add build status image.
[saily]Merge plone.app.collection (Tag: 2.0b5) into plone.app.contenttypes.
[timo]Refactor p.a.collection robot framework tests.
[timo]1.0b1 (2013-01-27)Added mime type icon for file.
[loechel]Lead image behavior added.
[timo]Make NewsItem use the lead image behavior.
[timo]SearchableText indexes added.
[reinhardt]Set the text of front-page when creating a new Plone.
[pbauer]Robot framework test added.
[Gomez]1.0a2 (unreleased)Move all templates from skins to browser views.
[timo]User custom base classes for all content types.
[timo]Migration view (@@fix_base_classes) added to migrate content objects that
were created with version 1.0a1.
[timo]Mime Type Icon added for File View.
[loechel]1.0a1 (unreleased)Initial implementation.
[pbauer, timo, pumazi, agitator]