Timo Stollenwerk
6e226be248
failing test for Pivotal Tracker issue #2494228 added (comment out test for now).
...
svn path=/plone.app.discussion/trunk/; revision=34915
2010-03-16 11:09:40 +00:00
Timo Stollenwerk
ebc4c408e3
fix tests for conversation.getThreads generator.
...
svn path=/plone.app.discussion/trunk/; revision=34911
2010-03-16 10:52:25 +00:00
Timo Stollenwerk
4ed9d08119
fix the moderator notification for Plone 3.x.
...
svn path=/plone.app.discussion/trunk/; revision=34698
2010-03-11 19:23:53 +00:00
Timo Stollenwerk
ce7e47f07b
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=34697
2010-03-11 19:23:26 +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
d81b95f7c1
more catalog tests added.
...
svn path=/plone.app.discussion/branches/notification/; revision=34476
2010-03-03 19:20:02 +00:00
Timo Stollenwerk
90c44a7c67
test do not notify user when no sender is available.
...
svn path=/plone.app.discussion/branches/notification/; revision=33964
2010-02-13 21:44:26 +00:00
Timo Stollenwerk
be3d347471
user email notification added.
...
svn path=/plone.app.discussion/branches/notification/; revision=33963
2010-02-13 21:31:17 +00:00
Timo Stollenwerk
38fd65f46d
remove whitespace to make coverage-test happy.
...
svn path=/plone.app.discussion/branches/notification/; revision=33929
2010-02-12 10:21:39 +00:00
Timo Stollenwerk
6e46ce7581
test moderator notification enabled setting.
...
svn path=/plone.app.discussion/branches/notification/; revision=33928
2010-02-12 10:11:01 +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
67b5ff566e
fix singlecheckboxwidget for comment form.
...
svn path=/plone.app.discussion/branches/notification/; revision=33873
2010-02-08 18:28:03 +00:00
Timo Stollenwerk
23eeb041aa
comment out CommentForm test.
...
svn path=/plone.app.discussion/trunk/; revision=33845
2010-02-07 11:37:34 +00:00
Timo Stollenwerk
2ffbe75611
collection test added (failing).
...
svn path=/plone.app.discussion/trunk/; revision=33780
2010-02-05 22:40:38 +00:00
Hanno Schlichting
c27d1b5cc1
De-tabbify
...
svn path=/plone.app.discussion/trunk/; revision=33491
2010-01-27 14:54:07 +00:00
Timo Stollenwerk
3c22930ba2
test discussion control panel view.
...
svn path=/plone.app.discussion/trunk/; revision=33314
2010-01-23 09:02:09 +00:00
Timo Stollenwerk
6ca20c7514
Make test coverage happy. 1 second seems to be not enough to create a comment when running the test coverage.
...
svn path=/plone.app.discussion/trunk/; revision=33309
2010-01-23 07:26:19 +00:00
Timo Stollenwerk
1e58aa63b1
fix CommentViewlet has_replies method.
...
svn path=/plone.app.discussion/trunk/; revision=33282
2010-01-22 19:02:41 +00:00
Timo Stollenwerk
0b530a0a75
Ugly hack that works around a "ContentProviderLookupError: plone.htmlhead" error caused by Zope 2 permissions. See https://bugs.launchpad.net/zope2/+bug/176566 for further details. This error occured on Plone 3.3.x only.
...
svn path=/plone.app.discussion/trunk/; revision=33275
2010-01-22 16:28:00 +00:00
Timo Stollenwerk
1a1c903086
Integration test for comments viewlet added.
...
Empty test class for comment form added.
svn path=/plone.app.discussion/trunk/; revision=33271
2010-01-22 12:29:26 +00:00
Timo Stollenwerk
365684f137
test stop iteration for get_replies method.
...
svn path=/plone.app.discussion/trunk/; revision=33218
2010-01-18 12:20:45 +00:00
Timo Stollenwerk
1bfff5255a
more tests for comments viewlet.
...
svn path=/plone.app.discussion/trunk/; revision=33217
2010-01-18 11:38:57 +00:00
Timo Stollenwerk
ca0aecd170
user portal membership tool for is_anonyous method; tests for comments viewlet added.
...
svn path=/plone.app.discussion/trunk/; revision=33216
2010-01-18 11:04:08 +00:00
Timo Stollenwerk
77eaee146e
tests for comments viewlet added (some are still empty).
...
svn path=/plone.app.discussion/trunk/; revision=33215
2010-01-18 09:55:44 +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
adb0390227
use object_provides instead of portal_type to query the catalog for comments. this fixes bug #2010085 ;
...
svn path=/plone.app.discussion/trunk/; revision=32538
2009-12-19 15:03:12 +00:00
Timo Stollenwerk
47cba8797f
filter tabs removed from moderation view;
...
svn path=/plone.app.discussion/trunk/; revision=32355
2009-12-08 11:19:26 +00:00
Timo Stollenwerk
58f8f4bf22
Do not show "publish" bulk action in moderation view when moderation is disabled. Fix story 1105355
...
.
svn path=/plone.app.discussion/trunk/; revision=30678
2009-10-18 13:12:52 +00:00
Timo Stollenwerk
8db9c8c175
Removing hard coded publish action. evilbungle branch merge.
...
svn path=/plone.app.discussion/trunk/; revision=30669
2009-10-17 16:14:44 +00:00
Timo Stollenwerk
7cd9ef2491
Changing browser:view registrations to browser:page since view doesn't actually do anything with the permissions. This fixes the anyone can delete comments problem. evilbungle branch merge.
...
svn path=/plone.app.discussion/trunk/; revision=30665
2009-10-17 13:50:55 +00:00
Timo Stollenwerk
1ea36d7d82
Conversation indexers won't work on old discussion items. Fix tests.
...
svn path=/plone.app.discussion/trunk/; revision=30658
2009-10-17 08:28:50 +00:00
Timo Stollenwerk
e5f1a70de6
Make unit tests pass with Plone 3.3 again. Migration tests still failing.
...
svn path=/plone.app.discussion/trunk/; revision=30633
2009-10-16 12:11:58 +00:00
Hanno Schlichting
71ed707794
Get this running again for the most part under Plone 4.0 - the main trick was probably to use the new CMFCatalogAware class. Removed collective.testcaselayer dependency, as that broke totally. There's some test failures left, but indexing works in general. Maybe the custom indexing event handlers aren't all required anymore. The title_or_id test failure looks like there's an infinite loop in the __parent__ pointers never reaching the actual content object. This change breaks Plone 3.x compatibility for the moment.
...
svn path=/plone.app.discussion/trunk/; revision=30629
2009-10-16 00:42:08 +00:00
Timo Stollenwerk
f4a4b6e370
fix catalog clear-and-rebuild. this finally fixes story 847941.
...
svn path=/plone.app.discussion/trunk/; revision=30610
2009-10-15 10:11:12 +00:00
Timo Stollenwerk
9befc4c651
Monkey patch for clear-and-rebuild catalog added. This fixes story 847941. Nested comments are not reindexed yet.
...
svn path=/plone.app.discussion/trunk/; revision=30574
2009-10-14 14:58:08 +00:00
Timo Stollenwerk
7f7c4b1345
captcha registry entry and vocabulary added.
...
svn path=/plone.app.discussion/trunk/; revision=28679
2009-08-11 09:45:34 +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
dcb3665d36
plone.registry 1.0a2 changed methods to mixedCase (register_interface to registerInterface).
...
svn path=/plone.app.discussion/trunk/; revision=28041
2009-07-13 10:22:45 +00:00
Timo Stollenwerk
b106262e31
plone.registry 1.0a2 changed methods to mixedCase (for_interface to forInterface).
...
svn path=/plone.app.discussion/trunk/; revision=28024
2009-07-12 19:13:42 +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
Timo Stollenwerk
360a758905
fix that enabled method check for FTI information of the current content object and not only for the "Document" portal_type.
...
svn path=/plone.app.discussion/trunk/; revision=27889
2009-07-07 14:48:39 +00:00
Timo Stollenwerk
a946fb54fa
indexes for IComment added to override the IConversation indexes.
...
svn path=/plone.app.discussion/trunk/; revision=27838
2009-07-06 16:56:09 +00:00
Timo Stollenwerk
2031ec67cf
comment out failing clear-and-rebuild catalog test.
...
svn path=/plone.app.discussion/trunk/; revision=27813
2009-07-04 16:14:22 +00:00
Timo Stollenwerk
b014e92f27
remove the available_expr with a workflow name in it.
...
svn path=/plone.app.discussion/trunk/; revision=27811
2009-07-04 13:44:57 +00:00