Commit Graph

22 Commits

Author SHA1 Message Date
Timo Stollenwerk
e17cfa68a1 Fix whitespace/Pep8/Pyflakes in tests. 2012-01-09 16:43:54 +01: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
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
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
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
Maurits van Rees
a2a17085a3 Nuke trailing white space
svn path=/plone.app.discussion/trunk/; revision=46366
2010-12-15 23:52:56 +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
435040e0b2 Make pylint happy.
svn path=/plone.app.discussion/trunk/; revision=39287
2010-08-28 17:06:53 +00:00
Timo Stollenwerk
a54a15a90f Remove unnecessary imports and variables from test code.
svn path=/plone.app.discussion/trunk/; revision=37768
2010-07-13 10:45:53 +00:00
Timo Stollenwerk
f0fb6514c7 Moderator email notification added: As a moderator, I am notified when new comments require my attention.
svn path=/plone.app.discussion/branches/notification/; revision=33921
2010-02-11 21:05:28 +00:00
Timo Stollenwerk
dc2e5232f7 fix migration tests. do not use transactions during unit testing.
svn path=/plone.app.discussion/trunk/; revision=32805
2010-01-03 17:36:01 +00:00
Timo Stollenwerk
98204dc84a fix the recursive migrate_replies function, so that it returns True only after all comments on a certain level have been migrated.
svn path=/plone.app.discussion/trunk/; revision=28054
2009-07-13 22:14:30 +00:00
Timo Stollenwerk
377f9ddbfd fix depth in migrated comments and add more complex threaded test case.
svn path=/plone.app.discussion/trunk/; revision=28053
2009-07-13 21:01:38 +00:00
Timo Stollenwerk
8bc0b068ae delete old replies and talkbacks during the migration.
svn path=/plone.app.discussion/trunk/; revision=28052
2009-07-13 20:22:37 +00:00
Timo Stollenwerk
39e0faffc9 remove allow_discussion test, since it is unnecessary.
svn path=/plone.app.discussion/trunk/; revision=28023
2009-07-12 18:19:29 +00:00
Timo Stollenwerk
356db660b0 migrate creation_date and modification_date too.
svn path=/plone.app.discussion/trunk/; revision=28019
2009-07-12 17:55:54 +00:00
Timo Stollenwerk
18ee5159bd function to recursively migrate comments added.
svn path=/plone.app.discussion/trunk/; revision=28016
2009-07-12 16:09:34 +00:00
Timo Stollenwerk
d7eaab75c8 add migration test for comment Creator and nested comments.
svn path=/plone.app.discussion/trunk/; revision=27960
2009-07-12 07:09:07 +00:00
Timo Stollenwerk
88cbd01379 migration view and very simple first test added.
svn path=/plone.app.discussion/trunk/; revision=27894
2009-07-07 16:16:58 +00:00