Commit Graph

60 Commits

Author SHA1 Message Date
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
Timo Stollenwerk
0c377e3c9b fix remove comment button in the comments viewlet.
svn path=/plone.app.discussion/trunk/; revision=27815
2009-07-04 16:59:55 +00:00
Timo Stollenwerk
f0e38ff65a fix wrong i18n attribute in body text.
svn path=/plone.app.discussion/trunk/; revision=27653
2009-06-24 08:26:02 +00:00
Timo Stollenwerk
a7d80a1368 i18n added to templates.
svn path=/plone.app.discussion/trunk/; revision=27648
2009-06-23 17:44:47 +00:00
Timo Stollenwerk
e4ac274781 fix that logged in users who are not managers don't see comments at all.
svn path=/plone.app.discussion/trunk/; revision=27587
2009-06-21 13:00:28 +00:00
Timo Stollenwerk
c35b631e36 don't show non-published comments to anonymous users.
svn path=/plone.app.discussion/trunk/; revision=27567
2009-06-21 08:29:42 +00:00
Timo Stollenwerk
7eae4783a4 fix multi-submit message error on the reply button.
svn path=/plone.app.discussion/trunk/; revision=27545
2009-06-20 20:10:09 +00:00
Timo Stollenwerk
e9f24cfa74 Complete rewrite of the show/hide reply-to-comment forms.
Switch from Javascript event handlers to jQuery event binding.
Replace reply-to-comment image with a standard reply button.
Fix IE7 show reply-to-comment form is not working.

svn path=/plone.app.discussion/trunk/; revision=27533
2009-06-20 16:00:36 +00:00
Timo Stollenwerk
de5499d996 show delete and workflow actions buttons on the comments viewlet.
svn path=/plone.app.discussion/trunk/; revision=27470
2009-06-16 13:13:40 +00:00
Timo Stollenwerk
5c3c77ecbd show the reply-to-comment button to anonymous users.
svn path=/plone.app.discussion/trunk/; revision=27446
2009-06-14 17:33:32 +00:00
Timo Stollenwerk
5e26227ea1 fix that anonymous users see a link to a non-existent user-home in the comments viewlet.
svn path=/plone.app.discussion/trunk/; revision=27419
2009-06-14 11:10:45 +00:00
Timo Stollenwerk
2e1cda3f59 hide delete and workflow actions in the comments viewlet, since they don't work yet.
svn path=/plone.app.discussion/trunk/; revision=27416
2009-06-14 07:26:59 +00:00
Timo Stollenwerk
5300e33457 fix the anonymous view for the comments viewlet.
refactor get_replies.

svn path=/plone.app.discussion/trunk/; revision=27410
2009-06-13 18:02:59 +00:00
Timo Stollenwerk
22f50532ff add workflow buttons to comments viewlet (not working yet).
svn path=/plone.app.discussion/trunk/; revision=27408
2009-06-13 17:33:48 +00:00
Timo Stollenwerk
8fb254f73d add optional workflow actions to the get_replies method of the comments viewlet.
switch from Acquisition.explicit to Acquisition.implicit for the comment class.
adjust test_comment to work with Acquisition.implicit.

svn path=/plone.app.discussion/trunk/; revision=27406
2009-06-13 16:46:37 +00:00
Timo Stollenwerk
dd0133e0c0 add delete and workflow actions buttons to comments viewlet.
svn path=/plone.app.discussion/trunk/; revision=27384
2009-06-11 13:51:33 +00:00
Timo Stollenwerk
5441976dca show reply-to-comment button based on permissions/workflow.
svn path=/plone.app.discussion/trunk/; revision=27363
2009-06-09 15:52:20 +00:00
Timo Stollenwerk
65ba6e1a67 remove debug message from comments template.
svn path=/plone.app.discussion/trunk/; revision=27355
2009-06-08 14:51:43 +00:00
Timo Stollenwerk
e98a39907a option to show commenter image added.
svn path=/plone.app.discussion/trunk/; revision=27353
2009-06-08 08:23:18 +00:00
Timo Stollenwerk
353c6acfd0 anonymous comments added.
svn path=/plone.app.discussion/trunk/; revision=27352
2009-06-08 08:00:15 +00:00
Timo Stollenwerk
22a4916afa fix comments view. call getPersonalPortrait in the template again.
svn path=/plone.app.discussion/trunk/; revision=27351
2009-06-08 07:28:59 +00:00
Timo Stollenwerk
1af2b435fd get_commenter_portrait and get_commenter_home_url methods added to comments viewlet.
tests for get_commenter_portrait added.

svn path=/plone.app.discussion/trunk/; revision=27349
2009-06-07 20:58:41 +00:00
Timo Stollenwerk
b1ab18dddc show commenting viewlet only when isDiscussionAllowed is true.
svn path=/plone.app.discussion/trunk/; revision=27290
2009-06-03 17:05:26 +00:00
Timo Stollenwerk
b9aeabedb1 fix the error of showing too much reply forms in the reply-to-comment jquery function.
svn path=/plone.app.discussion/trunk/; revision=27263
2009-06-02 16:13:44 +00:00
Timo Stollenwerk
068583db76 cancel button added to the reply-to-comment form.
svn path=/plone.app.discussion/trunk/; revision=27262
2009-06-02 15:09:25 +00:00
Timo Stollenwerk
0ce270bc66 show the default user image to anonymous (comments viewlet).
svn path=/plone.app.discussion/trunk/; revision=27230
2009-05-31 10:43:35 +00:00
Timo Stollenwerk
7083856268 fetch user image with getPersonalPortrait().
svn path=/plone.app.discussion/trunk/; revision=27206
2009-05-29 07:12:20 +00:00
Timo Stollenwerk
b73c43119d show the reply-to-comment button only to logged in users.
svn path=/plone.app.discussion/trunk/; revision=27200
2009-05-28 15:16:49 +00:00
Timo Stollenwerk
49aab7389b show the second "login to comment"-button (below the comments) only when there are replies.
svn path=/plone.app.discussion/trunk/; revision=27198
2009-05-28 15:08:36 +00:00
Timo Stollenwerk
aa50c33d8d show login form instead of the commenting form to anonymous users.
svn path=/plone.app.discussion/trunk/; revision=27194
2009-05-28 11:39:36 +00:00
Timo Stollenwerk
77e8093c53 don't show the link to the author's page on the comments viewlet to anonymous users.
svn path=/plone.app.discussion/trunk/; revision=27192
2009-05-28 07:04:35 +00:00