Commit Graph

945 Commits

Author SHA1 Message Date
Timo Stollenwerk a39ac82858 There is no need to set the comment title in the tests, since comments do not have title fields anymore.
svn path=/plone.app.discussion/trunk/; revision=44738
2010-10-31 11:09:32 +00:00
Timo Stollenwerk feec103b56 Fix user email notification test for Plone 3.
svn path=/plone.app.discussion/trunk/; revision=44737
2010-10-31 10:48:45 +00:00
Timo Stollenwerk fa6e380eaf Use secureSend for user email notification on Plone 3
svn path=/plone.app.discussion/trunk/; revision=44736
2010-10-31 10:34:58 +00:00
Timo Stollenwerk c8cd370fc9 Use len(tuple()) instead of tuple() to make tests pass again.
svn path=/plone.app.discussion/trunk/; revision=44706
2010-10-30 19:26:51 +00:00
Timo Stollenwerk 093eaa393a Use tuple() to test for generators. Thanks to otacon!
svn path=/plone.app.discussion/trunk/; revision=42096
2010-10-30 18:58:20 +00:00
Timo Stollenwerk cc96acb50a Ajaxify comment deletion and approval. thanks thomasdesvenain!
svn path=/plone.app.discussion/trunk/; revision=40984
2010-10-30 17:32:31 +00:00
Timo Stollenwerk 18d7aadd0e Upgrade the plone 3.x buildout to work with z3c.form 2.3.3. We need this for the new user email notification feature.
svn path=/plone.app.discussion/trunk/; revision=40963
2010-10-30 16:03:31 +00:00
Timo Stollenwerk 82afd3ef15 New feature: As a logged-in user, I can enable/disable email notification of additional comments on this content object.
svn path=/plone.app.discussion/trunk/; revision=40949
2010-10-30 15:02:05 +00:00
Timo Stollenwerk 5fe339215b Use the jstestdriver coverage plugin.
svn path=/plone.app.discussion/trunk/; revision=40909
2010-10-30 11:24:03 +00:00
Timo Stollenwerk c6f03849df Remove jscoverage from buildout.
svn path=/plone.app.discussion/trunk/; revision=40908
2010-10-30 11:23:45 +00:00
Timo Stollenwerk 380b81bd3e Disable the moderation qunit tests for now because they are currently failing.
svn path=/plone.app.discussion/trunk/; revision=40907
2010-10-30 11:12:04 +00:00
Timo Stollenwerk 820fe7dd4e jstestdriver added to buildout.
svn path=/plone.app.discussion/trunk/; revision=40903
2010-10-30 10:55:45 +00:00
Timo Stollenwerk 0820d3771f Basic js-test-driver configuration added.
svn path=/plone.app.discussion/trunk/; revision=40892
2010-10-30 10:22:21 +00:00
Timo Stollenwerk 81dcdeaea3 Disable the plone.app.registry check on schema elements, so no error is raised on upgrades. This fixes https://dev.plone.org/plone/ticket/11195. Refs #11195
svn path=/plone.app.discussion/trunk/; revision=40868
2010-10-29 10:43:46 +00:00
Timo Stollenwerk 1316cfc83e Fix collective.recipe.sphinxbuilder version pin.
svn path=/plone.app.discussion/trunk/; revision=40863
2010-10-28 17:06:52 +00:00
Timo Stollenwerk f6b7ef1bcb Remove the too generic id attribute of the comment form.
svn path=/plone.app.discussion/trunk/; revision=40858
2010-10-28 10:30:10 +00:00
Timo Stollenwerk 777e687169 Rename the id of the comment form from "form" to "comment-form".
svn path=/plone.app.discussion/trunk/; revision=40857
2010-10-28 09:45:34 +00:00
Timo Stollenwerk 22e4189c37 Revert revisions r40851 to r40853, they should have gone into the ajax-ui branch.
svn path=/plone.app.discussion/trunk/; revision=40856
2010-10-28 09:39:00 +00:00
Timo Stollenwerk 14e2600a79 Make ajax call for delete comment button work for comment replies.
svn path=/plone.app.discussion/trunk/; revision=40853
2010-10-27 16:10:04 +00:00
Timo Stollenwerk 926e4f6b8e Integrate Denys ajax ui code.
svn path=/plone.app.discussion/trunk/; revision=40852
2010-10-27 14:44:52 +00:00
Timo Stollenwerk 79f4481722 Use "#comment-form" as id for the comment form instead of "#form" which is too generic.
svn path=/plone.app.discussion/trunk/; revision=40851
2010-10-27 14:44:06 +00:00
Hanno Schlichting aa8a1ea934 Fixed handling of non-ascii member data, like fullname and email.
svn path=/plone.app.discussion/trunk/; revision=40789
2010-10-22 10:14:07 +00:00
Hanno Schlichting 54bbb08c62 Whitespace removal
svn path=/plone.app.discussion/trunk/; revision=40788
2010-10-22 09:57:55 +00:00
Timo Stollenwerk 11f786bcd6 Use 1.0b10 good-py link
svn path=/plone.app.discussion/trunk/; revision=40659
2010-10-15 15:54:37 +00:00
Timo Stollenwerk 5e6d638885 Back to 1.0b10 for a re-release.
svn path=/plone.app.discussion/trunk/; revision=40658
2010-10-15 15:53:33 +00:00
Timo Stollenwerk 239b38353a Back to development: 1.0b11
svn path=/plone.app.discussion/trunk/; revision=40651
2010-10-15 14:55:12 +00:00
Timo Stollenwerk 13dbd2d7c4 Preparing release 1.0b10
svn path=/plone.app.discussion/trunk/; revision=40649
2010-10-15 14:50:58 +00:00
Timo Stollenwerk 6c67b0dbda Update workflow documentation. we are not there yet.
svn path=/plone.app.discussion/trunk/; revision=40648
2010-10-15 14:49:54 +00:00
Andreas Jung b849e32fad updated
svn path=/plone.app.discussion/trunk/; revision=40587
2010-10-11 09:41:09 +00:00
Andreas Jung 8fc3dda8e6 wrong language-code
svn path=/plone.app.discussion/trunk/; revision=40586
2010-10-11 09:37:28 +00:00
Radim Novotny 18e92f7a85 - Fixed "global name 'WrongCaptchaCode' is not defined" if norobots captcha,
but no other validation package is installed.

svn path=/plone.app.discussion/trunk/; revision=40574
2010-10-09 11:13:28 +00:00
Timo Stollenwerk f7ed357a83 Use 'comment_review_workflow' instead of 'simple_publication_workflow' for testing.
svn path=/plone.app.discussion/trunk/; revision=40571
2010-10-08 11:03:14 +00:00
Timo Stollenwerk 324d2274bd Check for a 'pending' state in the current comment workflow instead of checking for the 'comment_review' workflow. Refs #11184. Merge last three submits in CHANGES.txt.
svn path=/plone.app.discussion/trunk/; revision=40570
2010-10-08 10:37:10 +00:00
Timo Stollenwerk 6e9bb4a9cd Check the review_state to decide if moderation is enabled. If the current comment workflow implements a 'pending' state, moderation is enabled. Refs #11184.
svn path=/plone.app.discussion/trunk/; revision=40569
2010-10-08 10:22:40 +00:00
Timo Stollenwerk 2790e6d4eb Check the review_state instead of the workflow after a comment has been posted to decide if a message is shown to the user. This allows integrators to use custom review workflows. Refs #11184
svn path=/plone.app.discussion/trunk/; revision=40566
2010-10-08 09:53:00 +00:00
Timo Stollenwerk aea10731cd Back to development: 1.0b10
svn path=/plone.app.discussion/trunk/; revision=40544
2010-10-07 07:14:29 +00:00
Timo Stollenwerk 23968e41b4 Preparing release 1.0b9
svn path=/plone.app.discussion/trunk/; revision=40542
2010-10-07 07:12:36 +00:00
Timo Stollenwerk 770b85f3df Prepare sphinx docs for 1.0b9 release.
svn path=/plone.app.discussion/trunk/; revision=40541
2010-10-07 07:11:37 +00:00
Timo Stollenwerk 43d3222086 Run functional tests only with Plone 4 (and plone.testing).
svn path=/plone.app.discussion/trunk/; revision=40537
2010-10-06 15:12:11 +00:00
Timo Stollenwerk 94584429fd Do not use has_key.
svn path=/plone.app.discussion/trunk/; revision=40536
2010-10-06 14:12:30 +00:00
Timo Stollenwerk 43bd68a6df Update changes.
svn path=/plone.app.discussion/trunk/; revision=40535
2010-10-06 13:56:49 +00:00
Timo Stollenwerk 4bbfe677e4 Replace the can_manage method with a can_review method that checks the 'Review comments' permission. This fixes http://dev.plone.org/plone/ticket/11145.
svn path=/plone.app.discussion/trunk/; revision=40534
2010-10-06 13:55:57 +00:00
Timo Stollenwerk 3e73903a8d Remove (old) functional test.
svn path=/plone.app.discussion/trunk/; revision=40533
2010-10-06 13:53:07 +00:00
Timo Stollenwerk 1230e67a01 Functional test for comment_review_workflow added; existing fonctional test renamed to functional_test_comments.txt;
svn path=/plone.app.discussion/trunk/; revision=40532
2010-10-06 13:52:11 +00:00
Timo Stollenwerk 1db321a044 Make pylint happy.
svn path=/plone.app.discussion/trunk/; revision=40527
2010-10-06 09:02:26 +00:00
Timo Stollenwerk f9ca4497bd Obey the 80 chars limit.
svn path=/plone.app.discussion/trunk/; revision=40526
2010-10-06 08:47:24 +00:00
Timo Stollenwerk 94b0c58511 Fix pylint disable-msg statements.
svn path=/plone.app.discussion/trunk/; revision=40521
2010-10-05 15:54:49 +00:00
Timo Stollenwerk fbb042c012 Remove unused import.
svn path=/plone.app.discussion/trunk/; revision=40520
2010-10-05 15:52:19 +00:00
Timo Stollenwerk 773345c40f Make pylint happy.
svn path=/plone.app.discussion/trunk/; revision=40519
2010-10-05 15:47:02 +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