.. contents::
.. image:: https://api.travis-ci.org/plone/plone.app.contenttypes.png?branch=master
:target: http://travis-ci.org/plone/plone.app.contenttypes
.. image:: https://img.shields.io/pypi/dm/plone.app.contenttypes.svg
:target: https://crate.io/packages/plone.app.contenttypes
.. image:: https://img.shields.io/pypi/v/plone.app.contenttypes.svg
:target: https://crate.io/packages/plone.app.contenttypes
.. image:: https://img.shields.io/coveralls/plone/plone.app.contenttypes/master.svg
:target: https://coveralls.io/github/plone/plone.app.contenttypes?branch=master
plone.app.contenttypes documentation
====================================
Introduction
------------
plone.app.contenttypes provides default content types for Plone based on Dexterity.
It contains the following types:
* Collection
* Document
* Event
* File
* Folder
* Image
* Link
* News Item
These 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``).
Installation
------------
This package is included in Plone 6 and does not need installation.
Information for Addon-Developers
--------------------------------
Design decisions
^^^^^^^^^^^^^^^^
Schemata that are defined in XML-files using ``plone.supermodel`` allow 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 types
^^^^^^^^^^^^^^^^^^^
You have several options:
1. Extend the types through-the-web by adding new fields or behaviors in the types-controlpanel ``/@@dexterity-types``.
2. 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``.
.. code:: xml
<?xml version="1.0"?>
<object name="portal_types" meta_type="Plone Types Tool">
<object name="Folder" meta_type="Dexterity FTI" />
</object>
Here is an example that enables the image-behavior for Folders in ``[yourpackage]/profiles/default/types/Folder.xml``:
.. code:: xml
<?xml version="1.0"?>
<object name="Folder" meta_type="Dexterity FTI">
<property name="behaviors" purge="False">
<element value="plone.leadimage"/>
</property>
</object>
By adding a schema-definition to the profile you can add fields.
.. code:: xml
<?xml version="1.0"?>
<object name="Folder" meta_type="Dexterity FTI">
<property name="model_file">your.package.content:folder.xml</property>
<property name="behaviors" purge="False">
<element value="plone.leadimage"/>
</property>
</object>
Put the schema-xml in ``your/package/content/folder.xml`` (the folder ``content`` needs a ``__init__.py``)
.. code:: xml
<model xmlns: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>
<field name="teaser_title" type="zope.schema.TextLine">
<description/>
<required>False</required>
<title>Teaser title</title>
</field>
<field name="teaser_subtitle" type="zope.schema.Text">
<description/>
<required>False</required>
<title>Teaser subtitle</title>
</field>
<field name="teaser_details" type="plone.app.textfield.RichText">
<description/>
<required>False</required>
<title>Teaser details</title>
</field>
</schema>
</model>
You could alternatively override the property ``model_file`` of the type-definition with a empty string and use the property ``schema`` to 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 the `dexterity documentation <http://docs.plone.org/external/plone.app.dexterity/docs/>`_.
Changing the base class for existing objects
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
If 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 method ``plone.app.contenttypes.migration.dxmigration.migrate_base_class_to_new_class`` in your own upgrade-steps.
Source Code
===========
Contributors please read the document `Process for Plone core's development <https://docs.plone.org/develop/coredev/docs/index.html>`_
Sources are at the `Plone code repository hosted at Github <https://github.com/plone/plone.app.contenttypes>`_.
License
-------
GNU General Public License, version 2
Contributors
------------
* Philip 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>
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
4.0.1 (2024-10-31)
------------------
Internal:
- Update configuration files.
[plone devs]
Tests
- port robot tests [1letter] (#698)
4.0.0 (2024-09-03)
------------------
Breaking changes:
- Do not enable plone.allowdiscussion by default, it is a core add-on now.
This is for Plone 6.1, so is a breaking change.
[@jensens] (#665)
3.0.9 (2024-06-07)
------------------
Bug fixes:
- No longer set ``portal_properties.site_properties.visible_ids`` on site creation.
The ``portal_properties`` tools is deprecated, ``visible_ids`` was not set as real property, and usage of ``visible_ids`` was largely removed in Plone 5.0 already.
You already can no longer set ``visible ids`` in the Editing control panel, nor in the member preferences.
The only remaining use for ``visible_ids``, if set to true, was to show the page ids on the 'select default page' form.
[maurits] (#125)
3.0.8 (2024-05-30)
------------------
Bug fixes:
- Support using the file template on objects that have no file attributes. [ale-rt] (#688)
- Fixed p.a.widgets `moved` DeprecationWarning [jensens] (#690)
3.0.7 (2024-04-25)
------------------
Bug fixes:
- Fix ILeadImageBehavior and IRichTextBehavior interfaces were the name change was forgotten.
[thet] (#681)
3.0.6 (2024-03-15)
------------------
Bug fixes:
- Fix folder listing template when `plone.eventlocation` behavior is disabled for Events.
[petschki] (#679)
Internal:
- Update configuration files.
[plone devs] (6e36bcc4)
3.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)
Tests
- Run 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 ``@@images`` view, call ``tag`` directly.
[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 a `text` attribute,
handle that gracefully.
[gforcada] (#1)
3.0.0a9 (2022-01-28)
--------------------
Bug fixes:
- Security fix: prevent cache poisoning with the Referer header.
See `security 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 on `plone.namedfile` core 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.
See `this PR comment <https://github.com/plone/plone.app.upgrade/pull/259#issuecomment-944213712>`_.
[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, since ``Products.CMFPlone`` explicitly 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:
- Migrate ``relatesTo`` AT relation to ``relatedItems`` DX relation.
- In DX check the schema to see if relation field is list or item.
Taken over from `collective.relationhelpers <https://github.com/collective/collective.relationhelpers/>`_.
- ``restore_references``: accept ``relationship_fieldname_mapping`` argument.
This must be a dictionary with a relationship name as key and fieldname as value, instead of always using ``relatedItems`` as fieldname.
[maurits] (#510)
- Use python statements in templates.
[pbauer, mliebischer, ladplone] (#579)
- Catch AttributeError for ``getNextPreviousEnabled`` during migration.
[maurits] (#582)
- migrate_datetimefield: do nothing when old value is None.
This fixes ``AttributeError: 'NoneType' object has no attribute 'asdatetime'``.
[maurits] (#584)
- Fix condition in ``document.pt``
[petschki] (#596)
2.2.1 (2020-10-12)
------------------
Bug fixes:
- Update tests to fix updated schema cache.
See https://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 in ``getMimeTypeIcon``.
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 fixes https://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.
See https://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 richtext ``getText`` view 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 step ``migrate_to_pa_event``. [jensens] (#531)
- Explicitly load zcml of dependencies, instead of using ``includeDependencies``
[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 ILeadImageBehavior 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 their ``former_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, see `issue
<https://github.com/plone/plone.app.versioningbehavior/pull/45>` [pysailor]
(#480)
- Fixed sorting error after Changing the base class for existing objects. see
`issue <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. see
`issue <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:
- ILeadImageBehavior and IRichTextBehavior behaviors now have proper "Marker"-Interfaces.
As this was only possible by renaming the schema adapter to *Behavior* to
not break with implementations inside the collective, the FTI-behavior-definition
has changed:
- ``plone.app.contenttypes.behaviors.leadimage.ILeadImage``
becomes
``plone.app.contenttypes.behaviors.leadimage.ILeadImageBehavior``
and
- ``plone.app.contenttypes.behaviors.richtext.IRichText``
becomes
``plone.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:
- The ``Format`` accessor should actually return the ``format`` attribute
(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 to *Behavior* to
not break with implementations inside the collective, the FTI-behavior-definition
has changed:
- ``plone.app.contenttypes.behaviors.leadimage.ILeadImage``
becomes
``plone.app.contenttypes.behaviors.leadimage.ILeadImageBehavior``
and
- ``plone.app.contenttypes.behaviors.richtext.IRichText``
becomes
``plone.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.
see `issue 444 <https://github.com/plone/plone.app.contenttypes/issues/444>`
[fredvd]
- Fixed false implemented Factories and Markers for ILeadImage and IRichText.
see `issue 457 <https://github.com/plone/plone.app.contenttypes/issues/476>`
[iham]
- Fixed Tests for collection and migration.
see `issue <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 the ``plone.app.contenttypes_migration_running`` key 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;
fixes `issue 457 <https://github.com/plone/plone.app.contenttypes/issues/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. Fixes https://github.com/plone/Products.CMFPlone/issues/2259
[mrsaicharan1]
1.4.8 (2018-02-05)
------------------
Bug fixes:
- Do not use ``portal_quickinstaller`` in the migration form.
Use ``get_installer`` to check if ``plone.app.contenttypes`` is
installed or installable. Use ``portal_setup`` directly for
blacklisting the ``type_info`` step when installing our profile.
[maurits]
- Add Python 2 / 3 compatibility
[pbauer]
1.4.7 (2017-12-14)
------------------
Bug fixes:
- Rename post_handlers. Fixes https://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 of ``atcontenttypes`` translation domain.
Fixes `issue 37 <https://github.com/plone/plone.app.contenttypes/issues/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 of ``http://`` 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 (PLIP https://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 namespace 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 <https://github.com/plone/Products.CMFPlone/issues/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 <https://github.com/plone/plone.app.contenttypes/issues/406>`_.
[maurits]
- Fix issue preventing disabling icons and/or thumbs globally.
[fgrcon]
1.4 (2017-06-03)
----------------
New features:
- New metadata catalog column MimeType
https://github.com/plone/Products.CMFPlone/issues/1995
[fgrcon]
- new behavior: IThumbIconHandling, suppress thumbs /icons, adjust thumb size, templates adapted
https://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 after https://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 in
https://github.com/plone/Products.MimetypesRegistry/pull/8/commits/61acf8327e5c844bff9e5c5676170aaf0ee2c323
we need the full resourcepath now
[agitator]
- Show message for editors when viewing Link.
Fixes `issue 375 <https://github.com/plone/plone.app.contenttypes/issues/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]
- Add ``i18n:attribute`` properties 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 issue https://github.com/plone/plone.app.contenttypes/issues/362
[maurits]
- Remove ``path`` index injection in "plone.collection" behaviors ``results`` method.
It is a duplicate.
Exactly the same is done already in the ``plone.app.querybuilder.querybuilder._makequery``,
which is called by above ``results`` method.
[jensens]
- Select all migratable types in migration-form by default. Fixes #193.
[pbauer]
- Use zope.interface decorator.
[gforcada]
- Mark robot test ``plone.app.contenttypes.tests.test_robot.RobotTestCase.Scenario Test Absolute Location Criterion`` as 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 for ``utils.replace_link_variables_by_paths``, if value is ``None``.
The value can be ``None`` when creating a ``Link`` type with ``invokeFactory`` without ``remoteUrl`` set 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:
- Added *listing* macro as found in ``listing.pt`` to
``listing_album.pt`` and ``listing_tabular.pt`` for
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 on ``plone.app.textfield.value.RichTextValue``
objects to ``output_relative_to`` with 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.
Fixes https://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 with ``selection.any``.
Issue https://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 a ``IRichText`` text indexing on all registered SearchableText indexers by
doing it as part of the base ``SearchableText`` function. Convert the text
from the source mimetype to ``text/plain``.
[thet]
- Add ``getRawQuery`` method 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).
Fixes https://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).
Fixes https://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.
Fix https://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]
- In ``FolderView`` based views, don't include the ``portal_types`` query, if
``object_provides`` is set in the ``results`` method keyword arguments. Fixes
a case, where no Album Images were shown, when portal_state's
``friendly_types`` didn't include the ``Image`` type.
[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]
- Fix ``contentFilter`` for collections.
[thet]
- Don't batch the already batched collection results. Fixes #221.
[thet]
- I18n fixes.
[vincentfretin]
- Fix ``test_warning_for_uneditable_content`` to work with recent browser layer
changes in ``plone.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. See https://github.com/plone/plone.app.contenttypes/commit/7cb74a2fcbf108acd43fe4ae3713f007db2073bf for details.
[timo]
1.2a6 (2015-03-26)
------------------
- In the listing view, don't repeat on the ``article`` tag, which makes it
impossible to override this structure. Instead, repeat on a unrendered
``tal`` tag 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 than ``http://`` and
``https://``.
[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]
- Define ``default_page_types`` in the ``propertiestool.xml`` profile.
[thet]
- Add ``event_listing`` to 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]
- Support ``custom_query`` parameter in the ``result`` method of the
``Collection`` behavior. 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 on ``plone.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 by ``plone.app.imaging`` to 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: get ``querybuilderresults`` view instead of using the
``QueryBuilder`` class 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, but ``obj.title`` and/or ``obj.description`` can 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 in
https://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 missing ``i18n:attributes`` to 'Edit' and 'View' actions of File type.
[saily]
- Bind 'View' action to ``${object_url}/view`` instead 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]
Raw data
{
"_id": null,
"home_page": "https://github.com/plone/plone.app.contenttypes",
"name": "plone.app.contenttypes",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.10",
"maintainer_email": null,
"keywords": "plone content types dexterity",
"author": "Plone Foundation",
"author_email": "plone-developers@lists.sourceforge.net",
"download_url": "https://files.pythonhosted.org/packages/b3/8a/9bbc288b5f325b81df504cbb8128b3ce46ad6f939b557714a1044b056f14/plone_app_contenttypes-4.0.1.tar.gz",
"platform": null,
"description": ".. contents::\n\n.. image:: https://api.travis-ci.org/plone/plone.app.contenttypes.png?branch=master\n :target: http://travis-ci.org/plone/plone.app.contenttypes\n\n.. image:: https://img.shields.io/pypi/dm/plone.app.contenttypes.svg\n :target: https://crate.io/packages/plone.app.contenttypes\n\n.. image:: https://img.shields.io/pypi/v/plone.app.contenttypes.svg\n :target: https://crate.io/packages/plone.app.contenttypes\n\n.. image:: https://img.shields.io/coveralls/plone/plone.app.contenttypes/master.svg\n :target: https://coveralls.io/github/plone/plone.app.contenttypes?branch=master\n\n\nplone.app.contenttypes documentation\n====================================\n\n\nIntroduction\n------------\n\nplone.app.contenttypes provides default content types for Plone based on Dexterity.\n\nIt contains the following types:\n\n* Collection\n* Document\n* Event\n* File\n* Folder\n* Image\n* Link\n* News Item\n\nThese 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``).\n\n\nInstallation\n------------\n\nThis package is included in Plone 6 and does not need installation.\n\n\nInformation for Addon-Developers\n--------------------------------\n\nDesign decisions\n^^^^^^^^^^^^^^^^\n\nSchemata that are defined in XML-files using ``plone.supermodel`` allow editing those types' schemata through the web.\nThis is the case for the default File, Image and Link content types.\nSchemata coming from behaviors, on the other hand, are not editable through the web.\nThe 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.\n\n\nExtending the types\n^^^^^^^^^^^^^^^^^^^\n\nYou have several options:\n\n1. Extend the types through-the-web by adding new fields or behaviors in the types-controlpanel ``/@@dexterity-types``.\n\n2. Extend the types with a custom type-profile that extends the existing profile with behaviors, or fields.\n\n You will first have to add the type to your ``[yourpackage]/profiles/default/types.xml``.\n\n .. code:: xml\n\n <?xml version=\"1.0\"?>\n <object name=\"portal_types\" meta_type=\"Plone Types Tool\">\n <object name=\"Folder\" meta_type=\"Dexterity FTI\" />\n </object>\n\n Here is an example that enables the image-behavior for Folders in ``[yourpackage]/profiles/default/types/Folder.xml``:\n\n .. code:: xml\n\n <?xml version=\"1.0\"?>\n <object name=\"Folder\" meta_type=\"Dexterity FTI\">\n <property name=\"behaviors\" purge=\"False\">\n <element value=\"plone.leadimage\"/>\n </property>\n </object>\n\n By adding a schema-definition to the profile you can add fields.\n\n .. code:: xml\n\n <?xml version=\"1.0\"?>\n <object name=\"Folder\" meta_type=\"Dexterity FTI\">\n <property name=\"model_file\">your.package.content:folder.xml</property>\n <property name=\"behaviors\" purge=\"False\">\n <element value=\"plone.leadimage\"/>\n </property>\n </object>\n\n Put the schema-xml in ``your/package/content/folder.xml`` (the folder ``content`` needs a ``__init__.py``)\n\n .. code:: xml\n\n <model xmlns:security=\"http://namespaces.plone.org/supermodel/security\"\n xmlns:marshal=\"http://namespaces.plone.org/supermodel/marshal\"\n xmlns:form=\"http://namespaces.plone.org/supermodel/form\"\n xmlns=\"http://namespaces.plone.org/supermodel/schema\">\n <schema>\n <field name=\"teaser_title\" type=\"zope.schema.TextLine\">\n <description/>\n <required>False</required>\n <title>Teaser title</title>\n </field>\n <field name=\"teaser_subtitle\" type=\"zope.schema.Text\">\n <description/>\n <required>False</required>\n <title>Teaser subtitle</title>\n </field>\n <field name=\"teaser_details\" type=\"plone.app.textfield.RichText\">\n <description/>\n <required>False</required>\n <title>Teaser details</title>\n </field>\n </schema>\n </model>\n\nYou could alternatively override the property ``model_file`` of the type-definition with a empty string and use the property ``schema`` to provide your custom python-schema.\n\nFor 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.\n\nFor more information on custom dexterity-types and custom behaviors please read the `dexterity documentation <http://docs.plone.org/external/plone.app.dexterity/docs/>`_.\n\n\nChanging the base class for existing objects\n^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\nIf 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``.\n\nThis 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 method ``plone.app.contenttypes.migration.dxmigration.migrate_base_class_to_new_class`` in your own upgrade-steps.\n\n\nSource Code\n===========\n\nContributors please read the document `Process for Plone core's development <https://docs.plone.org/develop/coredev/docs/index.html>`_\n\nSources are at the `Plone code repository hosted at Github <https://github.com/plone/plone.app.contenttypes>`_.\n\n\nLicense\n-------\n\nGNU General Public License, version 2\n\n\nContributors\n------------\n\n* Philip Bauer <bauer@starzel.de>\n* Michael Mulich <michael.mulich@gmail.com>\n* Timo Stollenwerk <contact@timostollenwerk.net>\n* Peter Holzer <peter.holzer@agitator.com>\n* Patrick Gerken <gerken@starzel.de>\n* Steffen Lindner <lindner@starzel.de>\n* Daniel Widerin <daniel@widerin.net>\n* Jens Klein <jens@bluedynamics.com>\n* Joscha Krutzki <joka@jokasis.de>\n* Mathias Leimgruber <m.leimgruber@4teamwork.ch>\n* Matthias Broquet <mbroquet@atreal.fr>\n* Wolfgang Thomas <thomas@syslab.com>\n* Bo Simonsen <bo@geekworld.dk>\n* Andrew Mleczko <andrew@mleczko.net>\n* Roel Bruggink <roel@jaroel.nl>\n* Carsten Senger <senger@rehfisch.de>\n* Rafael Oliveira <rafaelbco@gmail.com>\n* Martin Opstad Reistadbakk <martin@blaastolen.com>\n* Nathan Van Gheem <vangheem@gmail.com>\n* Johannes Raggam <raggam-nl@adm.at>\n* Jamie Lentin <jm@lentin.co.uk>\n* Maurits van Rees <maurits@vanrees.org>\n* David Glick <david@glicksoftware.com>\n* Kees Hink <keeshink@gmail.com>\n* Roman Kozlovskyi <krzroman@gmail.com>\n* Gauthier Bastien <gauthier.bastien@imio.be>\n* Andrea Cecchi <andrea.cecchi@redturtle.it>\n* Bogdan Girman <bogdan.girman@gmail.com>\n* Martin Opstad Reistadbakk <martin@blaastolen.com>\n* Florent Michon <fmichon@atreal.fr>\n* Hector Velarde <hector.velarde@gmail.com>\n\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\n4.0.1 (2024-10-31)\n------------------\n\nInternal:\n\n\n- Update configuration files.\n [plone devs]\n\n\nTests\n\n\n- port robot tests [1letter] (#698)\n\n\n4.0.0 (2024-09-03)\n------------------\n\nBreaking changes:\n\n\n- Do not enable plone.allowdiscussion by default, it is a core add-on now.\n This is for Plone 6.1, so is a breaking change.\n [@jensens] (#665)\n\n\n3.0.9 (2024-06-07)\n------------------\n\nBug fixes:\n\n\n- No longer set ``portal_properties.site_properties.visible_ids`` on site creation.\n The ``portal_properties`` tools is deprecated, ``visible_ids`` was not set as real property, and usage of ``visible_ids`` was largely removed in Plone 5.0 already.\n You already can no longer set ``visible ids`` in the Editing control panel, nor in the member preferences.\n The only remaining use for ``visible_ids``, if set to true, was to show the page ids on the 'select default page' form.\n [maurits] (#125)\n\n\n3.0.8 (2024-05-30)\n------------------\n\nBug fixes:\n\n\n- Support using the file template on objects that have no file attributes. [ale-rt] (#688)\n- Fixed p.a.widgets `moved` DeprecationWarning [jensens] (#690)\n\n\n3.0.7 (2024-04-25)\n------------------\n\nBug fixes:\n\n\n- Fix ILeadImageBehavior and IRichTextBehavior interfaces were the name change was forgotten.\n [thet] (#681)\n\n\n3.0.6 (2024-03-15)\n------------------\n\nBug fixes:\n\n\n- Fix folder listing template when `plone.eventlocation` behavior is disabled for Events.\n [petschki] (#679)\n\n\nInternal:\n\n\n- Update configuration files.\n [plone devs] (6e36bcc4)\n\n\n3.0.5 (2023-10-25)\n------------------\n\nBug fixes:\n\n\n- Fix link_redirect_view, respect vhm vs none-vhm url schemes @1letter (#671)\n\n\n3.0.4 (2023-10-07)\n------------------\n\nInternal:\n\n\n- Update configuration files.\n [plone devs] (7723aeaf)\n\n\n3.0.3 (2023-05-22)\n------------------\n\nBug fixes:\n\n\n- extends the the calculation of url if resolveuid part of link in LinkRedirectView @1letter (#626)\n- Remove the unused dependency plone.app.event\n [@folix-01] (#663)\n\n\n3.0.2 (2023-04-14)\n------------------\n\nBug fixes:\n\n\n- Fix test_behaviors_table_of_contents: ordering of attrtributes changed.\n @jensens (fix-test_behaviors_table_of_contents)\n\n\nInternal:\n\n\n- Update configuration files.\n [plone devs] (#47959565)\n\n\nTests\n\n\n- Run the robot tests.\n [maurits] (#69)\n\n\n3.0.1 (2023-01-26)\n------------------\n\nBug fixes:\n\n\n- Fix error in News Item view when it doesn't have a text field. [davisagli] (#652)\n\n\n3.0.0 (2022-12-01)\n------------------\n\nNew features:\n\n\n- add loading='lazy' to img tag in listing album, summary and tabular\n [yurj] (#655)\n\n\n3.0.0b2 (2022-08-30)\n--------------------\n\nBug fixes:\n\n\n- Robot tests: use more specific element when clicking Save button.\n 'Click Button Save' sometimes failed.\n [maurits] (#3582)\n\n\n3.0.0b1 (2022-06-23)\n--------------------\n\nBug fixes:\n\n\n- Add missing i18n tags\n [erral] (#648)\n\n\n3.0.0a13 (2022-05-24)\n---------------------\n\nBug fixes:\n\n\n- When using ``@@images`` view, call ``tag`` directly.\n [maurits] (#3535)\n\n\n3.0.0a12 (2022-05-14)\n---------------------\n\nBreaking changes:\n\n\n- Use plone.base, code style black, isort, pyupgrade, manual overhaul.\n [jensens] (#644)\n\n\nBug fixes:\n\n\n- Removed unused migration and uninstall code, and rfc822 tests.\n [maurits] (#641)\n- Re-register and improve @@base_class_migrator_form required to migrate to foilderish items.\n [pbauer] (#642)\n\n\n3.0.0a11 (2022-04-07)\n---------------------\n\nNew features:\n\n\n- PLIP 2780: Move features of collective.dexteritytextindexer to core.\n [zworkb] (#2780)\n\n\nBug fixes:\n\n\n- Fix Collections Standard view when showing events\n [frapell] (#634)\n- listing_view and summary_view cleanup and float fix\n [petschki] (#638)\n- Aftermath of PLIP 3395 + isort/black on these files.\n [jensens] (#639)\n\n\n3.0.0a10 (2022-02-24)\n---------------------\n\nBug fixes:\n\n\n- A content type with the richtext behavior might not have a `text` attribute,\n handle that gracefully.\n [gforcada] (#1)\n\n\n3.0.0a9 (2022-01-28)\n--------------------\n\nBug fixes:\n\n\n- Security fix: prevent cache poisoning with the Referer header.\n See `security advisory <https://github.com/plone/plone.app.contenttypes/security/advisories/GHSA-f7qw-5fgj-247x>`.\n [maurits] (#1)\n\n\n3.0.0a8 (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\n3.0.0a7 (2022-01-19)\n--------------------\n\nBreaking changes:\n\n\n- Remove upgrade steps that are not relevant anymore in Plone 6 [ale-rt] (#613)\n\n\nBug fixes:\n\n\n- Fix tests with ES6.\n [maurits] (#6)\n\n\n3.0.0a6 (2022-01-07)\n--------------------\n\nBug fixes:\n\n\n- Fix author url in tabular listing\n [petschki] (#627)\n\n\n3.0.0a5 (2021-11-23)\n--------------------\n\nBreaking changes:\n\n\n- Remove atcontenttypes dependencies, migration, keep BaseClassMigratorForm.\n [agitator] (#620)\n- Remove (ATCT) BBB view name registrations.\n [agitator] (#621)\n\n\nBug fixes:\n\n\n- Adapt the tests to cope with the fact the since Plone 6 the Plone site root is cataloged [ale-rt] (#616)\n- Fixed typo in test 'constraints' -> 'constrains'. [iham] (#619) (#619)\n- Use document_view as default for dx site root.\n [agitator] (#624)\n\n\n3.0.0a4 (2021-10-16)\n--------------------\n\nBug fixes:\n\n\n- Upgrade: fix icon expressions for portal_types and their view and edit actions.\n See `this PR comment <https://github.com/plone/plone.app.upgrade/pull/259#issuecomment-944213712>`_.\n [maurits] (#259)\n- Add missing i18n:translate tags\n [erral] (#614)\n\n\n3.0.0a3 (2021-09-15)\n--------------------\n\nBreaking changes:\n\n\n- Plone Site is now a DX container. This means that the front-page object no\n longer exists.\n Refs PLIP 2454.\n [jaroel] (#475)\n\n\nBug fixes:\n\n\n- Remove cyclic dependency with Products.CMFPlone\n [ericof] (#609)\n- Removed autoinclude entry point.\n No longer needed, since ``Products.CMFPlone`` explicitly includes our zcml.\n [maurits] (#611)\n\n\n3.0.0a2 (2021-05-11)\n--------------------\n\nNew features:\n\n\n- Rework contenttype views.\n [agitator] (#598)\n\n\n3.0.0a1 (2021-04-20)\n--------------------\n\nBreaking changes:\n\n\n- Update for Plone 6 with Bootstrap markup\n [agitator, ale-rt, ladplone, mliebischer, pbauer, petschki, santonelli] (#589)\n\n\nBug fixes:\n\n\n- Various fixes for restoring references:\n\n - Migrate ``relatesTo`` AT relation to ``relatedItems`` DX relation.\n - In DX check the schema to see if relation field is list or item.\n Taken over from `collective.relationhelpers <https://github.com/collective/collective.relationhelpers/>`_.\n - ``restore_references``: accept ``relationship_fieldname_mapping`` argument.\n This must be a dictionary with a relationship name as key and fieldname as value, instead of always using ``relatedItems`` as fieldname.\n\n [maurits] (#510)\n- Use python statements in templates.\n [pbauer, mliebischer, ladplone] (#579)\n- Catch AttributeError for ``getNextPreviousEnabled`` during migration.\n [maurits] (#582)\n- migrate_datetimefield: do nothing when old value is None.\n This fixes ``AttributeError: 'NoneType' object has no attribute 'asdatetime'``.\n [maurits] (#584)\n- Fix condition in ``document.pt``\n [petschki] (#596)\n\n\n2.2.1 (2020-10-12)\n------------------\n\nBug fixes:\n\n\n- Update tests to fix updated schema cache.\n See https://github.com/plone/plone.dexterity/pull/137\n [@avoinea] (#573)\n\n\n2.2.0 (2020-09-28)\n------------------\n\nNew features:\n\n\n- Allow passing a custom catalog-query to migrateCustomAT to constrain which objects to migrate. [pbauer] (#572)\n\n\nBug fixes:\n\n\n- Fix various deprecation warnings.\n [maurits] (#3130)\n\n\n2.1.10 (2020-08-14)\n-------------------\n\nBug fixes:\n\n\n- Handle cases where the __parent__ of a discussion was not set to the migrated DX object.\n [pbauer] (#566)\n- In the edge case where the meta_type could not be resolved assume is_folderish being false.\n [pbauer] (#567)\n- Fixed problems in ``getMimeTypeIcon``.\n The contentType of the file was ignored, and icon paths could have a duplicate ``++resource++mimetype.icons/``.\n [maurits] (#569)\n\n\n2.1.9 (2020-07-17)\n------------------\n\nBug fixes:\n\n\n- Display the image size rounded with 1 decimal digit [ale-rt] (#554)\n- Avoid doing the search twice in listings by reusing the batch variable.\n [vincentfretin] (#560)\n\n\n2.1.8 (2020-06-30)\n------------------\n\nBug fixes:\n\n\n- Internationalize selectable columns in collection and tabular view.\n This fixes https://github.com/plone/Products.CMFPlone/issues/2597\n [vincentfretin] (#559)\n\n\n2.1.7 (2020-04-20)\n------------------\n\nBug fixes:\n\n\n- Minor packaging updates. (#1)\n\n\n2.1.6 (2020-02-16)\n------------------\n\nBug fixes:\n\n\n- Integrate PloneHotFix20200121: add more permission checks.\n See https://plone.org/security/hotfix/20200121/privilege-escalation-for-overwriting-content\n [maurits] (#3021)\n- Add a guard in the document.pt template to allow the Document type not to have the RichText\n enforce the behavior enabled.\n [sneridagh] (#3047)\n\n\n2.1.5 (2019-11-25)\n------------------\n\nBug fixes:\n\n\n- for migration tests uninstall plone.app.contenttypes if previously installed\n [ericof] (#535)\n\n\n2.1.4 (2019-10-22)\n------------------\n\nBug fixes:\n\n\n- Fix richtext ``getText`` view to use the correct schema interface.\n [thet]\n\n- Robot tests: split big content listing scenario, fix deprecations.\n [maurits] (#533)\n\n\n2.1.3 (2019-10-12)\n------------------\n\nBug fixes:\n\n\n- Clear schema cache after migration step ``migrate_to_pa_event``. [jensens] (#531)\n- Explicitly load zcml of dependencies, instead of using ``includeDependencies``\n [maurits] (#2952)\n\n\n2.1.2 (2019-07-18)\n------------------\n\nBug fixes:\n\n\n- Speedup stats during migration by not waking up all objects.\n [pbauer] (#529)\n\n\n2.1.1 (2019-07-06)\n------------------\n\nBug fixes:\n\n\n- Don't test for hard coded image size in test.\n [agitator] (#527)\n\n\n2.1.0 (2019-06-19)\n------------------\n\nNew features:\n\n\n- Support ILeadImageBehavior when display collection album view.\n [rodfersou] (#524)\n- Add more log-messages during migration from AT to DX.\n [pbauer] (#526)\n\n\nBug fixes:\n\n\n- Use the shared 'Plone test setup' and 'Plone test teardown' keywords in Robot tests.\n [Rotonen] (#522)\n\n\n2.0.5 (2019-05-04)\n------------------\n\nBug fixes:\n\n\n- Move dotted behaviors to named behaviors. [iham] (#519)\n\n\n2.0.4 (2019-04-29)\n------------------\n\nBug fixes:\n\n\n- Add 'content-core' macro definition to summary_view.pt so it can be reused\n [petschki] (#514)\n- Speed up traversal to main_template by markling it as a browser-view.\n [pbauer] (#517)\n\n\n2.0.3 (2019-03-21)\n------------------\n\nBug fixes:\n\n\n- Detect whether a webdav request is RFC822 or pure payload and handle accordingly. (#2781)\n\n\n2.0.2 (2019-03-03)\n------------------\n\nBug fixes:\n\n\n- Fix robots test after dropdownnavigation is enabled for new sites. [pbauer]\n (#511)\n\n\n2.0.1 (2019-02-13)\n------------------\n\nBug fixes:\n\n\n- Following the rename of the lead image and rich text behaviors, use the new\n setting of plone.behavior to register their ``former_dotted_names``, so that\n consumers that have stored the old dotted name have a chance of recovering.\n This is especially needed for plone.app.versioningbehavior, see `issue\n <https://github.com/plone/plone.app.versioningbehavior/pull/45>` [pysailor]\n (#480)\n- Fixed sorting error after Changing the base class for existing objects. see\n `issue <https://github.com/plone/plone.app.contenttypes/issues/487>`\n [jianaijun] (#497)\n- Fix for folder view when there is one item more than the batch size. see\n `issue <https://github.com/plone/plone.app.contenttypes/issues/500>`\n [reinhardt] (#500)\n- replace catalog_get_all(catalog) with catalog.getAllBrains() [pbauer] (#503)\n\n\n2.0.0 (2018-10-30)\n------------------\n\nBreaking changes:\n\n- ILeadImageBehavior and IRichTextBehavior behaviors now have proper \"Marker\"-Interfaces.\n As this was only possible by renaming the schema adapter to *Behavior* to\n not break with implementations inside the collective, the FTI-behavior-definition\n has changed:\n\n - ``plone.app.contenttypes.behaviors.leadimage.ILeadImage``\n becomes\n ``plone.app.contenttypes.behaviors.leadimage.ILeadImageBehavior``\n and\n - ``plone.app.contenttypes.behaviors.richtext.IRichText``\n becomes\n ``plone.app.contenttypes.behaviors.richtext.IRichTextBehavior``\n\n [iham]\n\nNew features:\n\n- By using correct (Marker-)Interfaces for the ILeadImage and IRichText,\n the factories are now working properly and can be reconfigured\n wherever you might need them. ZCA FTW!\n [iham]\n- Use human_readable_size from Products.CMFPlone.utils to replace getObjSize\n script. #1801\n [reinhardt]\n\nBug fixes:\n\n- The ``Format`` accessor should actually return the ``format`` attribute\n (see plone/Products.CMFPlone#2540)\n [ale-rt]\n\n- Fix resource warnings.\n [davisagli]\n\n1.4.12 (2018-09-23)\n-------------------\n\nBreaking changes:\n\n- ILeadImage and IRichText behaviors now have proper \"Marker\"-Interfaces.\n As this was only possible by renaming the schema adapter to *Behavior* to\n not break with implementations inside the collective, the FTI-behavior-definition\n has changed:\n\n - ``plone.app.contenttypes.behaviors.leadimage.ILeadImage``\n becomes\n ``plone.app.contenttypes.behaviors.leadimage.ILeadImageBehavior``\n and\n - ``plone.app.contenttypes.behaviors.richtext.IRichText``\n becomes\n ``plone.app.contenttypes.behaviors.richtext.IRichTextBehavior``\n\n [iham]\n\nNew features:\n\n- By using correct (Marker-)Interfaces for the ILeadImage and IRichText,\n the factories are now working properly and can be reconfigured\n wherever you might need them. ZCA FTW!\n [iham]\n\nBug fixes:\n\n- Fix folder layout property migration. The default listing_view layout was\n always set if a folder didn't have a layout property.\n Also a default_page property could be inherited from parent folders or\n the Plone Siteroot, causing 'front-page' default_pages on many folders.\n Now only a direct layout property is copied and in that case on the local\n default_page if set is copied again.\n see `issue 444 <https://github.com/plone/plone.app.contenttypes/issues/444>`\n [fredvd]\n\n- Fixed false implemented Factories and Markers for ILeadImage and IRichText.\n see `issue 457 <https://github.com/plone/plone.app.contenttypes/issues/476>`\n [iham]\n\n- Fixed Tests for collection and migration.\n see `issue <https://github.com/plone/plone.app.contenttypes/issues/477>`\n [iham]\n\n- Pinned pydocstyle as it broke buildout.\n [iham]\n\n- pep8 cleanup.\n [iham]\n\n- Fix various issues in py3\n [pbauer]\n\n\n1.4.11 (2018-06-18)\n-------------------\n\nBug fixes:\n\n- Fix SearchableText in Python 3\n [pbauer]\n\n- Skip migration tests if ATContentTypes is not installed.\n [davisagli]\n\n- check if a contentrule exists before assignment on migration\n [MrTango]\n\n\n1.4.10 (2018-04-03)\n-------------------\n\nNew features:\n\n- Set the ``plone.app.contenttypes_migration_running`` key while running a migration.\n Other addons can check for that and handle accordingly.\n [thet]\n\nBug fixes:\n\n- Implement better human readable file size logic.\n [hvelarde]\n\n- Do not encode query strings on internal link redirections;\n fixes `issue 457 <https://github.com/plone/plone.app.contenttypes/issues/457>`_.\n [hvelarde]\n\n- Migrations:\n\n - Handle ignore catalog errors where a brain can't find it's object.\n - Try to delete the layout attribute before setting the layout.\n Rework parts where the layout is set by always setting the layout.\n\n [thet]\n\n- In folder listings, when a content object has no title show it's id instead of an empty title.\n [thet]\n\n- Fix upgrades steps when the catalog is inconsistent\n [ale-rt]\n\n\n1.4.9 (2018-02-11)\n------------------\n\nNew features:\n\n- Members folder made permanently private. Fixes https://github.com/plone/Products.CMFPlone/issues/2259\n [mrsaicharan1]\n\n\n1.4.8 (2018-02-05)\n------------------\n\nBug fixes:\n\n- Do not use ``portal_quickinstaller`` in the migration form.\n Use ``get_installer`` to check if ``plone.app.contenttypes`` is\n installed or installable. Use ``portal_setup`` directly for\n blacklisting the ``type_info`` step when installing our profile.\n [maurits]\n\n- Add Python 2 / 3 compatibility\n [pbauer]\n\n\n1.4.7 (2017-12-14)\n------------------\n\nBug fixes:\n\n- Rename post_handlers. Fixes https://github.com/plone/Products.CMFPlone/issues/2238\n [pbauer]\n\n\n1.4.6 (2017-11-26)\n------------------\n\nNew features:\n\n- Allow to patch searchableText index during migrations.\n [pbauer]\n\n- Expose option to skip catalog-reindex after migration in form.\n [pbauer]\n\nBug fixes:\n\n- Remove last use of ``atcontenttypes`` translation domain.\n Fixes `issue 37 <https://github.com/plone/plone.app.contenttypes/issues/37>`_.\n [maurits]\n\n- Don't overwrite existing settings for Plone Site.\n [roel]\n\n1.4.5 (2017-10-06)\n------------------\n\nBug fixes:\n\n- Do not install plone.app.discussion when installing plone.app.contenttypes.\n [timo]\n\n\n1.4.4 (2017-10-02)\n------------------\n\nNew features:\n\n- Test SVG handling\n [tomgross]\n\n- Use post_handler instead of import_steps.\n [pbauer]\n\nBug fixes:\n\n- Do not use a default value in the form of ``http://`` for the link.\n The new link widget resolves that to the portal root object.\n Also, it's not a valid URL.\n Fixes: https://github.com/plone/Products.CMFPlone/issues/2163\n [thet]\n\n- Remove obsolete HAS_MULTILINGUAL from utils.\n [pbauer]\n\n- Clean up all ``__init__`` methods of the browser views to avoid unnecessary code execution.\n [thet]\n\n- Make sure the effects of the robotframework REMOTE_LIBRARY_BUNDLE_FIXTURE\n fixture are not accidentally removed as part of tearing down the\n PLONE_APP_CONTENTTYPES_ROBOT_FIXTURE.\n [davisagli]\n\n\n1.4.3 (2017-08-30)\n------------------\n\nBug fixes:\n\n- Disable queuing of indexing-operations (PLIP https://github.com/plone/Products.CMFPlone/issues/1343)\n during migration to Dexterity to prevent catalog-errors.\n [pbauer]\n\n\n1.4.2 (2017-08-27)\n------------------\n\nNew features:\n\n- Index default values when indexing the file fails due to a missing binary.\n [pbauer]\n\n- Allow to skip rebuilding the catalog when migrating at to dx in code.\n [pbauer]\n\nBug fixes:\n\n- Add translation namespace and i18n:translate to the dexterity schema\n definitions for the content types that have extra field defined on top of the\n behavior composition. Otherwise no translations can be picked up.\n [fredvd]\n\n- Use original raw text and mimetype when indexing rich text.\n This avoids a double transform (raw source to output mimetype to plain text).\n Includes a reindex of the SearchableText index for Collections, Documents and News Items.\n `Issue 2066 <https://github.com/plone/Products.CMFPlone/issues/2066>`_.\n [maurits]\n\n- Migrate the richtext-field 'text' when migrating ATTopics to Collections.\n [pbauer]\n\n- Remove Language='all' from migration-query since it was removed from p.a.multilingual\n [pbauer]\n\n- Actually migrate all migratable types when passing 'all' to at-dx migration.\n [pbauer]\n\n- Remove plone.app.robotframework 'reload' extra.\n This allows to remove quite some other external dependencies that are not Python 3 compatible.\n [gforcada]\n\n1.4.1 (2017-07-03)\n------------------\n\nNew features:\n\n- Integrate new link widget from plone.app.z3cform.\n [tomgross]\n\nBug fixes:\n\n- Made sure the text field of Collections is searchable.\n `Issue 406 <https://github.com/plone/plone.app.contenttypes/issues/406>`_.\n [maurits]\n\n- Fix issue preventing disabling icons and/or thumbs globally.\n [fgrcon]\n\n1.4 (2017-06-03)\n----------------\n\n\nNew features:\n\n- New metadata catalog column MimeType\n https://github.com/plone/Products.CMFPlone/issues/1995\n [fgrcon]\n\n- new behavior: IThumbIconHandling, suppress thumbs /icons, adjust thumb size, templates adapted\n https://github.com/plone/Products.CMFPlone/issues/1734 (PLIP)\n\nBug fixes:\n\n- fixed css-classes for thumb scales ...\n https://github.com/plone/Products.CMFPlone/issues/2077\n [fgrcon]\n\n- Fix test for checking if TinyMCE is loaded which broke after https://github.com/plone/Products.CMFPlone/pull/2059\n [thet]\n\n- Fix flaky test in test_indexes.\n [thet]\n\n- removed unittest2 dependency\n [kakshay21]\n\n- Fix issue where contentFilter could not be read from request\n [datakurre]\n\n\n1.3.0 (2017-03-27)\n------------------\n\nNew features:\n\n- Make use of plone.namedfile's tag() function to generate img tags. Part of plip 1483.\n [didrix]\n\nBug fixes:\n\n- Avoid failure during migration if relation is broken.\n [cedricmessiant]\n\n- Fix import location for Products.ATContentTypes.interfaces.\n [thet]\n\n1.2.22 (2017-02-20)\n-------------------\n\nBug fixes:\n\n- Add condition so custom folder migration does not fail if there is not\n an 'excludeFromNav'\n [cdw9]\n\n\n1.2.21 (2017-02-05)\n-------------------\n\nNew features:\n\n- Remove browserlayer from listing views to allow overrides from other packages\n [agitator]\n\nBug fixes:\n\n- 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.\n [thet, gogobd]\n\n- Fix use of add_file in testbrowser tests. [davisagli]\n\n- Render migration results without using Zope session. [davisagli]\n\n\n1.2.20 (2017-01-20)\n-------------------\n\nBug fixes:\n\n- Use unicode string when .format() parameter is unicode for the field migrator\n [frapell]\n\n\n1.2.19 (2016-12-02)\n-------------------\n\nBug fixes:\n\n- Fix SearchableText indexer, using textvalue.mimeType\n [agitator]\n\n- Fix Mimetype icon path. With the removal of the skins folder in\n https://github.com/plone/Products.MimetypesRegistry/pull/8/commits/61acf8327e5c844bff9e5c5676170aaf0ee2c323\n we need the full resourcepath now\n [agitator]\n\n- Show message for editors when viewing Link.\n Fixes `issue 375 <https://github.com/plone/plone.app.contenttypes/issues/375>`_.\n [maurits]\n\n- Update code to follow Plone styleguide.\n [gforcada]\n\n- Update File.xml view action url_expr to append /view\n Fixes 'issue 378' <https://github.com/plone/plone.app.contenttypes/issues/378>`_.\n [lbrannon]\n\n\n1.2.18 (2016-09-14)\n-------------------\n\nBug fixes:\n\n- Correct the SearchableText base indexer: use mime type of RichText output\n (rather than raw) value in plaintext conversion. Fixes #357.\n [petri]\n\n\n1.2.17 (2016-08-18)\n-------------------\n\nNew features:\n\n- Configure edit urls for locking support, where locking support is enabled.\n [thet]\n\n- Add ``i18n:attribute`` properties to all action nodes for FTI types.\n [thet]\n\n- added few pypi links in 'Migration' section\n [kkhan]\n\nBug fixes:\n\n- Marked relative location criterion robot test as unstable.\n This needs further investigation, but must not block Plone development.\n See issue https://github.com/plone/plone.app.contenttypes/issues/362\n [maurits]\n\n- Remove ``path`` index injection in \"plone.collection\" behaviors ``results`` method.\n It is a duplicate.\n Exactly the same is done already in the ``plone.app.querybuilder.querybuilder._makequery``,\n which is called by above ``results`` method.\n [jensens]\n\n- Select all migratable types in migration-form by default. Fixes #193.\n [pbauer]\n\n- Use zope.interface decorator.\n [gforcada]\n\n- Mark robot test ``plone.app.contenttypes.tests.test_robot.RobotTestCase.Scenario Test Absolute Location Criterion`` as unstable.\n This needs further investigation, but must not block Plone development.\n [jensens]\n\n- corrected typos in the documentation\n [kkhan]\n\n\n1.2.16 (2016-06-12)\n-------------------\n\nBug fixes:\n\n- Wait longer to fix unstable robot tests. [maurits]\n\n\n1.2.15 (2016-06-06)\n-------------------\n\nBug fixes:\n\n- Fixed possible cross site scripting (XSS) attack in lead image caption. [maurits]\n\n\n1.2.14 (2016-05-25)\n-------------------\n\nBug fixes:\n\n- Encode the linked url for the Link type to allow for non ascii characters in the url.\n [martior]\n\n\n1.2.13 (2016-05-12)\n-------------------\n\nFixes:\n\n- Deferred adapter lookup in collection view.\n This was looked up for contentmenu/toolbar at every authenticated request.\n It also had side effects if custom collection behaviors are used.\n [jensens]\n\n- Fixed unstable robot test for location criterion. [maurits]\n\n- Don't fail for ``utils.replace_link_variables_by_paths``, if value is ``None``.\n The value can be ``None`` when creating a ``Link`` type with ``invokeFactory`` without ``remoteUrl`` set and calling the indexer before setting the URL.\n [thet]\n\n\n1.2.12 (2016-04-13)\n-------------------\n\n\nNew:\n\n- assign shortnames to behaviors as supported by plone.behavior\n [thet]\n\n\n1.2.11 (2016-03-31)\n-------------------\n\nNew:\n\n- WebDAV support for File and Image\n [ebrehault]\n\nFixes:\n\n- Made xpath expression in test less restrictive.\n [maurits]\n\n- Register explicitly plone.app.event dependency on configure.zcml.\n [hvelarde]\n\n\n1.2.10 (2016-02-27)\n-------------------\n\nNew:\n\n- Added *listing* macro as found in ``listing.pt`` to\n ``listing_album.pt`` and ``listing_tabular.pt`` for\n a coherent customization.\n [tomgross]\n\nFixes:\n\n- Check if there is a non-empty leadimage field for migration.\n [bsuttor]\n\n- Make sure to have image scale before generating tag for album view.\n [vangheem]\n\n- Also remove collections upon uninstalling.\n [pbauer]\n\n- Various fixes while migrating custom contenttypes:\n\n - do not fail if source object does not have a 'excludeFromNav' field;\n - do not fail if source object field's label contains special characters;\n - do not try to migrate assigned portlets if source object is not\n portlet assignable.\n [gbastien]\n\n- No longer try to install ATContentTypes-types on uninstalling.\n [pbauer]\n\n- Enhancement: Split up migration test for modification date and references\n in two functions for easier debugging.\n [jensens]\n\n- Simplify test in robot framework which fails in its newer version.\n [jensens]\n\n\n1.2.9 (2016-01-08)\n------------------\n\nFixes:\n\n- Change all text getters on ``plone.app.textfield.value.RichTextValue``\n objects to ``output_relative_to`` with the current context. This correctly\n transforms relative links. See:\n https://github.com/plone/plone.app.textfield/issues/7\n [thet]\n\n\n1.2.8 (2015-12-15)\n------------------\n\nFixes:\n\n- fix issue in migration where source or target uuid could not\n be found\n [vangheem]\n\n\n1.2.7 (2015-11-28)\n------------------\n\nFixes:\n\n- Index subject field on the catalog so that is searchable.\n Fixes https://github.com/plone/plone.app.contenttypes/issues/194\n [gforcada]\n\n\n1.2.6 (2015-11-25)\n------------------\n\nNew:\n\n- Allow to pass custom field_migrator methods with custom migrations.\n [pbauer]\n\nFixes:\n\n- Create standard news/events collections with ``selection.any``.\n Issue https://github.com/plone/Products.CMFPlone/issues/1040\n [maurits]\n\n- Avoid AttributeError from potential acquisition issues with folder listings\n [vangheem]\n\n- Avoid AttributeError when trying to get the default_page of an item\n when migrating\n [frapell]\n\n- Used html5 doctype in image_view_fullscreen. Now it can be parsed\n correctly by for example i18ndude.\n [maurits]\n\n- Use plone i18n domain in zcml.\n [vincentfretin]\n\n- Do a ``IRichText`` text indexing on all registered SearchableText indexers by\n doing it as part of the base ``SearchableText`` function. Convert the text\n from the source mimetype to ``text/plain``.\n [thet]\n\n- Add ``getRawQuery`` method to Collection content type for backward compatibility with Archetypes API.\n Fixes (partially) https://github.com/plone/plone.app.contenttypes/issues/283.\n [hvelarde]\n\n\n1.2.5 (2015-10-28)\n------------------\n\nFixes:\n\n- Fix custom migration from and to types with spaces in the type-name.\n [pbauer]\n\n- Fixed full_view when content is not IUUIDAware (like the portal).\n\n- Cleanup and rework: contenttype-icons\n and showing thumbnails for images/leadimages in listings ...\n https://github.com/plone/Products.CMFPlone/issues/1226\n [fgrcon]\n\n- Fix full_view when content is not IUUIDAware (like the portal).\n Fixes https://github.com/plone/Products.CMFPlone/issues/1109.\n [pbauer]\n\n- Added plone.app.linkintegrity to dependencies due to test-issues.\n [pbauer]\n\n\n1.2.4 (2015-09-27)\n------------------\n\n- Fixed full_view error when collection contains itself.\n [vangheem]\n\n- test_content_profile: do not apply Products.CMFPlone:plone.\n [maurits]\n\n\n1.2.3 (2015-09-20)\n------------------\n\n- Do not raise an exception for items where @@full_view_item throws an\n exception. Instead hide the object.\n [pbauer]\n\n- Do not raise errors when IPrimaryFieldInfo(obj) fails (e.g. when the\n Schema-Cache is gone).\n Fixes https://github.com/plone/Products.CMFPlone/issues/839\n [pbauer]\n\n- Fix an error with logging an exception on indexing SearchableText for files\n and concatenating utf-8 encoded strings.\n [thet]\n\n- Make consistent use of LeadImage behavior everywhere. Related to\n plone/plone.app.contenttypes#1012. Contentleadimages no longer show up in\n full_view since they are a viewlet.\n [sneridagh, pbauer]\n\n- Fixed the summary_view styling\n [sneridagh]\n- redirect_links property has moved to the configuration registry.\n- redirect_links, types_view_action_in_listings properties have moved to the\n configuration registry.\n [esteele]\n\n\n1.2.2 (2015-09-15)\n------------------\n\n- Prevent negative ints and zero when limiting collection-results.\n [pbauer]\n\n\n1.2.1 (2015-09-12)\n------------------\n\n- Migrate next-previous-navigation.\n Fix https://github.com/plone/plone.app.contenttypes/issues/267\n [pbauer]\n\n\n1.2.0 (2015-09-07)\n------------------\n\n- Handle languages better for content that is create when site is generated\n [vangheem]\n\n- In ``FolderView`` based views, don't include the ``portal_types`` query, if\n ``object_provides`` is set in the ``results`` method keyword arguments. Fixes\n a case, where no Album Images were shown, when portal_state's\n ``friendly_types`` didn't include the ``Image`` type.\n [thet]\n\n\n1.2b4 (2015-08-22)\n------------------\n\n- Test Creator criterion with Any selection.\n [mvanrees]\n\n- Selection criterion converter: allow selection.is alternative operation.\n [mvanrees]\n\n- Fixed corner case in topic migration.\n [mvanrees]\n\n- Use event_listung for /events/aggregator in new sites.\n [pbauer]\n\n- Remove obsolete collections.css\n [pbauer]\n\n- Add plone.app.querystring as a dependency (fixes collections migrated to p5\n and dexterity).\n [pbauer]\n\n- Migrate layout of portal to use the new listing-views when migrating to dx.\n [pbauer]\n\n- Migrate layout using the new listing-views when migrating folders,\n collections, topics.\n [pbauer]\n\n- Update allowed view_methods of the site-root on installing or migrating.\n Fixes #25.\n [pbauer]\n\n- Set default_view when updating view_methods. Fixes #250.\n [pbauer]\n\n- Fix bug in reference-migrations where linkintegrity-relations were turned\n into relatedItems.\n [pbauer]\n\n- Setup calendar and visible ids even when no default-content gets created.\n [pbauer]\n\n- Remove upgrade-step that resets all behaviors. Fixes #246.\n [pbauer]\n\n- Add convenience-view @@export_all_relations to export all relations.\n [pbauer]\n\n- Add method link_items that allows to link any kind of item (AT/DX) with any\n kind of relationship.\n [pbauer]\n\n- New implementation of reference-migrations.\n [pbauer]\n\n- Fix i18n on custom_migration view.\n [vincentfretin]\n\n\n1.2b3 (2015-07-18)\n------------------\n\n- Fix BlobNewsItemMigrator.\n [MrTango]\n\n- Fix ATSelectionCriterionConverter to set the right operators.\n [MrTango]\n\n- Fix @@custom_migraton when they type-name has a space (fixes #243).\n [pbauer]\n\n- Get and set linkintegrity-setting with registry.\n [pbauer]\n\n- Use generic field_migrators in all migrations.\n [pbauer]\n\n- Remove superfluous 'for'. Fixes plone/Products.CMFPlone#669.\n [fulv]\n\n\n1.2b2 (2015-06-05)\n------------------\n\n- Use modal pattern for news item image instead of jquery tools.\n [vangheem]\n\n\n1.2b1 (2015-05-30)\n------------------\n\n- Keep additional view_methods when migrating to new view_methods. Fixes #231.\n [pbauer]\n\n- Fix upgrade-step to use new view_methods.\n [pbauer]\n\n- Fix possible error setting fields for tabular_view for\n collections. Issue #209.\n [maurits]\n\n\n1.2a9 (2015-05-13)\n------------------\n\n- Provide table of contents for document view.\n [vangheem]\n\n- Default to using locking support on Page, Collection, Event and News Item types.\n [vangheem]\n\n- Show the LeadImageViewlet only on default views.\n [thet]\n\n\n1.2a8 (2015-05-04)\n------------------\n\n- Follow best practice for CHANGES.rst.\n [timo]\n\n- Add migrations from custom AT types to available DX types (fix #133).\n [gbastien, cekk, tiazma, flohcim, pbauer]\n\n- Fix ``contentFilter`` for collections.\n [thet]\n\n- Don't batch the already batched collection results. Fixes #221.\n [thet]\n\n- I18n fixes.\n [vincentfretin]\n\n- Fix ``test_warning_for_uneditable_content`` to work with recent browser layer\n changes in ``plone.app.z3cform``.\n [thet]\n\n- Update image_view_fullscreen.pt for mobile friendliness.\n [fulv]\n\n- Removed dependency on CMFDefault\n [tomgross]\n\n\n1.2a7 (2015-03-27)\n------------------\n\n- Re-relase 1.2a6. See https://github.com/plone/plone.app.contenttypes/commit/7cb74a2fcbf108acd43fe4ae3713f007db2073bf for details.\n [timo]\n\n\n1.2a6 (2015-03-26)\n------------------\n\n- In the listing view, don't repeat on the ``article`` tag, which makes it\n impossible to override this structure. Instead, repeat on a unrendered\n ``tal`` tag and move the article tag within.\n [thet]\n\n- Don't try to show IContentLeadImage images, if theree none. Use the \"mini\"\n scale as default scale for IContentLeadImage.\n [thet]\n\n- Improve handling of Link types with other URL schemes than ``http://`` and\n ``https://``.\n [thet]\n\n- When installing the default profile, restrict uninstalling of old types to\n old FTI based ones.\n [thet]\n\n- Reformatted all templates for 2 space indentation, 4 space for attributes.\n [thet]\n\n- Register folder and collection views under the same name. Old registrations\n are kept for BBB compatibility.\n [thet]\n\n- Refactor full_view and incorporate fixes from collective.fullview to\n 1) display the default views of it's items, 2) be recursively callable\n and 3) have the same templates for folder and collections.\n [thet]\n\n- Refactor folder_listing, folder_summary_view, folder_tabular_view and\n folder_album_view for folders as well as standard_view (collection_view),\n summary_view, tabular_view and thumbnail_view for collections to use the same\n templates and base view class.\n [thet]\n\n- In the file view, render HTML5 ``<audio>`` or ``<video>`` tags for audio\n respectively video file types. Ancient browsers, which do not support that,\n just don't render these tags.\n [thet]\n\n- Define ``default_page_types`` in the ``propertiestool.xml`` profile.\n [thet]\n\n- Add ``event_listing`` to available view methods for the Folder and Collection\n types.\n [thet]\n\n- Add migration for images added with collective.contentleadimage.\n [pbauer]\n\n- Add migration for contentrules.\n [pbauer]\n\n- Fix folder_full_view_item and allow overriding with jbot (fix #162).\n [pbauer]\n\n- Migrate comments created with plone.app.discussion.\n [gbastien, pbauer]\n\n- Allow migrating Topics and Subtopics to folderish Collections.\n [pbauer]\n\n- Add migration from Topics to Collections (fixes #131).\n [maurits, pbauer]\n\n- Add helpers and a form to update object with changed base class. Also\n allows migrating from itemish to folderish.\n [bogdangi, pbauer]\n\n- Keep portlets when migrating AT to DX (fixes #161)\n [frisi, gbastien, petschki]\n\n\n1.2a5 (2014-10-23)\n------------------\n\n- Code modernization: sorted imports, use decorators, utf8 headers.\n [jensens]\n\n- Fix: Added missing types to CMFDiffTool configuration.\n [jensens]\n\n- Integration of the new markup update and CSS for both Plone and Barceloneta\n theme. This is the work done in the GSOC Barceloneta theme project. Fix\n several templates.\n [albertcasado, sneridagh]\n\n\n1.2a4 (2014-09-17)\n------------------\n\n- Include translated content into migration-information (see #170)\n [pbauer]\n\n- Add simple confirmation to prevent unintentional migration.\n [pbauer]\n\n- Don't remove custom behaviors on reinstalling.\n [pbauer]\n\n- Add bbb getText view for content with IRichText-behavior\n [datakurre]\n\n- Support ``custom_query`` parameter in the ``result`` method of the\n ``Collection`` behavior. This allows for run time customization of the\n stored query, e.g. by request parameters.\n [thet]\n\n- Fix 'AttributeError: image' when NewsItem unused the lead image behavior.\n [jianaijun]\n\n- Restore Plone 4.3 compatibility by depending on ``plone.app.event >= 2.0a4``.\n The previous release of p.a.c got an implicit Plone 5 dependency through a\n previous version of plone.app.event.\n [thet]\n\n- Replace AT-fti with DX-fti when migrating a type.\n [esteele, pbauer]\n\n- Only show migratable types (fixes #155)\n [pbauer]\n\n- Add logging during and after migration (fixes #156)\n [pbauer]\n\n- When replacing the default news and events collections, reverse the\n sort order correctly.\n [maurits]\n\n\n1.2a3 (2014-04-19)\n------------------\n\n- Adapt to changes of plone.app.event 2.0.\n [thet]\n\n- Fix issue when mimetype can be None.\n [pbauer]\n\n\n1.2a2 (2014-04-13)\n------------------\n\n- Enable IShortName for all default-types.\n [pbauer, mikejmets]\n\n- Add form to install pac and forward to dx_migration\n after a successful migration to Plone 5\n [pbauer]\n\n- Rename atct_album_view to folder_album_view.\n [pbauer]\n\n- Do a better check, if LinguaPlone is installed, based on the presence of the\n \"LinguaPlone\" browser layer. Asking the quick installer tool might claim it's\n installed, where it's not.\n [thet]\n\n- Register folderish views not for plone.app.contenttypes' IFolder but for\n plone.dexterity's IDexterityContainer. Now, these views can be used on any\n folderish Dexterity content.\n [thet]\n\n- Add a ICustomMigrator interface to the migration framework, which can be used\n to register custom migrator adapters. This can be useful to add custom\n migrators to more than one or all content types. For example for\n schemaextenders, which are registered on a interface, which is provided by\n several content types.\n [thet]\n\n- In the migration framework, fix queries for Archetype objects, where only\n interfaces are used to skip brains with no or Dexterity meta_type. In some\n cases Dexterity and Archetype objects might provide the same marker\n interfaces.\n [thet]\n\n- Add logging messages to content migrator for more verbosity on what's\n happening while running the migration.\n [thet]\n\n- Use Plone 4 based @@atct_migrator and @@atct_migrator_results template\n structure.\n [thet]\n\n\n1.2a1 (2014-02-22)\n------------------\n\n- Fix viewlet warning about ineditable content (fixes #130)\n [pbauer]\n\n- Reintroduce the removed schema-files and add upgrade-step to migrate to\n behavior-driven richtext-fields (fixes #127)\n [pbauer]\n\n- Delete Archetypes Member-folder before creating new default-content\n (fixes #128)\n [pbauer]\n\n- Remove outdated summary-behavior from event (fixes #129)\n [pbauer]\n\n\n1.1b3 (2014-09-07)\n------------------\n\n- Include translated content into migration-information (see #170)\n [pbauer]\n\n- Add simple confirmation to prevent unintentional migration.\n [pbauer]\n\n- Don't remove custom behaviors on reinstalling.\n [pbauer]\n\n- Remove enabling simple_publication_workflow from testing fixture.\n [timo]\n\n- Only show migratable types (fixes #155)\n [pbauer]\n\n- Add logging during and after migration (fixes #156)\n [pbauer]\n\n- Remove 'robot-test-folder' from p.a.contenttypes test setup. It is bad to\n add content to test layers, especially if those test layers are used by\n other packages.\n [timo]\n\n- When replacing the default news and events collections, reverse the\n sort order correctly.\n [maurits]\n\n- For plone.app.contenttypes 1.1.x, depend on plone.app.event < 1.1.999.\n Closes/Fixes #149.\n [khink, thet]\n\n\n1.1b2 (2014-02-21)\n------------------\n\n- Fix viewlet warning about ineditable content (fixes #130)\n [pbauer]\n\n- Reintroduce the removed schema-files and add upgrade-step to migrate to\n behavior-driven richtext-fields (fixes #127)\n [pbauer]\n\n- Delete Archetypes Member-folder before creating new default-content\n (fixes #128)\n [pbauer]\n\n- Remove outdated summary-behavior from event (fixes #129)\n [pbauer]\n\n\n1.1b1 (2014-02-19)\n------------------\n\n- Add tests for collections and collection-migrations.\n [pbauer]\n\n- Removed Plone 4.2 compatibility.\n [pbauer]\n\n- Add migration of at-collections to the new collection-behavior.\n [pbauer]\n\n- Display richtext in collection-views.\n [pbauer]\n\n- Reorganize and improve documentation.\n [pbauer]\n\n- Add a richtext-behavior and use it in for all types.\n [amleczko, pysailor]\n\n- Improve the migration-results page (Fix #67).\n [pbauer]\n\n- For uneditable content show a warning and hide the edit-link.\n [pbauer]\n\n- Keep all modification-date during migration (Fix #62).\n [pbauer]\n\n- Only attempt transforming files if valid content type.\n [vangheem]\n\n- Make the collection behavior aware of INavigationRoot. Fixes #98\n [rafaelbco]\n\n- Use unique URL provided by ``plone.app.imaging`` to show the large version\n of a news item's lead image. This allows use of a stronger caching policy.\n [rafaelbco]\n\n- Fix URL for Link object on the navigation portlet if it\n contains variables (Fix #110).\n [rafaelbco]\n\n\n1.1a1 (2013-11-22)\n------------------\n\n- Event content migration for Products.ATContentTypes ATEvent,\n plone.app.event's ATEvent and Dexterity example type and\n plone.app.contenttypes 1.0 Event to plone.app.contenttypes 1.1\n Event based on plone.app.event's Dexterity behaviors.\n [lentinj]\n\n- Remove DL's from portal message templates.\n https://github.com/plone/Products.CMFPlone/issues/153\n [khink]\n\n- Collection: get ``querybuilderresults`` view instead of using the\n ``QueryBuilder`` class directly.\n [maurits]\n\n- Fix migration restoreReferencesOrder removes references\n [joka]\n\n- Enable summary_view and all_content views for content types that\n have the collection behavior enabled. Define collection_view for\n those types so you can view the results. These simply show the\n results. The normal view of such a type will just show all fields\n in the usual dexterity way.\n [maurits, kaselis]\n\n- Add customViewFields to the Collection behavior. This was available\n on old collections too.\n [maurits, kaselis]\n\n- Change Collection to use a behavior. Issue #65.\n [maurits, kaselis]\n\n- Improved test coverage for test_migration\n [joka]\n\n- Add tests for vocabularies used for the migration\n [maethu]\n\n- Add migration-form /@@atct_migrate based on initial work by gborelli\n [pbauer, tiazma]\n\n- Add ATBlob tests and use migration layer for test_migration\n [joka]\n\n- Integrate plone.app.event.\n [thet]\n\n\n1.0 (2013-10-08)\n----------------\n\n- Remove AT content and create DX-content when installing in a fresh site.\n [pbauer]\n\n- Remove obsolete extra 'migrate_atct'.\n [pbauer]\n\n- Add link and popup to the image of News Items.\n [pbauer]\n\n- Use the default profile title for the example content profile.\n [timo]\n\n- Unicode is expected, but ``obj.title`` and/or ``obj.description`` can be\n still be None in SearchableText indexer.\n [saily]\n\n\n1.0rc1 (2013-09-24)\n-------------------\n\n- Implement a tearDownPloneSite method in testing.py to prevent test\n isolation problems.\n [timo]\n\n- Its possible to upload non-image data into a newsitem. The view was broken\n then. Now it shows the uploaded file for download below the content. Its no\n longer broken.\n [jensens]\n\n- Add contributor role as default for all add permissions in order to\n work together with the different plone workflows, which assume it is\n set this way.\n [jensens]\n\n- fix #60: File Type has no mimetype specific icon in catalog metadata.\n Also fixed for Image.\n [jensens]\n\n- fix #58: Migration ignores \"Exclude from Navigation\".\n [jensens]\n\n- disable LinkIntegrityNotifications during migrations, closes #40.\n [jensens]\n\n- Fix Bug on SearchableText_file indexer when input stream contains\n characters not convertible in ASCII. Assumes now utf-8 and replaces\n all unknown. Even if search can not find the words with special\n characters in, indexer does not break completely on those items.\n [jensens]\n\n- Remove dependency on plone.app.referenceablebehavior, as it depends on\n Products.Archetypes which installs the uid_catalog.\n [thet]\n\n- Make collection syndicatable.\n [vangheem]\n\n- Include the migration module not only when Products.ATContentTypes is\n installed but also archetypes.schemaextender. The schemaextender might not\n always be available.\n [thet]\n\n- Add fulltext search of file objects.\n [do3cc]\n\n- Fix link_redirect_view: Use index instead of template class var to\n let customization by ZCML of the template.\n [toutpt]\n\n- Add a permission for each content types.\n [toutpt]\n\n\n1.0b2 (2013-05-31)\n------------------\n\n- Fix translations to the plone domain, and some translations match existing\n translations in the plone domain. (ported from plone.app.collection)\n [bosim]\n\n- Fix atct_album_view and don't use atctListAlbum.py.\n [pbauer]\n\n- Add constrains for content create with the Content profile.\n [ericof]\n\n- Add SearchableText indexer to Folder content type.\n [ericof]\n\n- Fix atct_album_view.\n [pbauer]\n\n- Removed dependency for collective.dexteritydiff since its features were\n merged into Products.CMFDiffTool.\n [pbauer]\n\n- Add test for behavior table_of_contents.\n [pbauer]\n\n- Add migration for blobnewsitems as proposed in\n https://github.com/plone/plone.app.blob/pull/2.\n [pbauer]\n\n- Require cmf.ManagePortal for migration.\n [pbauer]\n\n- Always migrate files and images to blob (fixes #26).\n [pbauer]\n\n- Add table of contents-behavior for documents.\n [pbauer]\n\n- Add versioning-behavior and it's dependencies.\n [pbauer]\n\n- Remove image_view_fullscreen from the display-dropdown.\n [pbauer]\n\n- Enable selecting addable types on folders by default.\n [pbauer]\n\n- Fix reference-migrations if some objects were not migrated.\n [pbauer]\n\n- Keep the order references when migrating.\n [pabo3000]\n\n- Move templates into their own folder.\n [pbauer]\n\n- Moved migration related code to specific module.\n [gborelli]\n\n- Added migration Collection from app.collection to app.contenttypes.\n [kroman0]\n\n- Add missing ``i18n:attributes`` to 'Edit' and 'View' actions of File type.\n [saily]\n\n- Bind 'View' action to ``${object_url}/view`` instead of\n ``${object_url}`` as in ATCT for File and Image type.\n [saily]\n\n- Fixed installation of p.a.relationfield together with p.a.contenttypes.\n [kroman0]\n\n- Fixed creating aggregator of events on creating Plone site.\n [kroman0]\n\n- Added titles for menuitems.\n [kroman0]\n\n- Hide uninstall profile from @@plone-addsite.\n [kroman0]\n\n- Fix 'ImportError: cannot import name Counter' for Python 2.6.\n http://github.com/plone/plone.app.contenttypes/issues/19\n [timo]\n\n- Move XML schema definitions to schema folder.\n [timo]\n\n- Prevent the importContent step from being run over and over again.\n [pysailor]\n\n- Add build status image.\n [saily]\n\n- Merge plone.app.collection (Tag: 2.0b5) into plone.app.contenttypes.\n [timo]\n\n- Refactor p.a.collection robot framework tests.\n [timo]\n\n\n1.0b1 (2013-01-27)\n------------------\n\n- Added mime type icon for file.\n [loechel]\n\n- Lead image behavior added.\n [timo]\n\n- Make NewsItem use the lead image behavior.\n [timo]\n\n- SearchableText indexes added.\n [reinhardt]\n\n- Set the text of front-page when creating a new Plone.\n [pbauer]\n\n- Robot framework test added.\n [Gomez]\n\n\n1.0a2 (unreleased)\n------------------\n\n- Move all templates from skins to browser views.\n [timo]\n\n- User custom base classes for all content types.\n [timo]\n\n- Migration view (@@fix_base_classes) added to migrate content objects that\n were created with version 1.0a1.\n [timo]\n\n- Mime Type Icon added for File View.\n [loechel]\n\n\n1.0a1 (unreleased)\n------------------\n\n- Initial implementation.\n [pbauer, timo, pumazi, agitator]\n",
"bugtrack_url": null,
"license": "GPL",
"summary": "Default content types for Plone based on Dexterity",
"version": "4.0.1",
"project_urls": {
"Homepage": "https://github.com/plone/plone.app.contenttypes"
},
"split_keywords": [
"plone",
"content",
"types",
"dexterity"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "1cd71ad7ddb573519514b4022b770f282d0ae6db42b1c7983237f2d40e7a5911",
"md5": "2315fee8b698e5c6499addaced3120f0",
"sha256": "43abc34ecbf5b99c2c9c9f750c82a4ea12b1658f255565809bc5fbb02ff8c5b3"
},
"downloads": -1,
"filename": "plone.app.contenttypes-4.0.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "2315fee8b698e5c6499addaced3120f0",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.10",
"size": 152229,
"upload_time": "2024-10-31T21:52:31",
"upload_time_iso_8601": "2024-10-31T21:52:31.627522Z",
"url": "https://files.pythonhosted.org/packages/1c/d7/1ad7ddb573519514b4022b770f282d0ae6db42b1c7983237f2d40e7a5911/plone.app.contenttypes-4.0.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "b38a9bbc288b5f325b81df504cbb8128b3ce46ad6f939b557714a1044b056f14",
"md5": "51dcf2704ee184d9f68c8dafaabdc2ff",
"sha256": "30de6acd77b81ce96c133c5f1f1713733595cbd04c8e14afd2c36ba7ffe4ca50"
},
"downloads": -1,
"filename": "plone_app_contenttypes-4.0.1.tar.gz",
"has_sig": false,
"md5_digest": "51dcf2704ee184d9f68c8dafaabdc2ff",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.10",
"size": 156018,
"upload_time": "2024-10-31T21:52:34",
"upload_time_iso_8601": "2024-10-31T21:52:34.272696Z",
"url": "https://files.pythonhosted.org/packages/b3/8a/9bbc288b5f325b81df504cbb8128b3ce46ad6f939b557714a1044b056f14/plone_app_contenttypes-4.0.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-10-31 21:52:34",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "plone",
"github_project": "plone.app.contenttypes",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"tox": true,
"lcname": "plone.app.contenttypes"
}