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.
Timo Stollenwerk
2009-06-13 16:46:37 +00:00
24997f4eb9
remove collective.autopermission from main configure.zcml since it's also in the browser configure.zcml.
Timo Stollenwerk
2009-06-11 13:52:31 +00:00
dd0133e0c0
add delete and workflow actions buttons to comments viewlet.
Timo Stollenwerk
2009-06-11 13:51:33 +00:00
7692186880
return the comment text for the moderation view.
Timo Stollenwerk
2009-06-11 13:47:32 +00:00
29466425bb
fix form action links in the moderation view.
Timo Stollenwerk
2009-06-11 13:44:22 +00:00
473699dea0
is_discussion_allowed method from the comments viewlet now uses Conversation.enabled.
Timo Stollenwerk
2009-06-11 10:20:44 +00:00
e465d73c95
enabled property code added to conversation.
Timo Stollenwerk
2009-06-11 10:14:44 +00:00
0f7d05566a
todo list update.
Timo Stollenwerk
2009-06-11 10:13:05 +00:00
9558732ed9
revert changes from 27368 (add enabled to interface). A property with the same name and function is already there.
Timo Stollenwerk
2009-06-11 03:37:55 +00:00
9b66f62b66
remove unnecessary code from workflow test.
Timo Stollenwerk
2009-06-10 20:17:36 +00:00
1e71258a0d
add moderate-comments view.
Timo Stollenwerk
2009-06-10 20:14:44 +00:00
c1696a9756
add enabled property to IConversation interface.
Timo Stollenwerk
2009-06-10 20:13:29 +00:00
799365dd94
todo list update.
Timo Stollenwerk
2009-06-10 20:12:17 +00:00
5441976dca
show reply-to-comment button based on permissions/workflow.
Timo Stollenwerk
2009-06-09 15:52:20 +00:00
c55316d212
comment_review_workflow added.
Timo Stollenwerk
2009-06-08 21:16:51 +00:00
468e32a6ed
todo list update.
Timo Stollenwerk
2009-06-08 19:44:57 +00:00
4529e8122e
icon added to discussion control panel.
Timo Stollenwerk
2009-06-08 15:04:21 +00:00
65ba6e1a67
remove debug message from comments template.
Timo Stollenwerk
2009-06-08 14:51:43 +00:00
9439e7ad9d
todo list update.
Timo Stollenwerk
2009-06-08 08:24:45 +00:00
e98a39907a
option to show commenter image added.
Timo Stollenwerk
2009-06-08 08:23:18 +00:00
353c6acfd0
anonymous comments added.
Timo Stollenwerk
2009-06-08 08:00:15 +00:00
22a4916afa
fix comments view. call getPersonalPortrait in the template again.
Timo Stollenwerk
2009-06-08 07:28:59 +00:00
1af2b435fd
get_commenter_portrait and get_commenter_home_url methods added to comments viewlet. tests for get_commenter_portrait added.
Timo Stollenwerk
2009-06-07 20:58:41 +00:00
dada11c43c
show_commenter_image record added to the discussion control panel.
Timo Stollenwerk
2009-06-07 08:47:14 +00:00
8bfa2cfa3f
todo list update.
Timo Stollenwerk
2009-06-07 08:30:53 +00:00
fdaa399983
test for comments viewlet added.
Timo Stollenwerk
2009-06-06 08:23:33 +00:00
1cbeb6c7ff
tests for discussion controlpanel added.
Timo Stollenwerk
2009-06-06 08:14:10 +00:00
e8d67f020d
discussion.examplecontent added to buildout.
Timo Stollenwerk
2009-06-05 19:11:31 +00:00
2bfb813947
revert changes from 27315 and 27317.
Timo Stollenwerk
2009-06-05 12:14:05 +00:00
5161b61f43
sources-dir added to buildout.
Timo Stollenwerk
2009-06-05 11:42:29 +00:00
ef10c86966
discussion.examplecontent added to dev buildout.
Timo Stollenwerk
2009-06-05 11:39:18 +00:00
180e0e75e7
todo list update.
Timo Stollenwerk
2009-06-05 11:27:16 +00:00
41db8ff395
Fix bouncing fieldset when reply form is shown.
Timo Stollenwerk
2009-06-05 09:05:34 +00:00
854f98ebbe
add slidedown effect when the reply-to-comment form is opened.
Timo Stollenwerk
2009-06-05 07:07:18 +00:00
1ad75fa84f
some test code for allow_discussion added.
Timo Stollenwerk
2009-06-04 18:17:33 +00:00
e671d78806
test for globally_enabled discussion added.
Timo Stollenwerk
2009-06-04 15:38:12 +00:00
ad8a7b4636
comment edited.
Timo Stollenwerk
2009-06-04 14:45:58 +00:00
b1ab18dddc
show commenting viewlet only when isDiscussionAllowed is true.
Timo Stollenwerk
2009-06-03 17:05:26 +00:00
e4a62a2c0d
comment with todo for discussion control panel added.
Timo Stollenwerk
2009-06-03 15:24:48 +00:00
ccf1e0456f
add anonymous_comments option to the discussion control panel.
Timo Stollenwerk
2009-06-03 14:58:49 +00:00
57c534b5d3
add globally_enabled option to the discussion plone control panel. add plone.app.discussion to the package dependencies.
Timo Stollenwerk
2009-06-03 12:49:34 +00:00
f27156e916
Added basic infrastructure for discussion controlpanel.
Timo Stollenwerk
2009-06-02 21:20:53 +00:00
47911fa24a
use slideUp() instead of hide() jquery function to hide the reply form.
Timo Stollenwerk
2009-06-02 16:36:16 +00:00
b9aeabedb1
fix the error of showing too much reply forms in the reply-to-comment jquery function.
Timo Stollenwerk
2009-06-02 16:13:44 +00:00
068583db76
cancel button added to the reply-to-comment form.
Timo Stollenwerk
2009-06-02 15:09:25 +00:00
67b7d4ce49
remove test_path test.
Timo Stollenwerk
2009-06-02 15:03:48 +00:00
a6a64bd3d6
rename all indexes from comment_XXX to XXX. clean up indexes test.
Timo Stollenwerk
2009-06-01 23:45:49 +00:00
dc948da00b
creator index added.
Timo Stollenwerk
2009-06-01 23:29:09 +00:00
04bed35357
Indexes for created and modified added.
Timo Stollenwerk
2009-06-01 23:17:13 +00:00
69334f6000
The comment_description index now returns the first 25 words of a comment.
Timo Stollenwerk
2009-06-01 09:59:07 +00:00
d3ba4f58db
Description index added.
Timo Stollenwerk
2009-05-31 19:07:35 +00:00
1340aefe4e
rename indexes "title" => "Title" and "searchable_text" => "SearchableText".
Timo Stollenwerk
2009-05-31 18:20:41 +00:00
ca7752714b
remove comment_text index.
Timo Stollenwerk
2009-05-31 18:14:42 +00:00
5f8acfd805
comment_title, comment_text, and comment_searchable_text indexes added.
Timo Stollenwerk
2009-05-31 17:55:46 +00:00
95405ee48f
test for testing if 'Discussion Item' is not in BAD_TYPES added.
Timo Stollenwerk
2009-05-31 17:54:14 +00:00
ee5aa9ae4d
Monkey patch plone.app.vocabularies.types.BAD_TYPES
Timo Stollenwerk
2009-05-31 17:49:33 +00:00
0d6045682f
format time for comments with python strftime(). no time localization so far.
Timo Stollenwerk
2009-05-31 11:01:36 +00:00
0ce270bc66
show the default user image to anonymous (comments viewlet).
Timo Stollenwerk
2009-05-31 10:43:35 +00:00
751ae5a06a
revert 27204: change import for discussion modification_date from datetime to DateTime.
Timo Stollenwerk
2009-05-30 06:08:44 +00:00
4b6b0aeb02
some CSS fixes for the personal portrait in the comments viewlet.
Timo Stollenwerk
2009-05-29 07:13:05 +00:00
7083856268
fetch user image with getPersonalPortrait().
Timo Stollenwerk
2009-05-29 07:12:20 +00:00
087c428e3e
fix format time in comments viewlet.
Timo Stollenwerk
2009-05-29 06:32:03 +00:00
9a91b6f9ed
change import for discussion modification_date from datetime to DateTime.
Timo Stollenwerk
2009-05-29 06:30:55 +00:00
b73c43119d
show the reply-to-comment button only to logged in users.
Timo Stollenwerk
2009-05-28 15:16:49 +00:00
66f4640ac7
fix redirect after a reply has been added.
Timo Stollenwerk
2009-05-28 15:16:19 +00:00
49aab7389b
show the second "login to comment"-button (below the comments) only when there are replies.
Timo Stollenwerk
2009-05-28 15:08:36 +00:00
aa50c33d8d
show login form instead of the commenting form to anonymous users.
Timo Stollenwerk
2009-05-28 11:39:36 +00:00
77e8093c53
don't show the link to the author's page on the comments viewlet to anonymous users.
Timo Stollenwerk
2009-05-28 07:04:35 +00:00
4d0541bfd8
resize the commenter's image with css;
Timo Stollenwerk
2009-05-28 07:00:40 +00:00
2ecd5e76a5
check if discussion is allowed for the comments viewlet.
Timo Stollenwerk
2009-05-28 06:35:47 +00:00
77490ec0d5
Redirect directly to the comment and not to the content object after adding a comment.
Timo Stollenwerk
2009-05-28 06:11:09 +00:00
660ee78ca0
User Story: As a visitor, I can view portraits, full name and username against each comment, with a link to the author profile
Timo Stollenwerk
2009-05-28 06:08:55 +00:00
6c7909a4f7
discussion.examplecontent added to src folder.
Timo Stollenwerk
2009-05-27 19:45:06 +00:00
f0724352e5
test for comment view (redirect) added.
Timo Stollenwerk
2009-05-27 17:05:12 +00:00
05f46268f4
comment view that redirects to the comment added. no unit test so far!
Timo Stollenwerk
2009-05-27 13:23:25 +00:00
5f52a0d56b
HTML anker added to every comment, so when the reply-to-comment button is hit, the browser scrolls to the right position.
Timo Stollenwerk
2009-05-27 07:33:13 +00:00
c1aedbefb0
Show the reply-to-comment button only when Javascript is enabled. Otherwise hide it, since the reply functions rely on jQuery.
Timo Stollenwerk
2009-05-27 07:26:21 +00:00
6a7b4fa778
discussion css file registered.
Timo Stollenwerk
2009-05-27 07:25:19 +00:00
4769fbc2f7
threaded view added to comments viewlet.
Timo Stollenwerk
2009-05-27 06:58:00 +00:00
72532517a6
"TODO" removed from a comment.
Timo Stollenwerk
2009-05-26 20:02:42 +00:00
d8cfdf258d
reply-to-comment view and jquery forms added.
Timo Stollenwerk
2009-05-26 19:58:59 +00:00
bda70af828
reply-to-comment view and jquery forms added.
Timo Stollenwerk
2009-05-26 19:58:33 +00:00
2b0133aa64
documentByLine added to the comments viewlet (to localized time is not working yet).
Timo Stollenwerk
2009-05-26 07:25:14 +00:00
9b73aa76c5
documentByLine added to the comments viewlet (to localized time is not working yet).
Timo Stollenwerk
2009-05-26 07:24:52 +00:00
c7a898933a
fix redirect to content object after calling the add-comment view.
Timo Stollenwerk
2009-05-26 07:22:36 +00:00
81affa21c3
move comment form below the comments.
Timo Stollenwerk
2009-05-25 19:24:21 +00:00
ad06e9a7e6
make comments viewlet show the plone.app.discussion comments and allow to add new comments. (redirection after add-comment is not working yet)
Timo Stollenwerk
2009-05-25 18:59:25 +00:00
15ba11faa7
upgrade buildout to 3.3rc3.
Timo Stollenwerk
2009-05-25 14:30:35 +00:00
731f83b706
remove the test_dict_api from test_comments.py, since the test_dict_api from test_conversation.py tests both IReplies adapters.
Timo Stollenwerk
2009-05-25 10:38:58 +00:00
0797579bfd
delete comment test for CommentReplies adapter added.
Timo Stollenwerk
2009-05-25 07:08:26 +00:00
ac5d96250b
add comment test for the IReplies adapter for comments added.
Timo Stollenwerk
2009-05-25 07:02:11 +00:00
a948f15971
test delete comment for IReplies added.
Timo Stollenwerk
2009-05-24 16:23:49 +00:00
56a3f92023
Reminder
Martin Aspeli
2009-05-24 16:21:14 +00:00
9263a61a31
Delete children when deleting a parent comment.
Martin Aspeli
2009-05-24 16:19:21 +00:00
a1e11cb5ee
Turn getComments() and getThreads() into generators.
Martin Aspeli
2009-05-24 16:04:49 +00:00
2754d897e4
add some more assertions to test dict api.
Timo Stollenwerk
2009-05-24 15:36:31 +00:00
a3ac44763b
test dict api for RepliesTest fixed (conversation returns all comments, replies return only top level comments).
Timo Stollenwerk
2009-05-24 15:30:16 +00:00
cc45041a97
test dict api for RepliesTest added. (conversation currently returns the wrong number of items!)
Timo Stollenwerk
2009-05-24 15:25:49 +00:00
ca0e299cdc
Fix dodgy IReplies adapter
Martin Aspeli
2009-05-24 14:19:06 +00:00
69ab219582
test to add a comment to the IReplies adapter on a conversation added. not complete yet!
Timo Stollenwerk
2009-05-24 12:34:15 +00:00