Commit Graph

79 Commits

Author SHA1 Message Date
Timo Stollenwerk
360a758905 fix that enabled method check for FTI information of the current content object and not only for the "Document" portal_type.
svn path=/plone.app.discussion/trunk/; revision=27889
2009-07-07 14:48:39 +00:00
Timo Stollenwerk
a946fb54fa indexes for IComment added to override the IConversation indexes.
svn path=/plone.app.discussion/trunk/; revision=27838
2009-07-06 16:56:09 +00:00
Timo Stollenwerk
2031ec67cf comment out failing clear-and-rebuild catalog test.
svn path=/plone.app.discussion/trunk/; revision=27813
2009-07-04 16:14:22 +00:00
Timo Stollenwerk
b014e92f27 remove the available_expr with a workflow name in it.
svn path=/plone.app.discussion/trunk/; revision=27811
2009-07-04 13:44:57 +00:00
Timo Stollenwerk
ac4953ebd6 test for catalog clear and rebuild added.
svn path=/plone.app.discussion/trunk/; revision=27793
2009-07-03 11:22:21 +00:00
Timo Stollenwerk
072f903c3a in_response_to metadata added.
svn path=/plone.app.discussion/trunk/; revision=27789
2009-07-03 08:03:09 +00:00
Timo Stollenwerk
dc78965931 more catalog tests added.
svn path=/plone.app.discussion/trunk/; revision=27787
2009-07-03 06:37:14 +00:00
Timo Stollenwerk
e86df00273 remove unnecessary test code.
svn path=/plone.app.discussion/trunk/; revision=27779
2009-07-02 17:50:49 +00:00
Timo Stollenwerk
41010fb32a fix for "TypeError: can't pickle OIBTreeItems objects".
svn path=/plone.app.discussion/trunk/; revision=27778
2009-07-02 17:50:20 +00:00
Timo Stollenwerk
e42db0295e CatalogSetupTest added.
svn path=/plone.app.discussion/trunk/; revision=27768
2009-07-01 20:59:58 +00:00
Timo Stollenwerk
8a6ab7161d remove CatalogTest from test_comments.
svn path=/plone.app.discussion/trunk/; revision=27767
2009-07-01 20:58:31 +00:00
Timo Stollenwerk
6647439971 indexers for commentators, number of comments, and latest comment added.
svn path=/plone.app.discussion/trunk/; revision=27766
2009-07-01 20:57:55 +00:00
Timo Stollenwerk
9e94afc072 fix description index for short comments.
svn path=/plone.app.discussion/trunk/; revision=27764
2009-07-01 10:01:37 +00:00
Timo Stollenwerk
4cc26a6421 moderation view tests added.
svn path=/plone.app.discussion/trunk/; revision=27679
2009-06-27 09:35:52 +00:00
Timo Stollenwerk
768b2095de fix tests for bugfix 834504 ("Replies have a wrong path index.")
svn path=/plone.app.discussion/trunk/; revision=27661
2009-06-24 20:11:27 +00:00
Timo Stollenwerk
1cc02a3acd Type() is meant to be a method not an attribute.
svn path=/plone.app.discussion/trunk/; revision=27652
2009-06-24 08:25:11 +00:00
Timo Stollenwerk
a3e9105e48 comment catalog tests added.
svn path=/plone.app.discussion/trunk/; revision=27631
2009-06-22 17:06:37 +00:00
Timo Stollenwerk
6d414055bc set correct Type ('Discussion Item') for Comments.
svn path=/plone.app.discussion/trunk/; revision=27629
2009-06-22 12:23:19 +00:00
Timo Stollenwerk
23d4b25218 allow_discussion on folder level implemented.
svn path=/plone.app.discussion/trunk/; revision=27517
2009-06-19 15:51:50 +00:00
Timo Stollenwerk
59586025be add test to make sure that conversation.enabled on a folder always returns False.
svn path=/plone.app.discussion/trunk/; revision=27503
2009-06-18 21:12:38 +00:00
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
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
282e592c8f test to understand the allow_discussion attribute added. I know that this is not a real test. We can remove it again at some point.
svn path=/plone.app.discussion/trunk/; revision=27467
2009-06-16 11:51:25 +00:00
Timo Stollenwerk
baeb3a638c traversal test for the replies adapter added.
svn path=/plone.app.discussion/trunk/; revision=27459
2009-06-15 09:06:47 +00:00
Timo Stollenwerk
886fe17b47 fix commenter portrait tests, since get_commenter_portrait returns a URL instead of an image now.
svn path=/plone.app.discussion/trunk/; revision=27458
2009-06-15 08:54:35 +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
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
e465d73c95 enabled property code added to conversation.
svn path=/plone.app.discussion/trunk/; revision=27380
2009-06-11 10:14:44 +00:00
Timo Stollenwerk
9b66f62b66 remove unnecessary code from workflow test.
svn path=/plone.app.discussion/trunk/; revision=27370
2009-06-10 20:17:36 +00:00
Timo Stollenwerk
c55316d212 comment_review_workflow added.
svn path=/plone.app.discussion/trunk/; revision=27361
2009-06-08 21:16:51 +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
dada11c43c show_commenter_image record added to the discussion control panel.
svn path=/plone.app.discussion/trunk/; revision=27335
2009-06-07 08:47:14 +00:00
Timo Stollenwerk
fdaa399983 test for comments viewlet added.
svn path=/plone.app.discussion/trunk/; revision=27325
2009-06-06 08:23:33 +00:00
Timo Stollenwerk
1cbeb6c7ff tests for discussion controlpanel added.
svn path=/plone.app.discussion/trunk/; revision=27324
2009-06-06 08:14:10 +00:00
Timo Stollenwerk
1ad75fa84f some test code for allow_discussion added.
svn path=/plone.app.discussion/trunk/; revision=27305
2009-06-04 18:17:33 +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
ad8a7b4636 comment edited.
svn path=/plone.app.discussion/trunk/; revision=27297
2009-06-04 14:45:58 +00:00
Timo Stollenwerk
67b7d4ce49 remove test_path test.
svn path=/plone.app.discussion/trunk/; revision=27261
2009-06-02 15:03:48 +00:00
Timo Stollenwerk
a6a64bd3d6 rename all indexes from comment_XXX to XXX. clean up indexes test.
svn path=/plone.app.discussion/trunk/; revision=27259
2009-06-01 23:45:49 +00:00
Timo Stollenwerk
dc948da00b creator index added.
svn path=/plone.app.discussion/trunk/; revision=27258
2009-06-01 23:29:09 +00:00
Timo Stollenwerk
04bed35357 Indexes for created and modified added.
svn path=/plone.app.discussion/trunk/; revision=27257
2009-06-01 23:17:13 +00:00
Timo Stollenwerk
69334f6000 The comment_description index now returns the first 25 words of a comment.
svn path=/plone.app.discussion/trunk/; revision=27252
2009-06-01 09:59:07 +00:00
Timo Stollenwerk
d3ba4f58db Description index added.
svn path=/plone.app.discussion/trunk/; revision=27251
2009-05-31 19:07:35 +00:00
Timo Stollenwerk
ca7752714b remove comment_text index.
svn path=/plone.app.discussion/trunk/; revision=27249
2009-05-31 18:14:42 +00:00
Timo Stollenwerk
5f8acfd805 comment_title, comment_text, and comment_searchable_text indexes added.
svn path=/plone.app.discussion/trunk/; revision=27247
2009-05-31 17:55:46 +00:00
Timo Stollenwerk
95405ee48f test for testing if 'Discussion Item' is not in BAD_TYPES added.
svn path=/plone.app.discussion/trunk/; revision=27246
2009-05-31 17:54:14 +00:00
Timo Stollenwerk
f0724352e5 test for comment view (redirect) added.
svn path=/plone.app.discussion/trunk/; revision=27151
2009-05-27 17:05:12 +00:00
Timo Stollenwerk
731f83b706 remove the test_dict_api from test_comments.py, since the test_dict_api from test_conversation.py tests both IReplies adapters.
svn path=/plone.app.discussion/trunk/; revision=27106
2009-05-25 10:38:58 +00:00
Timo Stollenwerk
0797579bfd delete comment test for CommentReplies adapter added.
svn path=/plone.app.discussion/trunk/; revision=27100
2009-05-25 07:08:26 +00:00
Timo Stollenwerk
ac5d96250b add comment test for the IReplies adapter for comments added.
svn path=/plone.app.discussion/trunk/; revision=27099
2009-05-25 07:02:11 +00:00