Commit Graph

466 Commits

Author SHA1 Message Date
Hanno Schlichting 405ecc1268 Added an optional conversationCanonicalAdapterFactory showing how to share comments across all translations with LinguaPlone, by storing and retrieving the conversation from the canonical object.
svn path=/plone.app.discussion/trunk/; revision=33546
2010-01-28 13:44:56 +00:00
Hanno Schlichting 9c80b99ead Play by the Plone 3.3+ rules and use the INavigationRoot as a base for the moderation views.
svn path=/plone.app.discussion/trunk/; revision=33544
2010-01-28 13:23:58 +00:00
Hanno Schlichting d937bcc42e Added a commentTitle CSS class to the comment titles.
svn path=/plone.app.discussion/trunk/; revision=33543
2010-01-28 11:48:44 +00:00
Hanno Schlichting 590b343a53 Update message ids to match their real text.
svn path=/plone.app.discussion/trunk/; revision=33542
2010-01-28 10:57:36 +00:00
Hanno Schlichting d894c45343 Forgot one domain setting in the GS profile
svn path=/plone.app.discussion/trunk/; revision=33541
2010-01-28 10:49:29 +00:00
Timo Stollenwerk 2179e447ab Set CSS classes for the comment form in the updateActions method.
svn path=/plone.app.discussion/trunk/; revision=33520
2010-01-27 19:20:25 +00:00
Hanno Schlichting faf339bec5 Optimized the conversation enabled method and avoid overlong lines
svn path=/plone.app.discussion/trunk/; revision=33514
2010-01-27 17:11:55 +00:00
Hanno Schlichting 9f4129a65f Respect the allow_comments field on an object and avoid calculations if no comments should be shown.
svn path=/plone.app.discussion/trunk/; revision=33511
2010-01-27 17:00:58 +00:00
Hanno Schlichting 034d0a93ad Automatically load the ZCML files of the captcha widgets if they are installed.
svn path=/plone.app.discussion/trunk/; revision=33498
2010-01-27 16:14:35 +00:00
Hanno Schlichting 29a81f0717 Fixed i18n domain in GenericSetup profiles to be ``plone``. Other values aren't supported for GS profiles.
svn path=/plone.app.discussion/trunk/; revision=33492
2010-01-27 14:56:30 +00:00
Hanno Schlichting c27d1b5cc1 De-tabbify
svn path=/plone.app.discussion/trunk/; revision=33491
2010-01-27 14:54:07 +00:00
Hanno Schlichting ece5e3c302 Provide our own copy of the default one state workflow. Not all Plone sites have this workflow installed.
svn path=/plone.app.discussion/trunk/; revision=33490
2010-01-27 14:46:12 +00:00
Hanno Schlichting efc60b2620 Register the event subscribers for the correct interfaces in Plone 3.
svn path=/plone.app.discussion/trunk/; revision=33488
2010-01-27 13:51:44 +00:00
Hanno Schlichting 1b78a1839b Factored out subscriber declarations into its own ZCML file.
svn path=/plone.app.discussion/trunk/; revision=33486
2010-01-27 12:28:47 +00:00
Timo Stollenwerk 2f1a80c46b history updated.
svn path=/plone.app.discussion/trunk/; revision=33455
2010-01-26 11:33:38 +00:00
Timo Stollenwerk f93f419f99 Custom cancel button class added again. Plone 3.x reply-to-comment form still uses this.
svn path=/plone.app.discussion/trunk/; revision=33453
2010-01-26 10:27:38 +00:00
Timo Stollenwerk a7017cedb7 i18n tag added to 'show full comment text'.
svn path=/plone.app.discussion/trunk/; revision=33452
2010-01-26 10:18:46 +00:00
Timo Stollenwerk b0c8b38199 fix comment actions column in Plone 3.x.
svn path=/plone.app.discussion/trunk/; revision=33451
2010-01-26 10:08:44 +00:00
Timo Stollenwerk c0a480a695 complete german translation.
svn path=/plone.app.discussion/trunk/; revision=33450
2010-01-26 09:27:48 +00:00
Timo Stollenwerk 4fa3f476d4 allow to show the full text of a comment in the moderation view.
svn path=/plone.app.discussion/trunk/; revision=33400
2010-01-25 11:43:29 +00:00
Timo Stollenwerk 489afd8636 Bugfix #2281226: Moderation View: Comments disappear when hitting the 'Apply' button without choosing a bulk action.
svn path=/plone.app.discussion/trunk/; revision=33399
2010-01-25 10:51:27 +00:00
Timo Stollenwerk 9b29be8473 more German translations added.
svn path=/plone.app.discussion/trunk/; revision=33398
2010-01-25 09:10:25 +00:00
Timo Stollenwerk c001b335b9 make i18ndude shut up about errors.
svn path=/plone.app.discussion/trunk/; revision=33388
2010-01-24 21:19:18 +00:00
Timo Stollenwerk 8e0a2b8d6a set version to 1.0b3dev
svn path=/plone.app.discussion/trunk/; revision=33385
2010-01-24 19:52:54 +00:00
Timo Stollenwerk c96cafca18 merge r33351-r33355 from localization-enabled branch with current trunk.
svn path=/plone.app.discussion/trunk/; revision=33384
2010-01-24 19:46:14 +00:00
Timo Stollenwerk 440405c47b update translation script added.
svn path=/plone.app.discussion/trunk/; revision=33383
2010-01-24 19:39:47 +00:00
Timo Stollenwerk 1998c2d5a0 enable locales directory.
svn path=/plone.app.discussion/trunk/; revision=33382
2010-01-24 19:39:23 +00:00
Luca Fabbri e7bec36665 Fixes to po and pot head infos
svn path=/plone.app.discussion/branches/localization-enabled/; revision=33355
2010-01-24 14:11:50 +00:00
Luca Fabbri 677490a445 Final fixes: now also the "Comment" button is translated
svn path=/plone.app.discussion/branches/localization-enabled/; revision=33354
2010-01-24 14:00:51 +00:00
Luca Fabbri a6a1904d3e Commiting working translation.
Some light fixes was needed also to the code. 

svn path=/plone.app.discussion/branches/localization-enabled/; revision=33353
2010-01-24 13:47:39 +00:00
Luca Fabbri 569cd0f33b Added the locales support.
Also refactored interfaces string to cleanup the default i18n messages default.

svn path=/plone.app.discussion/branches/localization-enabled/; revision=33352
2010-01-24 11:25:22 +00:00
Timo Stollenwerk 3c22930ba2 test discussion control panel view.
svn path=/plone.app.discussion/trunk/; revision=33314
2010-01-23 09:02:09 +00:00
Timo Stollenwerk 6ca20c7514 Make test coverage happy. 1 second seems to be not enough to create a comment when running the test coverage.
svn path=/plone.app.discussion/trunk/; revision=33309
2010-01-23 07:26:19 +00:00
Timo Stollenwerk 0c1d32d7c6 comment out locales directory for now, since it is unused.
svn path=/plone.app.discussion/trunk/; revision=33288
2010-01-22 19:43:10 +00:00
Timo Stollenwerk b31843f79a Fix globally enabled description.
svn path=/plone.app.discussion/trunk/; revision=33286
2010-01-22 19:21:30 +00:00
Timo Stollenwerk 3ad307596c prepare 1.0b2 release.
svn path=/plone.app.discussion/trunk/; revision=33285
2010-01-22 19:19:01 +00:00
Timo Stollenwerk ac3ade24f6 Redo the controlpanel UI.
svn path=/plone.app.discussion/trunk/; revision=33284
2010-01-22 19:17:46 +00:00
Timo Stollenwerk ebf12022eb History updated.
svn path=/plone.app.discussion/trunk/; revision=33283
2010-01-22 19:10:27 +00:00
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 c8bc60e967 remove version restriction for plone.app.z3c.form and allow plone.z3cform < 0.5.7. plone.app.z3cform fails for versions >= 0.5.8.
svn path=/plone.app.discussion/trunk/; revision=33276
2010-01-22 16:30:51 +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