Commit Graph

76 Commits

Author SHA1 Message Date
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
c8a24e5d74 make conversation.enabled return a boolean (remove the property decorator).
Always return false if the content object is a folder.

svn path=/plone.app.discussion/trunk/; revision=27502
2009-06-18 21:02:32 +00:00
Timo Stollenwerk
476cc1c5e7 conversationAdapterFactory now always returns the acquisition wrapped conversation object.
svn path=/plone.app.discussion/trunk/; revision=27500
2009-06-18 20:53:25 +00:00
Timo Stollenwerk
f8b317ac7a add objectIds method to Conversation class to make publish comment work.
svn path=/plone.app.discussion/trunk/; revision=27468
2009-06-16 11:52:00 +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
e465d73c95 enabled property code added to conversation.
svn path=/plone.app.discussion/trunk/; revision=27380
2009-06-11 10:14:44 +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
Martin Aspeli
ca0e299cdc Fix dodgy IReplies adapter
svn path=/plone.app.discussion/trunk/; revision=27085
2009-05-24 14:19:06 +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
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
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
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
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
Martin Aspeli
e0e313c919 Some more recent thoughts
svn path=/plone.app.discussion/trunk/; revision=26953
2009-05-16 04:46:47 +00:00
Martin Aspeli
d3a9cecf6b More notes/thoughts
svn path=/plone.app.discussion/trunk/; revision=26919
2009-05-13 15:20:02 +00:00
Martin Aspeli
3b2db86d54 Some more design notes/sketchings. Nothing that works yet.
svn path=/plone.app.discussion/trunk/; revision=26918
2009-05-13 14:54:06 +00:00