Commit Graph

387 Commits

Author SHA1 Message Date
Timo Stollenwerk 1e58aa63b1 fix CommentViewlet has_replies method.
svn path=/plone.app.discussion/trunk/; revision=33282
2010-01-22 19:02:41 +00:00
Timo Stollenwerk b1e4b2254c Fix 1513398: Show "anonymous" when name field is empty in comment form.
svn path=/plone.app.discussion/trunk/; revision=33281
2010-01-22 18:35:32 +00:00
Timo Stollenwerk 649e41fcd5 Undo r33270. Make IDiscussionLayer inherit from IDefaultPloneLayer for now, to fix the comment Viewlet in Plone 4.0a3. This can be removed again as soon as Plone 4.0b1 is out. Thanks davisagli!
svn path=/plone.app.discussion/trunk/; revision=33278
2010-01-22 17:54:30 +00:00
Timo Stollenwerk 0b530a0a75 Ugly hack that works around a "ContentProviderLookupError: plone.htmlhead" error caused by Zope 2 permissions. See https://bugs.launchpad.net/zope2/+bug/176566 for further details. This error occured on Plone 3.3.x only.
svn path=/plone.app.discussion/trunk/; revision=33275
2010-01-22 16:28:00 +00:00
Timo Stollenwerk 1a1c903086 Integration test for comments viewlet added.
Empty test class for comment form added.

svn path=/plone.app.discussion/trunk/; revision=33271
2010-01-22 12:29:26 +00:00
Timo Stollenwerk 5ff91da15d rename plone.comments Viewlet to plone.app.discussion.comments and hide the standard plone.comments Viewlet. This is necessary because overriding plone.comments is not working anymore in Plone 4.0a3. This should be fixed properly in the future.
svn path=/plone.app.discussion/trunk/; revision=33270
2010-01-22 12:08:30 +00:00
Timo Stollenwerk 7dda99a62a remove outstanding questions.
svn path=/plone.app.discussion/trunk/; revision=33235
2010-01-19 09:37:40 +00:00
Timo Stollenwerk 548c1debee remove unnecessary cancel button class.
svn path=/plone.app.discussion/trunk/; revision=33234
2010-01-19 08:26:41 +00:00
Timo Stollenwerk 3ceb9e1e4f use widget.addClass instead of overwriting an entire class for setting a CSS class.
svn path=/plone.app.discussion/trunk/; revision=33222
2010-01-18 19:47:46 +00:00
Timo Stollenwerk 365684f137 test stop iteration for get_replies method.
svn path=/plone.app.discussion/trunk/; revision=33218
2010-01-18 12:20:45 +00:00
Timo Stollenwerk 1bfff5255a more tests for comments viewlet.
svn path=/plone.app.discussion/trunk/; revision=33217
2010-01-18 11:38:57 +00:00
Timo Stollenwerk ca0aecd170 user portal membership tool for is_anonyous method; tests for comments viewlet added.
svn path=/plone.app.discussion/trunk/; revision=33216
2010-01-18 11:04:08 +00:00
Timo Stollenwerk 77eaee146e tests for comments viewlet added (some are still empty).
svn path=/plone.app.discussion/trunk/; revision=33215
2010-01-18 09:55:44 +00:00
Timo Stollenwerk d1bd1469c8 move comment view from browser/comments.py to browser/comment.py.
svn path=/plone.app.discussion/trunk/; revision=33214
2010-01-18 09:54:27 +00:00
Timo Stollenwerk dc2e5232f7 fix migration tests. do not use transactions during unit testing.
svn path=/plone.app.discussion/trunk/; revision=32805
2010-01-03 17:36:01 +00:00
Timo Stollenwerk e0cc673683 count old comments only during migration. show error log when comments could not be migrated.
svn path=/plone.app.discussion/trunk/; revision=32767
2010-01-02 19:45:05 +00:00
Timo Stollenwerk 275cb885ea dry_run and abort migration added to migration view.
svn path=/plone.app.discussion/trunk/; revision=32588
2009-12-21 23:36:35 +00:00
Timo Stollenwerk adb0390227 use object_provides instead of portal_type to query the catalog for comments. this fixes bug #2010085;
svn path=/plone.app.discussion/trunk/; revision=32538
2009-12-19 15:03:12 +00:00
Timo Stollenwerk 2e004456f5 Bugfix for #2010078: Comments that await moderation are visually distinguished from published comments.
svn path=/plone.app.discussion/trunk/; revision=32537
2009-12-19 14:04:49 +00:00
Timo Stollenwerk 0fa11f9af9 remove unnecessary link in comment title.
svn path=/plone.app.discussion/trunk/; revision=32536
2009-12-19 13:39:28 +00:00
Timo Stollenwerk 5f9e443b9c fix bug #2010181: The name of a commenter who commented while not logged in should not appear as a link.
svn path=/plone.app.discussion/trunk/; revision=32535
2009-12-19 13:35:49 +00:00
Timo Stollenwerk 2bb8f514e8 fix unbound prefix error.
svn path=/plone.app.discussion/trunk/; revision=32436
2009-12-15 07:15:57 +00:00
Timo Stollenwerk c873b76a9b locales directory added.
svn path=/plone.app.discussion/trunk/; revision=32431
2009-12-14 12:45:45 +00:00
Timo Stollenwerk 8c5342e8e3 Plone 4 compliant icon_expression added.
svn path=/plone.app.discussion/trunk/; revision=32359
2009-12-08 15:40:25 +00:00
Timo Stollenwerk 8e493363c4 rename remove button to delete.
svn path=/plone.app.discussion/trunk/; revision=32358
2009-12-08 15:37:52 +00:00
Timo Stollenwerk 42f8da327b fix styles for action column in moderation view.
svn path=/plone.app.discussion/trunk/; revision=32357
2009-12-08 15:29:37 +00:00
Timo Stollenwerk 6ddfbff8df fix even/odd styles for Plone 4.
svn path=/plone.app.discussion/trunk/; revision=32356
2009-12-08 11:53:10 +00:00
Timo Stollenwerk 47cba8797f filter tabs removed from moderation view;
svn path=/plone.app.discussion/trunk/; revision=32355
2009-12-08 11:19:26 +00:00
Timo Stollenwerk a672c1ed11 Plone 4 styles added.
svn path=/plone.app.discussion/trunk/; revision=32349
2009-12-07 19:39:23 +00:00
Timo Stollenwerk ff9e2205c9 fix ajax call for workflow_action publish in moderation view.
svn path=/plone.app.discussion/trunk/; revision=32342
2009-12-07 16:11:49 +00:00
Timo Stollenwerk 34b37cab2d fix toLocalizedTime for Plone 4 compatibility.
svn path=/plone.app.discussion/trunk/; revision=32340
2009-12-07 15:45:39 +00:00
Timo Stollenwerk 9713bda830 fix float issue for discussion div as well.
svn path=/plone.app.discussion/trunk/; revision=32339
2009-12-07 15:41:17 +00:00
Timo Stollenwerk a741095b14 Clear "float: left" from "manage portlets" div above the comment viewlet. This will get fixed in the next Plone 4 release. A bug report has been added to the tracker: https://dev.plone.org/plone/ticket/9903
svn path=/plone.app.discussion/trunk/; revision=32338
2009-12-07 15:39:49 +00:00
Timo Stollenwerk dd6fdd34fb fix typo.
svn path=/plone.app.discussion/trunk/; revision=31925
2009-11-19 21:42:02 +00:00
Timo Stollenwerk 6999e6f8d0 Replace yes/no widgets with single checkboxes.
svn path=/plone.app.discussion/trunk/; revision=31923
2009-11-19 21:40:08 +00:00
Timo Stollenwerk ae2767daec fix redirect after a comment has been posted.
svn path=/plone.app.discussion/trunk/; revision=31000
2009-11-01 09:24:27 +00:00
Timo Stollenwerk 94adf62566 do not show moderation message when user has manage rights.
svn path=/plone.app.discussion/trunk/; revision=30997
2009-10-31 16:42:04 +00:00
Timo Stollenwerk 7550e95d5c fix redirection after a comment has been added.
svn path=/plone.app.discussion/trunk/; revision=30986
2009-10-31 12:33:59 +00:00
Timo Stollenwerk 58f8f4bf22 Do not show "publish" bulk action in moderation view when moderation is disabled. Fix story 1105355
.

svn path=/plone.app.discussion/trunk/; revision=30678
2009-10-18 13:12:52 +00:00
Timo Stollenwerk 3e75eedca8 KNOWN_ISSUES.txt removed.
svn path=/plone.app.discussion/trunk/; revision=30671
2009-10-17 16:34:58 +00:00
Timo Stollenwerk c9a5070681 Adding Persistent to subclasses of comment - this fixes five.intid choking on Comments in the catalog on reinstall. evilbungle branch merge.
svn path=/plone.app.discussion/trunk/; revision=30670
2009-10-17 16:29:45 +00:00
Timo Stollenwerk 8db9c8c175 Removing hard coded publish action. evilbungle branch merge.
svn path=/plone.app.discussion/trunk/; revision=30669
2009-10-17 16:14:44 +00:00
Timo Stollenwerk 7ef2672e5c Making captcha validator only adapt for the appropriate browser layer. This fixes the captcha error issue when p.a.d is in a deployment but not installed yet. evilbungle branch merge.
svn path=/plone.app.discussion/trunk/; revision=30667
2009-10-17 14:13:27 +00:00
Timo Stollenwerk 7cd9ef2491 Changing browser:view registrations to browser:page since view doesn't actually do anything with the permissions. This fixes the anyone can delete comments problem. evilbungle branch merge.
svn path=/plone.app.discussion/trunk/; revision=30665
2009-10-17 13:50:55 +00:00
Timo Stollenwerk 78d547daa6 Replacing infinite-recursion happy traverse_parent_folders method with one based on aq_chain; evilbungle branch merge.
svn path=/plone.app.discussion/trunk/; revision=30660
2009-10-17 09:33:58 +00:00
Timo Stollenwerk 60b6196736 Show info message after adding a comment when moderation is enabled.
svn path=/plone.app.discussion/trunk/; revision=30659
2009-10-17 09:17:13 +00:00
Timo Stollenwerk 1ea36d7d82 Conversation indexers won't work on old discussion items. Fix tests.
svn path=/plone.app.discussion/trunk/; revision=30658
2009-10-17 08:28:50 +00:00
Timo Stollenwerk e5f1a70de6 Make unit tests pass with Plone 3.3 again. Migration tests still failing.
svn path=/plone.app.discussion/trunk/; revision=30633
2009-10-16 12:11:58 +00:00
Hanno Schlichting 6e8f812eee Duh, I wanted the new CatalogAware without the OpaqueItemManager base, not the old CMFCatalogAware
svn path=/plone.app.discussion/trunk/; revision=30630
2009-10-16 00:51:58 +00:00
Hanno Schlichting 71ed707794 Get this running again for the most part under Plone 4.0 - the main trick was probably to use the new CMFCatalogAware class. Removed collective.testcaselayer dependency, as that broke totally. There's some test failures left, but indexing works in general. Maybe the custom indexing event handlers aren't all required anymore. The title_or_id test failure looks like there's an infinite loop in the __parent__ pointers never reaching the actual content object. This change breaks Plone 3.x compatibility for the moment.
svn path=/plone.app.discussion/trunk/; revision=30629
2009-10-16 00:42:08 +00:00