Commit Graph

153 Commits

Author SHA1 Message Date
Timo Stollenwerk
2e2528aa76 clean up the imports.
svn path=/plone.app.discussion/trunk/; revision=28360
2009-08-04 19:36:33 +00:00
Timo Stollenwerk
ae0b9486b7 remove unnecessary wrap_form.
svn path=/plone.app.discussion/trunk/; revision=28358
2009-08-04 19:30:12 +00:00
Timo Stollenwerk
c0d7f326b2 remove "implements(IViewlet)" since the base class takes care of it.
svn path=/plone.app.discussion/trunk/; revision=28357
2009-08-04 19:25:40 +00:00
Timo Stollenwerk
01f44e3147 add cancel button.
make strings translatable.

svn path=/plone.app.discussion/trunk/; revision=28356
2009-08-04 19:24:47 +00:00
Timo Stollenwerk
6014a65daa replace CommentFactory() with createObject().
svn path=/plone.app.discussion/trunk/; revision=28355
2009-08-04 18:42:17 +00:00
Timo Stollenwerk
a63f518bcb fix the cancel button for the comment reply form.
svn path=/plone.app.discussion/trunk/; revision=28354
2009-08-04 18:39:10 +00:00
Timo Stollenwerk
12ee7d6a5a show/hide the comment/reply button inside the comment/reply-to-comment forms.
svn path=/plone.app.discussion/trunk/; revision=28352
2009-08-04 15:19:20 +00:00
Timo Stollenwerk
c516d6ba55 hide the in_reply_to field inside the comment form.
svn path=/plone.app.discussion/trunk/; revision=28351
2009-08-04 15:12:15 +00:00
Timo Stollenwerk
ddd8596dbd move reply to comment view to z3cform.
svn path=/plone.app.discussion/trunk/; revision=28349
2009-08-04 14:51:34 +00:00
Timo Stollenwerk
a5c8fe33ed redirect after adding a comment.
remove unnecessary Comment class.

svn path=/plone.app.discussion/trunk/; revision=28348
2009-08-04 12:55:46 +00:00
Timo Stollenwerk
4876a5fb59 move addComment view to z3cform.
svn path=/plone.app.discussion/trunk/; revision=28346
2009-08-04 11:56:52 +00:00
Timo Stollenwerk
878f45029b fix attribute error when submitting the comment form.
omit form fields for comment form the right way.

svn path=/plone.app.discussion/trunk/; revision=28345
2009-08-04 11:35:05 +00:00
Timo Stollenwerk
2e2f6fc690 set form fields manually.
svn path=/plone.app.discussion/trunk/; revision=28325
2009-08-02 17:32:41 +00:00
Timo Stollenwerk
424d1c79ed z3c.form form added to commentsviewlet (not fully functional yet).
svn path=/plone.app.discussion/trunk/; revision=28300
2009-08-01 21:47:50 +00:00
Timo Stollenwerk
98204dc84a fix the recursive migrate_replies function, so that it returns True only after all comments on a certain level have been migrated.
svn path=/plone.app.discussion/trunk/; revision=28054
2009-07-13 22:14:30 +00:00
Timo Stollenwerk
377f9ddbfd fix depth in migrated comments and add more complex threaded test case.
svn path=/plone.app.discussion/trunk/; revision=28053
2009-07-13 21:01:38 +00:00
Timo Stollenwerk
8bc0b068ae delete old replies and talkbacks during the migration.
svn path=/plone.app.discussion/trunk/; revision=28052
2009-07-13 20:22:37 +00:00
Timo Stollenwerk
b106262e31 plone.registry 1.0a2 changed methods to mixedCase (for_interface to forInterface).
svn path=/plone.app.discussion/trunk/; revision=28024
2009-07-12 19:13:42 +00:00
Timo Stollenwerk
356db660b0 migrate creation_date and modification_date too.
svn path=/plone.app.discussion/trunk/; revision=28019
2009-07-12 17:55:54 +00:00
Timo Stollenwerk
18ee5159bd function to recursively migrate comments added.
svn path=/plone.app.discussion/trunk/; revision=28016
2009-07-12 16:09:34 +00:00
Timo Stollenwerk
d7eaab75c8 add migration test for comment Creator and nested comments.
svn path=/plone.app.discussion/trunk/; revision=27960
2009-07-12 07:09:07 +00:00
Timo Stollenwerk
88cbd01379 migration view and very simple first test added.
svn path=/plone.app.discussion/trunk/; revision=27894
2009-07-07 16:16:58 +00:00
Timo Stollenwerk
546b78c07b remove browser/images directory.
svn path=/plone.app.discussion/trunk/; revision=27875
2009-07-07 09:22:55 +00:00
Timo Stollenwerk
8dbc7c0bc5 add padding to moderate comments fieldset.
svn path=/plone.app.discussion/trunk/; revision=27867
2009-07-07 08:21:36 +00:00
Timo Stollenwerk
97205fbbf8 show message when there are no comments to moderate.
svn path=/plone.app.discussion/trunk/; revision=27866
2009-07-07 08:08:59 +00:00
Timo Stollenwerk
bed1b420ba fix publish comment. remove ajax functions for now.
svn path=/plone.app.discussion/trunk/; revision=27864
2009-07-07 08:00:41 +00:00
Timo Stollenwerk
54f6c09c7b rename reply_to_comment_form.js to comments.js.
svn path=/plone.app.discussion/trunk/; revision=27840
2009-07-06 17:38:18 +00:00
Timo Stollenwerk
a608c58c4c use "@@moderate-publish-comment" instead of "content_status_modify" for publishing comments. content_status_modify does not reindex the comment properly.
svn path=/plone.app.discussion/trunk/; revision=27839
2009-07-06 17:30:19 +00:00
Timo Stollenwerk
0c377e3c9b fix remove comment button in the comments viewlet.
svn path=/plone.app.discussion/trunk/; revision=27815
2009-07-04 16:59:55 +00:00
Timo Stollenwerk
f85acfa827 Adding missing import for IStatusMessage, fixes validation. evilbungle fix.
svn path=/plone.app.discussion/trunk/; revision=27795
2009-07-03 12:06:19 +00:00
Timo Stollenwerk
30341e7d6e delete comments_workflow_enabled from moderation view.
svn path=/plone.app.discussion/trunk/; revision=27790
2009-07-03 09:02:47 +00:00
Timo Stollenwerk
072f903c3a in_response_to metadata added.
svn path=/plone.app.discussion/trunk/; revision=27789
2009-07-03 08:03:09 +00:00
Timo Stollenwerk
d70d872f95 always show comment in the batch moderation view in reverse chronological order, disallow sorting on the table.
svn path=/plone.app.discussion/trunk/; revision=27788
2009-07-03 06:45:29 +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