Commit Graph

283 Commits

Author SHA1 Message Date
Timo Stollenwerk b1e48b644a Do not use https links in CHANGES.txt. 2011-11-30 16:05:37 +01:00
Timo Stollenwerk 6a7c89ec78 Do not raise an error if the comment text is None. 2011-11-30 13:05:59 +01:00
Timo Stollenwerk ce1c842cd2 Back to development. 2011-11-24 08:50:24 +01:00
Timo Stollenwerk 4a6f2e7807 Prepare 2.1.1 release. 2011-11-24 08:27:18 +01:00
Vincent Fretin 4b25ccca48 Added MANIFEST.in to include mo files in the distribution. (closes #12134) 2011-11-18 19:41:09 +01:00
Timo Stollenwerk b0a177f4d2 Fix various text typos. 2011-10-30 08:11:06 +01:00
Eric Steele 30fcf24dff Fix changelog dates.
svn path=/plone.app.discussion/trunk/; revision=52046
2011-09-16 14:04:52 +00:00
Eric Steele 0c0896f0b2 revert [52042]
svn path=/plone.app.discussion/trunk/; revision=52045
2011-09-16 13:46:02 +00:00
Eric Steele 0153573d4d Preparing release 2.1.1
svn path=/plone.app.discussion/trunk/; revision=52042
2011-09-16 13:30:26 +00:00
Eric Steele c49377392f Back to development: 2.1.1
svn path=/plone.app.discussion/trunk/; revision=51756
2011-08-23 19:40:15 +00:00
Timo Stollenwerk f2a5c52947 Remove one_state_workflow customizations.
svn path=/plone.app.discussion/trunk/; revision=51722
2011-08-22 19:27:42 +00:00
David Glick 2bf5b43df5 uncatalog comments from the old location of the item being moved, not its parent
svn path=/plone.app.discussion/trunk/; revision=51692
2011-08-20 02:37:24 +00:00
David Glick 2b10fd06e2 fix failing test in CMFPlone. some things are contentish but not adaptable to IConversation (such as collection criteria)
svn path=/plone.app.discussion/trunk/; revision=51682
2011-08-19 18:54:44 +00:00
Volodymyr Cherepanyak 6e157df3d3 Ukrainian translation added
svn path=/plone.app.discussion/trunk/; revision=51663
2011-08-19 09:33:15 +00:00
Timo Stollenwerk 5045960281 Make sure the conversation.getComments method returns acquisition wrapped comments.
svn path=/plone.app.discussion/trunk/; revision=51639
2011-08-18 06:39:25 +00:00
Timo Stollenwerk 87700f3810 Markdown syntax added to possible comment text transforms.
svn path=/plone.app.discussion/trunk/; revision=51530
2011-08-05 10:08:39 +00:00
Timo Stollenwerk cdf2beda40 Make sure only comments to the content object are removed from the catalog when the content object is moved.
svn path=/plone.app.discussion/trunk/; revision=51527
2011-08-04 15:53:21 +00:00
Timo Stollenwerk 0e47299c75 Make sure the comment brains are updated properly when the content object is renamed. Thanks hannosch for the code review.
svn path=/plone.app.discussion/trunk/; revision=51526
2011-08-04 14:13:01 +00:00
Timo Stollenwerk 16e13ffb6d Prepare 2.0.9 release.
svn path=/plone.app.discussion/trunk/; revision=51436
2011-07-25 08:20:38 +00:00
Timo Stollenwerk 67fcde6f12 Prepare 2.0.8 release.
svn path=/plone.app.discussion/trunk/; revision=51433
2011-07-25 07:06:44 +00:00
Timo Stollenwerk 1a6b1fdb91 Use Plone's safe_encode method instead of encode() to make sure unicode encoded strings can be indexed too.
svn path=/plone.app.discussion/trunk/; revision=51432
2011-07-25 06:47:45 +00:00
Timo Stollenwerk dbda349768 Automatically reload batch moderation page if no comments are left. This refs #11298.
svn path=/plone.app.discussion/trunk/; revision=51274
2011-07-15 17:29:29 +00:00
Timo Stollenwerk 7225fc78ad Next release will be 2.0.8.
svn path=/plone.app.discussion/trunk/; revision=51273
2011-07-15 17:25:04 +00:00
Timo Stollenwerk a78deecf78 Prepare 2.0.7 release.
svn path=/plone.app.discussion/trunk/; revision=51260
2011-07-15 08:32:36 +00:00
Timo Stollenwerk c2ff87a778 Fix discussion control panel submit. This fixes Refs #11486.
svn path=/plone.app.discussion/trunk/; revision=51246
2011-07-14 07:09:58 +00:00
Timo Stollenwerk 80764e5597 Prepare 2.0.6 release.
svn path=/plone.app.discussion/trunk/; revision=50945
2011-07-04 07:21:15 +00:00
Timo Stollenwerk b7dad192d5 Update comment brains in zcatalog when moving a content object with comments. This fixes http://dev.plone.org/plone/ticket/11331. Refs #11331
svn path=/plone.app.discussion/trunk/; revision=50937
2011-07-03 18:36:02 +00:00
Timo Stollenwerk 7378635115 CHANGES updated.
svn path=/plone.app.discussion/trunk/; revision=50936
2011-07-03 18:26:43 +00:00
Timo Stollenwerk 65de44247f Fix last release date.
svn path=/plone.app.discussion/trunk/; revision=50493
2011-06-16 11:11:41 +00:00
Timo Stollenwerk d51101db5f Prepare 2.0.5 release.
svn path=/plone.app.discussion/trunk/; revision=50490
2011-06-16 11:01:06 +00:00
Timo Stollenwerk 98bcc19d5c Do not render/update the comment form in CommentViewlets if commenting is disabled, since this slows down the page rendering. This fixes http://dev.plone.org/plone/ticket/11930 #11930
svn path=/plone.app.discussion/trunk/; revision=50489
2011-06-16 10:59:25 +00:00
Laurence Rowe 46404c709f Move comments.js registration so it is merged along with other anonymous resources
svn path=/plone.app.discussion/trunk/; revision=50263
2011-06-05 22:30:56 +00:00
Laurence Rowe b653c7a130 Insert css after forms.css to allow merging
svn path=/plone.app.discussion/trunk/; revision=50261
2011-06-05 22:05:22 +00:00
Laurence Rowe b18da3f1ae Simplify CSS and JS registrations. CSS will now be imported using the
standard link and so can be merged.

svn path=/plone.app.discussion/trunk/; revision=50260
2011-06-05 21:52:01 +00:00
WouterVH f149f0f8dd - Enable the left-menu on the configlet, to be more consistent with all other configlets.
Related to https://dev.plone.org/plone/ticket/11737
  [WouterVH]

svn path=/plone.app.discussion/trunk/; revision=50095
2011-05-28 22:02:33 +00:00
Timo Stollenwerk 964c3c0d97 README updated; known issues section added; prepare 2.0.4 release.
svn path=/plone.app.discussion/trunk/; revision=50079
2011-05-28 11:49:47 +00:00
Timo Stollenwerk a7f61eb4d3 Refactor/clean up the handleComment method.
svn path=/plone.app.discussion/trunk/; revision=50069
2011-05-27 13:47:15 +00:00
Timo Stollenwerk 1ea5f0cdb4 Make handleComment method store comment attributes from form extenders. This allows us to extend the comment form with external add-ons.
svn path=/plone.app.discussion/trunk/; revision=50059
2011-05-26 21:37:37 +00:00
Eric Steele 1e66387294 Bump
svn path=/plone.app.discussion/trunk/; revision=49820
2011-05-19 18:11:12 +00:00
Eric Steele 82c0c063f9 Prepare plone.app.discussion 2.0.3.
svn path=/plone.app.discussion/trunk/; revision=49818
2011-05-19 18:09:16 +00:00
Hanno Schlichting fa0e4a4410 vb
svn path=/plone.app.discussion/trunk/; revision=49469
2011-05-12 09:22:10 +00:00
Hanno Schlichting 4c188bba59 Prepare plone.app.discussion 2.0.2.
svn path=/plone.app.discussion/trunk/; revision=49467
2011-05-12 09:18:36 +00:00
Erico Andrei 3a3a2d8e36 Update changelog
svn path=/plone.app.discussion/trunk/; revision=49136
2011-04-27 18:01:33 +00:00
Timo Stollenwerk d00282a437 Translations updated. German translations for notifications added.
svn path=/plone.app.discussion/trunk/; revision=49046
2011-04-22 17:28:00 +00:00
Timo Stollenwerk e75685d5c0 Add links to delete/approve a comment in the moderator notification email.
Remove the unnecessary workflow_action parameter from the PublishComments request.

svn path=/plone.app.discussion/trunk/; revision=49045
2011-04-22 17:09:09 +00:00
Timo Stollenwerk c66e243a86 Make sure the email settings in the control panel are disabled when commenting is disabled globally;
Enable/disable moderator_email setting dynamically as mail settings or discussion settings change.

svn path=/plone.app.discussion/trunk/; revision=49035
2011-04-22 15:41:45 +00:00
Timo Stollenwerk ff3cc181b8 Remove ImportError exceptions for Plone < 4.1 code and plone.z3cform < 0.6.0.
svn path=/plone.app.discussion/trunk/; revision=49034
2011-04-22 15:31:29 +00:00
Timo Stollenwerk 31ecf38129 Provide the comment body text in the email notification.
svn path=/plone.app.discussion/trunk/; revision=49032
2011-04-22 13:34:50 +00:00
Timo Stollenwerk f8c39c1b87 Fix comment link in email notification. This fixes http://dev.plone.org/plone/ticket/11413
svn path=/plone.app.discussion/trunk/; revision=49031
2011-04-22 12:47:29 +00:00
Timo Stollenwerk af53bf41a9 Prepare 2.0 release.
svn path=/plone.app.discussion/trunk/; revision=49003
2011-04-21 13:24:32 +00:00
Timo Stollenwerk 99c159b331 Prepare 2.0b2 release.
svn path=/plone.app.discussion/trunk/; revision=48986
2011-04-21 12:52:29 +00:00
Timo Stollenwerk 84a80743fc Fix language code/name for japanese translation.
svn path=/plone.app.discussion/trunk/; revision=48949
2011-04-19 07:00:18 +00:00
Timo Stollenwerk 80a7b90a30 Move all tests from testing layer to plone.app.testing.
svn path=/plone.app.discussion/trunk/; revision=48916
2011-04-17 08:51:58 +00:00
Ross Patterson 3708429a37 Move some policy out of the conversation storage adapter into a view,
specifically "enabled()".  Prevents having to replace/migrate
persistent objects to change policy which really only concerns the
context and possibly the request, not the conversation storage. Fixes
#11372.

svn path=/plone.app.discussion/trunk/; revision=48849
2011-04-15 04:29:46 +00:00
Ross Patterson 7354ca4298 Fix unindexing of comments when deleting content resulting from
iterating over a BTree while modifying it. Fixes #11402.

svn path=/plone.app.discussion/trunk/; revision=48845
2011-04-14 21:30:32 +00:00
Ross Patterson 6c14d5bf38 Typo. davisagli is a smart ass.
svn path=/plone.app.discussion/trunk/; revision=48839
2011-04-14 20:08:58 +00:00
Ross Patterson cad670d6af Fax Missing.Value for Creator in the catalog. Fixes #11634.
svn path=/plone.app.discussion/trunk/; revision=48838
2011-04-14 19:59:05 +00:00
Ross Patterson 586cd1fdb7 Don't add the annotation unless a comment is actually being added.
Fixes #11370.

svn path=/plone.app.discussion/trunk/; revision=48829
2011-04-14 16:17:29 +00:00
Vincent Fretin ab5c728448 Fixed i18n of the "Commenting has been disabled." message.
svn path=/plone.app.discussion/trunk/; revision=48694
2011-04-10 20:28:21 +00:00
David Glick 6d11fa6d5e merge c48523 from 1.x branch
svn path=/plone.app.discussion/trunk/; revision=48527
2011-04-07 21:31:56 +00:00
Eric Steele 42edf85dc5 Bump.
svn path=/plone.app.discussion/trunk/; revision=48478
2011-04-06 23:08:43 +00:00
Eric Steele 5cc4b813a2 Prepare plone.app.discussion 2.0b1.
svn path=/plone.app.discussion/trunk/; revision=48476
2011-04-06 23:07:10 +00:00
David Glick 203836dc5e make discussion.css cacheable
svn path=/plone.app.discussion/trunk/; revision=48359
2011-04-02 21:27:47 +00:00
David Glick 636bca745c merge r47140, r47290, r47579 from davisagli-features: fix timezone handling when migrating legacy comments and when indexing
svn path=/plone.app.discussion/trunk/; revision=48358
2011-04-02 21:26:36 +00:00
David Glick 9d83b4f0e6 merge -r46947 from davisagli-features: preserve legacy titles on migrated comments
svn path=/plone.app.discussion/trunk/; revision=48357
2011-04-02 21:16:24 +00:00
David Glick eb004aab44 merge r46437 and r46946 from davisagli-features: respect the per-comment mime_type setting, and use the old cooked text/html from legacy comments when migrating
svn path=/plone.app.discussion/trunk/; revision=48356
2011-04-02 19:51:37 +00:00
David Glick bf5946367a merge r46436 from davisagli-features: make it possible to specify a callback filter for the migration
svn path=/plone.app.discussion/trunk/; revision=48354
2011-04-02 19:33:10 +00:00
David Glick ebbf2d9b7b fix deprecation warning
svn path=/plone.app.discussion/trunk/; revision=48234
2011-03-26 02:44:49 +00:00
Thomas Desvenain 9b87f2b246 French translations
svn path=/plone.app.discussion/trunk/; revision=48112
2011-03-17 16:51:08 +00:00
Thomas Desvenain 7c2a815fdb Fixed internationalization issues.
svn path=/plone.app.discussion/trunk/; revision=48110
2011-03-17 16:15:40 +00:00
JC Brand b2f8395dba Updated CHANGES.txt
svn path=/plone.app.discussion/trunk/; revision=47960
2011-03-07 16:10:14 +00:00
Timo Stollenwerk 65aa6d7fa1 fix typo.
svn path=/plone.app.discussion/trunk/; revision=47930
2011-03-05 12:32:14 +00:00
Eric Steele 7c18f40362 Bump.
svn path=/plone.app.discussion/trunk/; revision=47884
2011-03-02 21:20:15 +00:00
Eric Steele 0bb7189e55 Prepare plone.app.discussion 2.0a3.
svn path=/plone.app.discussion/trunk/; revision=47882
2011-03-02 21:19:12 +00:00
Maurits van Rees 81d74cfe6b Fixed test failure for the default user portrait, which changed from
defaultUser.gif to defaultUser.png in Products.PlonePAS 4.0.5.

svn path=/plone.app.discussion/trunk/; revision=47597
2011-02-15 16:19:13 +00:00
Timo Stollenwerk 12ccfcdad9 Prepare 2.0a2 release.
svn path=/plone.app.discussion/trunk/; revision=47312
2011-02-08 09:30:18 +00:00
Timo Stollenwerk bf96d0082f Remove "Plone 3 only" code; Do not monkey patch the BAD_TYPES vocabulary or plone.app.vocabularies anymore.
svn path=/plone.app.discussion/trunk/; revision=47311
2011-02-08 09:28:51 +00:00
Timo Stollenwerk 809946d54a Prepare 2.0a1 release.
svn path=/plone.app.discussion/trunk/; revision=47299
2011-02-07 15:00:46 +00:00
Timo Stollenwerk 0a0e69d47d Do not check for a comment review workflow when sending out a moderator email notification. This fixes http://dev.plone.org/plone/ticket/11444. Refs #11444
svn path=/plone.app.discussion/trunk/; revision=47292
2011-02-07 11:48:24 +00:00
Timo Stollenwerk 0c435dc9ca Check if the current user has configured an e-mail address for the email notification option. Refs #11428
svn path=/plone.app.discussion/trunk/; revision=47069
2011-01-26 08:15:14 +00:00
Timo Stollenwerk 4ab29000a6 Import Owned from OFS.owner to avoid deprecation warnings.
svn path=/plone.app.discussion/trunk/; revision=46977
2011-01-20 20:38:50 +00:00
Timo Stollenwerk 471b87cfdf Discussion is disabled by default only in p.a.discussion 2.x.
svn path=/plone.app.discussion/trunk/; revision=46976
2011-01-20 20:37:14 +00:00
Timo Stollenwerk 9cc32a76a4 Enable ajaxify comment deletion again ([thomasdesvenain]). This has been disabled in 1.0b12 because of problems with Plone 3.
svn path=/plone.app.discussion/trunk/; revision=46970
2011-01-20 19:38:26 +00:00
Timo Stollenwerk c15c898565 Remove collective.autopermission dependency.
svn path=/plone.app.discussion/trunk/; revision=46969
2011-01-20 19:37:54 +00:00
Timo Stollenwerk 75cde25b6f Always show existing comments, even if commenting is disabled.
svn path=/plone.app.discussion/trunk/; revision=46785
2011-01-07 15:27:17 +00:00
Timo Stollenwerk 61e231b336 Fix CSS for commenter images with a width of more than 2.5em. This fixes http://dev.plone.org/plone/ticket/11391. Refs #11391
svn path=/plone.app.discussion/trunk/; revision=46783
2011-01-07 10:27:13 +00:00
Timo Stollenwerk c438743a3b Show a 'Comments are moderated.' message next to the comment form if comments are moderated.
svn path=/plone.app.discussion/trunk/; revision=46782
2011-01-07 10:20:24 +00:00
David Glick b0ca33dcc6 make sure p.a.registry ZCML is loaded
svn path=/plone.app.discussion/trunk/; revision=46432
2010-12-21 19:20:36 +00:00
Maurits van Rees aff8a3709c Avoid sending multiple notification emails to the same person when
he has commented multiple times.

svn path=/plone.app.discussion/trunk/; revision=46365
2010-12-15 23:41:57 +00:00
Timo Stollenwerk a8bfd7fc6e Disable discussion by default.
svn path=/plone.app.discussion/trunk/; revision=46337
2010-12-14 17:58:46 +00:00
Timo Stollenwerk a9ef0503f2 Move discussion action item from actionicons.xml to actions.xml to avoid deprecation warning.
svn path=/plone.app.discussion/trunk/; revision=46264
2010-12-12 12:40:19 +00:00
Timo Stollenwerk 08857df7a9 Fix cancel button on edit view when using Dexterity types. This fixes http://dev.plone.org/plone/ticket/11338. Refs #11338
svn path=/plone.app.discussion/trunk/; revision=46254
2010-12-11 21:33:43 +00:00
Timo Stollenwerk 3968f6291e Assigning the 'Reply to item' permission to the 'Authenticated' role. The old commenting system allowed 'Authenticated' users to post comments. Also, OpenID users do not possess the 'Authenticated' role.
svn path=/plone.app.discussion/trunk/; revision=46231
2010-12-10 08:57:53 +00:00
Timo Stollenwerk 7e279d3ad3 Make sure the handleComment method checks for the 'Reply to item' permission when adding a comment.
svn path=/plone.app.discussion/trunk/; revision=46212
2010-12-09 08:11:41 +00:00
Timo Stollenwerk c8e78449a2 Make the mail-setting warning message show up in the discussion control panel.
svn path=/plone.app.discussion/trunk/; revision=46211
2010-12-09 08:07:15 +00:00
Timo Stollenwerk 797ed40852 Link directly to the "Discussion Item" types control panel in the moderation view.
svn path=/plone.app.discussion/trunk/; revision=46207
2010-12-08 17:45:58 +00:00
Timo Stollenwerk 583b25530e Show "moderate comments" link in the admin panel only if a moderation workflow is enabled for comments.
svn path=/plone.app.discussion/trunk/; revision=46206
2010-12-08 17:45:11 +00:00
Timo Stollenwerk ffde4b423d Do not allow to change the mail settings in the discussion control panel, if there is no valid mail setup. Refactor js code to use class settings of #content.
svn path=/plone.app.discussion/trunk/; revision=46090
2010-12-02 23:02:00 +00:00
Timo Stollenwerk ffcc29a401 Override the default plone.app.registry controlpanel template; JS file for the controlpanel added. Disable all commenting options in the discussion control panel when comments are disabled globally.
svn path=/plone.app.discussion/trunk/; revision=46085
2010-12-02 18:15:47 +00:00
Timo Stollenwerk c311a4f88d Check for the 'review comments' permission instead of 'manage' to decide if the user should see a 'this comment is pending' message.
svn path=/plone.app.discussion/trunk/; revision=46050
2010-12-01 06:34:05 +00:00