Commit Graph

241 Commits

Author SHA1 Message Date
Timo Stollenwerk 43bd68a6df Update changes.
svn path=/plone.app.discussion/trunk/; revision=40535
2010-10-06 13:56:49 +00:00
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
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
Timo Stollenwerk e16b15708b minor changes; svn:ignore.
svn path=/plone.app.discussion/trunk/; revision=36876
2010-06-01 15:12:53 +00:00
Timo Stollenwerk 3d22bc56c4 Fix encoding error in migration procedure, otherwise migration procedure breaks on joining output list in case we have there any non-ascii characters. [piv]
svn path=/plone.app.discussion/trunk/; revision=36844
2010-05-31 09:58:42 +00:00
Timo Stollenwerk 4f13054ae4 plone.z3cform 0.6.0 compatibility (fix maximum recursion depth error which appears with plone.z3cform higher than 0.5.10); [piv]
svn path=/plone.app.discussion/trunk/; revision=36843
2010-05-31 09:50:46 +00:00
Timo Stollenwerk d2a8bbf362 changelog updated (ggozad's commit).
svn path=/plone.app.discussion/trunk/; revision=36644
2010-05-20 07:45:24 +00:00
Timo Stollenwerk dc9fa80458 prepare 1.0b4 release.
svn path=/plone.app.discussion/trunk/; revision=35699
2010-04-04 17:37:13 +00:00
Timo Stollenwerk 9f9bfd5d40 move new feature to the top of the changes list.
svn path=/plone.app.discussion/trunk/; revision=35697
2010-04-04 17:29:41 +00:00
Lennart Regebro 30c66b0b24 A bug in the moderator panel meant you couldn't delete items in a virtual host, if your portal was named "plone".
svn path=/plone.app.discussion/trunk/; revision=35608
2010-04-01 13:48:03 +00:00
Timo Stollenwerk acc7d50f7b credits for <1.0b3 added.
svn path=/plone.app.discussion/trunk/; revision=35524
2010-03-24 08:15:18 +00:00
Timo Stollenwerk 23fae2b6f9 Sphinx-based developer documentation added.
svn path=/plone.app.discussion/trunk/; revision=35523
2010-03-24 07:56:53 +00:00
Timo Stollenwerk 5040d48a33 Rename "Single State Workflow" to "Comment Single State Workflow".
svn path=/plone.app.discussion/trunk/; revision=35347
2010-03-19 10:17:00 +00:00
Timo Stollenwerk 5ce942d1d2 Rename 'publish comment' to 'approve comment'. This fixes #1608470.
svn path=/plone.app.discussion/trunk/; revision=35342
2010-03-19 09:58:35 +00:00
Timo Stollenwerk 437094d951 Show a warning in the moderation view if the moderation workflow is disabled.
svn path=/plone.app.discussion/trunk/; revision=35341
2010-03-19 09:44:07 +00:00
Timo Stollenwerk 24a34d6919 Move 'Moderate comments' link from site actions to user actions.
svn path=/plone.app.discussion/trunk/; revision=35303
2010-03-18 16:16:44 +00:00
Florian Friesdorf 8150617081 fixed #662654: As an administrator, I can configure a Collection to show
recent comments.

Type now correctly returns FTI type title. A catalog rebuild is
necessary.

svn path=/plone.app.discussion/trunk/; revision=35266
2010-03-18 13:22:16 +00:00
Florian Friesdorf 2815febe46 Revert "Fix #662654: As an administrator, I can configure a Collection to show recent comments. Rename 'Discussion Item' title from 'Comment' to 'Discussion Item'."
This reverts commit 25c8faacc11353af815edb9dfdac567c2ddf284d.

Conflicts (solved):

	CHANGES.txt

test and full fix on the way

svn path=/plone.app.discussion/trunk/; revision=35264
2010-03-18 13:21:53 +00:00
Timo Stollenwerk c626bab2e5 German translation updated.
svn path=/plone.app.discussion/trunk/; revision=35141
2010-03-17 15:47:54 +00:00
Timo Stollenwerk e00453e9d6 Fix #662654: As an administrator, I can configure a Collection to show recent comments. Rename 'Discussion Item' title from 'Comment' to 'Discussion Item'.
svn path=/plone.app.discussion/trunk/; revision=35109
2010-03-17 14:04:34 +00:00
Timo Stollenwerk 37b8e0fe15 Fix #2419342: Fix untranslated published/deleted status messages. import _ from p.a.d message factory instead of from the standard Plone message factory.
svn path=/plone.app.discussion/trunk/; revision=35092
2010-03-17 12:34:38 +00:00
Timo Stollenwerk 5fedf90f18 Remove fixed width of the actions column of the moderation view. The translated button titles can differ in size from the English titles.
svn path=/plone.app.discussion/trunk/; revision=35087
2010-03-17 11:00:10 +00:00
Timo Stollenwerk 52ebbe2e71 Fix #2494228: Remove comments as well when a content object is deleted.
svn path=/plone.app.discussion/trunk/; revision=34965
2010-03-16 15:06:43 +00:00
Timo Stollenwerk 819b66e149 merge r34694-r34695 from the jarn-1.0b3 branch.
Fix unicode error when non-ASCII characters are typed into the name field of a comment by anonymous users. 
We are indexing the member.id only now instead of the full member name or what anonymous users typed into the name field.

svn path=/plone.app.discussion/trunk/; revision=34932
2010-03-16 13:06:08 +00:00
Timo Stollenwerk 2301565e27 remove the user notification feature for now, since it requires the current z3c.form trunk and does not work with the latest release on PyPi.
svn path=/plone.app.discussion/trunk/; revision=34696
2010-03-11 19:23:02 +00:00
Hanno Schlichting 0fc0bce46e Whitespace ;)
svn path=/plone.app.discussion/trunk/; revision=34666
2010-03-09 12:30:03 +00:00
Timo Stollenwerk 1d39b53c4b Merge notification branch into trunk:
New feature: As a moderator, I am notified when new comments require my attention;
New feature: As a commenter, I can enable/disable email notification of additional comments on this object;
Make p.a.d. work with the recent version of plone.z3cform (0.5.10);

svn path=/plone.app.discussion/trunk/; revision=34602
2010-03-06 10:04:34 +00:00
Timo Stollenwerk 8da52ce577 update changes.
svn path=/plone.app.discussion/trunk/; revision=34374
2010-02-26 17:01:17 +00:00
Yiorgis Gozadinos 37910f3bdf Added greek i18n
svn path=/plone.app.discussion/trunk/; revision=34319
2010-02-23 08:44:41 +00:00
Hanno Schlichting 9a12f0818a Bump version
svn path=/plone.app.discussion/trunk/; revision=33555
2010-01-28 15:34:39 +00:00
Hanno Schlichting 99c211b6e8 Prepare plone.app.discussion 1.0b3.
svn path=/plone.app.discussion/trunk/; revision=33553
2010-01-28 15:33:50 +00:00