2011-04-08 22:20:34 +02:00
|
|
|
<configure
|
|
|
|
xmlns="http://namespaces.zope.org/zope"
|
|
|
|
xmlns:genericsetup="http://namespaces.zope.org/genericsetup">
|
2012-01-09 16:31:52 +01:00
|
|
|
|
2011-04-08 22:20:34 +02:00
|
|
|
<genericsetup:upgradeStep
|
|
|
|
source="*"
|
2011-04-08 22:23:07 +02:00
|
|
|
destination="100"
|
2011-04-08 22:20:34 +02:00
|
|
|
title="Update plone.app.discussion setting registry"
|
|
|
|
description=""
|
|
|
|
profile="plone.app.discussion:default"
|
|
|
|
handler=".upgrades.update_registry"
|
|
|
|
/>
|
2012-01-09 16:31:52 +01:00
|
|
|
|
2017-01-10 18:02:03 +01:00
|
|
|
<genericsetup:upgradeStep
|
|
|
|
title="edit comments and delete own comments"
|
|
|
|
description="reload registry config to enable new fields edit_comment_enabled and delete_own_comment_enabled"
|
|
|
|
source="100"
|
|
|
|
destination="101"
|
|
|
|
handler=".upgrades.update_registry"
|
|
|
|
sortkey="1"
|
|
|
|
profile="plone.app.discussion:default"
|
|
|
|
/>
|
|
|
|
|
|
|
|
<genericsetup:upgradeStep
|
|
|
|
title="delete comments and delete own comments"
|
|
|
|
description="reload rolemap config to enable new permissions 'Delete comments' and 'Delete own comments'"
|
|
|
|
source="101"
|
|
|
|
destination="102"
|
|
|
|
handler=".upgrades.update_rolemap"
|
|
|
|
sortkey="1"
|
|
|
|
profile="plone.app.discussion:default"
|
|
|
|
/>
|
|
|
|
|
2017-01-10 18:09:01 +01:00
|
|
|
<genericsetup:upgradeSteps
|
|
|
|
source="102"
|
|
|
|
destination="1000"
|
|
|
|
profile="plone.app.discussion:default">
|
|
|
|
<!-- Apply the update rolemap step again, to avoid missing it when
|
|
|
|
updating from plone.app.discussion 2.2.x. When originally
|
|
|
|
adding this step in the 2.3.x release, we should have made a
|
|
|
|
bigger metadata revision increase to leave some room for new
|
|
|
|
upgrade steps in 2.2.x. -->
|
|
|
|
<genericsetup:upgradeStep
|
|
|
|
title="delete comments and delete own comments"
|
|
|
|
description="reload rolemap config to enable new permissions 'Delete comments' and 'Delete own comments'"
|
|
|
|
handler=".upgrades.update_rolemap"
|
|
|
|
/>
|
|
|
|
<genericsetup:upgradeStep
|
|
|
|
title="Update plone.app.discussion workflows"
|
|
|
|
handler=".upgrades.upgrade_comment_workflows"
|
|
|
|
/>
|
|
|
|
</genericsetup:upgradeSteps>
|
2017-07-17 11:34:16 +02:00
|
|
|
|
|
|
|
<genericsetup:upgradeStep
|
|
|
|
title="show email in moderation view"
|
|
|
|
description="reload catalog config to add author_email in metadata.'"
|
|
|
|
source="1000"
|
|
|
|
destination="1001"
|
|
|
|
handler=".upgrades.update_catalog"
|
|
|
|
sortkey="1"
|
|
|
|
profile="plone.app.discussion:default"
|
|
|
|
/>
|
2017-01-10 18:09:01 +01:00
|
|
|
|
2011-04-08 22:20:34 +02:00
|
|
|
</configure>
|