47fd22f02e
don't convert commentators to a set before converting it to a tuple, since the values are unique.
Timo Stollenwerk2009-07-03 05:45:47 +00:00
2e04461162
remove nested forms from moderate comments view. rewrite jquery code for comment delete and publish.
Timo Stollenwerk2009-06-30 22:17:42 +00:00
abb0334c1d
replace moderate comments table with a subclass of the standard Plone folder-listing table. this basically breaks all functionality (filter, bulk actions) and kss actions are not working yet, but the pagination is working.
Timo Stollenwerk2009-06-28 11:49:00 +00:00
e0da88efba
show publish button only when comment is in "pending" workflow state.
Timo Stollenwerk2009-06-26 16:03:19 +00:00
fb0bae4877
remove reindexObjectSecurity() call in publish comment method, since it is unnecessary.
Timo Stollenwerk2009-06-26 15:03:20 +00:00
90440cfeca
add bulk actions and filter to the moderation view. move delete- and publish-comment methods from comment.py to moderation.py.
Timo Stollenwerk2009-06-26 14:57:45 +00:00
768b2095de
fix tests for bugfix 834504 ("Replies have a wrong path index.")
Timo Stollenwerk2009-06-24 20:11:27 +00:00
564e15af40
bug 812754 fixed. "unsuccessfully attempted to uncatalog an object" while trying to delete a comment.
Timo Stollenwerk2009-06-24 14:57:18 +00:00
97bdf27f8d
bulk actions and filters added to the bulk moderation view (most of them are non-functional yet).
Timo Stollenwerk2009-06-22 10:07:36 +00:00
eec0e2d206
fix comment redirect from "#comment-<comment_id>" to "#<comment_id>".
Timo Stollenwerk2009-06-21 20:33:02 +00:00
d8373799af
Make the comment layer overflow when the commenter image is larger than the comment text.
Timo Stollenwerk2009-06-21 17:46:10 +00:00
e4ac274781
fix that logged in users who are not managers don't see comments at all.
Timo Stollenwerk2009-06-21 13:00:28 +00:00
b288f3f7fb
fix "Reply button is not working anymore when a reply was posted." Switch HTML anchor from "#comment-<comment_id>" to "#<comment_id>".
Timo Stollenwerk2009-06-21 10:34:12 +00:00
c35b631e36
don't show non-published comments to anonymous users.
Timo Stollenwerk2009-06-21 08:29:42 +00:00
8a5408c61d
use IStatusMessage when deleting and publishing comments.
Timo Stollenwerk2009-06-21 08:03:08 +00:00
b7b0b1801b
very basic form validation added to comments viewlet.
Timo Stollenwerk2009-06-21 07:48:33 +00:00
7eae4783a4
fix multi-submit message error on the reply button.
Timo Stollenwerk2009-06-20 20:10:09 +00:00
4102fb6f6f
fix reply bug ("TypeError: long() argument must be a string or a number") in Chrome.
Timo Stollenwerk2009-06-20 16:24:16 +00:00
e9f24cfa74
Complete rewrite of the show/hide reply-to-comment forms. Switch from Javascript event handlers to jQuery event binding. Replace reply-to-comment image with a standard reply button. Fix IE7 show reply-to-comment form is not working.
Timo Stollenwerk2009-06-20 16:00:36 +00:00
d25e2b80c4
enabled is a boolean method now instead of a property.
Timo Stollenwerk2009-06-19 10:04:32 +00:00
c135228419
Use adaption instead of calling the conversationAdapterFactory directly.
Timo Stollenwerk2009-06-19 10:00:31 +00:00
59586025be
add test to make sure that conversation.enabled on a folder always returns False.
Timo Stollenwerk2009-06-18 21:12:38 +00:00
c8a24e5d74
make conversation.enabled return a boolean (remove the property decorator). Always return false if the content object is a folder.
Timo Stollenwerk2009-06-18 21:02:32 +00:00
34ee743bf3
remove all the unnecessary acquisition wrapping of conversation (since the conversationAdapterFactory now returns an aq wrapped conversation).
Timo Stollenwerk2009-06-18 20:57:47 +00:00
476cc1c5e7
conversationAdapterFactory now always returns the acquisition wrapped conversation object.
Timo Stollenwerk2009-06-18 20:53:25 +00:00
adb3a6d9be
remove typed in text after copying the reply form.
Timo Stollenwerk2009-06-16 23:04:54 +00:00
3d4343440c
comments viewlet's format_time now returns localized time.
Timo Stollenwerk2009-06-16 20:53:45 +00:00
de5499d996
show delete and workflow actions buttons on the comments viewlet.
Timo Stollenwerk2009-06-16 13:13:40 +00:00
28fbad44a7
fix the permissions for delete and publish comments. make the publish-comment button work.
Timo Stollenwerk2009-06-16 13:10:58 +00:00
f8b317ac7a
add objectIds method to Conversation class to make publish comment work.
Timo Stollenwerk2009-06-16 11:52:00 +00:00
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.
Timo Stollenwerk2009-06-16 11:51:25 +00:00
886fe17b47
fix commenter portrait tests, since get_commenter_portrait returns a URL instead of an image now.
Timo Stollenwerk2009-06-15 08:54:35 +00:00