From 5c323a5cf43b7e297e2d54dfaf8ff8b48a319a0f Mon Sep 17 00:00:00 2001 From: Timo Stollenwerk Date: Fri, 28 May 2010 15:56:39 +0000 Subject: [PATCH] Whitespace and comment added. svn path=/plone.app.discussion/trunk/; revision=36787 --- plone/app/discussion/interfaces.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/plone/app/discussion/interfaces.py b/plone/app/discussion/interfaces.py index 39d60b9..7fb061e 100644 --- a/plone/app/discussion/interfaces.py +++ b/plone/app/discussion/interfaces.py @@ -6,6 +6,7 @@ from zope.i18nmessageid import MessageFactory _ = MessageFactory('plone.app.discussion') + class IDiscussionSettings(Interface): """Global discussion settings. This describes records stored in the configuration registry and obtainable via plone.registry. @@ -192,6 +193,7 @@ class IConversation(IIterableMapping): returned in depth-first order. """ + class IReplies(IIterableMapping): """A set of related comments in reply to a given content object or another comment. @@ -210,6 +212,7 @@ class IReplies(IIterableMapping): """Delete the comment with the given key. The key is a long id. """ + class IComment(Interface): """A comment. @@ -245,10 +248,14 @@ class IComment(Interface): creation_date = schema.Date(title=_(u"Creation date")) modification_date = schema.Date(title=_(u"Modification date")) + class ICaptcha(Interface): + """Captcha/ReCaptcha text field to extend the existing comment form. + """ captcha = schema.TextLine(title=u"Captcha", required=False) + class ICommentingTool(Interface): """A tool that indexes all comments for usage by the management interface.