Timo Stollenwerk
34ee743bf3
remove all the unnecessary acquisition wrapping of conversation (since the conversationAdapterFactory now returns an aq wrapped conversation).
...
svn path=/plone.app.discussion/trunk/; revision=27501
2009-06-18 20:57:47 +00:00
Timo Stollenwerk
0a706dec70
fix i18n domain.
...
svn path=/plone.app.discussion/trunk/; revision=27473
2009-06-16 23:25:36 +00:00
Timo Stollenwerk
adb3a6d9be
remove typed in text after copying the reply form.
...
svn path=/plone.app.discussion/trunk/; revision=27472
2009-06-16 23:04:54 +00:00
Timo Stollenwerk
3d4343440c
comments viewlet's format_time now returns localized time.
...
svn path=/plone.app.discussion/trunk/; revision=27471
2009-06-16 20:53:45 +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
28fbad44a7
fix the permissions for delete and publish comments. make the publish-comment button work.
...
svn path=/plone.app.discussion/trunk/; revision=27469
2009-06-16 13:10:58 +00:00
Timo Stollenwerk
60ed441033
set the username oder creator when a reply is added to a comment.
...
svn path=/plone.app.discussion/trunk/; revision=27447
2009-06-14 17:34:30 +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
dcc8c329eb
fix the portal messages for deleting and workflow actions.
...
svn path=/plone.app.discussion/trunk/; revision=27444
2009-06-14 17:11:53 +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
1670338ace
Add id fall back for Creator if no Username (Title) has been added.
...
svn path=/plone.app.discussion/trunk/; revision=27417
2009-06-14 08:45:17 +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
9be49ee767
fix delete and publish comment methods.
...
svn path=/plone.app.discussion/trunk/; revision=27415
2009-06-14 07:19:37 +00:00
Timo Stollenwerk
9e30b7b3c2
hide the delete and workflow buttons in the moderation view, since they are not working yet.
...
svn path=/plone.app.discussion/trunk/; revision=27414
2009-06-14 07:09:10 +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
c318ecc6c5
remove print statement from former commit.
...
svn path=/plone.app.discussion/trunk/; revision=27409
2009-06-13 17:34:34 +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
7692186880
return the comment text for the moderation view.
...
svn path=/plone.app.discussion/trunk/; revision=27383
2009-06-11 13:47:32 +00:00
Timo Stollenwerk
29466425bb
fix form action links in the moderation view.
...
svn path=/plone.app.discussion/trunk/; revision=27382
2009-06-11 13:44:22 +00:00
Timo Stollenwerk
473699dea0
is_discussion_allowed method from the comments viewlet now uses Conversation.enabled.
...
svn path=/plone.app.discussion/trunk/; revision=27381
2009-06-11 10:20:44 +00:00
Timo Stollenwerk
1e71258a0d
add moderate-comments view.
...
svn path=/plone.app.discussion/trunk/; revision=27369
2009-06-10 20:14:44 +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
41db8ff395
Fix bouncing fieldset when reply form is shown.
...
svn path=/plone.app.discussion/trunk/; revision=27311
2009-06-05 09:05:34 +00:00
Timo Stollenwerk
854f98ebbe
add slidedown effect when the reply-to-comment form is opened.
...
svn path=/plone.app.discussion/trunk/; revision=27310
2009-06-05 07:07:18 +00:00
Timo Stollenwerk
e671d78806
test for globally_enabled discussion added.
...
svn path=/plone.app.discussion/trunk/; revision=27302
2009-06-04 15:38:12 +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
f27156e916
Added basic infrastructure for discussion controlpanel.
...
svn path=/plone.app.discussion/trunk/; revision=27269
2009-06-02 21:20:53 +00:00
Timo Stollenwerk
47911fa24a
use slideUp() instead of hide() jquery function to hide the reply form.
...
svn path=/plone.app.discussion/trunk/; revision=27264
2009-06-02 16:36:16 +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
0d6045682f
format time for comments with python strftime(). no time localization so far.
...
svn path=/plone.app.discussion/trunk/; revision=27231
2009-05-31 11:01:36 +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
4b6b0aeb02
some CSS fixes for the personal portrait in the comments viewlet.
...
svn path=/plone.app.discussion/trunk/; revision=27207
2009-05-29 07:13:05 +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
087c428e3e
fix format time in comments viewlet.
...
svn path=/plone.app.discussion/trunk/; revision=27205
2009-05-29 06:32:03 +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
66f4640ac7
fix redirect after a reply has been added.
...
svn path=/plone.app.discussion/trunk/; revision=27199
2009-05-28 15:16:19 +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
77490ec0d5
Redirect directly to the comment and not to the content object after adding a comment.
...
svn path=/plone.app.discussion/trunk/; revision=27189
2009-05-28 06:11:09 +00:00