Commit Graph

27 Commits

Author SHA1 Message Date
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
Timo Stollenwerk
4d0541bfd8 resize the commenter's image with css;
svn path=/plone.app.discussion/trunk/; revision=27191
2009-05-28 07:00:40 +00:00
Timo Stollenwerk
2ecd5e76a5 check if discussion is allowed for the comments viewlet.
svn path=/plone.app.discussion/trunk/; revision=27190
2009-05-28 06:35:47 +00:00
Timo Stollenwerk
660ee78ca0 User Story: As a visitor, I can view portraits, full name and username against each comment, with a link to the author profile
svn path=/plone.app.discussion/trunk/; revision=27188
2009-05-28 06:08:55 +00:00
Timo Stollenwerk
5f52a0d56b HTML anker added to every comment, so when the reply-to-comment button is hit, the browser scrolls to the right position.
svn path=/plone.app.discussion/trunk/; revision=27143
2009-05-27 07:33:13 +00:00
Timo Stollenwerk
4769fbc2f7 threaded view added to comments viewlet.
svn path=/plone.app.discussion/trunk/; revision=27140
2009-05-27 06:58:00 +00:00
Timo Stollenwerk
bda70af828 reply-to-comment view and jquery forms added.
svn path=/plone.app.discussion/trunk/; revision=27127
2009-05-26 19:58:33 +00:00
Timo Stollenwerk
9b73aa76c5 documentByLine added to the comments viewlet (to localized time is not working yet).
svn path=/plone.app.discussion/trunk/; revision=27118
2009-05-26 07:24:52 +00:00
Timo Stollenwerk
81affa21c3 move comment form below the comments.
svn path=/plone.app.discussion/trunk/; revision=27114
2009-05-25 19:24:21 +00:00
Timo Stollenwerk
ad06e9a7e6 make comments viewlet show the plone.app.discussion comments and allow to add new comments. (redirection after add-comment is not working yet)
svn path=/plone.app.discussion/trunk/; revision=27112
2009-05-25 18:59:25 +00:00
Martin Aspeli
edf956f01c Move viewlets to browser package, use a layer instead of an overrides.zcml. Also add ++comment++ namespace, though it may require refactoring
svn path=/plone.app.discussion/trunk/; revision=27055
2009-05-23 04:55:06 +00:00