Commit Graph

2134 Commits

Author SHA1 Message Date
Timo Stollenwerk 47fd22f02e don't convert commentators to a set before converting it to a tuple, since the values are unique.
svn path=/plone.app.discussion/trunk/; revision=27785
2009-07-03 05:45:47 +00:00
Timo Stollenwerk e86df00273 remove unnecessary test code.
svn path=/plone.app.discussion/trunk/; revision=27779
2009-07-02 17:50:49 +00:00
Timo Stollenwerk 41010fb32a fix for "TypeError: can't pickle OIBTreeItems objects".
svn path=/plone.app.discussion/trunk/; revision=27778
2009-07-02 17:50:20 +00:00
Timo Stollenwerk d7bbee3a99 revert changes from rev. 27776.
svn path=/plone.app.discussion/trunk/; revision=27777
2009-07-02 16:35:28 +00:00
Timo Stollenwerk 045a926621 fix for "TypeError: can't pickle OIBTreeItems objects".
svn path=/plone.app.discussion/trunk/; revision=27776
2009-07-02 16:04:02 +00:00
Timo Stollenwerk 8b60038237 topic indexes and metadata added.
svn path=/plone.app.discussion/trunk/; revision=27769
2009-07-01 21:13:58 +00:00
Timo Stollenwerk e42db0295e CatalogSetupTest added.
svn path=/plone.app.discussion/trunk/; revision=27768
2009-07-01 20:59:58 +00:00
Timo Stollenwerk 8a6ab7161d remove CatalogTest from test_comments.
svn path=/plone.app.discussion/trunk/; revision=27767
2009-07-01 20:58:31 +00:00
Timo Stollenwerk 6647439971 indexers for commentators, number of comments, and latest comment added.
svn path=/plone.app.discussion/trunk/; revision=27766
2009-07-01 20:57:55 +00:00
Timo Stollenwerk 9e94afc072 fix description index for short comments.
svn path=/plone.app.discussion/trunk/; revision=27764
2009-07-01 10:01:37 +00:00
Timo Stollenwerk e2ab90641f remove unnecessary CSS from moderation view.
svn path=/plone.app.discussion/trunk/; revision=27763
2009-07-01 09:35:46 +00:00
Timo Stollenwerk 55380327f6 fix fieldset CSS selector.
svn path=/plone.app.discussion/trunk/; revision=27762
2009-07-01 09:33:33 +00:00
Timo Stollenwerk 938c1dc2e8 formTab fixes.
svn path=/plone.app.discussion/trunk/; revision=27755
2009-07-01 00:04:03 +00:00
Timo Stollenwerk 33577fa13d make filters look like Plone formTabs.
svn path=/plone.app.discussion/trunk/; revision=27753
2009-06-30 23:49:32 +00:00
Timo Stollenwerk cfd70d8cc8 add pagination to moderate comment view.
svn path=/plone.app.discussion/trunk/; revision=27752
2009-06-30 23:17:40 +00:00
Timo Stollenwerk 8c217ae45a make action column not sortable.
svn path=/plone.app.discussion/trunk/; revision=27751
2009-06-30 22:20:31 +00:00
Timo Stollenwerk 2e04461162 remove nested forms from moderate comments view. rewrite jquery code for comment delete and publish.
svn path=/plone.app.discussion/trunk/; revision=27750
2009-06-30 22:17:42 +00:00
Timo Stollenwerk 15b7347626 rearrange the moderate comment UI.
svn path=/plone.app.discussion/trunk/; revision=27735
2009-06-29 21:05:38 +00:00
Timo Stollenwerk d3f9b90546 fix check/uncheck all.
svn path=/plone.app.discussion/trunk/; revision=27734
2009-06-29 20:44:20 +00:00
Timo Stollenwerk 3a9068f643 reset the select fields after publish bulk action.
svn path=/plone.app.discussion/trunk/; revision=27733
2009-06-29 20:32:05 +00:00
Timo Stollenwerk 450204fc43 reset the bulkaction field after submitting a bulk action.
svn path=/plone.app.discussion/trunk/; revision=27732
2009-06-29 20:08:39 +00:00
Timo Stollenwerk be04439891 remove the publish form when a comment is published in the view without a filter.
svn path=/plone.app.discussion/trunk/; revision=27726
2009-06-29 15:29:51 +00:00
Timo Stollenwerk a00dea41e3 differentiate between delete and publish AJAX calls.
svn path=/plone.app.discussion/trunk/; revision=27725
2009-06-29 15:09:41 +00:00
Timo Stollenwerk 4a934a2967 do not show the publish bulk action when showing only published comments.
svn path=/plone.app.discussion/trunk/; revision=27724
2009-06-29 13:54:51 +00:00
Timo Stollenwerk 6057ad0e91 check if the comment is not already published, before publishing.
svn path=/plone.app.discussion/trunk/; revision=27723
2009-06-29 13:52:51 +00:00
Timo Stollenwerk 7e3de6ae0a remove unnecessary paths variable for BulkActionView methods, set self.paths instead.
svn path=/plone.app.discussion/trunk/; revision=27722
2009-06-29 13:44:46 +00:00
Timo Stollenwerk 2bc25c06de move jQuery code for comment actions from page template to moderation.js.
svn path=/plone.app.discussion/trunk/; revision=27721
2009-06-29 13:39:55 +00:00
Timo Stollenwerk 502015b14e submit bulkactions with an AJAX call.
svn path=/plone.app.discussion/trunk/; revision=27720
2009-06-29 13:38:00 +00:00
Timo Stollenwerk 8df9ad9cf4 remove return REQUEST statements for AJAX calls, since they are unnecessary.
svn path=/plone.app.discussion/trunk/; revision=27718
2009-06-29 12:24:10 +00:00
Timo Stollenwerk da2402865f minor: comment changed.
svn path=/plone.app.discussion/trunk/; revision=27717
2009-06-29 11:16:14 +00:00
Timo Stollenwerk 5885be08cc fix select all JS for moderation view (do not override the checkbox value).
svn path=/plone.app.discussion/trunk/; revision=27716
2009-06-29 11:15:37 +00:00
Timo Stollenwerk dd7f59c104 keep current filter when submitting a form.
svn path=/plone.app.discussion/trunk/; revision=27715
2009-06-29 11:11:58 +00:00
Timo Stollenwerk c25557650f add "select all" JS to select all comments in the moderate comments view.
svn path=/plone.app.discussion/trunk/; revision=27714
2009-06-29 09:54:53 +00:00
Timo Stollenwerk 906fa4ce7e fix publish button for the moderate comments view.
svn path=/plone.app.discussion/trunk/; revision=27713
2009-06-29 09:54:17 +00:00
Timo Stollenwerk 59554b7af7 revert changes from rev. 27698 and 27702. switch back to non-plone table for comment moderation.
svn path=/plone.app.discussion/trunk/; revision=27704
2009-06-28 18:38:25 +00:00
Timo Stollenwerk 14b00ff361 fix publish comment button.
svn path=/plone.app.discussion/trunk/; revision=27702
2009-06-28 18:29:01 +00:00
Timo Stollenwerk 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.
svn path=/plone.app.discussion/trunk/; revision=27698
2009-06-28 11:49:00 +00:00
Timo Stollenwerk 4cc26a6421 moderation view tests added.
svn path=/plone.app.discussion/trunk/; revision=27679
2009-06-27 09:35:52 +00:00
Timo Stollenwerk ffcdfc22e5 bulk actions for publish and delete added.
svn path=/plone.app.discussion/trunk/; revision=27674
2009-06-26 18:59:37 +00:00
Timo Stollenwerk e0da88efba show publish button only when comment is in "pending" workflow state.
svn path=/plone.app.discussion/trunk/; revision=27673
2009-06-26 16:03:19 +00:00
Timo Stollenwerk fb0bae4877 remove reindexObjectSecurity() call in publish comment method, since it is unnecessary.
svn path=/plone.app.discussion/trunk/; revision=27671
2009-06-26 15:03:20 +00:00
Timo Stollenwerk 90440cfeca add bulk actions and filter to the moderation view.
move delete- and publish-comment methods from comment.py to moderation.py.

svn path=/plone.app.discussion/trunk/; revision=27670
2009-06-26 14:57:45 +00:00
Timo Stollenwerk 768b2095de fix tests for bugfix 834504 ("Replies have a wrong path index.")
svn path=/plone.app.discussion/trunk/; revision=27661
2009-06-24 20:11:27 +00:00
Timo Stollenwerk 99b7171265 todo list update.
svn path=/plone.app.discussion/trunk/; revision=27659
2009-06-24 15:30:22 +00:00
Timo Stollenwerk 564e15af40 bug 812754 fixed. "unsuccessfully attempted to uncatalog an object" while trying to delete a comment.
svn path=/plone.app.discussion/trunk/; revision=27658
2009-06-24 14:57:18 +00:00
Timo Stollenwerk f088cb946e fix bug 834504. Replies have a wrong path index.
svn path=/plone.app.discussion/trunk/; revision=27657
2009-06-24 14:03:02 +00:00
Timo Stollenwerk e3e6d5548e fix bug 834504. Replies have a wrong path index.
svn path=/plone.app.discussion/trunk/; revision=27656
2009-06-24 13:55:20 +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 f0e38ff65a fix wrong i18n attribute in body text.
svn path=/plone.app.discussion/trunk/; revision=27653
2009-06-24 08:26:02 +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