Product
Introducing License Enforcement in Socket
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
collective.discussionplus
Advanced tools
Augments the standard Plone discussion tool to add basic approvals workflow, and ibetter indexing of comment metadata (number of comments, who has commented?)
This package provides some enhancements to Plone's standard commenting functionality. It attempts to keep as much of the existing commenting machinery as possible, but adds the following features:
Events:
IObjectAddedEvent
is fired when a discussion item (described by the
interface Products.CMFCore.interfaces.IDiscussionResponse
) is created.IObjectRemovedEvent
is fired when a discussion item is
deleted.Indexing:
number_of_comments
,
which contains the number of comments left on a content item, and
commentators
, which contains a list of unique usernames of those who
have left one or more comments on the content item. number_of_comments
is also available as catalogue metadata.comment_subject
, which contains the title of the content item that was
commented upon (note that this is not updated if the content item changes
title).Workflow:
one_state_workflow
is used, which means a comment is
always published. An additional comment_review_workflow
is installed,
which has two states: pending
and published
. Comments may either be
published or deleted.Note that the @@review-comments view makes a few assumptions:
pending
state. You can add
a review_state
request parameter to specify a different state to search
for, however.publish
to move a comment from pending
to
published
. You can request a different transition by providing a
request parameter publish_transition
.Furthermore:
number_of_comments
index will only include comments in the
published
state.portal_catalog
Clear and rebuild
, nor the
portal_workflow
Update security settings
operation will correctly
find and update comments, due to the way that comments are stored.This product requires Plone 3.3+ (and will likely not work with Plone 4). In
particular, it relies on plone.indexer
, which is part of Plone 3.3+.
FAQs
Augments the standard Plone discussion tool to add basic approvals workflow, and ibetter indexing of comment metadata (number of comments, who has commented?)
We found that collective.discussionplus demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
Product
We're launching a new set of license analysis and compliance features for analyzing, managing, and complying with licenses across a range of supported languages and ecosystems.
Product
We're excited to introduce Socket Optimize, a powerful CLI command to secure open source dependencies with tested, optimized package overrides.