Timo Stollenwerk
72532517a6
"TODO" removed from a comment.
...
svn path=/plone.app.discussion/trunk/; revision=27129
2009-05-26 20:02:42 +00:00
Timo Stollenwerk
d8cfdf258d
reply-to-comment view and jquery forms added.
...
svn path=/plone.app.discussion/trunk/; revision=27128
2009-05-26 19:58:59 +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
2b0133aa64
documentByLine added to the comments viewlet (to localized time is not working yet).
...
svn path=/plone.app.discussion/trunk/; revision=27119
2009-05-26 07:25:14 +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
c7a898933a
fix redirect to content object after calling the add-comment view.
...
svn path=/plone.app.discussion/trunk/; revision=27117
2009-05-26 07:22:36 +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
Timo Stollenwerk
15ba11faa7
upgrade buildout to 3.3rc3.
...
svn path=/plone.app.discussion/buildouts/; revision=27110
2009-05-25 14:30:35 +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
Timo Stollenwerk
a948f15971
test delete comment for IReplies added.
...
svn path=/plone.app.discussion/trunk/; revision=27094
2009-05-24 16:23:49 +00:00
Martin Aspeli
56a3f92023
Reminder
...
svn path=/plone.app.discussion/trunk/; revision=27093
2009-05-24 16:21:14 +00:00
Martin Aspeli
9263a61a31
Delete children when deleting a parent comment.
...
svn path=/plone.app.discussion/trunk/; revision=27092
2009-05-24 16:19:21 +00:00
Martin Aspeli
a1e11cb5ee
Turn getComments() and getThreads() into generators.
...
svn path=/plone.app.discussion/trunk/; revision=27090
2009-05-24 16:04:49 +00:00
Timo Stollenwerk
2754d897e4
add some more assertions to test dict api.
...
svn path=/plone.app.discussion/trunk/; revision=27089
2009-05-24 15:36:31 +00:00
Timo Stollenwerk
a3ac44763b
test dict api for RepliesTest fixed (conversation returns all comments, replies return only top level comments).
...
svn path=/plone.app.discussion/trunk/; revision=27088
2009-05-24 15:30:16 +00:00
Timo Stollenwerk
cc45041a97
test dict api for RepliesTest added. (conversation currently returns the wrong number of items!)
...
svn path=/plone.app.discussion/trunk/; revision=27087
2009-05-24 15:25:49 +00:00
Martin Aspeli
ca0e299cdc
Fix dodgy IReplies adapter
...
svn path=/plone.app.discussion/trunk/; revision=27085
2009-05-24 14:19:06 +00:00
Timo Stollenwerk
69ab219582
test to add a comment to the IReplies adapter on a conversation added. not complete yet!
...
svn path=/plone.app.discussion/trunk/; revision=27084
2009-05-24 12:34:15 +00:00
Timo Stollenwerk
3733c1fab3
test for conversation dict operations added.
...
svn path=/plone.app.discussion/trunk/; revision=27082
2009-05-24 10:53:13 +00:00
Timo Stollenwerk
4263b8b5ed
test for last comment date added.
...
svn path=/plone.app.discussion/trunk/; revision=27073
2009-05-23 18:04:39 +00:00
Timo Stollenwerk
1f3c9ea896
errors in commentators test fixed.
...
svn path=/plone.app.discussion/trunk/; revision=27072
2009-05-23 17:17:06 +00:00
Martin Aspeli
a8bc95be77
Update to-do
...
svn path=/plone.app.discussion/trunk/; revision=27071
2009-05-23 16:42:30 +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
Timo Stollenwerk
fba5d3f752
commentators test added.
...
svn path=/plone.app.discussion/trunk/; revision=27069
2009-05-23 16:28: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
e296058c37
Adjust tests since getThreads() is not implemented
...
svn path=/plone.app.discussion/trunk/; revision=27067
2009-05-23 16:12:13 +00:00
Martin Aspeli
c28bfbe18f
d'oh!
...
svn path=/plone.app.discussion/trunk/; revision=27066
2009-05-23 16:10:24 +00:00
Martin Aspeli
ac8fd41c10
Avoid test failures for now
...
svn path=/plone.app.discussion/trunk/; revision=27065
2009-05-23 15:59:15 +00:00
Martin Aspeli
7284f2d9e2
Safer fallback - this method will have a different return signature when implemented
...
svn path=/plone.app.discussion/trunk/; revision=27064
2009-05-23 15:50:21 +00:00
Timo Stollenwerk
5a0276e117
make sure a comment has been added before testing its removal.
...
svn path=/plone.app.discussion/trunk/; revision=27063
2009-05-23 14:24:24 +00:00
Timo Stollenwerk
8282307e0a
fix conversation.__delitem__ function and add test for deleting comments from a conversation.
...
svn path=/plone.app.discussion/trunk/; revision=27062
2009-05-23 14:18:35 +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
Timo Stollenwerk
895105b2c9
added viewlet that overrides the standard plone commenting viewlet (no tests so far!).
...
svn path=/plone.app.discussion/trunk/; revision=27045
2009-05-22 17:30:52 +00:00
Timo Stollenwerk
afb07e5f0b
test conversation.total_comments instead of len(conversation.getComments()) in test_total_comments.
...
svn path=/plone.app.discussion/trunk/; revision=27037
2009-05-20 16:07:29 +00:00
Timo Stollenwerk
a279520592
added test for total comments.
...
svn path=/plone.app.discussion/trunk/; revision=27033
2009-05-20 15:39:45 +00:00
Martin Aspeli
7d79304b33
Update to-do and interface documentation
...
svn path=/plone.app.discussion/trunk/; revision=27013
2009-05-18 15:49:48 +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
Martin Aspeli
f5a781501b
Register IReplies adapters. Remove version.txt since we now get this from setup.py
...
svn path=/plone.app.discussion/trunk/; revision=27011
2009-05-18 14:23:46 +00:00
Martin Aspeli
22ae84735b
- specify dependencies
...
- set profile version to 1 (profile version != package version)
- complete dict APIs and IReplies adapters (not yet fully tested)
- tidy up addComment() and __delitem__ w.r.t events
- sync interfaces with actual code
- move tests to use collective.testcaselayer
svn path=/plone.app.discussion/trunk/; revision=27010
2009-05-18 14:16:48 +00:00
Martin Aspeli
b1c225176b
Add roadrunner so that we get fast tests. ./bin/roadrunner -s plone.app.discussion. Also remove ZCML line for plone.app.discussion - we rely on z3c.autoinclude
...
svn path=/plone.app.discussion/buildouts/; revision=27009
2009-05-18 14:11:05 +00:00
Lennart Regebro
acf00c9de9
Moved the indexing to be a catalog wrapper.
...
svn path=/plone.app.discussion/trunk/; revision=27005
2009-05-17 18:38:45 +00:00
Lennart Regebro
e35f761939
Added a central tool that indexes certain important data about comments, for usage of the commenting moderation UI.
...
svn path=/plone.app.discussion/trunk/; revision=26972
2009-05-16 15:05:22 +00:00
Lennart Regebro
a2542ea5a8
Use long timestamps as id
...
svn path=/plone.app.discussion/trunk/; revision=26964
2009-05-16 11:21:23 +00:00
Martin Aspeli
51b076935e
Typo fix + remove needless property
...
svn path=/plone.app.discussion/trunk/; revision=26963
2009-05-16 10:57:49 +00:00
Lennart Regebro
49c6c45453
First running test.
...
svn path=/plone.app.discussion/trunk/; revision=26962
2009-05-16 10:34:12 +00:00
Lennart Regebro
a6fb8dd8de
Added a test setup.
...
svn path=/plone.app.discussion/trunk/; revision=26958
2009-05-16 09:47:10 +00:00