Commit Graph

90 Commits

Author SHA1 Message Date
Timo Stollenwerk
7de585542b Fix moderation actions (publish, delete) in the moderation view with virtual hosts. This is a replacement for http://dev.plone.org/plone/changeset/35608.
svn path=/plone.app.discussion/trunk/; revision=40518
2010-10-05 15:21:54 +00:00
Timo Stollenwerk
837e6b2966 Do not show two "login to add comments" buttons when there are no comments yet. This fixes http://plone.org/products/plone.app.discussion/issues/12.
svn path=/plone.app.discussion/trunk/; revision=40515
2010-10-05 12:07:08 +00:00
Timo Stollenwerk
7bdf340c88 Fix restructured text.
svn path=/plone.app.discussion/trunk/; revision=40511
2010-10-04 19:19:34 +00:00
Timo Stollenwerk
4b40575dd1 Back to development: 1.0b9
svn path=/plone.app.discussion/trunk/; revision=40510
2010-10-04 19:11:16 +00:00
Timo Stollenwerk
198225ae9a Preparing release 1.0b8
svn path=/plone.app.discussion/trunk/; revision=40507
2010-10-04 19:09:28 +00:00
Luca Fabbri
2d603c2c0e italian translation updated
svn path=/plone.app.discussion/trunk/; revision=40460
2010-09-30 21:52:40 +00:00
Timo Stollenwerk
689fd26c12 Apply the comment viewlet template and styles to the new title-less comments. This might require integrators to apply their custom templates and styles.
svn path=/plone.app.discussion/trunk/; revision=40433
2010-09-29 08:13:54 +00:00
Timo Stollenwerk
f67c7cde6d Remove title field from the comment form and replace it with an auto-generated title ("John Doe on Welcome to Plone").
This also fixes http://dev.plone.org/plone/ticket/11098

svn path=/plone.app.discussion/trunk/; revision=40431
2010-09-29 07:56:36 +00:00
Timo Stollenwerk
f2f2dd524f Use the right trac link for the __parent__ pointer fix.
svn path=/plone.app.discussion/trunk/; revision=40427
2010-09-29 06:48:36 +00:00
Timo Stollenwerk
e603494a83 Do not use https links in CHANGES.txt.
svn path=/plone.app.discussion/trunk/; revision=40426
2010-09-29 06:46:57 +00:00
Timo Stollenwerk
0259c1298f Add proper credits to the last CHANGES entry.
svn path=/plone.app.discussion/trunk/; revision=40391
2010-09-28 16:00:08 +00:00
Timo Stollenwerk
138942470c Make sure the __parent__ pointer (the conversation) of a comment is not acquisition wrapped in conversation.addComment. This fixes Refs #11157.
svn path=/plone.app.discussion/trunk/; revision=40374
2010-09-28 10:37:40 +00:00
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