plone.app.discussion is the commenting system used since Plone 4.1.
It was initially developed as part of the Google Summer of Code 2009 by Timo Stollenwerk (student) and Martin Aspeli (mentor).
.. towncrier release notes start
-
Make conversation view not break when comment-id cannot be converted to
long. This fixes #13327
[khink]
-
fix insufficient privileges when trying to view
the RSS feed of a comment collection
[maartenkling]
-
removed inline border=0 and move it to css
[maartenkling]
-
For migrations of comments without a valid old_status, apply the 'published'
state.
[thet]
-
Re-apply eleddy's "Revert modification date since this is fixed in
p.a.caching now." as her commit was lost later on due to some git magic.
[thet]
-
Remove submitting the controlpanel form again after removing disabled tags
fixes #13037 and #12357
[maartenkling]
-
Remove inline styles, fixes #12399
[maartenkling]
-
add fallback border color for i8, fixes #11324
[maartenkling]
-
Replace discussionitem_icon.gif with png version.
[timo]
-
Fix catalog updates for IObjectMovedEvent
[gaudenz]
-
Fix non-functioning user_notification feature
[izak]
-
Added Japanese translation.
[tyam]
-
Move all tests from testing layer to plone.app.testing.
[timo]
-
Move some policy out of the conversation storage adapter into a
view, specifically "enabled()". Prevents having to replace/migrate
persistent objects to change policy which really only concerns the
context and possibly the request, not the conversation storage.
Fixes #11372.
[rossp]
-
Fix unindexing of comments when deleting content resulting from
iterating over a BTree while modifying it. Fixes #11402.
[rossp]
-
Fix Missing.Value for Creator in the catalog. Fixes #11634.
[rossp]
-
Don't add the annotation unless a comment is actually being added.
Fixes #11370.
[rossp]
-
Fixed i18n of the "Commenting has been disabled." message.
[vincentfretin]
-
Add a moderator_email setting to control where moderator notifications are
sent.
[davisagli]
-
Make discussion.css cacheable when registering it.
[davisagli]
-
Fix issue where GMT datetimes were converted into local timezone DateTimes
during indexing.
[davisagli]
-
Handle timezones correctly while converting dates during the migration of
legacy comments.
[davisagli]
-
When returning a comment's title, give preference to its title attribute
if set.
[davisagli]
-
Use the cooked text of legacy comments when migrating.
[davisagli]
-
Make sure that comment text is transformed to plain text when indexing.
[davisagli]
-
Move logic for transforming comment text to the Comment class's getText
method. Use a comment instance's mime_type attribute in preference to the
global setting for the source mimetype. Use text/x-html-safe as the target
mimetype to make sure the safe HTML filter is applied, in case the source is
untrusted HTML.
[davisagli]
-
Provide a filter_callback option to the migration view, so that a custom
policy for which comments get migrated can be implemented.
[davisagli]
-
Fixed RoleManager import to avoid deprecation warning on Zope 2.13.
[davisagli]
-
French translations.
[thomasdesvenain]
-
Fixed internationalization issues.
[thomasdesvenain]
-
Added Afrikaans translations
[jcbrand]
-
Always show existing comments, even if commenting is disabled.
[timo]
-
Fix CSS for commenter images with a width of more than 2.5em. This fixes
http://dev.plone.org/plone/ticket/11391.
[timo]
-
Show a 'Comments are moderated.' message next to the comment form if comments
are moderated.
[timo]
-
Make sure plone.app.registry's ZCML is loaded, so that its import step will run
when plone.app.discussion is installed.
[davisagli]
-
Avoid sending multiple notification emails to the same person when
he has commented multiple times.
[maurits]
-
Move discussion action item from actionicons.xml to actions.xml to avoid
deprecation warning.
[timo]
-
Fix cancel button on edit view when using Dexterity types. This fixes
http://dev.plone.org/plone/ticket/11338.
[EpeliJYU]
-
Assigning the 'Reply to item' permission to the 'Authenticated' role. The old
commenting system allowed 'Authenticated' users to post comments. Also, OpenID
users do not possess the 'Authenticated' role.
[timo]
-
Make sure the handleComment method checks for the 'Reply to item' permission
when adding a comment.
[timo]
-
Make the mail-setting warning message show up in the discussion control panel.
[timo]
-
Link directly to the "Discussion Item" types control panel in the moderation
view.
[timo]
-
Show "moderate comments" link in the admin panel only if a moderation
workflow is enabled for comments.
[timo]
-
Do not allow to change the mail settings in the discussion control panel, if
there is no valid mail setup.
[timo]
-
Disable all commenting options in the discussion control panel if comments
are disabled globally.
-
Check for the 'review comments' permission instead of 'manage' to decide
if the user should see a 'this comment is pending' message.
[timo]
-
Move "moderate comments" site action above the logout action.
[timo]
-
Moderator notification description updated.
[timo]
-
Redirect back to the discussion control panel when the discussion control
panel form is submitted.
[timo]
-
Fix document_byline bottom margin if commenter images are disabled.
[timo]
-
Dynamically show the comment formatting message dependent on the text
transform setting.
[timo]
-
Description for text transform added to the discussion control panel.
[timo]
-
Move the discussion control panel to the core Plone configuration.
[timo]
-
Always set the effective date of a comment to the same value as the creation
date.
[timo]
-
Fix SMTP exception when an email is send to the moderator.
[timo]
-
Make sure comment UIDs in the catalog are always unique. This fixes
http://dev.plone.org/plone/ticket/10652.
[timo]
-
Fix 'check all' on batch moderation page.
[davisagli]
-
Use safe_unicode to decode the title of the content. encode("utf-9") caused
Dexterity based content types to raise a unicode decode error. This fixes
http://dev.plone.org/plone/ticket/11292
[dukebody]
-
Spanish translation updated.
[dukebody]
-
Catalan translation added.
[sneridagh]
-
Convert anonymous-supplied name to unicode as done for authenticated members.
[ggozad]
-
Catch SMTP exceptions when sending email notifications.
[timo]
-
Updated italian translation.
[keul]
-
Fix Dutch and Czech language code and name.
[timo]
-
Re-add the CommentsViewlet can_manage method. This method has been removed
in version 1.0b9 and added again in 1.0b11 because we don't want to change
the API in beta releases.
[timo]
-
Declare z3c.form and zope.schema as minimum version dependencies in setup.py
in case people use a different KGS.
[timo]
-
Add and update es and eu l10ns.
[dukebody, on behalf of erral]
-
Ajaxify comment deletion and approval.
[thomasdesvenain]
-
New feature: As a logged-in user, I can enable/disable email notification of
additional comments on this content object.
[timo]
-
Disable the plone.app.registry check on schema elements, so no error is
raised on upgrades. This fixes http://dev.plone.org/plone/ticket/11195.
[timo]
-
Remove the too generic id attribute of the comment form.
[timo]
-
Fixed handling of non-ascii member data, like fullname and email.
[hannosch]
-
Captcha plugin support for collective.z3cform.norobots (version >= 1.1) added.
[saffe]
-
Store dates in utc and not in local time. Display local time
[do3cc]
-
Fetch context for the comment view with "context = aq_inner(self.context)".
[timo]
-
Raise an unauthorized error when authenticated users try to post a comment
on a content object that has discussion disabled. Thanks to vincentfrentin
for reporting this.
[timo]
-
Czech translation added.
[naro]
-
Clean up code with PyLint.
[timo]
-
Make Javascripts pass JSLint validation.
[timo]
-
Put email notification subscribers into their own zcml file so it is easier
for integrators to override them.
[timo]
-
Plain text and intelligent text options for comment text added to preserve
basic text structure and to make links clickable.
[timo]
-
Rewrote all tal:condition in comments.pt. The authenticated user has
the reply button and the comment form if he has the "Reply to item"
permission And the discussion is currently allowed.
[vincentfretin]
-
Fixed the case where a folder has allow_discussion=False and
conversation.enabled() on a document in this folder returned False
instead of True because of allow_discussion acquisition.
[vincentfretin]
-
Redirect to the comment form action instead of the absolute URL when a
comment is posted. This fixes the accidentally triggered file upload when a
comment is posted on a file content object.
[timo]
-
We need five:registerPackage to register the i18n folder.
[vincentfretin]
-
Added Traditional Chinese (zh_TW) translation.
[TsungWei Hu]
-
Added French translation.
[vincentfretin]
-
Renamed legend_add_comment to label_add_comment to have the translation from
plone domain.
[vincentfretin]
-
label_comment_by and label_commented_at are not in Plone 4 translation
anymore, so these two messages moved to plone.app.discussions i18n domain.
[vincentfretin]
-
Translate "Warning" shown in @@moderate-comments in the plone domain.
[vincentfretin]
-
Fixed i18n markup of message_moderation_disabled.
[vincentfretin]
-
Catch Type errors in indexers if object can not be adapted to IDiscussion
[do3cc]
-
Call the CaptchaValidator even when no captcha data was submitted. This is
necessary to ensure that the collective.akismet validator is called when
installed.
[timo]
-
Spanish translation added. Thanks to Judith Sanleandro.
[timo]
-
Use self.form instead of CommentForm for the CommentsViewlet update method so
integrators don't have to override the viewlet's update method.
[matous]
-
Make sure the form fields in the reply form are always placed under the field
labels.
[timo]
-
Fix CSS overflow bug that occurs with the new Plone 4.0b5 comment styles.
[timo]
-
Unnecessary imports and variables removed.
[timo]
-
Added norwegian translation.
[ggozad]
-
Protect against missing canonical in conversationCanonicalAdapterFactory.
[hannosch]
-
Documentation for Captcha plugin architecture and email notification added.
See http://packages.python.org/plone.app.discussion.
[timo]
-
Use sphinx.plonetheme for plone.app.discussion documentation.
[timo]
-
Avoid deprecation warning for the Globals package.
[hannosch]
-
Remove the hard coded check for title and text when the comment form is
submitted. This allows integrators to write schema extenders that remove the
title from the comment form.
[timo]
-
Move captcha registration to its own captcha.zcml file.
[timo]
-
Akismet (http://akismet.com/) spam protection plugin (collective.akismet)
support added.
[timo]
-
Simplify the CaptchaValidator class by dynamically adapting a view with the
name of the captcha plugin (e.g. recaptcha, captcha, akismet) for the
validator.
[timo]
-
Dutch translation added.
[kcleong]
-
Enable caching and merging for comments.js to save some requests.
[pelle]
-
Design notes for the Captcha plugin architecture added.
[timo]
-
Make IDiscussionLayer inherit from Interface again. Remove IDefaultPloneLayer,
since Plone 4.0b1 and plone.theme 2.0b1 are out now.
[timo]
-
Clean up Javascript code.
[timo]
-
Fix encoding error in migration procedure, otherwise migration procedure
breaks on joining output list in case we have there any non-ascii characters.
[piv]
-
plone.z3cform 0.6.0 compatibility (fix maximum recursion depth error which
appears with plone.z3cform higher than 0.5.10).
[piv]
-
Removed moderation.js from js registry and include it only in moderation.pt as
that is the only place where it is used.
[ggozad]
-
New feature: As a moderator, I am notified when new comments require my
attention.
[timo]
-
Sphinx-based developer documentation added. See
http://packages.python.org/plone.app.discussion.
[timo]
-
Rename "Single State Workflow" to "Comment Single State Workflow".
[timo]
-
Rename 'publish comment' to 'approve comment'. This fixes #1608470.
[timo]
-
Show a warning in the moderation view if the moderation workflow is disabled.
[timo]
-
Move 'Moderate comments' link from site actions to user actions.
[timo]
-
Fix #662654: As an administrator, I can configure a Collection to show recent
comments. Comment.Type() now correctly returns the FTI title ('Comment')
[chaoflow]
-
German translation updated.
[juh]
-
Fix #2419342: Fix untranslated published/deleted status messages.
[timo]
-
Remove fixed width of the actions column of the moderation view. The
translated button titles can differ in size from the English titles.
[timo]
-
Fix #2494228: Remove comments as well when a content object is deleted.
[timo]
-
Fix unicode error when non-ASCII characters are typed into the name field of a
comment by anonymous users.
[regebro]
-
Make p.a.d. work with the recent version of plone.z3cform (0.5.10)
[timo]
-
Make p.a.d. styles less generic. This fixes #10253.
[timo]
-
Added greek translation.
[ggozad]
-
A bug in the moderator panel meant you couldn't delete items in a virtual
host, if your portal was named "plone".
[regebro]
-
Added an i18n directory for messages in the plone domain and updated scripts
to rebuild and sync it.
[hannosch]
-
Added an optional conversationCanonicalAdapterFactory showing how to share
comments across all translations with LinguaPlone, by storing and retrieving
the conversation from the canonical object.
[hannosch]
-
Play by the Plone 3.3+ rules and use the INavigationRoot as a base for the
moderation view.
[hannosch]
-
Added a commentTitle CSS class to the comment titles.
[hannosch]
-
Update message ids to match their real text.
[hannosch]
-
Set CSS classes for the comment form in the updateActions method.
[timo]
-
Respect the allow_comments field on an object and avoid calculations if no
comments should be shown.
[hannosch]
-
Automatically load the ZCML files of the captcha widgets if they are
installed.
[hannosch]
-
Fixed i18n domain in GenericSetup profiles to be plone
. Other values
aren't supported for GS profiles.
[hannosch]
-
Provide our own copy of the default one state workflow. Not all Plone sites
have this workflow installed.
[hannosch]
-
Register the event subscribers for the correct interfaces in Plone 3.
[hannosch]
-
Factored out subscriber declarations into its own ZCML file.
[hannosch]
-
Bugfix for #2281226: Moderation View: Comments disappear when hitting the
'Apply' button without choosing a bulk action.
[timo]
-
Allow to show the full text of a comment in the moderation view.
[timo]
-
German translation added.
[timo]
-
Italian translation added.
[keul]