2009-05-11 16:52:16 +00:00
|
|
|
<configure
|
|
|
|
xmlns="http://namespaces.zope.org/zope"
|
|
|
|
xmlns:browser="http://namespaces.zope.org/browser"
|
2019-06-27 19:43:27 +02:00
|
|
|
xmlns:plone="http://namespaces.plone.org/plone"
|
2010-06-10 14:57:03 +00:00
|
|
|
xmlns:zcml="http://namespaces.zope.org/zcml"
|
2015-11-05 00:26:49 +01:00
|
|
|
i18n_domain="plone">
|
2009-05-25 18:59:25 +00:00
|
|
|
|
2009-06-02 21:20:53 +00:00
|
|
|
<include package="plone.app.registry" />
|
|
|
|
|
2010-06-10 14:57:03 +00:00
|
|
|
<include file="captcha.zcml" />
|
|
|
|
|
2009-05-23 04:55:06 +00:00
|
|
|
<!-- Traversal adapter -->
|
2009-05-23 11:52:57 +00:00
|
|
|
<adapter factory=".traversal.ConversationNamespace" name="conversation" />
|
2009-05-11 16:52:16 +00:00
|
|
|
|
2009-06-10 20:14:44 +00:00
|
|
|
<!-- Moderation view -->
|
|
|
|
<browser:page
|
|
|
|
for="Products.CMFCore.interfaces.ISiteRoot"
|
|
|
|
name="moderate-comments"
|
|
|
|
layer="..interfaces.IDiscussionLayer"
|
|
|
|
class=".moderation.View"
|
2009-08-26 08:59:50 +00:00
|
|
|
permission="plone.app.discussion.ReviewComments"
|
2009-06-10 20:14:44 +00:00
|
|
|
/>
|
|
|
|
|
2010-01-28 13:23:58 +00:00
|
|
|
<browser:page
|
|
|
|
for="plone.app.layout.navigation.interfaces.INavigationRoot"
|
|
|
|
name="moderate-comments"
|
|
|
|
layer="..interfaces.IDiscussionLayer"
|
|
|
|
class=".moderation.View"
|
|
|
|
permission="plone.app.discussion.ReviewComments"
|
|
|
|
/>
|
|
|
|
|
2009-06-26 14:57:45 +00:00
|
|
|
<!-- Moderation bulk actions view -->
|
|
|
|
<browser:page
|
|
|
|
for="Products.CMFCore.interfaces.ISiteRoot"
|
|
|
|
name="bulk-actions"
|
|
|
|
layer="..interfaces.IDiscussionLayer"
|
|
|
|
class=".moderation.BulkActionsView"
|
2009-08-26 08:59:50 +00:00
|
|
|
permission="plone.app.discussion.ReviewComments"
|
2009-06-26 14:57:45 +00:00
|
|
|
/>
|
|
|
|
|
2010-01-28 13:23:58 +00:00
|
|
|
<browser:page
|
|
|
|
for="plone.app.layout.navigation.interfaces.INavigationRoot"
|
|
|
|
name="bulk-actions"
|
|
|
|
layer="..interfaces.IDiscussionLayer"
|
|
|
|
class=".moderation.BulkActionsView"
|
|
|
|
permission="plone.app.discussion.ReviewComments"
|
|
|
|
/>
|
|
|
|
|
2010-12-08 17:45:11 +00:00
|
|
|
<!-- Moderate comments enabled view -->
|
|
|
|
<browser:page
|
|
|
|
for="Products.CMFPlone.interfaces.IPloneSiteRoot"
|
|
|
|
name="moderate-comments-enabled"
|
|
|
|
layer="..interfaces.IDiscussionLayer"
|
|
|
|
class=".moderation.ModerateCommentsEnabled"
|
|
|
|
permission="zope2.View"
|
|
|
|
/>
|
|
|
|
|
|
|
|
<browser:page
|
|
|
|
for="plone.app.layout.navigation.interfaces.INavigationRoot"
|
|
|
|
name="moderate-comments-enabled"
|
|
|
|
layer="..interfaces.IDiscussionLayer"
|
|
|
|
class=".moderation.ModerateCommentsEnabled"
|
|
|
|
permission="zope2.View"
|
|
|
|
/>
|
2010-12-15 23:52:56 +00:00
|
|
|
|
2013-09-17 12:03:46 +00:00
|
|
|
<!-- Edit comment view -->
|
|
|
|
<browser:page
|
|
|
|
for="plone.app.discussion.interfaces.IComment"
|
|
|
|
name="edit-comment"
|
|
|
|
layer="..interfaces.IDiscussionLayer"
|
|
|
|
class=".comment.EditComment"
|
|
|
|
permission="plone.app.discussion.EditComments"
|
|
|
|
/>
|
|
|
|
|
2014-08-17 04:48:44 +02:00
|
|
|
<!-- Delete comment views
|
2013-09-19 08:39:52 +00:00
|
|
|
has conditional security dependent on controlpanel settings.
|
|
|
|
-->
|
2009-10-17 13:50:55 +00:00
|
|
|
<browser:page
|
2009-06-11 13:51:33 +00:00
|
|
|
for="plone.app.discussion.interfaces.IComment"
|
|
|
|
name="moderate-delete-comment"
|
|
|
|
layer="..interfaces.IDiscussionLayer"
|
2009-06-26 14:57:45 +00:00
|
|
|
class=".moderation.DeleteComment"
|
2014-03-03 15:12:16 +01:00
|
|
|
permission="plone.app.discussion.DeleteComments"
|
2009-06-11 13:51:33 +00:00
|
|
|
/>
|
|
|
|
|
2012-05-07 13:02:07 +02:00
|
|
|
<browser:page
|
|
|
|
for="plone.app.discussion.interfaces.IComment"
|
|
|
|
name="delete-own-comment"
|
|
|
|
layer="..interfaces.IDiscussionLayer"
|
|
|
|
class=".moderation.DeleteOwnComment"
|
|
|
|
permission="plone.app.discussion.DeleteOwnComments"
|
2009-06-11 13:51:33 +00:00
|
|
|
/>
|
|
|
|
|
2019-12-05 21:55:23 +01:00
|
|
|
<!-- Comment Transition -->
|
2009-10-17 13:50:55 +00:00
|
|
|
<browser:page
|
2009-06-11 13:51:33 +00:00
|
|
|
for="plone.app.discussion.interfaces.IComment"
|
2019-12-05 21:55:23 +01:00
|
|
|
name="transmit-comment"
|
2009-06-11 13:51:33 +00:00
|
|
|
layer="..interfaces.IDiscussionLayer"
|
2019-12-05 21:55:23 +01:00
|
|
|
class=".moderation.CommentTransition"
|
2009-06-16 13:10:58 +00:00
|
|
|
permission="plone.app.discussion.ReviewComments"
|
2009-06-11 13:51:33 +00:00
|
|
|
/>
|
|
|
|
|
2019-12-08 20:01:40 +01:00
|
|
|
<browser:page
|
|
|
|
for="*"
|
|
|
|
name="translationhelper"
|
|
|
|
layer="..interfaces.IDiscussionLayer"
|
|
|
|
class=".moderation.TranslationHelper"
|
|
|
|
permission="plone.app.discussion.ReviewComments"
|
|
|
|
/>
|
|
|
|
|
2019-09-30 16:43:19 +02:00
|
|
|
|
2009-05-23 04:55:06 +00:00
|
|
|
<!-- Comments viewlet -->
|
|
|
|
<browser:viewlet
|
2010-01-22 17:54:30 +00:00
|
|
|
name="plone.comments"
|
2009-05-23 04:55:06 +00:00
|
|
|
for="Products.CMFCore.interfaces.IContentish"
|
|
|
|
layer="..interfaces.IDiscussionLayer"
|
|
|
|
manager="plone.app.layout.viewlets.interfaces.IBelowContent"
|
2010-01-22 12:08:30 +00:00
|
|
|
view="plone.app.layout.globals.interfaces.IViewView"
|
2009-05-23 04:55:06 +00:00
|
|
|
class=".comments.CommentsViewlet"
|
2022-02-17 16:37:38 +02:00
|
|
|
permission="plone.app.discussion.ViewComments"
|
2009-05-23 04:55:06 +00:00
|
|
|
/>
|
2009-05-11 16:52:16 +00:00
|
|
|
|
2011-04-15 04:29:46 +00:00
|
|
|
<!-- Conversation view -->
|
|
|
|
<browser:page
|
|
|
|
name="conversation_view"
|
|
|
|
for="Products.CMFCore.interfaces.IContentish"
|
|
|
|
layer="..interfaces.IDiscussionLayer"
|
|
|
|
class=".conversation.ConversationView"
|
|
|
|
permission="zope2.View"
|
|
|
|
/>
|
|
|
|
|
2009-05-27 13:23:25 +00:00
|
|
|
<!-- Comment view -->
|
|
|
|
<browser:view
|
|
|
|
name="view"
|
|
|
|
for="plone.app.discussion.interfaces.IComment"
|
|
|
|
layer="..interfaces.IDiscussionLayer"
|
2010-01-18 09:54:27 +00:00
|
|
|
class=".comment.View"
|
2009-05-27 13:23:25 +00:00
|
|
|
permission="zope2.View"
|
|
|
|
/>
|
|
|
|
|
2010-01-27 14:54:07 +00:00
|
|
|
<!-- Resource directory for javascripts -->
|
2019-06-27 19:43:27 +02:00
|
|
|
<plone:static
|
2010-01-27 14:54:07 +00:00
|
|
|
name="plone.app.discussion.javascripts"
|
2019-06-27 19:43:27 +02:00
|
|
|
type="plone"
|
2010-01-27 14:54:07 +00:00
|
|
|
directory="javascripts"
|
2009-05-26 19:58:33 +00:00
|
|
|
/>
|
|
|
|
|
2009-08-17 20:31:37 +00:00
|
|
|
<!-- Control panel -->
|
2013-11-12 10:45:59 +01:00
|
|
|
<browser:page
|
|
|
|
name="discussion-controlpanel"
|
|
|
|
for="Products.CMFPlone.interfaces.IPloneSiteRoot"
|
|
|
|
class=".controlpanel.DiscussionSettingsControlPanel"
|
|
|
|
permission="cmf.ManagePortal"
|
|
|
|
/>
|
|
|
|
<!-- Deprecated controlpanel url -->
|
2009-06-02 21:20:53 +00:00
|
|
|
<browser:page
|
|
|
|
name="discussion-settings"
|
|
|
|
for="Products.CMFPlone.interfaces.IPloneSiteRoot"
|
|
|
|
class=".controlpanel.DiscussionSettingsControlPanel"
|
|
|
|
permission="cmf.ManagePortal"
|
|
|
|
/>
|
|
|
|
|
2010-12-15 23:52:56 +00:00
|
|
|
</configure>
|