Carsten Senger
e946ef7979
Add an accessor method for title. As title is part of the interface
...
IComment for which we <require> zope2.View a permission check will raise
Unauthorized cause we can not assure that the user's userfolder is in
the acqusition chain of the object (the attribute is a bare unicode object).
It works for methods. im_self is used to get the acquisition wrapped
object.
svn path=/plone.app.discussion/trunk/; revision=29199
2009-08-20 02:06:15 +00:00
Timo Stollenwerk
e2934a66b1
replace content_object.reindexObject() with event handlers.
...
svn path=/plone.app.discussion/trunk/; revision=27814
2009-07-04 16:18:48 +00:00
Timo Stollenwerk
fee068dc09
let comment Type method return portal_type instead of a string.
...
svn path=/plone.app.discussion/trunk/; revision=27655
2009-06-24 13:18:54 +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
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
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
751ae5a06a
revert 27204: change import for discussion modification_date from datetime to DateTime.
...
svn path=/plone.app.discussion/trunk/; revision=27213
2009-05-30 06:08:44 +00:00
Timo Stollenwerk
9a91b6f9ed
change import for discussion modification_date from datetime to DateTime.
...
svn path=/plone.app.discussion/trunk/; revision=27204
2009-05-29 06:30:55 +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
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
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
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
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
Martin Aspeli
6381b14763
check in some skeletal code + notes, nothing concrete or working yet
...
svn path=/plone.app.discussion/trunk/; revision=26892
2009-05-11 16:52:16 +00:00