Commit Graph

379 Commits

Author SHA1 Message Date
Timo Stollenwerk
ffcd7d7a31 adapt CaptchaExtender to CommentForm only.
svn path=/plone.app.discussion/trunk/; revision=28642
2009-08-10 16:38:41 +00:00
Timo Stollenwerk
ef8e34adbb Add dead-simple captcha to show the z3c-form-extender works.
svn path=/plone.app.discussion/trunk/; revision=28371
2009-08-05 09:01:58 +00:00
Timo Stollenwerk
8e9c75a6fc Set fields as class attribute to make captcha formextender work again. This is kind of ugly, the fields should be enirely omitted and not only hidden.
svn path=/plone.app.discussion/trunk/; revision=28370
2009-08-05 09:01:14 +00:00
Timo Stollenwerk
eadbb55a87 fix commenting for anonymous users.
svn path=/plone.app.discussion/trunk/; revision=28363
2009-08-04 20:47:25 +00:00
Timo Stollenwerk
355f50388c reorder comment form fields.
svn path=/plone.app.discussion/trunk/; revision=28362
2009-08-04 20:47:06 +00:00
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
dcb3665d36 plone.registry 1.0a2 changed methods to mixedCase (register_interface to registerInterface).
svn path=/plone.app.discussion/trunk/; revision=28041
2009-07-13 10:22:45 +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
39e0faffc9 remove allow_discussion test, since it is unnecessary.
svn path=/plone.app.discussion/trunk/; revision=28023
2009-07-12 18:19:29 +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
360a758905 fix that enabled method check for FTI information of the current content object and not only for the "Document" portal_type.
svn path=/plone.app.discussion/trunk/; revision=27889
2009-07-07 14:48:39 +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
e4e0f9de20 move README from plone/app/discussion to root dir.
svn path=/plone.app.discussion/trunk/; revision=27873
2009-07-07 08:56:34 +00:00
Timo Stollenwerk
55f3112a26 history and readme updated for first alpha release.
svn path=/plone.app.discussion/trunk/; revision=27871
2009-07-07 08:49:00 +00:00
Timo Stollenwerk
134459cac7 todo list update.
svn path=/plone.app.discussion/trunk/; revision=27870
2009-07-07 08:37:49 +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
a946fb54fa indexes for IComment added to override the IConversation indexes.
svn path=/plone.app.discussion/trunk/; revision=27838
2009-07-06 16:56:09 +00:00
Timo Stollenwerk
fa2f961ebe known issues file added.
svn path=/plone.app.discussion/trunk/; revision=27834
2009-07-06 07:18:39 +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
e2934a66b1 replace content_object.reindexObject() with event handlers.
svn path=/plone.app.discussion/trunk/; revision=27814
2009-07-04 16:18:48 +00:00
Timo Stollenwerk
2031ec67cf comment out failing clear-and-rebuild catalog test.
svn path=/plone.app.discussion/trunk/; revision=27813
2009-07-04 16:14:22 +00:00
Timo Stollenwerk
3b981dd603 remove the available_expr with a workflow name in it.
svn path=/plone.app.discussion/trunk/; revision=27812
2009-07-04 16:11:33 +00:00
Timo Stollenwerk
b014e92f27 remove the available_expr with a workflow name in it.
svn path=/plone.app.discussion/trunk/; revision=27811
2009-07-04 13:44:57 +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
ac4953ebd6 test for catalog clear and rebuild added.
svn path=/plone.app.discussion/trunk/; revision=27793
2009-07-03 11:22:21 +00:00
Timo Stollenwerk
f2f70e908b show "moderate comments" site action only when comment_review_workflow is enabled for comments.
svn path=/plone.app.discussion/trunk/; revision=27791
2009-07-03 09:03: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
dc78965931 more catalog tests added.
svn path=/plone.app.discussion/trunk/; revision=27787
2009-07-03 06:37:14 +00:00
Timo Stollenwerk
40eb6b17c1 reindex content object when deleting a comment.
svn path=/plone.app.discussion/trunk/; revision=27786
2009-07-03 06:33:22 +00:00
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
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
a3e9105e48 comment catalog tests added.
svn path=/plone.app.discussion/trunk/; revision=27631
2009-06-22 17:06:37 +00:00
Timo Stollenwerk
6d414055bc set correct Type ('Discussion Item') for Comments.
svn path=/plone.app.discussion/trunk/; revision=27629
2009-06-22 12:23:19 +00:00
Timo Stollenwerk
bded41ffa4 documentation txt file added.
svn path=/plone.app.discussion/trunk/; revision=27626
2009-06-22 10:11:08 +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
23d4b25218 allow_discussion on folder level implemented.
svn path=/plone.app.discussion/trunk/; revision=27517
2009-06-19 15:51:50 +00:00
Timo Stollenwerk
d25e2b80c4 enabled is a boolean method now instead of a property.
svn path=/plone.app.discussion/trunk/; revision=27509
2009-06-19 10:04:32 +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
59586025be add test to make sure that conversation.enabled on a folder always returns False.
svn path=/plone.app.discussion/trunk/; revision=27503
2009-06-18 21:12:38 +00:00
Timo Stollenwerk
c8a24e5d74 make conversation.enabled return a boolean (remove the property decorator).
Always return false if the content object is a folder.

svn path=/plone.app.discussion/trunk/; revision=27502
2009-06-18 21:02:32 +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
476cc1c5e7 conversationAdapterFactory now always returns the acquisition wrapped conversation object.
svn path=/plone.app.discussion/trunk/; revision=27500
2009-06-18 20:53:25 +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
f8b317ac7a add objectIds method to Conversation class to make publish comment work.
svn path=/plone.app.discussion/trunk/; revision=27468
2009-06-16 11:52:00 +00:00
Timo Stollenwerk
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.
svn path=/plone.app.discussion/trunk/; revision=27467
2009-06-16 11:51:25 +00:00
Timo Stollenwerk
9ad344b4c2 update and reorder todo list.
svn path=/plone.app.discussion/trunk/; revision=27466
2009-06-16 10:43:00 +00:00
Timo Stollenwerk
baeb3a638c traversal test for the replies adapter added.
svn path=/plone.app.discussion/trunk/; revision=27459
2009-06-15 09:06:47 +00:00
Timo Stollenwerk
886fe17b47 fix commenter portrait tests, since get_commenter_portrait returns a URL instead of an image now.
svn path=/plone.app.discussion/trunk/; revision=27458
2009-06-15 08:54:35 +00:00
Timo Stollenwerk
e8ce114f4b todo list update.
svn path=/plone.app.discussion/trunk/; revision=27448
2009-06-14 17:49:45 +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