Timo Stollenwerk
4b3473f74b
Always provide that path param for bulk action view tests.
...
svn path=/plone.app.discussion/trunk/; revision=40004
2010-09-18 17:02:37 +00:00
Timo Stollenwerk
14c0a3a4d1
Remove wrong_bulkaction test.
...
svn path=/plone.app.discussion/trunk/; revision=39946
2010-09-16 15:44:07 +00:00
Timo Stollenwerk
e8a4caa5db
Some more tests for moderation bulk actions.
...
svn path=/plone.app.discussion/trunk/; revision=39945
2010-09-16 15:42:27 +00:00
Timo Stollenwerk
742412a7d8
Test publish bulk actions as well.
...
svn path=/plone.app.discussion/trunk/; revision=39943
2010-09-16 15:12:59 +00:00
Timo Stollenwerk
8d866a0ff6
Tests for moderate comments bulk actions added.
...
svn path=/plone.app.discussion/trunk/; revision=39942
2010-09-16 14:58:11 +00:00
Timo Stollenwerk
087efab54a
Trying to fix the comments viewlet functional tests on Plone 3.x.
...
svn path=/plone.app.discussion/trunk/; revision=39932
2010-09-16 12:41:01 +00:00
Patrick Gerken
697d9af803
Test that correct local time gets displayed.
...
Since we now store the utc time in comments, we display
code must not only format the date correctly, but show the correct
local time.
svn path=/plone.app.discussion/trunk/; revision=39727
2010-09-07 12:03:18 +00:00
Patrick Gerken
a7b1eb7c10
Change all datetime creations from now to utcnow
...
svn path=/plone.app.discussion/trunk/; revision=39726
2010-09-07 12:03:07 +00:00
Patrick Gerken
4e43cfed2e
Adding a test to assert that dates get stored utc
...
and not in local time
svn path=/plone.app.discussion/trunk/; revision=39725
2010-09-07 12:02:55 +00:00
Timo Stollenwerk
68a264c9d9
Use unicode strings for test requests in test_comments_viewlet to make the Plone 3 tests happy.
...
svn path=/plone.app.discussion/trunk/; revision=39680
2010-09-06 10:40:06 +00:00
Timo Stollenwerk
288732d276
Removed unused imports from test_comments_viewlet tests.
...
svn path=/plone.app.discussion/trunk/; revision=39632
2010-09-03 21:57:36 +00:00
Timo Stollenwerk
a4011ce414
Fix the comment view test.
...
svn path=/plone.app.discussion/trunk/; revision=39629
2010-09-03 21:23:44 +00:00
Timo Stollenwerk
ea13020498
Raise an unauthorized error when authenticated users try to post a comment on a content object that has discussion disabled. Thanks to vincentfrentin for reporting this!
...
svn path=/plone.app.discussion/trunk/; revision=39627
2010-09-03 20:40:27 +00:00
Timo Stollenwerk
a410c72333
Complete comments form integration test.
...
svn path=/plone.app.discussion/trunk/; revision=39610
2010-09-02 20:52:33 +00:00
Timo Stollenwerk
81cba38a74
Comment form test added.
...
svn path=/plone.app.discussion/trunk/; revision=39608
2010-09-02 20:00:43 +00:00
Timo Stollenwerk
8d915b6327
Obey the 80 chars limit.
...
svn path=/plone.app.discussion/trunk/; revision=39567
2010-08-31 17:28:07 +00:00
Timo Stollenwerk
23122ded8b
Test if registry has been registered.
...
svn path=/plone.app.discussion/trunk/; revision=39356
2010-08-28 22:58:23 +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
ba8e7ac5cd
Move the functions out of the ready function. this makes the JS tests pass.
...
svn path=/plone.app.discussion/trunk/; revision=39151
2010-08-27 21:26:37 +00:00
Timo Stollenwerk
f4435a563b
Remove unnecessary init test. remove namespaces from method calls.
...
svn path=/plone.app.discussion/trunk/; revision=39145
2010-08-27 20:51:19 +00:00
Timo Stollenwerk
9e405b47a1
qunit files added.
...
svn path=/plone.app.discussion/trunk/; revision=39143
2010-08-27 20:50:18 +00:00
Timo Stollenwerk
d713409aa1
Use a discussion JS namespace for comments.js; JS tests for clearForm and createReplyForm functions added.
...
svn path=/plone.app.discussion/trunk/; revision=39104
2010-08-27 17:11:25 +00:00
Timo Stollenwerk
2c5d387cfc
Rename js directory to javascripts.
...
svn path=/plone.app.discussion/trunk/; revision=39066
2010-08-27 12:07:04 +00:00
Timo Stollenwerk
e310c1d021
Basic JS tests added.
...
svn path=/plone.app.discussion/trunk/; revision=39064
2010-08-27 11:41:39 +00:00
Timo Stollenwerk
a2c89ed5e8
Plain text and intelligent text options for comment text added to preserve basic text structure and to make links clickable.
...
svn path=/plone.app.discussion/trunk/; revision=38931
2010-08-25 14:03:29 +00:00
Timo Stollenwerk
35d7743b7a
Plain text to HTML transformation added for comment text
...
svn path=/plone.app.discussion/trunk/; revision=38898
2010-08-25 09:19:28 +00:00
Vincent Fretin
352a517a0a
Fixed the case where a folder has allow_discussion=False and
...
conversation.enabled() on a document in this folder returned False
instead of True because of allow_discussion acquisition.
svn path=/plone.app.discussion/trunk/; revision=38835
2010-08-20 11:52:05 +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
27d8ced62d
revert r37751.
...
svn path=/plone.app.discussion/trunk/; revision=37753
2010-07-12 13:49:57 +00:00
Timo Stollenwerk
cac0bae7a5
revert r37751.
...
svn path=/plone.app.discussion/trunk/; revision=37752
2010-07-12 13:47:53 +00:00
Timo Stollenwerk
eabf3bc890
Always use zope.component getUtility instead of queryUtility.
...
svn path=/plone.app.discussion/trunk/; revision=37751
2010-07-12 13:34:02 +00:00
Florian Friesdorf
5beebe42fa
hardcoded fti_title, don't query typestool for Type()
...
all tests succeed
svn path=/plone.app.discussion/trunk/; revision=35290
2010-03-18 14:42:52 +00:00
Florian Friesdorf
8150617081
fixed #662654 : As an administrator, I can configure a Collection to show
...
recent comments.
Type now correctly returns FTI type title. A catalog rebuild is
necessary.
svn path=/plone.app.discussion/trunk/; revision=35266
2010-03-18 13:22:16 +00:00
Florian Friesdorf
5e6c7f6fdb
fixed catalog test to fail for current broken Type()
...
svn path=/plone.app.discussion/trunk/; revision=35265
2010-03-18 13:22:06 +00:00
Timo Stollenwerk
f5a171a6e0
add missing DiscussionLayer to TestCommentOperations test.
...
svn path=/plone.app.discussion/trunk/; revision=35129
2010-03-17 15:09:23 +00:00
Timo Stollenwerk
b70774343f
collection test added.
...
svn path=/plone.app.discussion/trunk/; revision=35126
2010-03-17 15:00:19 +00:00
Timo Stollenwerk
52ebbe2e71
Fix #2494228 : Remove comments as well when a content object is deleted.
...
svn path=/plone.app.discussion/trunk/; revision=34965
2010-03-16 15:06:43 +00:00
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