Commit Graph

971 Commits

Author SHA1 Message Date
tisto
2dc5393ff2 Pep8 2012-01-14 07:35:59 +01:00
tisto
2d4f7fd665 Pep8 2012-01-14 07:30:43 +01:00
tisto
0558a9b739 Pep8 2012-01-14 07:26:01 +01:00
tisto
a3883d7e7b Pep8 2012-01-14 07:13:39 +01:00
tisto
f520482eb3 Pep8 2012-01-14 07:03:29 +01:00
tisto
d5ccd2e2be Pep8 2012-01-14 06:57:25 +01:00
Timo Stollenwerk
cce409a729 Pep8 2012-01-13 14:40:26 +01:00
Timo Stollenwerk
07cde3ca7b Pep8 2012-01-13 10:16:01 +01:00
Timo Stollenwerk
e17cfa68a1 Fix whitespace/Pep8/Pyflakes in tests. 2012-01-09 16:43:54 +01:00
Timo Stollenwerk
1f01a71aac Whitespace. 2012-01-09 16:31:52 +01:00
Timo Stollenwerk
3b1d1b8967 Changelog entry and test to fix #12437 added. 2011-12-21 19:37:40 +01:00
Timo Stollenwerk
5e81422cd1 Rename discussion var to ctool which is more appropriate. 2011-12-21 19:17:58 +01:00
Paul J Stevens
6eb38ace08 fix indexing of comments (#12437) 2011-12-21 15:07:33 +01:00
hvelarde
774efd39d6 updated Spanish translation 2011-12-14 15:35:46 -06:00
Timo Stollenwerk
6a7c89ec78 Do not raise an error if the comment text is None. 2011-11-30 13:05:59 +01:00
Vincent Fretin
02775ac744 fixed typo 2011-11-21 19:27:43 +01:00
Vincent Fretin
9040f25dc1 fixed po headers 2011-11-21 19:17:06 +01:00
Timo Stollenwerk
f68c2caf9f Remove unused PloneTestCase import. 2011-10-30 08:19:30 +01:00
Timo Stollenwerk
b0a177f4d2 Fix various text typos. 2011-10-30 08:11:06 +01:00
Karl Johan Kleist
3b0b8a96ce fixed speling error, closes #12288 2011-10-18 09:56:24 +03:00
Paul J Stevens
1e040a1fd9 update NL translations 2011-09-30 16:41:09 +02:00
Paul J Stevens
21d2115cca add Dutch translations 2011-09-30 16:03:05 +02:00
Jon Stahl
813631dde8 couple of typos in control panel helptext
svn path=/plone.app.discussion/trunk/; revision=51868
2011-08-31 21:11:47 +00:00
Timo Stollenwerk
5911bae362 whitespace.
svn path=/plone.app.discussion/trunk/; revision=51798
2011-08-26 11:13:19 +00:00
Takeshi Yamamoto
0a13f79460 corrected location of Japanese po file.
svn path=/plone.app.discussion/trunk/; revision=51758
2011-08-24 01:14:43 +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
Jian Aijun
dea6b644b6 updated Simplified Chinese translations
svn path=/plone.app.discussion/trunk/; revision=51655
2011-08-19 04:46:50 +00:00
Timo Stollenwerk
3798338549 No need to manually put comments from conversation.getComments in an acquisition chain since getComments now returns acquisition wrapped comments.
svn path=/plone.app.discussion/trunk/; revision=51642
2011-08-18 07:31:00 +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
nobody
d870171b37 updated Simplified Chinese translations
svn path=/plone.app.discussion/trunk/; revision=51590
2011-08-11 06:09:14 +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
Jian Aijun
ca163009cc updated Simplified Chinese translations
svn path=/plone.app.discussion/trunk/; revision=51446
2011-07-26 06:04:48 +00:00
Jian Aijun
3dd76e2bb4 added & updated Simplified Chinese translation
svn path=/plone.app.discussion/trunk/; revision=51444
2011-07-25 15:47:26 +00:00
Timo Stollenwerk
f98b82b2d8 Make sure the catalog index for creator always stores encoded stings and not unicode since all strings in the catalog have to be utf-8 encoded strings.
svn path=/plone.app.discussion/trunk/; revision=51435
2011-07-25 08:12:04 +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
637ac334ac Remove debug print.
svn path=/plone.app.discussion/trunk/; revision=51259
2011-07-15 08:25:34 +00:00
Timo Stollenwerk
160022b146 Another fix for http://dev.plone.org/plone/ticket/11486. r51246 fixed Chrome but broke Safari. This fix has been tested in Fx, Chrome, Safari and IE 9.
svn path=/plone.app.discussion/trunk/; revision=51258
2011-07-15 08:23:08 +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
9cd4058bca Move move_comments test to the right position.
svn path=/plone.app.discussion/trunk/; revision=50947
2011-07-04 07:27:16 +00:00
Timo Stollenwerk
50641ac6cc Remove unnecessary lines from notify_content_object_moved event subscriber function.
svn path=/plone.app.discussion/trunk/; revision=50944
2011-07-04 07:07:42 +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
101e9e2616 Plone 3 specific exclusion of plone.app.uuid removed.
svn path=/plone.app.discussion/trunk/; revision=50935
2011-07-03 18:26: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
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
Jian Aijun
f9f394a1f1 Updated Simplified Chinese translation
svn path=/plone.app.discussion/trunk/; revision=49791
2011-05-19 01:39:35 +00:00
Jian Aijun
dbd872a517 Updated Simplified Chinese translation
svn path=/plone.app.discussion/trunk/; revision=49630
2011-05-15 23:46:21 +00:00
Jian Aijun
5f983ffb4b Updated Simplified Chinese translation
svn path=/plone.app.discussion/trunk/; revision=49602
2011-05-15 01:25:01 +00:00
Jian Aijun
582ad4af19 Add Simplified Chinese translation
svn path=/plone.app.discussion/trunk/; revision=49577
2011-05-14 01:37:59 +00:00
Giorgio Borelli
d9016974fc italian translation review
svn path=/plone.app.discussion/trunk/; revision=49571
2011-05-13 22:21:51 +00:00
Timo Stollenwerk
420af84651 Minor German translation fix.
svn path=/plone.app.discussion/trunk/; revision=49340
2011-05-06 09:18:19 +00:00
Karl Johan Kleist
731e95af7a sv: all strings now translated for Plone 4.1
svn path=/plone.app.discussion/trunk/; revision=49336
2011-05-05 18:08:01 +00:00
Karl Johan Kleist
51466e8192 sv: just a few looong ones remain to translate now
svn path=/plone.app.discussion/trunk/; revision=49326
2011-05-04 17:23:20 +00:00
Karl Johan Kleist
c02450f2ff sv: first version based on "no", several strings remain to translate
svn path=/plone.app.discussion/trunk/; revision=49310
2011-05-03 15:51:02 +00:00
Erico Andrei
9ac35de362 Tests expect a False to be returned from the funcion
svn path=/plone.app.discussion/trunk/; revision=49137
2011-04-27 19:33:00 +00:00
Erico Andrei
1a751b495f Unless Discussion Item has an workflow, moderation is not enabled
svn path=/plone.app.discussion/trunk/; revision=49135
2011-04-27 17:41:07 +00:00
Thomas Desvenain
3a224784b0 typo
svn path=/plone.app.discussion/trunk/; revision=49134
2011-04-27 16:19:39 +00:00
Timo Stollenwerk
46ad92c4a2 German translation updated.
svn path=/plone.app.discussion/trunk/; revision=49048
2011-04-22 17:30:35 +00:00
Timo Stollenwerk
5bbf73978e German translation updated.
svn path=/plone.app.discussion/trunk/; revision=49047
2011-04-22 17:28:41 +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
521ea78ce3 Whitespace.
svn path=/plone.app.discussion/trunk/; revision=49043
2011-04-22 17:04:35 +00:00
Timo Stollenwerk
f551e30849 Replace tabs with whitespace in moderation.js.
svn path=/plone.app.discussion/trunk/; revision=49036
2011-04-22 15:43:58 +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
b84211ddf0 Remove ImportError exceptions for Plone < 4.1 code and plone.z3cform < 0.6.0.
svn path=/plone.app.discussion/trunk/; revision=49033
2011-04-22 14:59:59 +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
49504c1ddd Redirect to the comment itself when notifying a user about a new comment.
svn path=/plone.app.discussion/trunk/; revision=49030
2011-04-22 08:54:35 +00:00
Timo Stollenwerk
93df8aa50b Remove outdated DOCUMENTATION.txt.
svn path=/plone.app.discussion/trunk/; revision=48997
2011-04-21 13:18:00 +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
Takeshi Yamamoto
7803cccf7d added Japanese translation
svn path=/plone.app.discussion/trunk/; revision=48946
2011-04-19 05:34:58 +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
Timo Stollenwerk
f3d97b2f20 Use plone.app.testing in test_moderation_view.
svn path=/plone.app.discussion/trunk/; revision=48915
2011-04-17 08:50:34 +00:00
Timo Stollenwerk
d66328a26a Use plone.app.testing in test_migration.
svn path=/plone.app.discussion/trunk/; revision=48906
2011-04-16 09:51:28 +00:00
Timo Stollenwerk
216e95aa27 Use plone.app.testing in test_indexers.
svn path=/plone.app.discussion/trunk/; revision=48905
2011-04-16 09:35:34 +00:00
Timo Stollenwerk
85126e9109 Use plone.app.testing in test_notifications.
svn path=/plone.app.discussion/trunk/; revision=48904
2011-04-16 09:31:03 +00:00
Timo Stollenwerk
1682c89745 Use plone.app.testing in test_tool.
svn path=/plone.app.discussion/trunk/; revision=48903
2011-04-16 09:30:11 +00:00
Timo Stollenwerk
fc59094cb2 Use plone.app.testing in test_workflow.
svn path=/plone.app.discussion/trunk/; revision=48902
2011-04-16 09:29:15 +00:00
Timo Stollenwerk
41f5afa8b9 Use plone.app.testing in test_conversation.
svn path=/plone.app.discussion/trunk/; revision=48901
2011-04-16 09:27:15 +00:00
Timo Stollenwerk
c4e69627b3 Use plone.app.testing in test_controlpanel.
svn path=/plone.app.discussion/trunk/; revision=48900
2011-04-16 09:26:20 +00:00
Timo Stollenwerk
f8019b0c10 Use plone.app.testing in test_comments_viewlet.
svn path=/plone.app.discussion/trunk/; revision=48899
2011-04-16 09:25:16 +00:00
Timo Stollenwerk
38b70a28e5 Use plone.app.testing in test_comment.
svn path=/plone.app.discussion/trunk/; revision=48898
2011-04-16 09:16:18 +00:00
Timo Stollenwerk
e5d45dbd78 Use plone.app.testing in test_catalog.
svn path=/plone.app.discussion/trunk/; revision=48897
2011-04-16 09:13:39 +00:00
Hanno Schlichting
4110b41ae6 Even simpler code :)
svn path=/plone.app.discussion/trunk/; revision=48886
2011-04-15 16:56:17 +00:00
Hanno Schlichting
b4c5d287dd Style ;)
svn path=/plone.app.discussion/trunk/; revision=48885
2011-04-15 16:47:57 +00:00
Hanno Schlichting
f2e47227f9 Fix old-style exception raising
svn path=/plone.app.discussion/trunk/; revision=48884
2011-04-15 16:44:16 +00:00
Hanno Schlichting
9db8909ea7 Avoid using deprecated test assertions, see http://docs.python.org/dev/library/unittest.html#deprecated-aliases for the full list
svn path=/plone.app.discussion/trunk/; revision=48881
2011-04-15 16:23:38 +00:00
Hanno Schlichting
811d4a0429 Avoid deprecation warnings and always specify a catalog query as a dict
svn path=/plone.app.discussion/trunk/; revision=48880
2011-04-15 16:17:02 +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