Commit Graph

12 Commits

Author SHA1 Message Date
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
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
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
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
Martin Aspeli
8ffca9009c Ensure workflow is initialised when the comment is added. Also ensure that we won't get an error on unindex if the local utility can't be found.
svn path=/plone.app.discussion/trunk/; revision=27070
2009-05-23 16:37:10 +00:00
Martin Aspeli
8c3c4bdfa0 Add FTI for Discussion Item and test
svn path=/plone.app.discussion/trunk/; revision=27068
2009-05-23 16:12:45 +00:00
Martin Aspeli
2ff696a252 Fix some security issues and make the traversal adapter work with OFS.Traversable. Requires a name, so we now call it ++conversation++default
svn path=/plone.app.discussion/trunk/; revision=27059
2009-05-23 11:52:57 +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
Martin Aspeli
250b556428 Refactor tests and add a lot of skeleton tests we really ought to have
svn path=/plone.app.discussion/trunk/; revision=27012
2009-05-18 15:15:36 +00:00