Commit Graph

78 Commits

Author SHA1 Message Date
Timo Stollenwerk ad99e45203 Revert r35608 since this was breaking the comment moderation bulk actions. The BulkActionsView expects the absolute path of the comments without the portal url (e.g. '/plone/doc1/++conversation++default/1285346769126020'). This fixes https://dev.plone.org/plone/ticket/11156.
svn path=/plone.app.discussion/trunk/; revision=40227
2010-09-24 17:04:24 +00:00
Timo Stollenwerk 399bba5eca Use "(function($) { /* some code that uses $ */ })(jQuery)" instead of "$(document).ready(function(){ /* some code that uses $ */ });" to invoke jQuery code.
svn path=/plone.app.discussion/trunk/; revision=40214
2010-09-24 14:21:26 +00:00
Timo Stollenwerk 0cee7c541d Finnish translation added.
svn path=/plone.app.discussion/trunk/; revision=40153
2010-09-23 11:04:47 +00:00
Timo Stollenwerk 4137548d64 Back to development: 1.0b8
svn path=/plone.app.discussion/trunk/; revision=39901
2010-09-15 11:40:19 +00:00
Timo Stollenwerk 300f696921 Prepare 1.0b7 release.
svn path=/plone.app.discussion/trunk/; revision=39898
2010-09-15 11:32:37 +00:00
Timo Stollenwerk 4dd2f87e4c Give saffe the appropriate credits.
svn path=/plone.app.discussion/trunk/; revision=39870
2010-09-13 14:35:40 +00:00
Timo Stollenwerk 3d594a934d Captcha plugin support for collective.z3cform.norobots added.
svn path=/plone.app.discussion/trunk/; revision=39848
2010-09-10 13:02:56 +00:00
Patrick Gerken dc52481061 Document changes
svn path=/plone.app.discussion/trunk/; revision=39729
2010-09-07 12:03:41 +00:00
Timo Stollenwerk f918b7698b Fetch context for the comment view with "context = aq_inner(self.context)". This fixes a failing Plone 3 test.
svn path=/plone.app.discussion/trunk/; revision=39679
2010-09-06 10:39:07 +00:00
Timo Stollenwerk ea13020498 Raise an unauthorized error when authenticated users try to post a comment on a content object that has discussion disabled. Thanks to vincentfrentin for reporting this!
svn path=/plone.app.discussion/trunk/; revision=39627
2010-09-03 20:40:27 +00:00
Timo Stollenwerk d0914c072e Changelog updated (Czech translation added).
svn path=/plone.app.discussion/trunk/; revision=39590
2010-09-01 08:58:46 +00:00
Timo Stollenwerk f0ff6119cf "Clean up code with PyLint" added to changes.
svn path=/plone.app.discussion/trunk/; revision=39326
2010-08-28 19:55:58 +00:00
Timo Stollenwerk d3074fa4fd Make Javascripts pass JSLint validation
svn path=/plone.app.discussion/trunk/; revision=39059
2010-08-27 10:34:42 +00:00
Timo Stollenwerk 61565de95a Put email notification subscribers into their own zcml file so it is easier for integrators to override them.
svn path=/plone.app.discussion/trunk/; revision=38981
2010-08-26 09:31:49 +00:00
Timo Stollenwerk a2c89ed5e8 Plain text and intelligent text options for comment text added to preserve basic text structure and to make links clickable.
svn path=/plone.app.discussion/trunk/; revision=38931
2010-08-25 14:03:29 +00:00
Timo Stollenwerk 35d7743b7a Plain text to HTML transformation added for comment text
svn path=/plone.app.discussion/trunk/; revision=38898
2010-08-25 09:19:28 +00:00
Vincent Fretin 5a379b7c4f Hum, I half committed my changes apparently
svn path=/plone.app.discussion/trunk/; revision=38896
2010-08-25 06:46:24 +00:00
Timo Stollenwerk 1579064ee6 Back to development: 1.0b7
svn path=/plone.app.discussion/trunk/; revision=38887
2010-08-24 09:19:09 +00:00
Timo Stollenwerk 6d5d72f778 Prepare 1.0b6 release.
svn path=/plone.app.discussion/trunk/; revision=38883
2010-08-24 09:05:41 +00:00
Vincent Fretin 352a517a0a Fixed the case where a folder has allow_discussion=False and
conversation.enabled() on a document in this folder returned False
instead of True because of allow_discussion acquisition.

svn path=/plone.app.discussion/trunk/; revision=38835
2010-08-20 11:52:05 +00:00
Timo Stollenwerk d37d5aa9f5 Redirect to the comment form action instead of the absolute url when a comment is posted. This fixes the accidentially triggered file upload when a comment is posted on a file content object.
svn path=/plone.app.discussion/trunk/; revision=38664
2010-08-09 12:25:14 +00:00
Timo Stollenwerk 7fef29cf64 We are still on 1.0b6.
svn path=/plone.app.discussion/trunk/; revision=38663
2010-08-09 12:21:04 +00:00
Vincent Fretin bd1d391c2c previous commit: We need five:registerPackage to register the i18n folder.
svn path=/plone.app.discussion/trunk/; revision=38582
2010-08-06 17:19:32 +00:00
Vincent Fretin fd6a8e0fd8 * Renamed legend_add_comment to label_add_comment to have the translation from
plone domain.
* label_comment_by and label_commented_at are not in Plone 4 translation anymore, so
  these two messages moved to plone.app.discussions i18n domain.

svn path=/plone.app.discussion/trunk/; revision=38574
2010-08-06 15:33:34 +00:00
Vincent Fretin 86aee7a2ea Added French translation.
svn path=/plone.app.discussion/trunk/; revision=38573
2010-08-06 15:21:29 +00:00
Vincent Fretin 733c3439ca Translate "Warning" shown in @@moderate-comments in the plone domain.
svn path=/plone.app.discussion/trunk/; revision=38568
2010-08-06 10:46:37 +00:00
Vincent Fretin c1e861e969 Fixed i18n markup of message_moderation_disabled.
svn path=/plone.app.discussion/trunk/; revision=38564
2010-08-06 09:51:23 +00:00
Timo Stollenwerk 25d1da3475 Spanish translation added. Thanks to Judith Sanleandro.
svn path=/plone.app.discussion/trunk/; revision=38550
2010-08-05 17:18:19 +00:00
Timo Stollenwerk f72972844d Call the CaptchaValidator even when no captcha data was submitted. This is necessary to ensure that the collective.akismet validator is called when installed.
svn path=/plone.app.discussion/trunk/; revision=38541
2010-08-05 15:36:07 +00:00
Patrick Gerken 94e73b43a7 Catch TypeError in indexers if content can not be adapted
Currently plone.app.discussion provides indexers
for IContentish. In these it tries to adapt
the content object to IDiscussion. But an IDiscussion Factory is only
provided for IAnnotatable.
The Criteria are IContentish but not IAnnotatable.
Indexing them fails

svn path=/plone.app.discussion/trunk/; revision=38182
2010-07-21 23:36:16 +00:00
Timo Stollenwerk 01332a2618 Prepare 1.0b5 release.
svn path=/plone.app.discussion/trunk/; revision=37917
2010-07-16 15:31:36 +00:00
Timo Stollenwerk 88ce860aa5 Use self.form instead of CommentForm for the CommentsViewlet update method so integrators don't have to override the viewlet's update method. [Matous]
svn path=/plone.app.discussion/trunk/; revision=37916
2010-07-16 15:26:01 +00:00
Timo Stollenwerk c3320def88 Make sure the form fields in the reply form are always placed under the field labels; Fix CSS overflow bug that occurs with the new Plone 4.0b5 comment styles
svn path=/plone.app.discussion/trunk/; revision=37774
2010-07-13 13:39:35 +00:00
Timo Stollenwerk 1807205710 CHANGES updated (Unnecessary imports and variables removed.).
svn path=/plone.app.discussion/trunk/; revision=37769
2010-07-13 10:46:41 +00:00
Timo Stollenwerk cac0bae7a5 revert r37751.
svn path=/plone.app.discussion/trunk/; revision=37752
2010-07-12 13:47:53 +00:00
Timo Stollenwerk eabf3bc890 Always use zope.component getUtility instead of queryUtility.
svn path=/plone.app.discussion/trunk/; revision=37751
2010-07-12 13:34:02 +00:00
Yiorgis Gozadinos d0273e57bb Added norwegian translation.
svn path=/plone.app.discussion/trunk/; revision=37646
2010-07-05 12:14:16 +00:00
Hanno Schlichting 9d396e43f1 Protect against missing canonical in conversationCanonicalAdapterFactory.
svn path=/plone.app.discussion/trunk/; revision=37410
2010-06-25 17:16:15 +00:00
Timo Stollenwerk a8ccdc7b02 Use sphinx.plonetheme for plone.app.discussion documentation.
svn path=/plone.app.discussion/trunk/; revision=37374
2010-06-21 10:04:11 +00:00
Hanno Schlichting 7d3247ff0c Avoid deprecation warning for the Globals package.
svn path=/plone.app.discussion/trunk/; revision=37349
2010-06-18 12:01:44 +00:00
Hanno Schlichting 6d415efde7 Whitespace
svn path=/plone.app.discussion/trunk/; revision=37348
2010-06-18 11:14:53 +00:00
Timo Stollenwerk 12589d9fd2 Remove the hard coded check for title and text when the comment form is submitted. This allows integrators to write schema extenders that remove the title from the comment form.
svn path=/plone.app.discussion/trunk/; revision=37341
2010-06-17 18:56:26 +00:00
Timo Stollenwerk ac6865311d Move captcha registration to its own captcha.zcml file. Fix captcha registration for Plone 3/Zope 2.10
svn path=/plone.app.discussion/trunk/; revision=37140
2010-06-10 14:57:03 +00:00
Timo Stollenwerk 2767f52bf0 Akismet spam protection plugin support added (collective.akismet).
svn path=/plone.app.discussion/trunk/; revision=37137
2010-06-10 13:12:12 +00:00
Timo Stollenwerk 92766752c4 Simplify the CaptchaValidator class by dynamically adapting a view with the name of the captcha plugin (e.g. recaptcha, captcha, akismet) for the validator.
svn path=/plone.app.discussion/trunk/; revision=37131
2010-06-10 10:51:41 +00:00
Timo Stollenwerk 30ffc4a920 CHANGES.txt updated (Dutch translation added).
svn path=/plone.app.discussion/trunk/; revision=37092
2010-06-07 14:40:09 +00:00
Pelle Kroegholt 84c111755c Enable caching and merging for comments.js to save some requests.
svn path=/plone.app.discussion/trunk/; revision=37002
2010-06-04 19:56:17 +00:00
Timo Stollenwerk 7f28f2773a Design notes for the Captcha plugin architecture added.
svn path=/plone.app.discussion/trunk/; revision=36993
2010-06-04 10:57:57 +00:00
Timo Stollenwerk 3bda1a12f1 Make IDiscussionLayer inherit from Interface again. Remove IDefaultPloneLayer, since Plone 4.0b1 and plone.theme 2.0b1 are out now. This was fixed by #10109; https://dev.plone.org/plone/ticket/10109; thanks davisagli!
svn path=/plone.app.discussion/trunk/; revision=36992
2010-06-04 09:33:48 +00:00
Timo Stollenwerk 28d88dcfb4 Clean up Javascript code. Obey the 80 character limit.
svn path=/plone.app.discussion/trunk/; revision=36991
2010-06-04 09:25:47 +00:00