Guido A.J. Stevens
82a473c138
provide "delete own comments" as a configurable option
2013-09-19 11:43:13 +02:00
Guido A.J. Stevens
e6172a219e
Make comments editable
2013-09-19 11:43:13 +02:00
Felipe Duardo
7f16b55493
return to last commit...
2013-04-09 13:55:21 -03:00
Felipe Duardo
79a96a8c1e
Added a prefix to the id attr of the comment field
...
The W3C validator does not accept the attributes id or class started with numbers.
2013-04-09 12:21:14 -03:00
maartenkling
f1aaa0d752
The border attribute is obsolete. Consider specifying img { border: 0; } in CSS instead.
2012-11-01 08:31:02 +01:00
maartenkling
66898bb87a
remove inline styles, this also fixes #12399
2012-10-22 09:58:40 +02:00
rnd0101
cdea1ce59d
Update plone/app/discussion/browser/comments.pt
...
i18n for the Anonymous
2012-09-19 12:55:55 +03:00
Timo Stollenwerk
0535e659ff
Refactor the comment creator/author_name to comply with the Plone core convention to store the username on the creator attribute and not the fullname.
2012-07-12 15:39:27 +02:00
Timo Stollenwerk
910f75aa7e
Make comments and controlpanel views more robust, so they don't break if no workflow is assigned to the 'Discussion Item' content type.
2012-03-15 13:06:00 +01:00
Timo Stollenwerk
80d70bbf08
Whitespace
2012-01-25 15:57:17 +01:00
Vincent Fretin
ab5c728448
Fixed i18n of the "Commenting has been disabled." message.
...
svn path=/plone.app.discussion/trunk/; revision=48694
2011-04-10 20:28:21 +00:00
David Glick
eb004aab44
merge r46437 and r46946 from davisagli-features: respect the per-comment mime_type setting, and use the old cooked text/html from legacy comments when migrating
...
svn path=/plone.app.discussion/trunk/; revision=48356
2011-04-02 19:51:37 +00:00
Timo Stollenwerk
75cde25b6f
Always show existing comments, even if commenting is disabled.
...
svn path=/plone.app.discussion/trunk/; revision=46785
2011-01-07 15:27:17 +00:00
Maurits van Rees
a2a17085a3
Nuke trailing white space
...
svn path=/plone.app.discussion/trunk/; revision=46366
2010-12-15 23:52:56 +00:00
Timo Stollenwerk
0c94707743
Dynamically show the comment formatting message dependent on the text transform setting.
...
svn path=/plone.app.discussion/trunk/; revision=46035
2010-11-29 22:42:20 +00:00
Timo Stollenwerk
4bbfe677e4
Replace the can_manage method with a can_review method that checks the 'Review comments' permission. This fixes http://dev.plone.org/plone/ticket/11145 .
...
svn path=/plone.app.discussion/trunk/; revision=40534
2010-10-06 13:55:57 +00:00
Timo Stollenwerk
837e6b2966
Do not show two "login to add comments" buttons when there are no comments yet. This fixes http://plone.org/products/plone.app.discussion/issues/12 .
...
svn path=/plone.app.discussion/trunk/; revision=40515
2010-10-05 12:07:08 +00:00
Timo Stollenwerk
689fd26c12
Apply the comment viewlet template and styles to the new title-less comments. This might require integrators to apply their custom templates and styles.
...
svn path=/plone.app.discussion/trunk/; revision=40433
2010-09-29 08:13:54 +00:00
Timo Stollenwerk
4390b8929b
Revert r39314. zptlint failed as expected. hudson integration works!
...
svn path=/plone.app.discussion/trunk/; revision=39319
2010-08-28 19:31:17 +00:00
Timo Stollenwerk
133da3d305
BREAK templates to check if zptlint in hudson works. Will be reverted immediately.
...
svn path=/plone.app.discussion/trunk/; revision=39314
2010-08-28 19:19:27 +00:00
Timo Stollenwerk
35d7743b7a
Plain text to HTML transformation added for comment text
...
svn path=/plone.app.discussion/trunk/; revision=38898
2010-08-25 09:19:28 +00:00
Vincent Fretin
17fce9d515
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 conversation is currently enabled.
Warning:
There is a security hole at the moment. Any authenticated user having the
zope2.View permission or anonymous user without captcha can add a comment
by creating a post request.
svn path=/plone.app.discussion/trunk/; revision=38888
2010-08-24 11:25:17 +00:00
Vincent Fretin
fd6a8e0fd8
* Renamed legend_add_comment to label_add_comment to have the translation from
...
plone domain.
* 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.
svn path=/plone.app.discussion/trunk/; revision=38574
2010-08-06 15:33:34 +00:00
Hanno Schlichting
f7c18ea77e
No tabs please
...
svn path=/plone.app.discussion/trunk/; revision=37350
2010-06-18 12:19:33 +00:00
Timo Stollenwerk
819b66e149
merge r34694-r34695 from the jarn-1.0b3 branch.
...
Fix unicode error when non-ASCII characters are typed into the name field of a comment by anonymous users.
We are indexing the member.id only now instead of the full member name or what anonymous users typed into the name field.
svn path=/plone.app.discussion/trunk/; revision=34932
2010-03-16 13:06:08 +00:00
Timo Stollenwerk
57b41454bb
update CommentsViewlet to follow best practice for showing a z3c.form inside a Viewlet. Override update method instead of init method.
...
svn path=/plone.app.discussion/branches/notification/; revision=34052
2010-02-16 20:25:56 +00:00
Hanno Schlichting
d937bcc42e
Added a commentTitle CSS class to the comment titles.
...
svn path=/plone.app.discussion/trunk/; revision=33543
2010-01-28 11:48:44 +00:00
Hanno Schlichting
9f4129a65f
Respect the allow_comments field on an object and avoid calculations if no comments should be shown.
...
svn path=/plone.app.discussion/trunk/; revision=33511
2010-01-27 17:00:58 +00:00
Hanno Schlichting
c27d1b5cc1
De-tabbify
...
svn path=/plone.app.discussion/trunk/; revision=33491
2010-01-27 14:54:07 +00:00
Timo Stollenwerk
c001b335b9
make i18ndude shut up about errors.
...
svn path=/plone.app.discussion/trunk/; revision=33388
2010-01-24 21:19:18 +00:00
Luca Fabbri
a6a1904d3e
Commiting working translation.
...
Some light fixes was needed also to the code.
svn path=/plone.app.discussion/branches/localization-enabled/; revision=33353
2010-01-24 13:47:39 +00:00
Timo Stollenwerk
b1e4b2254c
Fix 1513398: Show "anonymous" when name field is empty in comment form.
...
svn path=/plone.app.discussion/trunk/; revision=33281
2010-01-22 18:35:32 +00:00
Timo Stollenwerk
2e004456f5
Bugfix for #2010078 : Comments that await moderation are visually distinguished from published comments.
...
svn path=/plone.app.discussion/trunk/; revision=32537
2009-12-19 14:04:49 +00:00
Timo Stollenwerk
0fa11f9af9
remove unnecessary link in comment title.
...
svn path=/plone.app.discussion/trunk/; revision=32536
2009-12-19 13:39:28 +00:00
Timo Stollenwerk
5f9e443b9c
fix bug #2010181 : The name of a commenter who commented while not logged in should not appear as a link.
...
svn path=/plone.app.discussion/trunk/; revision=32535
2009-12-19 13:35:49 +00:00
Timo Stollenwerk
8e493363c4
rename remove button to delete.
...
svn path=/plone.app.discussion/trunk/; revision=32358
2009-12-08 15:37:52 +00:00
Timo Stollenwerk
f0cbc787ab
has_replies function added to get only published comments for anon users. elro review fix. refs #9288
...
svn path=/plone.app.discussion/trunk/; revision=30252
2009-10-07 20:07:55 +00:00
Timo Stollenwerk
5a8e1eed93
Fix "insufficient privileges" bug reported by elro.
...
svn path=/plone.app.discussion/trunk/; revision=29624
2009-09-09 14:48:19 +00:00
Timo Stollenwerk
9aaf24e247
Fix story 1140047. Comment text wraps around commenter image.
...
svn path=/plone.app.discussion/trunk/; revision=29457
2009-08-28 21:21:54 +00:00
Timo Stollenwerk
72ac358c4c
fix reply-to-comment form buttons.
...
svn path=/plone.app.discussion/trunk/; revision=29405
2009-08-26 22:31:23 +00:00
Timo Stollenwerk
8e406ccf2d
remove "display: inline" CSS from reply-button; show reply-button only when JS is enabled.
...
svn path=/plone.app.discussion/trunk/; revision=29404
2009-08-26 21:55:27 +00:00
Timo Stollenwerk
9c3bdb3a72
Stopping comments being rendered as structure;
...
Merge r29173 from evilbungle-safe-html branch.
svn path=/plone.app.discussion/trunk/; revision=29246
2009-08-21 20:52:12 +00:00
Carsten Senger
241c17df72
move the access of reply/Creator into a nested tag. tal:defines are
...
evaluated before tal:condition so we may have no permission to access
Creator.
svn path=/plone.app.discussion/trunk/; revision=29207
2009-08-20 02:21:23 +00:00
Carsten Senger
c145378f34
Allways use an accessor method on the comment, never access the
...
attribute directly as the attribute is not acquisition wrapped
and a permission check for the required permission will fail
svn path=/plone.app.discussion/trunk/; revision=29205
2009-08-20 02:17:02 +00:00
Timo Stollenwerk
cdfbdb3d7d
remove debug line.
...
svn path=/plone.app.discussion/trunk/; revision=28819
2009-08-14 09:02:42 +00:00
Timo Stollenwerk
dff06b8c8c
show post-comment form when user is logged in or user is not logged in and anonymous comments are allowed.
...
svn path=/plone.app.discussion/trunk/; revision=28817
2009-08-14 09:02:00 +00:00
Timo Stollenwerk
eadbb55a87
fix commenting for anonymous users.
...
svn path=/plone.app.discussion/trunk/; revision=28363
2009-08-04 20:47:25 +00:00
Timo Stollenwerk
ddd8596dbd
move reply to comment view to z3cform.
...
svn path=/plone.app.discussion/trunk/; revision=28349
2009-08-04 14:51:34 +00:00
Timo Stollenwerk
424d1c79ed
z3c.form form added to commentsviewlet (not fully functional yet).
...
svn path=/plone.app.discussion/trunk/; revision=28300
2009-08-01 21:47:50 +00:00
Timo Stollenwerk
a608c58c4c
use "@@moderate-publish-comment" instead of "content_status_modify" for publishing comments. content_status_modify does not reindex the comment properly.
...
svn path=/plone.app.discussion/trunk/; revision=27839
2009-07-06 17:30:19 +00:00