Commit Graph

104 Commits

Author SHA1 Message Date
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
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
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
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
a7d80a1368 i18n added to templates.
svn path=/plone.app.discussion/trunk/; revision=27648
2009-06-23 17:44:47 +00:00
Timo Stollenwerk
1008356b30 fix story 833286: IE 6: Comment layer is not displayed correctly.
svn path=/plone.app.discussion/trunk/; revision=27647
2009-06-23 15:40:00 +00:00
Timo Stollenwerk
b757d1b61b format_time method removed from moderation view, since it is not used anymore.
svn path=/plone.app.discussion/trunk/; revision=27625
2009-06-22 10:09:11 +00:00
Timo Stollenwerk
641585b052 css styles for the moderation view added.
svn path=/plone.app.discussion/trunk/; revision=27624
2009-06-22 10:08:09 +00:00
Timo Stollenwerk
97bdf27f8d bulk actions and filters added to the bulk moderation view (most of them are non-functional yet).
svn path=/plone.app.discussion/trunk/; revision=27623
2009-06-22 10:07:36 +00:00
Timo Stollenwerk
eec0e2d206 fix comment redirect from "#comment-<comment_id>" to "#<comment_id>".
svn path=/plone.app.discussion/trunk/; revision=27601
2009-06-21 20:33:02 +00:00
Timo Stollenwerk
d8373799af Make the comment layer overflow when the commenter image is larger than the comment text.
svn path=/plone.app.discussion/trunk/; revision=27599
2009-06-21 17:46:10 +00:00
Timo Stollenwerk
fe4e1390ef fix redirect from add comment form.
svn path=/plone.app.discussion/trunk/; revision=27590
2009-06-21 13:27:02 +00:00
Timo Stollenwerk
e4ac274781 fix that logged in users who are not managers don't see comments at all.
svn path=/plone.app.discussion/trunk/; revision=27587
2009-06-21 13:00:28 +00:00
Timo Stollenwerk
b288f3f7fb fix "Reply button is not working anymore when a reply was posted."
Switch HTML anchor from "#comment-<comment_id>" to "#<comment_id>".

svn path=/plone.app.discussion/trunk/; revision=27570
2009-06-21 10:34:12 +00:00
Timo Stollenwerk
c35b631e36 don't show non-published comments to anonymous users.
svn path=/plone.app.discussion/trunk/; revision=27567
2009-06-21 08:29:42 +00:00
Timo Stollenwerk
8a5408c61d use IStatusMessage when deleting and publishing comments.
svn path=/plone.app.discussion/trunk/; revision=27566
2009-06-21 08:03:08 +00:00
Timo Stollenwerk
b7b0b1801b very basic form validation added to comments viewlet.
svn path=/plone.app.discussion/trunk/; revision=27564
2009-06-21 07:48:33 +00:00
Timo Stollenwerk
7eae4783a4 fix multi-submit message error on the reply button.
svn path=/plone.app.discussion/trunk/; revision=27545
2009-06-20 20:10:09 +00:00
Timo Stollenwerk
da6764ffa5 remove reply image and css for it.
svn path=/plone.app.discussion/trunk/; revision=27536
2009-06-20 16:40:03 +00:00
Timo Stollenwerk
4102fb6f6f fix reply bug ("TypeError: long() argument must be a string or a number") in Chrome.
svn path=/plone.app.discussion/trunk/; revision=27535
2009-06-20 16:24:16 +00:00
Timo Stollenwerk
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.

svn path=/plone.app.discussion/trunk/; revision=27533
2009-06-20 16:00:36 +00:00
Timo Stollenwerk
c135228419 Use adaption instead of calling the conversationAdapterFactory directly.
svn path=/plone.app.discussion/trunk/; revision=27508
2009-06-19 10:00:31 +00:00
Timo Stollenwerk
34ee743bf3 remove all the unnecessary acquisition wrapping of conversation (since the conversationAdapterFactory now returns an aq wrapped conversation).
svn path=/plone.app.discussion/trunk/; revision=27501
2009-06-18 20:57:47 +00:00
Timo Stollenwerk
0a706dec70 fix i18n domain.
svn path=/plone.app.discussion/trunk/; revision=27473
2009-06-16 23:25:36 +00:00
Timo Stollenwerk
adb3a6d9be remove typed in text after copying the reply form.
svn path=/plone.app.discussion/trunk/; revision=27472
2009-06-16 23:04:54 +00:00
Timo Stollenwerk
3d4343440c comments viewlet's format_time now returns localized time.
svn path=/plone.app.discussion/trunk/; revision=27471
2009-06-16 20:53:45 +00:00
Timo Stollenwerk
de5499d996 show delete and workflow actions buttons on the comments viewlet.
svn path=/plone.app.discussion/trunk/; revision=27470
2009-06-16 13:13:40 +00:00
Timo Stollenwerk
28fbad44a7 fix the permissions for delete and publish comments. make the publish-comment button work.
svn path=/plone.app.discussion/trunk/; revision=27469
2009-06-16 13:10:58 +00:00
Timo Stollenwerk
60ed441033 set the username oder creator when a reply is added to a comment.
svn path=/plone.app.discussion/trunk/; revision=27447
2009-06-14 17:34:30 +00:00
Timo Stollenwerk
5c3c77ecbd show the reply-to-comment button to anonymous users.
svn path=/plone.app.discussion/trunk/; revision=27446
2009-06-14 17:33:32 +00:00
Timo Stollenwerk
dcc8c329eb fix the portal messages for deleting and workflow actions.
svn path=/plone.app.discussion/trunk/; revision=27444
2009-06-14 17:11:53 +00:00
Timo Stollenwerk
5e26227ea1 fix that anonymous users see a link to a non-existent user-home in the comments viewlet.
svn path=/plone.app.discussion/trunk/; revision=27419
2009-06-14 11:10:45 +00:00
Timo Stollenwerk
1670338ace Add id fall back for Creator if no Username (Title) has been added.
svn path=/plone.app.discussion/trunk/; revision=27417
2009-06-14 08:45:17 +00:00
Timo Stollenwerk
2e1cda3f59 hide delete and workflow actions in the comments viewlet, since they don't work yet.
svn path=/plone.app.discussion/trunk/; revision=27416
2009-06-14 07:26:59 +00:00
Timo Stollenwerk
9be49ee767 fix delete and publish comment methods.
svn path=/plone.app.discussion/trunk/; revision=27415
2009-06-14 07:19:37 +00:00
Timo Stollenwerk
9e30b7b3c2 hide the delete and workflow buttons in the moderation view, since they are not working yet.
svn path=/plone.app.discussion/trunk/; revision=27414
2009-06-14 07:09:10 +00:00