40eb6b17c1
reindex content object when deleting a comment.
Timo Stollenwerk
2009-07-03 06:33:22 +00:00
47fd22f02e
don't convert commentators to a set before converting it to a tuple, since the values are unique.
Timo Stollenwerk
2009-07-03 05:45:47 +00:00
e86df00273
remove unnecessary test code.
Timo Stollenwerk
2009-07-02 17:50:49 +00:00
41010fb32a
fix for "TypeError: can't pickle OIBTreeItems objects".
Timo Stollenwerk
2009-07-02 17:50:20 +00:00
d7bbee3a99
revert changes from rev. 27776.
Timo Stollenwerk
2009-07-02 16:35:28 +00:00
045a926621
fix for "TypeError: can't pickle OIBTreeItems objects".
Timo Stollenwerk
2009-07-02 16:04:02 +00:00
8b60038237
topic indexes and metadata added.
Timo Stollenwerk
2009-07-01 21:13:58 +00:00
e42db0295e
CatalogSetupTest added.
Timo Stollenwerk
2009-07-01 20:59:58 +00:00
8a6ab7161d
remove CatalogTest from test_comments.
Timo Stollenwerk
2009-07-01 20:58:31 +00:00
6647439971
indexers for commentators, number of comments, and latest comment added.
Timo Stollenwerk
2009-07-01 20:57:55 +00:00
9e94afc072
fix description index for short comments.
Timo Stollenwerk
2009-07-01 10:01:37 +00:00
e2ab90641f
remove unnecessary CSS from moderation view.
Timo Stollenwerk
2009-07-01 09:35:46 +00:00
55380327f6
fix fieldset CSS selector.
Timo Stollenwerk
2009-07-01 09:33:33 +00:00
938c1dc2e8
formTab fixes.
Timo Stollenwerk
2009-07-01 00:04:03 +00:00
33577fa13d
make filters look like Plone formTabs.
Timo Stollenwerk
2009-06-30 23:49:32 +00:00
cfd70d8cc8
add pagination to moderate comment view.
Timo Stollenwerk
2009-06-30 23:17:40 +00:00
8c217ae45a
make action column not sortable.
Timo Stollenwerk
2009-06-30 22:20:31 +00:00
2e04461162
remove nested forms from moderate comments view. rewrite jquery code for comment delete and publish.
Timo Stollenwerk
2009-06-30 22:17:42 +00:00
15b7347626
rearrange the moderate comment UI.
Timo Stollenwerk
2009-06-29 21:05:38 +00:00
d3f9b90546
fix check/uncheck all.
Timo Stollenwerk
2009-06-29 20:44:20 +00:00
3a9068f643
reset the select fields after publish bulk action.
Timo Stollenwerk
2009-06-29 20:32:05 +00:00
450204fc43
reset the bulkaction field after submitting a bulk action.
Timo Stollenwerk
2009-06-29 20:08:39 +00:00
be04439891
remove the publish form when a comment is published in the view without a filter.
Timo Stollenwerk
2009-06-29 15:29:51 +00:00
a00dea41e3
differentiate between delete and publish AJAX calls.
Timo Stollenwerk
2009-06-29 15:09:41 +00:00
4a934a2967
do not show the publish bulk action when showing only published comments.
Timo Stollenwerk
2009-06-29 13:54:51 +00:00
6057ad0e91
check if the comment is not already published, before publishing.
Timo Stollenwerk
2009-06-29 13:52:51 +00:00
7e3de6ae0a
remove unnecessary paths variable for BulkActionView methods, set self.paths instead.
Timo Stollenwerk
2009-06-29 13:44:46 +00:00
2bc25c06de
move jQuery code for comment actions from page template to moderation.js.
Timo Stollenwerk
2009-06-29 13:39:55 +00:00
502015b14e
submit bulkactions with an AJAX call.
Timo Stollenwerk
2009-06-29 13:38:00 +00:00
8df9ad9cf4
remove return REQUEST statements for AJAX calls, since they are unnecessary.
Timo Stollenwerk
2009-06-29 12:24:10 +00:00
da2402865f
minor: comment changed.
Timo Stollenwerk
2009-06-29 11:16:14 +00:00
5885be08cc
fix select all JS for moderation view (do not override the checkbox value).
Timo Stollenwerk
2009-06-29 11:15:37 +00:00
dd7f59c104
keep current filter when submitting a form.
Timo Stollenwerk
2009-06-29 11:11:58 +00:00
c25557650f
add "select all" JS to select all comments in the moderate comments view.
Timo Stollenwerk
2009-06-29 09:54:53 +00:00
906fa4ce7e
fix publish button for the moderate comments view.
Timo Stollenwerk
2009-06-29 09:54:17 +00:00
59554b7af7
revert changes from rev. 27698 and 27702. switch back to non-plone table for comment moderation.
Timo Stollenwerk
2009-06-28 18:38:25 +00:00
14b00ff361
fix publish comment button.
Timo Stollenwerk
2009-06-28 18:29:01 +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 Stollenwerk
2009-06-28 11:49:00 +00:00
4cc26a6421
moderation view tests added.
Timo Stollenwerk
2009-06-27 09:35:52 +00:00
ffcdfc22e5
bulk actions for publish and delete added.
Timo Stollenwerk
2009-06-26 18:59:37 +00:00
e0da88efba
show publish button only when comment is in "pending" workflow state.
Timo Stollenwerk
2009-06-26 16:03:19 +00:00
fb0bae4877
remove reindexObjectSecurity() call in publish comment method, since it is unnecessary.
Timo Stollenwerk
2009-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 Stollenwerk
2009-06-26 14:57:45 +00:00
768b2095de
fix tests for bugfix 834504 ("Replies have a wrong path index.")
Timo Stollenwerk
2009-06-24 20:11:27 +00:00
99b7171265
todo list update.
Timo Stollenwerk
2009-06-24 15:30:22 +00:00
564e15af40
bug 812754 fixed. "unsuccessfully attempted to uncatalog an object" while trying to delete a comment.
Timo Stollenwerk
2009-06-24 14:57:18 +00:00
f088cb946e
fix bug 834504. Replies have a wrong path index.
Timo Stollenwerk
2009-06-24 14:03:02 +00:00
e3e6d5548e
fix bug 834504. Replies have a wrong path index.
Timo Stollenwerk
2009-06-24 13:55:20 +00:00
fee068dc09
let comment Type method return portal_type instead of a string.
Timo Stollenwerk
2009-06-24 13:18:54 +00:00
f0e38ff65a
fix wrong i18n attribute in body text.
Timo Stollenwerk
2009-06-24 08:26:02 +00:00
1cc02a3acd
Type() is meant to be a method not an attribute.
Timo Stollenwerk
2009-06-24 08:25:11 +00:00
a7d80a1368
i18n added to templates.
Timo Stollenwerk
2009-06-23 17:44:47 +00:00
1008356b30
fix story 833286: IE 6: Comment layer is not displayed correctly.
Timo Stollenwerk
2009-06-23 15:40:00 +00:00
a3e9105e48
comment catalog tests added.
Timo Stollenwerk
2009-06-22 17:06:37 +00:00
6d414055bc
set correct Type ('Discussion Item') for Comments.
Timo Stollenwerk
2009-06-22 12:23:19 +00:00
bded41ffa4
documentation txt file added.
Timo Stollenwerk
2009-06-22 10:11:08 +00:00
b757d1b61b
format_time method removed from moderation view, since it is not used anymore.
Timo Stollenwerk
2009-06-22 10:09:11 +00:00
641585b052
css styles for the moderation view added.
Timo Stollenwerk
2009-06-22 10:08:09 +00:00
97bdf27f8d
bulk actions and filters added to the bulk moderation view (most of them are non-functional yet).
Timo Stollenwerk
2009-06-22 10:07:36 +00:00
eec0e2d206
fix comment redirect from "#comment-<comment_id>" to "#<comment_id>".
Timo Stollenwerk
2009-06-21 20:33:02 +00:00
d8373799af
Make the comment layer overflow when the commenter image is larger than the comment text.
Timo Stollenwerk
2009-06-21 17:46:10 +00:00
fe4e1390ef
fix redirect from add comment form.
Timo Stollenwerk
2009-06-21 13:27:02 +00:00
e4ac274781
fix that logged in users who are not managers don't see comments at all.
Timo Stollenwerk
2009-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 Stollenwerk
2009-06-21 10:34:12 +00:00
c35b631e36
don't show non-published comments to anonymous users.
Timo Stollenwerk
2009-06-21 08:29:42 +00:00
8a5408c61d
use IStatusMessage when deleting and publishing comments.
Timo Stollenwerk
2009-06-21 08:03:08 +00:00
b7b0b1801b
very basic form validation added to comments viewlet.
Timo Stollenwerk
2009-06-21 07:48:33 +00:00
7eae4783a4
fix multi-submit message error on the reply button.
Timo Stollenwerk
2009-06-20 20:10:09 +00:00
da6764ffa5
remove reply image and css for it.
Timo Stollenwerk
2009-06-20 16:40:03 +00:00
4102fb6f6f
fix reply bug ("TypeError: long() argument must be a string or a number") in Chrome.
Timo Stollenwerk
2009-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 Stollenwerk
2009-06-20 16:00:36 +00:00
23d4b25218
allow_discussion on folder level implemented.
Timo Stollenwerk
2009-06-19 15:51:50 +00:00
d25e2b80c4
enabled is a boolean method now instead of a property.
Timo Stollenwerk
2009-06-19 10:04:32 +00:00
c135228419
Use adaption instead of calling the conversationAdapterFactory directly.
Timo Stollenwerk
2009-06-19 10:00:31 +00:00
59586025be
add test to make sure that conversation.enabled on a folder always returns False.
Timo Stollenwerk
2009-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 Stollenwerk
2009-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 Stollenwerk
2009-06-18 20:57:47 +00:00
476cc1c5e7
conversationAdapterFactory now always returns the acquisition wrapped conversation object.
Timo Stollenwerk
2009-06-18 20:53:25 +00:00
0a706dec70
fix i18n domain.
Timo Stollenwerk
2009-06-16 23:25:36 +00:00
adb3a6d9be
remove typed in text after copying the reply form.
Timo Stollenwerk
2009-06-16 23:04:54 +00:00
3d4343440c
comments viewlet's format_time now returns localized time.
Timo Stollenwerk
2009-06-16 20:53:45 +00:00
de5499d996
show delete and workflow actions buttons on the comments viewlet.
Timo Stollenwerk
2009-06-16 13:13:40 +00:00
28fbad44a7
fix the permissions for delete and publish comments. make the publish-comment button work.
Timo Stollenwerk
2009-06-16 13:10:58 +00:00
f8b317ac7a
add objectIds method to Conversation class to make publish comment work.
Timo Stollenwerk
2009-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 Stollenwerk
2009-06-16 11:51:25 +00:00
9ad344b4c2
update and reorder todo list.
Timo Stollenwerk
2009-06-16 10:43:00 +00:00
baeb3a638c
traversal test for the replies adapter added.
Timo Stollenwerk
2009-06-15 09:06:47 +00:00
886fe17b47
fix commenter portrait tests, since get_commenter_portrait returns a URL instead of an image now.
Timo Stollenwerk
2009-06-15 08:54:35 +00:00
e8ce114f4b
todo list update.
Timo Stollenwerk
2009-06-14 17:49:45 +00:00
60ed441033
set the username oder creator when a reply is added to a comment.
Timo Stollenwerk
2009-06-14 17:34:30 +00:00
5c3c77ecbd
show the reply-to-comment button to anonymous users.
Timo Stollenwerk
2009-06-14 17:33:32 +00:00
dcc8c329eb
fix the portal messages for deleting and workflow actions.
Timo Stollenwerk
2009-06-14 17:11:53 +00:00
5e26227ea1
fix that anonymous users see a link to a non-existent user-home in the comments viewlet.
Timo Stollenwerk
2009-06-14 11:10:45 +00:00
1670338ace
Add id fall back for Creator if no Username (Title) has been added.
Timo Stollenwerk
2009-06-14 08:45:17 +00:00
2e1cda3f59
hide delete and workflow actions in the comments viewlet, since they don't work yet.
Timo Stollenwerk
2009-06-14 07:26:59 +00:00
9be49ee767
fix delete and publish comment methods.
Timo Stollenwerk
2009-06-14 07:19:37 +00:00
9e30b7b3c2
hide the delete and workflow buttons in the moderation view, since they are not working yet.
Timo Stollenwerk
2009-06-14 07:09:10 +00:00
5300e33457
fix the anonymous view for the comments viewlet. refactor get_replies.
Timo Stollenwerk
2009-06-13 18:02:59 +00:00
c318ecc6c5
remove print statement from former commit.
Timo Stollenwerk
2009-06-13 17:34:34 +00:00
22f50532ff
add workflow buttons to comments viewlet (not working yet).
Timo Stollenwerk
2009-06-13 17:33:48 +00:00