Timo Stollenwerk
d0ee0a956f
german po file updated. [juh]
...
svn path=/plone.app.discussion/trunk/; revision=35246
2010-03-18 10:16:00 +00:00
Florian Friesdorf
73944c09ce
generated .gitignore from svnignore
...
svn path=/plone.app.discussion/trunk/; revision=35167
2010-03-17 16:54:24 +00:00
Timo Stollenwerk
c372cbb4fa
fix language code, name, and domain for German translation.
...
svn path=/plone.app.discussion/trunk/; revision=35162
2010-03-17 16:40:57 +00:00
Timo Stollenwerk
cddeefa70a
fix language code for german plone translation file.
...
svn path=/plone.app.discussion/trunk/; revision=35148
2010-03-17 16:13:39 +00:00
Timo Stollenwerk
c626bab2e5
German translation updated.
...
svn path=/plone.app.discussion/trunk/; revision=35141
2010-03-17 15:47:54 +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
e00453e9d6
Fix #662654 : As an administrator, I can configure a Collection to show recent comments. Rename 'Discussion Item' title from 'Comment' to 'Discussion Item'.
...
svn path=/plone.app.discussion/trunk/; revision=35109
2010-03-17 14:04:34 +00:00
Timo Stollenwerk
37b8e0fe15
Fix #2419342 : Fix untranslated published/deleted status messages. import _ from p.a.d message factory instead of from the standard Plone message factory.
...
svn path=/plone.app.discussion/trunk/; revision=35092
2010-03-17 12:34:38 +00:00
Timo Stollenwerk
5fedf90f18
Remove fixed width of the actions column of the moderation view. The translated button titles can differ in size from the English titles.
...
svn path=/plone.app.discussion/trunk/; revision=35087
2010-03-17 11:00:10 +00:00
Timo Stollenwerk
0776fecfd2
we can't set a widget for the author_notification field because we removed it.
...
svn path=/plone.app.discussion/trunk/; revision=35081
2010-03-17 10:49:26 +00:00
Timo Stollenwerk
e5ee53b644
comment out author_notification field because we postponed this setting.
...
svn path=/plone.app.discussion/trunk/; revision=35080
2010-03-17 10:44:17 +00:00
Timo Stollenwerk
7ef4f384e0
add additional hint to the "globally enabled" setting. respect 80 characters limit.
...
svn path=/plone.app.discussion/trunk/; revision=35079
2010-03-17 10:42:37 +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
eec6bca238
hide the email field again since this does not make sense without user email notification.
...
svn path=/plone.app.discussion/trunk/; revision=34943
2010-03-16 13:24:13 +00:00
Timo Stollenwerk
819b66e149
merge r34694-r34695 from the jarn-1.0b3 branch.
...
Fix unicode error when non-ASCII characters are typed into the name field of a comment by anonymous users.
We are indexing the member.id only now instead of the full member name or what anonymous users typed into the name field.
svn path=/plone.app.discussion/trunk/; revision=34932
2010-03-16 13:06:08 +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
2301565e27
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=34696
2010-03-11 19:23:02 +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
ff0270dac7
hide author_notification field if author notification is disabled. save author notification setting properly when saving the form.
...
svn path=/plone.app.discussion/branches/notification/; revision=34475
2010-03-03 19:17:13 +00:00
Timo Stollenwerk
1920869f8b
Make p.a.d. styles less generic. This fixes #10253 .
...
svn path=/plone.app.discussion/trunk/; revision=34373
2010-02-26 16:56:31 +00:00
Luca Fabbri
05aa7785a9
Update and fixed italian translation
...
svn path=/plone.app.discussion/trunk/; revision=34354
2010-02-26 08:15:24 +00:00
Timo Stollenwerk
fabda285a0
merge Italian translation from the localization branch again. This fixes #2603933 .
...
svn path=/plone.app.discussion/trunk/; revision=34344
2010-02-25 17:33:31 +00:00
Yiorgis Gozadinos
37910f3bdf
Added greek i18n
...
svn path=/plone.app.discussion/trunk/; revision=34319
2010-02-23 08:44:41 +00:00
Timo Stollenwerk
57b41454bb
update CommentsViewlet to follow best practice for showing a z3c.form inside a Viewlet. Override update method instead of init method.
...
svn path=/plone.app.discussion/branches/notification/; revision=34052
2010-02-16 20:25:56 +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
26031cd1f4
notification enabled field added to discussion control panel.
...
svn path=/plone.app.discussion/branches/notification/; revision=33869
2010-02-08 15:02:17 +00:00
Timo Stollenwerk
de3bb53c13
move author notification field to the bottom of the form.
...
svn path=/plone.app.discussion/branches/notification/; revision=33868
2010-02-08 14:47:53 +00:00
Timo Stollenwerk
c4dbf971fb
author_notification field added.
...
svn path=/plone.app.discussion/branches/notification/; revision=33867
2010-02-08 12:02:54 +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
b09c4197aa
revert r33808 (revert r33488 (Register the event subscribers for the correct interfaces in Plone 3.), since this is breaking 13 tests.).
...
svn path=/plone.app.discussion/trunk/; revision=33813
2010-02-06 15:48:23 +00:00
Timo Stollenwerk
fde7f2f828
revert r33488 (Register the event subscribers for the correct interfaces in Plone 3.), since this is breaking 13 tests.
...
svn path=/plone.app.discussion/trunk/; revision=33808
2010-02-06 14:10:56 +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
364a783408
Added an i18n directory for messages in the plone domain and updated scripts to rebuild and sync it.
...
svn path=/plone.app.discussion/trunk/; revision=33549
2010-01-28 15:00:39 +00:00
Hanno Schlichting
405ecc1268
Added an optional conversationCanonicalAdapterFactory showing how to share comments across all translations with LinguaPlone, by storing and retrieving the conversation from the canonical object.
...
svn path=/plone.app.discussion/trunk/; revision=33546
2010-01-28 13:44:56 +00:00
Hanno Schlichting
9c80b99ead
Play by the Plone 3.3+ rules and use the INavigationRoot as a base for the moderation views.
...
svn path=/plone.app.discussion/trunk/; revision=33544
2010-01-28 13:23:58 +00:00
Hanno Schlichting
d937bcc42e
Added a commentTitle CSS class to the comment titles.
...
svn path=/plone.app.discussion/trunk/; revision=33543
2010-01-28 11:48:44 +00:00
Hanno Schlichting
590b343a53
Update message ids to match their real text.
...
svn path=/plone.app.discussion/trunk/; revision=33542
2010-01-28 10:57:36 +00:00
Hanno Schlichting
d894c45343
Forgot one domain setting in the GS profile
...
svn path=/plone.app.discussion/trunk/; revision=33541
2010-01-28 10:49:29 +00:00
Timo Stollenwerk
2179e447ab
Set CSS classes for the comment form in the updateActions method.
...
svn path=/plone.app.discussion/trunk/; revision=33520
2010-01-27 19:20:25 +00:00
Hanno Schlichting
faf339bec5
Optimized the conversation enabled method and avoid overlong lines
...
svn path=/plone.app.discussion/trunk/; revision=33514
2010-01-27 17:11:55 +00:00
Hanno Schlichting
9f4129a65f
Respect the allow_comments field on an object and avoid calculations if no comments should be shown.
...
svn path=/plone.app.discussion/trunk/; revision=33511
2010-01-27 17:00:58 +00:00
Hanno Schlichting
034d0a93ad
Automatically load the ZCML files of the captcha widgets if they are installed.
...
svn path=/plone.app.discussion/trunk/; revision=33498
2010-01-27 16:14:35 +00:00
Hanno Schlichting
29a81f0717
Fixed i18n domain in GenericSetup profiles to be `plone
`. Other values aren't supported for GS profiles.
...
svn path=/plone.app.discussion/trunk/; revision=33492
2010-01-27 14:56:30 +00:00
Hanno Schlichting
c27d1b5cc1
De-tabbify
...
svn path=/plone.app.discussion/trunk/; revision=33491
2010-01-27 14:54:07 +00:00
Hanno Schlichting
ece5e3c302
Provide our own copy of the default one state workflow. Not all Plone sites have this workflow installed.
...
svn path=/plone.app.discussion/trunk/; revision=33490
2010-01-27 14:46:12 +00:00
Hanno Schlichting
efc60b2620
Register the event subscribers for the correct interfaces in Plone 3.
...
svn path=/plone.app.discussion/trunk/; revision=33488
2010-01-27 13:51:44 +00:00
Hanno Schlichting
1b78a1839b
Factored out subscriber declarations into its own ZCML file.
...
svn path=/plone.app.discussion/trunk/; revision=33486
2010-01-27 12:28:47 +00:00
Timo Stollenwerk
f93f419f99
Custom cancel button class added again. Plone 3.x reply-to-comment form still uses this.
...
svn path=/plone.app.discussion/trunk/; revision=33453
2010-01-26 10:27:38 +00:00
Timo Stollenwerk
a7017cedb7
i18n tag added to 'show full comment text'.
...
svn path=/plone.app.discussion/trunk/; revision=33452
2010-01-26 10:18:46 +00:00
Timo Stollenwerk
b0c8b38199
fix comment actions column in Plone 3.x.
...
svn path=/plone.app.discussion/trunk/; revision=33451
2010-01-26 10:08:44 +00:00
Timo Stollenwerk
c0a480a695
complete german translation.
...
svn path=/plone.app.discussion/trunk/; revision=33450
2010-01-26 09:27:48 +00:00
Timo Stollenwerk
4fa3f476d4
allow to show the full text of a comment in the moderation view.
...
svn path=/plone.app.discussion/trunk/; revision=33400
2010-01-25 11:43:29 +00:00
Timo Stollenwerk
489afd8636
Bugfix #2281226 : Moderation View: Comments disappear when hitting the 'Apply' button without choosing a bulk action.
...
svn path=/plone.app.discussion/trunk/; revision=33399
2010-01-25 10:51:27 +00:00
Timo Stollenwerk
9b29be8473
more German translations added.
...
svn path=/plone.app.discussion/trunk/; revision=33398
2010-01-25 09:10:25 +00:00
Timo Stollenwerk
c001b335b9
make i18ndude shut up about errors.
...
svn path=/plone.app.discussion/trunk/; revision=33388
2010-01-24 21:19:18 +00:00
Timo Stollenwerk
c96cafca18
merge r33351-r33355 from localization-enabled branch with current trunk.
...
svn path=/plone.app.discussion/trunk/; revision=33384
2010-01-24 19:46:14 +00:00
Timo Stollenwerk
440405c47b
update translation script added.
...
svn path=/plone.app.discussion/trunk/; revision=33383
2010-01-24 19:39:47 +00:00
Timo Stollenwerk
1998c2d5a0
enable locales directory.
...
svn path=/plone.app.discussion/trunk/; revision=33382
2010-01-24 19:39:23 +00:00
Luca Fabbri
e7bec36665
Fixes to po and pot head infos
...
svn path=/plone.app.discussion/branches/localization-enabled/; revision=33355
2010-01-24 14:11:50 +00:00
Luca Fabbri
677490a445
Final fixes: now also the "Comment" button is translated
...
svn path=/plone.app.discussion/branches/localization-enabled/; revision=33354
2010-01-24 14:00:51 +00:00
Luca Fabbri
a6a1904d3e
Commiting working translation.
...
Some light fixes was needed also to the code.
svn path=/plone.app.discussion/branches/localization-enabled/; revision=33353
2010-01-24 13:47:39 +00:00
Luca Fabbri
569cd0f33b
Added the locales support.
...
Also refactored interfaces string to cleanup the default i18n messages default.
svn path=/plone.app.discussion/branches/localization-enabled/; revision=33352
2010-01-24 11:25:22 +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
0c1d32d7c6
comment out locales directory for now, since it is unused.
...
svn path=/plone.app.discussion/trunk/; revision=33288
2010-01-22 19:43:10 +00:00
Timo Stollenwerk
b31843f79a
Fix globally enabled description.
...
svn path=/plone.app.discussion/trunk/; revision=33286
2010-01-22 19:21:30 +00:00
Timo Stollenwerk
ac3ade24f6
Redo the controlpanel UI.
...
svn path=/plone.app.discussion/trunk/; revision=33284
2010-01-22 19:17:46 +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
b1e4b2254c
Fix 1513398: Show "anonymous" when name field is empty in comment form.
...
svn path=/plone.app.discussion/trunk/; revision=33281
2010-01-22 18:35:32 +00:00
Timo Stollenwerk
649e41fcd5
Undo r33270. Make IDiscussionLayer inherit from IDefaultPloneLayer for now, to fix the comment Viewlet in Plone 4.0a3. This can be removed again as soon as Plone 4.0b1 is out. Thanks davisagli!
...
svn path=/plone.app.discussion/trunk/; revision=33278
2010-01-22 17:54:30 +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
5ff91da15d
rename plone.comments Viewlet to plone.app.discussion.comments and hide the standard plone.comments Viewlet. This is necessary because overriding plone.comments is not working anymore in Plone 4.0a3. This should be fixed properly in the future.
...
svn path=/plone.app.discussion/trunk/; revision=33270
2010-01-22 12:08:30 +00:00
Timo Stollenwerk
7dda99a62a
remove outstanding questions.
...
svn path=/plone.app.discussion/trunk/; revision=33235
2010-01-19 09:37:40 +00:00
Timo Stollenwerk
548c1debee
remove unnecessary cancel button class.
...
svn path=/plone.app.discussion/trunk/; revision=33234
2010-01-19 08:26:41 +00:00
Timo Stollenwerk
3ceb9e1e4f
use widget.addClass instead of overwriting an entire class for setting a CSS class.
...
svn path=/plone.app.discussion/trunk/; revision=33222
2010-01-18 19:47:46 +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
d1bd1469c8
move comment view from browser/comments.py to browser/comment.py.
...
svn path=/plone.app.discussion/trunk/; revision=33214
2010-01-18 09:54:27 +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
e0cc673683
count old comments only during migration. show error log when comments could not be migrated.
...
svn path=/plone.app.discussion/trunk/; revision=32767
2010-01-02 19:45:05 +00:00
Timo Stollenwerk
275cb885ea
dry_run and abort migration added to migration view.
...
svn path=/plone.app.discussion/trunk/; revision=32588
2009-12-21 23:36:35 +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
2e004456f5
Bugfix for #2010078 : Comments that await moderation are visually distinguished from published comments.
...
svn path=/plone.app.discussion/trunk/; revision=32537
2009-12-19 14:04:49 +00:00
Timo Stollenwerk
0fa11f9af9
remove unnecessary link in comment title.
...
svn path=/plone.app.discussion/trunk/; revision=32536
2009-12-19 13:39:28 +00:00
Timo Stollenwerk
5f9e443b9c
fix bug #2010181 : The name of a commenter who commented while not logged in should not appear as a link.
...
svn path=/plone.app.discussion/trunk/; revision=32535
2009-12-19 13:35:49 +00:00
Timo Stollenwerk
2bb8f514e8
fix unbound prefix error.
...
svn path=/plone.app.discussion/trunk/; revision=32436
2009-12-15 07:15:57 +00:00
Timo Stollenwerk
c873b76a9b
locales directory added.
...
svn path=/plone.app.discussion/trunk/; revision=32431
2009-12-14 12:45:45 +00:00
Timo Stollenwerk
8c5342e8e3
Plone 4 compliant icon_expression added.
...
svn path=/plone.app.discussion/trunk/; revision=32359
2009-12-08 15:40:25 +00:00
Timo Stollenwerk
8e493363c4
rename remove button to delete.
...
svn path=/plone.app.discussion/trunk/; revision=32358
2009-12-08 15:37:52 +00:00
Timo Stollenwerk
42f8da327b
fix styles for action column in moderation view.
...
svn path=/plone.app.discussion/trunk/; revision=32357
2009-12-08 15:29:37 +00:00
Timo Stollenwerk
6ddfbff8df
fix even/odd styles for Plone 4.
...
svn path=/plone.app.discussion/trunk/; revision=32356
2009-12-08 11:53:10 +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
a672c1ed11
Plone 4 styles added.
...
svn path=/plone.app.discussion/trunk/; revision=32349
2009-12-07 19:39:23 +00:00
Timo Stollenwerk
ff9e2205c9
fix ajax call for workflow_action publish in moderation view.
...
svn path=/plone.app.discussion/trunk/; revision=32342
2009-12-07 16:11:49 +00:00
Timo Stollenwerk
34b37cab2d
fix toLocalizedTime for Plone 4 compatibility.
...
svn path=/plone.app.discussion/trunk/; revision=32340
2009-12-07 15:45:39 +00:00
Timo Stollenwerk
9713bda830
fix float issue for discussion div as well.
...
svn path=/plone.app.discussion/trunk/; revision=32339
2009-12-07 15:41:17 +00:00
Timo Stollenwerk
a741095b14
Clear "float: left" from "manage portlets" div above the comment viewlet. This will get fixed in the next Plone 4 release. A bug report has been added to the tracker: https://dev.plone.org/plone/ticket/9903
...
svn path=/plone.app.discussion/trunk/; revision=32338
2009-12-07 15:39:49 +00:00
Timo Stollenwerk
dd6fdd34fb
fix typo.
...
svn path=/plone.app.discussion/trunk/; revision=31925
2009-11-19 21:42:02 +00:00
Timo Stollenwerk
6999e6f8d0
Replace yes/no widgets with single checkboxes.
...
svn path=/plone.app.discussion/trunk/; revision=31923
2009-11-19 21:40:08 +00:00
Timo Stollenwerk
ae2767daec
fix redirect after a comment has been posted.
...
svn path=/plone.app.discussion/trunk/; revision=31000
2009-11-01 09:24:27 +00:00
Timo Stollenwerk
94adf62566
do not show moderation message when user has manage rights.
...
svn path=/plone.app.discussion/trunk/; revision=30997
2009-10-31 16:42:04 +00:00
Timo Stollenwerk
7550e95d5c
fix redirection after a comment has been added.
...
svn path=/plone.app.discussion/trunk/; revision=30986
2009-10-31 12:33:59 +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
3e75eedca8
KNOWN_ISSUES.txt removed.
...
svn path=/plone.app.discussion/trunk/; revision=30671
2009-10-17 16:34:58 +00:00
Timo Stollenwerk
c9a5070681
Adding Persistent to subclasses of comment - this fixes five.intid choking on Comments in the catalog on reinstall. evilbungle branch merge.
...
svn path=/plone.app.discussion/trunk/; revision=30670
2009-10-17 16:29:45 +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
7ef2672e5c
Making captcha validator only adapt for the appropriate browser layer. This fixes the captcha error issue when p.a.d is in a deployment but not installed yet. evilbungle branch merge.
...
svn path=/plone.app.discussion/trunk/; revision=30667
2009-10-17 14:13:27 +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
78d547daa6
Replacing infinite-recursion happy traverse_parent_folders method with one based on aq_chain; evilbungle branch merge.
...
svn path=/plone.app.discussion/trunk/; revision=30660
2009-10-17 09:33:58 +00:00
Timo Stollenwerk
60b6196736
Show info message after adding a comment when moderation is enabled.
...
svn path=/plone.app.discussion/trunk/; revision=30659
2009-10-17 09:17:13 +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
6e8f812eee
Duh, I wanted the new CatalogAware without the OpaqueItemManager base, not the old CMFCatalogAware
...
svn path=/plone.app.discussion/trunk/; revision=30630
2009-10-16 00:51: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
c19feeab6e
remove clear-and-rebuild catalog from known issues and todo.
...
svn path=/plone.app.discussion/trunk/; revision=30612
2009-10-15 10:45:35 +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
83b631413a
revert r30055, since p.a.d. will not become part of Plone 4.
...
svn path=/plone.app.discussion/trunk/; revision=30462
2009-10-12 18:46:03 +00:00
Timo Stollenwerk
b09d42e505
fix has_replies function when get_replies returns None.
...
svn path=/plone.app.discussion/trunk/; revision=30256
2009-10-07 20:50:01 +00:00
Timo Stollenwerk
f0cbc787ab
has_replies function added to get only published comments for anon users. elro review fix. refs #9288
...
svn path=/plone.app.discussion/trunk/; revision=30252
2009-10-07 20:07:55 +00:00
Timo Stollenwerk
6daa8824fb
Hide the editable-object border in moderation view. elro review fix. refs #9288
...
svn path=/plone.app.discussion/trunk/; revision=30244
2009-10-07 11:52:44 +00:00
Timo Stollenwerk
f9115d6f87
"comment objects are not indexed with Plone 4" added to known issues.
...
svn path=/plone.app.discussion/trunk/; revision=30087
2009-09-30 21:10:36 +00:00
Timo Stollenwerk
9adff9e869
comment out monkey patch of plone.app.vocabularies for now.
...
svn path=/plone.app.discussion/trunk/; revision=30055
2009-09-30 11:21:15 +00:00
Timo Stollenwerk
aae633cb26
update TODO.txt.
...
svn path=/plone.app.discussion/trunk/; revision=29626
2009-09-09 15:17:47 +00:00
Timo Stollenwerk
5a8e1eed93
Fix "insufficient privileges" bug reported by elro.
...
svn path=/plone.app.discussion/trunk/; revision=29624
2009-09-09 14:48:19 +00:00
Timo Stollenwerk
a6cc6c6fcb
fix story 1109910. Tabs in moderation view have a margin.
...
svn path=/plone.app.discussion/trunk/; revision=29461
2009-08-29 16:23:54 +00:00
Timo Stollenwerk
9aaf24e247
Fix story 1140047. Comment text wraps around commenter image.
...
svn path=/plone.app.discussion/trunk/; revision=29457
2009-08-28 21:21:54 +00:00
Timo Stollenwerk
a69f2baf01
remove unnecessary discussion-check utility code.
...
svn path=/plone.app.discussion/trunk/; revision=29436
2009-08-28 13:34:45 +00:00
Timo Stollenwerk
96e2899955
hide the email field for now. we keep the field for integrators or later use.
...
svn path=/plone.app.discussion/trunk/; revision=29435
2009-08-28 13:12:14 +00:00
Timo Stollenwerk
48ab88a8b4
code cleanup;
...
reply to comment button and handler removed;
reply-to-comment is now handled by the comment handler as well;
this also solves story 1173673;
svn path=/plone.app.discussion/trunk/; revision=29434
2009-08-28 13:03:16 +00:00
Timo Stollenwerk
1747a3655b
fix recaptcha reply-to-comment form bug.
...
svn path=/plone.app.discussion/trunk/; revision=29433
2009-08-28 12:03:34 +00:00
Timo Stollenwerk
f7f10a5572
fix that conversation.enabled wasn't called. evilbungle fix.
...
svn path=/plone.app.discussion/trunk/; revision=29432
2009-08-28 11:39:02 +00:00
Timo Stollenwerk
1c3aa5e9b5
call WrongReCaptchaCode validator for recaptcha.
...
svn path=/plone.app.discussion/trunk/; revision=29428
2009-08-28 08:32:20 +00:00
Timo Stollenwerk
5cf3510dd9
import (re)captcha message factory for (re)captcha validation error. this fixes the strange type error.
...
svn path=/plone.app.discussion/trunk/; revision=29427
2009-08-28 08:28:58 +00:00
Timo Stollenwerk
72ac358c4c
fix reply-to-comment form buttons.
...
svn path=/plone.app.discussion/trunk/; revision=29405
2009-08-26 22:31:23 +00:00
Timo Stollenwerk
8e406ccf2d
remove "display: inline" CSS from reply-button; show reply-button only when JS is enabled.
...
svn path=/plone.app.discussion/trunk/; revision=29404
2009-08-26 21:55:27 +00:00
Timo Stollenwerk
defb4b91c4
hide reply and cancel button with css when JS is disabled.
...
svn path=/plone.app.discussion/trunk/; revision=29403
2009-08-26 21:53:34 +00:00
Timo Stollenwerk
d2ceb44a0c
fixed IE errors. merge r29394 from evilbungle-safe-html branch.
...
svn path=/plone.app.discussion/trunk/; revision=29398
2009-08-26 15:05:58 +00:00
Timo Stollenwerk
9d5453b1da
Modifying permissions so reviewers can moderate/remove comments. evilbungle branch r29364.
...
svn path=/plone.app.discussion/trunk/; revision=29384
2009-08-26 08:59:50 +00:00
Timo Stollenwerk
8b9a3e63c9
replace data.has_key() with "key in data".
...
svn path=/plone.app.discussion/trunk/; revision=29342
2009-08-24 18:09:32 +00:00
Timo Stollenwerk
c83d826c46
Making captcha validator only adapt for the appropriate browser layer. This fixes the captcha error issue when p.a.d is in a deployment but not installed yet.
...
Merge from r29239 from evilbungle-safe-html branch.
svn path=/plone.app.discussion/trunk/; revision=29248
2009-08-21 21:15:13 +00:00
Timo Stollenwerk
9c3bdb3a72
Stopping comments being rendered as structure;
...
Merge r29173 from evilbungle-safe-html branch.
svn path=/plone.app.discussion/trunk/; revision=29246
2009-08-21 20:52:12 +00:00
Timo Stollenwerk
8c9a8b9f93
remove limit on zcatalog query for comments.
...
svn path=/plone.app.discussion/trunk/; revision=29244
2009-08-21 19:53:04 +00:00
Carsten Senger
241c17df72
move the access of reply/Creator into a nested tag. tal:defines are
...
evaluated before tal:condition so we may have no permission to access
Creator.
svn path=/plone.app.discussion/trunk/; revision=29207
2009-08-20 02:21:23 +00:00
Carsten Senger
c145378f34
Allways use an accessor method on the comment, never access the
...
attribute directly as the attribute is not acquisition wrapped
and a permission check for the required permission will fail
svn path=/plone.app.discussion/trunk/; revision=29205
2009-08-20 02:17:02 +00:00
Carsten Senger
984a1fed7d
Zope 2.12 compatibility: ViewPageTemplate's id property is read only
...
svn path=/plone.app.discussion/trunk/; revision=29203
2009-08-20 02:11:57 +00:00
Carsten Senger
06b332a801
Compatibility with Zope 2.12: don't wrap the ViewPageTemplate into an acquisition wrapper.
...
svn path=/plone.app.discussion/trunk/; revision=29201
2009-08-20 02:09:53 +00:00
Carsten Senger
e946ef7979
Add an accessor method for title. As title is part of the interface
...
IComment for which we <require> zope2.View a permission check will raise
Unauthorized cause we can not assure that the user's userfolder is in
the acqusition chain of the object (the attribute is a bare unicode object).
It works for methods. im_self is used to get the acquisition wrapped
object.
svn path=/plone.app.discussion/trunk/; revision=29199
2009-08-20 02:06:15 +00:00
Carsten Senger
4da4ab3599
import Event interfaces from where they are defined (also works in Zope 2.12)
...
svn path=/plone.app.discussion/trunk/; revision=29187
2009-08-19 22:16:06 +00:00
Timo Stollenwerk
775fc1572a
Plone CSS classes added to buttons.
...
svn path=/plone.app.discussion/trunk/; revision=29108
2009-08-17 21:46:44 +00:00
Timo Stollenwerk
962e4dd0d3
autoresize css class added to comment-textarea.
...
svn path=/plone.app.discussion/trunk/; revision=29104
2009-08-17 20:31:37 +00:00
Timo Stollenwerk
ed4c6c411c
Simplify comment form labels as suggested by jon.
...
svn path=/plone.app.discussion/trunk/; revision=28979
2009-08-16 08:38:42 +00:00
Timo Stollenwerk
09a88ff9fb
todo update.
...
svn path=/plone.app.discussion/trunk/; revision=28947
2009-08-15 20:10:17 +00:00
Timo Stollenwerk
d889f2ed9a
documentation update.
...
svn path=/plone.app.discussion/trunk/; revision=28946
2009-08-15 20:09:27 +00:00
Timo Stollenwerk
4a78ce44e0
fix captcha import; unit tests pass without p.f.captcha installed.
...
svn path=/plone.app.discussion/trunk/; revision=28942
2009-08-15 19:44:39 +00:00
Timo Stollenwerk
50de2b4031
fix discussion control panel description.
...
svn path=/plone.app.discussion/trunk/; revision=28939
2009-08-15 17:49:50 +00:00
Timo Stollenwerk
987805c927
fix inline validation for reply-to-comment form.
...
svn path=/plone.app.discussion/trunk/; revision=28923
2009-08-15 16:36:49 +00:00
Timo Stollenwerk
dbff6b4f67
add captcha check for reply-to-comment form.
...
svn path=/plone.app.discussion/trunk/; revision=28922
2009-08-15 16:36:35 +00:00
Timo Stollenwerk
bbf7cb5685
show captcha validation only for anonymous users.
...
svn path=/plone.app.discussion/trunk/; revision=28902
2009-08-15 11:35:54 +00:00
Timo Stollenwerk
2567483281
CaptchaValidator for captcha/recaptcha/no captcha added. This is necessary because the zcml registration of the CaptchaValidator has to work with all three options.
...
svn path=/plone.app.discussion/trunk/; revision=28894
2009-08-15 10:21:26 +00:00
Timo Stollenwerk
ead8813188
simplify (re)captcha test.
...
svn path=/plone.app.discussion/trunk/; revision=28893
2009-08-15 10:18:10 +00:00
Timo Stollenwerk
4ef604f43f
make captcha field not required. otherwise recaptcha is not working.
...
svn path=/plone.app.discussion/trunk/; revision=28892
2009-08-15 10:17:34 +00:00
Timo Stollenwerk
cdfbdb3d7d
remove debug line.
...
svn path=/plone.app.discussion/trunk/; revision=28819
2009-08-14 09:02:42 +00:00
Timo Stollenwerk
dff06b8c8c
show post-comment form when user is logged in or user is not logged in and anonymous comments are allowed.
...
svn path=/plone.app.discussion/trunk/; revision=28817
2009-08-14 09:02:00 +00:00
Timo Stollenwerk
2a1ae7dc62
do not make a captcha check when captcha is disabled; this fixes the non-captcha comment form.
...
svn path=/plone.app.discussion/trunk/; revision=28790
2009-08-13 19:21:52 +00:00
Timo Stollenwerk
ce30a1b594
remove SimpleFieldValidator import fallback, because it breaks the CaptchaValidator.
...
svn path=/plone.app.discussion/trunk/; revision=28789
2009-08-13 18:53:27 +00:00
Timo Stollenwerk
c3a0631813
add hint for enabling comment moderation workflow.
...
svn path=/plone.app.discussion/trunk/; revision=28760
2009-08-13 13:52:50 +00:00
Timo Stollenwerk
f4f0e29e96
fix errors that are thrown when plone.formwidget.captcha is not installed.
...
svn path=/plone.app.discussion/trunk/; revision=28755
2009-08-13 10:01:40 +00:00
Timo Stollenwerk
e1b068dbbc
captcha validator added.
...
svn path=/plone.app.discussion/trunk/; revision=28746
2009-08-12 20:45:47 +00:00
Timo Stollenwerk
0ba3bda065
unnecessary AttributeAnnotations removed.
...
imports for captcha/recaptcha added.
svn path=/plone.app.discussion/trunk/; revision=28745
2009-08-12 19:20:18 +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
5500c8d42e
remove old files.
...
svn path=/plone.app.discussion/trunk/; revision=28677
2009-08-11 09:39:17 +00:00
Timo Stollenwerk
ffcd7d7a31
adapt CaptchaExtender to CommentForm only.
...
svn path=/plone.app.discussion/trunk/; revision=28642
2009-08-10 16:38:41 +00:00
Timo Stollenwerk
ef8e34adbb
Add dead-simple captcha to show the z3c-form-extender works.
...
svn path=/plone.app.discussion/trunk/; revision=28371
2009-08-05 09:01:58 +00:00
Timo Stollenwerk
8e9c75a6fc
Set fields as class attribute to make captcha formextender work again. This is kind of ugly, the fields should be enirely omitted and not only hidden.
...
svn path=/plone.app.discussion/trunk/; revision=28370
2009-08-05 09:01:14 +00:00
Timo Stollenwerk
eadbb55a87
fix commenting for anonymous users.
...
svn path=/plone.app.discussion/trunk/; revision=28363
2009-08-04 20:47:25 +00:00
Timo Stollenwerk
355f50388c
reorder comment form fields.
...
svn path=/plone.app.discussion/trunk/; revision=28362
2009-08-04 20:47:06 +00:00
Timo Stollenwerk
2e2528aa76
clean up the imports.
...
svn path=/plone.app.discussion/trunk/; revision=28360
2009-08-04 19:36:33 +00:00
Timo Stollenwerk
ae0b9486b7
remove unnecessary wrap_form.
...
svn path=/plone.app.discussion/trunk/; revision=28358
2009-08-04 19:30:12 +00:00
Timo Stollenwerk
c0d7f326b2
remove "implements(IViewlet)" since the base class takes care of it.
...
svn path=/plone.app.discussion/trunk/; revision=28357
2009-08-04 19:25:40 +00:00
Timo Stollenwerk
01f44e3147
add cancel button.
...
make strings translatable.
svn path=/plone.app.discussion/trunk/; revision=28356
2009-08-04 19:24:47 +00:00
Timo Stollenwerk
6014a65daa
replace CommentFactory() with createObject().
...
svn path=/plone.app.discussion/trunk/; revision=28355
2009-08-04 18:42:17 +00:00
Timo Stollenwerk
a63f518bcb
fix the cancel button for the comment reply form.
...
svn path=/plone.app.discussion/trunk/; revision=28354
2009-08-04 18:39:10 +00:00
Timo Stollenwerk
12ee7d6a5a
show/hide the comment/reply button inside the comment/reply-to-comment forms.
...
svn path=/plone.app.discussion/trunk/; revision=28352
2009-08-04 15:19:20 +00:00
Timo Stollenwerk
c516d6ba55
hide the in_reply_to field inside the comment form.
...
svn path=/plone.app.discussion/trunk/; revision=28351
2009-08-04 15:12:15 +00:00
Timo Stollenwerk
ddd8596dbd
move reply to comment view to z3cform.
...
svn path=/plone.app.discussion/trunk/; revision=28349
2009-08-04 14:51:34 +00:00
Timo Stollenwerk
a5c8fe33ed
redirect after adding a comment.
...
remove unnecessary Comment class.
svn path=/plone.app.discussion/trunk/; revision=28348
2009-08-04 12:55:46 +00:00
Timo Stollenwerk
4876a5fb59
move addComment view to z3cform.
...
svn path=/plone.app.discussion/trunk/; revision=28346
2009-08-04 11:56:52 +00:00
Timo Stollenwerk
878f45029b
fix attribute error when submitting the comment form.
...
omit form fields for comment form the right way.
svn path=/plone.app.discussion/trunk/; revision=28345
2009-08-04 11:35:05 +00:00
Timo Stollenwerk
2e2f6fc690
set form fields manually.
...
svn path=/plone.app.discussion/trunk/; revision=28325
2009-08-02 17:32:41 +00:00
Timo Stollenwerk
424d1c79ed
z3c.form form added to commentsviewlet (not fully functional yet).
...
svn path=/plone.app.discussion/trunk/; revision=28300
2009-08-01 21:47:50 +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
546b78c07b
remove browser/images directory.
...
svn path=/plone.app.discussion/trunk/; revision=27875
2009-07-07 09:22:55 +00:00
Timo Stollenwerk
e4e0f9de20
move README from plone/app/discussion to root dir.
...
svn path=/plone.app.discussion/trunk/; revision=27873
2009-07-07 08:56:34 +00:00
Timo Stollenwerk
55f3112a26
history and readme updated for first alpha release.
...
svn path=/plone.app.discussion/trunk/; revision=27871
2009-07-07 08:49:00 +00:00
Timo Stollenwerk
134459cac7
todo list update.
...
svn path=/plone.app.discussion/trunk/; revision=27870
2009-07-07 08:37:49 +00:00
Timo Stollenwerk
8dbc7c0bc5
add padding to moderate comments fieldset.
...
svn path=/plone.app.discussion/trunk/; revision=27867
2009-07-07 08:21:36 +00:00
Timo Stollenwerk
97205fbbf8
show message when there are no comments to moderate.
...
svn path=/plone.app.discussion/trunk/; revision=27866
2009-07-07 08:08:59 +00:00
Timo Stollenwerk
bed1b420ba
fix publish comment. remove ajax functions for now.
...
svn path=/plone.app.discussion/trunk/; revision=27864
2009-07-07 08:00:41 +00:00
Timo Stollenwerk
54f6c09c7b
rename reply_to_comment_form.js to comments.js.
...
svn path=/plone.app.discussion/trunk/; revision=27840
2009-07-06 17:38:18 +00:00
Timo Stollenwerk
a608c58c4c
use "@@moderate-publish-comment" instead of "content_status_modify" for publishing comments. content_status_modify does not reindex the comment properly.
...
svn path=/plone.app.discussion/trunk/; revision=27839
2009-07-06 17:30:19 +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
fa2f961ebe
known issues file added.
...
svn path=/plone.app.discussion/trunk/; revision=27834
2009-07-06 07:18:39 +00:00
Timo Stollenwerk
0c377e3c9b
fix remove comment button in the comments viewlet.
...
svn path=/plone.app.discussion/trunk/; revision=27815
2009-07-04 16:59:55 +00:00
Timo Stollenwerk
e2934a66b1
replace content_object.reindexObject() with event handlers.
...
svn path=/plone.app.discussion/trunk/; revision=27814
2009-07-04 16:18:48 +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
3b981dd603
remove the available_expr with a workflow name in it.
...
svn path=/plone.app.discussion/trunk/; revision=27812
2009-07-04 16:11:33 +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
Timo Stollenwerk
f85acfa827
Adding missing import for IStatusMessage, fixes validation. evilbungle fix.
...
svn path=/plone.app.discussion/trunk/; revision=27795
2009-07-03 12:06:19 +00:00
Timo Stollenwerk
ac4953ebd6
test for catalog clear and rebuild added.
...
svn path=/plone.app.discussion/trunk/; revision=27793
2009-07-03 11:22:21 +00:00
Timo Stollenwerk
f2f70e908b
show "moderate comments" site action only when comment_review_workflow is enabled for comments.
...
svn path=/plone.app.discussion/trunk/; revision=27791
2009-07-03 09:03:19 +00:00
Timo Stollenwerk
30341e7d6e
delete comments_workflow_enabled from moderation view.
...
svn path=/plone.app.discussion/trunk/; revision=27790
2009-07-03 09:02:47 +00:00
Timo Stollenwerk
072f903c3a
in_response_to metadata added.
...
svn path=/plone.app.discussion/trunk/; revision=27789
2009-07-03 08:03:09 +00:00
Timo Stollenwerk
d70d872f95
always show comment in the batch moderation view in reverse chronological order, disallow sorting on the table.
...
svn path=/plone.app.discussion/trunk/; revision=27788
2009-07-03 06:45:29 +00:00
Timo Stollenwerk
dc78965931
more catalog tests added.
...
svn path=/plone.app.discussion/trunk/; revision=27787
2009-07-03 06:37:14 +00:00
Timo Stollenwerk
40eb6b17c1
reindex content object when deleting a comment.
...
svn path=/plone.app.discussion/trunk/; revision=27786
2009-07-03 06:33:22 +00:00
Timo Stollenwerk
47fd22f02e
don't convert commentators to a set before converting it to a tuple, since the values are unique.
...
svn path=/plone.app.discussion/trunk/; revision=27785
2009-07-03 05:45:47 +00:00
Timo Stollenwerk
e86df00273
remove unnecessary test code.
...
svn path=/plone.app.discussion/trunk/; revision=27779
2009-07-02 17:50:49 +00:00
Timo Stollenwerk
41010fb32a
fix for "TypeError: can't pickle OIBTreeItems objects".
...
svn path=/plone.app.discussion/trunk/; revision=27778
2009-07-02 17:50:20 +00:00
Timo Stollenwerk
d7bbee3a99
revert changes from rev. 27776.
...
svn path=/plone.app.discussion/trunk/; revision=27777
2009-07-02 16:35:28 +00:00
Timo Stollenwerk
045a926621
fix for "TypeError: can't pickle OIBTreeItems objects".
...
svn path=/plone.app.discussion/trunk/; revision=27776
2009-07-02 16:04:02 +00:00
Timo Stollenwerk
8b60038237
topic indexes and metadata added.
...
svn path=/plone.app.discussion/trunk/; revision=27769
2009-07-01 21:13:58 +00:00
Timo Stollenwerk
e42db0295e
CatalogSetupTest added.
...
svn path=/plone.app.discussion/trunk/; revision=27768
2009-07-01 20:59:58 +00:00
Timo Stollenwerk
8a6ab7161d
remove CatalogTest from test_comments.
...
svn path=/plone.app.discussion/trunk/; revision=27767
2009-07-01 20:58:31 +00:00
Timo Stollenwerk
6647439971
indexers for commentators, number of comments, and latest comment added.
...
svn path=/plone.app.discussion/trunk/; revision=27766
2009-07-01 20:57:55 +00:00
Timo Stollenwerk
9e94afc072
fix description index for short comments.
...
svn path=/plone.app.discussion/trunk/; revision=27764
2009-07-01 10:01:37 +00:00
Timo Stollenwerk
e2ab90641f
remove unnecessary CSS from moderation view.
...
svn path=/plone.app.discussion/trunk/; revision=27763
2009-07-01 09:35:46 +00:00
Timo Stollenwerk
55380327f6
fix fieldset CSS selector.
...
svn path=/plone.app.discussion/trunk/; revision=27762
2009-07-01 09:33:33 +00:00
Timo Stollenwerk
938c1dc2e8
formTab fixes.
...
svn path=/plone.app.discussion/trunk/; revision=27755
2009-07-01 00:04:03 +00:00
Timo Stollenwerk
33577fa13d
make filters look like Plone formTabs.
...
svn path=/plone.app.discussion/trunk/; revision=27753
2009-06-30 23:49:32 +00:00
Timo Stollenwerk
cfd70d8cc8
add pagination to moderate comment view.
...
svn path=/plone.app.discussion/trunk/; revision=27752
2009-06-30 23:17:40 +00:00
Timo Stollenwerk
8c217ae45a
make action column not sortable.
...
svn path=/plone.app.discussion/trunk/; revision=27751
2009-06-30 22:20:31 +00:00
Timo Stollenwerk
2e04461162
remove nested forms from moderate comments view. rewrite jquery code for comment delete and publish.
...
svn path=/plone.app.discussion/trunk/; revision=27750
2009-06-30 22:17:42 +00:00
Timo Stollenwerk
15b7347626
rearrange the moderate comment UI.
...
svn path=/plone.app.discussion/trunk/; revision=27735
2009-06-29 21:05:38 +00:00
Timo Stollenwerk
d3f9b90546
fix check/uncheck all.
...
svn path=/plone.app.discussion/trunk/; revision=27734
2009-06-29 20:44:20 +00:00
Timo Stollenwerk
3a9068f643
reset the select fields after publish bulk action.
...
svn path=/plone.app.discussion/trunk/; revision=27733
2009-06-29 20:32:05 +00:00
Timo Stollenwerk
450204fc43
reset the bulkaction field after submitting a bulk action.
...
svn path=/plone.app.discussion/trunk/; revision=27732
2009-06-29 20:08:39 +00:00
Timo Stollenwerk
be04439891
remove the publish form when a comment is published in the view without a filter.
...
svn path=/plone.app.discussion/trunk/; revision=27726
2009-06-29 15:29:51 +00:00
Timo Stollenwerk
a00dea41e3
differentiate between delete and publish AJAX calls.
...
svn path=/plone.app.discussion/trunk/; revision=27725
2009-06-29 15:09:41 +00:00
Timo Stollenwerk
4a934a2967
do not show the publish bulk action when showing only published comments.
...
svn path=/plone.app.discussion/trunk/; revision=27724
2009-06-29 13:54:51 +00:00
Timo Stollenwerk
6057ad0e91
check if the comment is not already published, before publishing.
...
svn path=/plone.app.discussion/trunk/; revision=27723
2009-06-29 13:52:51 +00:00
Timo Stollenwerk
7e3de6ae0a
remove unnecessary paths variable for BulkActionView methods, set self.paths instead.
...
svn path=/plone.app.discussion/trunk/; revision=27722
2009-06-29 13:44:46 +00:00
Timo Stollenwerk
2bc25c06de
move jQuery code for comment actions from page template to moderation.js.
...
svn path=/plone.app.discussion/trunk/; revision=27721
2009-06-29 13:39:55 +00:00
Timo Stollenwerk
502015b14e
submit bulkactions with an AJAX call.
...
svn path=/plone.app.discussion/trunk/; revision=27720
2009-06-29 13:38:00 +00:00
Timo Stollenwerk
8df9ad9cf4
remove return REQUEST statements for AJAX calls, since they are unnecessary.
...
svn path=/plone.app.discussion/trunk/; revision=27718
2009-06-29 12:24:10 +00:00
Timo Stollenwerk
da2402865f
minor: comment changed.
...
svn path=/plone.app.discussion/trunk/; revision=27717
2009-06-29 11:16:14 +00:00
Timo Stollenwerk
5885be08cc
fix select all JS for moderation view (do not override the checkbox value).
...
svn path=/plone.app.discussion/trunk/; revision=27716
2009-06-29 11:15:37 +00:00
Timo Stollenwerk
dd7f59c104
keep current filter when submitting a form.
...
svn path=/plone.app.discussion/trunk/; revision=27715
2009-06-29 11:11:58 +00:00
Timo Stollenwerk
c25557650f
add "select all" JS to select all comments in the moderate comments view.
...
svn path=/plone.app.discussion/trunk/; revision=27714
2009-06-29 09:54:53 +00:00
Timo Stollenwerk
906fa4ce7e
fix publish button for the moderate comments view.
...
svn path=/plone.app.discussion/trunk/; revision=27713
2009-06-29 09:54:17 +00:00
Timo Stollenwerk
59554b7af7
revert changes from rev. 27698 and 27702. switch back to non-plone table for comment moderation.
...
svn path=/plone.app.discussion/trunk/; revision=27704
2009-06-28 18:38:25 +00:00
Timo Stollenwerk
14b00ff361
fix publish comment button.
...
svn path=/plone.app.discussion/trunk/; revision=27702
2009-06-28 18:29:01 +00:00
Timo Stollenwerk
abb0334c1d
replace moderate comments table with a subclass of the standard Plone folder-listing table. this basically breaks all functionality (filter, bulk actions) and kss actions are not working yet, but the pagination is working.
...
svn path=/plone.app.discussion/trunk/; revision=27698
2009-06-28 11:49:00 +00:00
Timo Stollenwerk
4cc26a6421
moderation view tests added.
...
svn path=/plone.app.discussion/trunk/; revision=27679
2009-06-27 09:35:52 +00:00
Timo Stollenwerk
ffcdfc22e5
bulk actions for publish and delete added.
...
svn path=/plone.app.discussion/trunk/; revision=27674
2009-06-26 18:59:37 +00:00
Timo Stollenwerk
e0da88efba
show publish button only when comment is in "pending" workflow state.
...
svn path=/plone.app.discussion/trunk/; revision=27673
2009-06-26 16:03:19 +00:00
Timo Stollenwerk
fb0bae4877
remove reindexObjectSecurity() call in publish comment method, since it is unnecessary.
...
svn path=/plone.app.discussion/trunk/; revision=27671
2009-06-26 15:03:20 +00:00
Timo Stollenwerk
90440cfeca
add bulk actions and filter to the moderation view.
...
move delete- and publish-comment methods from comment.py to moderation.py.
svn path=/plone.app.discussion/trunk/; revision=27670
2009-06-26 14:57:45 +00:00
Timo Stollenwerk
768b2095de
fix tests for bugfix 834504 ("Replies have a wrong path index.")
...
svn path=/plone.app.discussion/trunk/; revision=27661
2009-06-24 20:11:27 +00:00
Timo Stollenwerk
99b7171265
todo list update.
...
svn path=/plone.app.discussion/trunk/; revision=27659
2009-06-24 15:30:22 +00:00
Timo Stollenwerk
564e15af40
bug 812754 fixed. "unsuccessfully attempted to uncatalog an object" while trying to delete a comment.
...
svn path=/plone.app.discussion/trunk/; revision=27658
2009-06-24 14:57:18 +00:00
Timo Stollenwerk
f088cb946e
fix bug 834504. Replies have a wrong path index.
...
svn path=/plone.app.discussion/trunk/; revision=27657
2009-06-24 14:03:02 +00:00
Timo Stollenwerk
e3e6d5548e
fix bug 834504. Replies have a wrong path index.
...
svn path=/plone.app.discussion/trunk/; revision=27656
2009-06-24 13:55:20 +00:00
Timo Stollenwerk
fee068dc09
let comment Type method return portal_type instead of a string.
...
svn path=/plone.app.discussion/trunk/; revision=27655
2009-06-24 13:18:54 +00:00
Timo Stollenwerk
f0e38ff65a
fix wrong i18n attribute in body text.
...
svn path=/plone.app.discussion/trunk/; revision=27653
2009-06-24 08:26:02 +00:00
Timo Stollenwerk
1cc02a3acd
Type() is meant to be a method not an attribute.
...
svn path=/plone.app.discussion/trunk/; revision=27652
2009-06-24 08:25:11 +00:00
Timo Stollenwerk
a7d80a1368
i18n added to templates.
...
svn path=/plone.app.discussion/trunk/; revision=27648
2009-06-23 17:44:47 +00:00
Timo Stollenwerk
1008356b30
fix story 833286: IE 6: Comment layer is not displayed correctly.
...
svn path=/plone.app.discussion/trunk/; revision=27647
2009-06-23 15:40:00 +00:00
Timo Stollenwerk
a3e9105e48
comment catalog tests added.
...
svn path=/plone.app.discussion/trunk/; revision=27631
2009-06-22 17:06:37 +00:00
Timo Stollenwerk
6d414055bc
set correct Type ('Discussion Item') for Comments.
...
svn path=/plone.app.discussion/trunk/; revision=27629
2009-06-22 12:23:19 +00:00
Timo Stollenwerk
bded41ffa4
documentation txt file added.
...
svn path=/plone.app.discussion/trunk/; revision=27626
2009-06-22 10:11:08 +00:00
Timo Stollenwerk
b757d1b61b
format_time method removed from moderation view, since it is not used anymore.
...
svn path=/plone.app.discussion/trunk/; revision=27625
2009-06-22 10:09:11 +00:00
Timo Stollenwerk
641585b052
css styles for the moderation view added.
...
svn path=/plone.app.discussion/trunk/; revision=27624
2009-06-22 10:08:09 +00:00
Timo Stollenwerk
97bdf27f8d
bulk actions and filters added to the bulk moderation view (most of them are non-functional yet).
...
svn path=/plone.app.discussion/trunk/; revision=27623
2009-06-22 10:07:36 +00:00
Timo Stollenwerk
eec0e2d206
fix comment redirect from "#comment-<comment_id>" to "#<comment_id>".
...
svn path=/plone.app.discussion/trunk/; revision=27601
2009-06-21 20:33:02 +00:00
Timo Stollenwerk
d8373799af
Make the comment layer overflow when the commenter image is larger than the comment text.
...
svn path=/plone.app.discussion/trunk/; revision=27599
2009-06-21 17:46:10 +00:00
Timo Stollenwerk
fe4e1390ef
fix redirect from add comment form.
...
svn path=/plone.app.discussion/trunk/; revision=27590
2009-06-21 13:27:02 +00:00
Timo Stollenwerk
e4ac274781
fix that logged in users who are not managers don't see comments at all.
...
svn path=/plone.app.discussion/trunk/; revision=27587
2009-06-21 13:00:28 +00:00
Timo Stollenwerk
b288f3f7fb
fix "Reply button is not working anymore when a reply was posted."
...
Switch HTML anchor from "#comment-<comment_id>" to "#<comment_id>".
svn path=/plone.app.discussion/trunk/; revision=27570
2009-06-21 10:34:12 +00:00
Timo Stollenwerk
c35b631e36
don't show non-published comments to anonymous users.
...
svn path=/plone.app.discussion/trunk/; revision=27567
2009-06-21 08:29:42 +00:00
Timo Stollenwerk
8a5408c61d
use IStatusMessage when deleting and publishing comments.
...
svn path=/plone.app.discussion/trunk/; revision=27566
2009-06-21 08:03:08 +00:00
Timo Stollenwerk
b7b0b1801b
very basic form validation added to comments viewlet.
...
svn path=/plone.app.discussion/trunk/; revision=27564
2009-06-21 07:48:33 +00:00
Timo Stollenwerk
7eae4783a4
fix multi-submit message error on the reply button.
...
svn path=/plone.app.discussion/trunk/; revision=27545
2009-06-20 20:10:09 +00:00
Timo Stollenwerk
da6764ffa5
remove reply image and css for it.
...
svn path=/plone.app.discussion/trunk/; revision=27536
2009-06-20 16:40:03 +00:00
Timo Stollenwerk
4102fb6f6f
fix reply bug ("TypeError: long() argument must be a string or a number") in Chrome.
...
svn path=/plone.app.discussion/trunk/; revision=27535
2009-06-20 16:24:16 +00:00
Timo Stollenwerk
e9f24cfa74
Complete rewrite of the show/hide reply-to-comment forms.
...
Switch from Javascript event handlers to jQuery event binding.
Replace reply-to-comment image with a standard reply button.
Fix IE7 show reply-to-comment form is not working.
svn path=/plone.app.discussion/trunk/; revision=27533
2009-06-20 16:00:36 +00:00
Timo Stollenwerk
23d4b25218
allow_discussion on folder level implemented.
...
svn path=/plone.app.discussion/trunk/; revision=27517
2009-06-19 15:51:50 +00:00
Timo Stollenwerk
d25e2b80c4
enabled is a boolean method now instead of a property.
...
svn path=/plone.app.discussion/trunk/; revision=27509
2009-06-19 10:04:32 +00:00
Timo Stollenwerk
c135228419
Use adaption instead of calling the conversationAdapterFactory directly.
...
svn path=/plone.app.discussion/trunk/; revision=27508
2009-06-19 10:00:31 +00:00
Timo Stollenwerk
59586025be
add test to make sure that conversation.enabled on a folder always returns False.
...
svn path=/plone.app.discussion/trunk/; revision=27503
2009-06-18 21:12:38 +00:00
Timo Stollenwerk
c8a24e5d74
make conversation.enabled return a boolean (remove the property decorator).
...
Always return false if the content object is a folder.
svn path=/plone.app.discussion/trunk/; revision=27502
2009-06-18 21:02:32 +00:00
Timo Stollenwerk
34ee743bf3
remove all the unnecessary acquisition wrapping of conversation (since the conversationAdapterFactory now returns an aq wrapped conversation).
...
svn path=/plone.app.discussion/trunk/; revision=27501
2009-06-18 20:57:47 +00:00
Timo Stollenwerk
476cc1c5e7
conversationAdapterFactory now always returns the acquisition wrapped conversation object.
...
svn path=/plone.app.discussion/trunk/; revision=27500
2009-06-18 20:53:25 +00:00
Timo Stollenwerk
0a706dec70
fix i18n domain.
...
svn path=/plone.app.discussion/trunk/; revision=27473
2009-06-16 23:25:36 +00:00
Timo Stollenwerk
adb3a6d9be
remove typed in text after copying the reply form.
...
svn path=/plone.app.discussion/trunk/; revision=27472
2009-06-16 23:04:54 +00:00
Timo Stollenwerk
3d4343440c
comments viewlet's format_time now returns localized time.
...
svn path=/plone.app.discussion/trunk/; revision=27471
2009-06-16 20:53:45 +00:00
Timo Stollenwerk
de5499d996
show delete and workflow actions buttons on the comments viewlet.
...
svn path=/plone.app.discussion/trunk/; revision=27470
2009-06-16 13:13:40 +00:00
Timo Stollenwerk
28fbad44a7
fix the permissions for delete and publish comments. make the publish-comment button work.
...
svn path=/plone.app.discussion/trunk/; revision=27469
2009-06-16 13:10:58 +00:00
Timo Stollenwerk
f8b317ac7a
add objectIds method to Conversation class to make publish comment work.
...
svn path=/plone.app.discussion/trunk/; revision=27468
2009-06-16 11:52:00 +00:00
Timo Stollenwerk
282e592c8f
test to understand the allow_discussion attribute added. I know that this is not a real test. We can remove it again at some point.
...
svn path=/plone.app.discussion/trunk/; revision=27467
2009-06-16 11:51:25 +00:00
Timo Stollenwerk
9ad344b4c2
update and reorder todo list.
...
svn path=/plone.app.discussion/trunk/; revision=27466
2009-06-16 10:43:00 +00:00
Timo Stollenwerk
baeb3a638c
traversal test for the replies adapter added.
...
svn path=/plone.app.discussion/trunk/; revision=27459
2009-06-15 09:06:47 +00:00
Timo Stollenwerk
886fe17b47
fix commenter portrait tests, since get_commenter_portrait returns a URL instead of an image now.
...
svn path=/plone.app.discussion/trunk/; revision=27458
2009-06-15 08:54:35 +00:00
Timo Stollenwerk
e8ce114f4b
todo list update.
...
svn path=/plone.app.discussion/trunk/; revision=27448
2009-06-14 17:49:45 +00:00
Timo Stollenwerk
60ed441033
set the username oder creator when a reply is added to a comment.
...
svn path=/plone.app.discussion/trunk/; revision=27447
2009-06-14 17:34:30 +00:00
Timo Stollenwerk
5c3c77ecbd
show the reply-to-comment button to anonymous users.
...
svn path=/plone.app.discussion/trunk/; revision=27446
2009-06-14 17:33:32 +00:00
Timo Stollenwerk
dcc8c329eb
fix the portal messages for deleting and workflow actions.
...
svn path=/plone.app.discussion/trunk/; revision=27444
2009-06-14 17:11:53 +00:00
Timo Stollenwerk
5e26227ea1
fix that anonymous users see a link to a non-existent user-home in the comments viewlet.
...
svn path=/plone.app.discussion/trunk/; revision=27419
2009-06-14 11:10:45 +00:00
Timo Stollenwerk
1670338ace
Add id fall back for Creator if no Username (Title) has been added.
...
svn path=/plone.app.discussion/trunk/; revision=27417
2009-06-14 08:45:17 +00:00
Timo Stollenwerk
2e1cda3f59
hide delete and workflow actions in the comments viewlet, since they don't work yet.
...
svn path=/plone.app.discussion/trunk/; revision=27416
2009-06-14 07:26:59 +00:00
Timo Stollenwerk
9be49ee767
fix delete and publish comment methods.
...
svn path=/plone.app.discussion/trunk/; revision=27415
2009-06-14 07:19:37 +00:00
Timo Stollenwerk
9e30b7b3c2
hide the delete and workflow buttons in the moderation view, since they are not working yet.
...
svn path=/plone.app.discussion/trunk/; revision=27414
2009-06-14 07:09:10 +00:00
Timo Stollenwerk
5300e33457
fix the anonymous view for the comments viewlet.
...
refactor get_replies.
svn path=/plone.app.discussion/trunk/; revision=27410
2009-06-13 18:02:59 +00:00
Timo Stollenwerk
c318ecc6c5
remove print statement from former commit.
...
svn path=/plone.app.discussion/trunk/; revision=27409
2009-06-13 17:34:34 +00:00
Timo Stollenwerk
22f50532ff
add workflow buttons to comments viewlet (not working yet).
...
svn path=/plone.app.discussion/trunk/; revision=27408
2009-06-13 17:33:48 +00:00
Timo Stollenwerk
8fb254f73d
add optional workflow actions to the get_replies method of the comments viewlet.
...
switch from Acquisition.explicit to Acquisition.implicit for the comment class.
adjust test_comment to work with Acquisition.implicit.
svn path=/plone.app.discussion/trunk/; revision=27406
2009-06-13 16:46:37 +00:00
Timo Stollenwerk
24997f4eb9
remove collective.autopermission from main configure.zcml since it's also in the browser configure.zcml.
...
svn path=/plone.app.discussion/trunk/; revision=27385
2009-06-11 13:52:31 +00:00
Timo Stollenwerk
dd0133e0c0
add delete and workflow actions buttons to comments viewlet.
...
svn path=/plone.app.discussion/trunk/; revision=27384
2009-06-11 13:51:33 +00:00
Timo Stollenwerk
7692186880
return the comment text for the moderation view.
...
svn path=/plone.app.discussion/trunk/; revision=27383
2009-06-11 13:47:32 +00:00
Timo Stollenwerk
29466425bb
fix form action links in the moderation view.
...
svn path=/plone.app.discussion/trunk/; revision=27382
2009-06-11 13:44:22 +00:00
Timo Stollenwerk
473699dea0
is_discussion_allowed method from the comments viewlet now uses Conversation.enabled.
...
svn path=/plone.app.discussion/trunk/; revision=27381
2009-06-11 10:20:44 +00:00
Timo Stollenwerk
e465d73c95
enabled property code added to conversation.
...
svn path=/plone.app.discussion/trunk/; revision=27380
2009-06-11 10:14:44 +00:00
Timo Stollenwerk
0f7d05566a
todo list update.
...
svn path=/plone.app.discussion/trunk/; revision=27379
2009-06-11 10:13:05 +00:00
Timo Stollenwerk
9558732ed9
revert changes from 27368 (add enabled to interface). A property with the same name and function is already there.
...
svn path=/plone.app.discussion/trunk/; revision=27378
2009-06-11 03:37:55 +00:00
Timo Stollenwerk
9b66f62b66
remove unnecessary code from workflow test.
...
svn path=/plone.app.discussion/trunk/; revision=27370
2009-06-10 20:17:36 +00:00
Timo Stollenwerk
1e71258a0d
add moderate-comments view.
...
svn path=/plone.app.discussion/trunk/; revision=27369
2009-06-10 20:14:44 +00:00
Timo Stollenwerk
c1696a9756
add enabled property to IConversation interface.
...
svn path=/plone.app.discussion/trunk/; revision=27368
2009-06-10 20:13:29 +00:00
Timo Stollenwerk
799365dd94
todo list update.
...
svn path=/plone.app.discussion/trunk/; revision=27367
2009-06-10 20:12:17 +00:00
Timo Stollenwerk
5441976dca
show reply-to-comment button based on permissions/workflow.
...
svn path=/plone.app.discussion/trunk/; revision=27363
2009-06-09 15:52:20 +00:00
Timo Stollenwerk
c55316d212
comment_review_workflow added.
...
svn path=/plone.app.discussion/trunk/; revision=27361
2009-06-08 21:16:51 +00:00
Timo Stollenwerk
468e32a6ed
todo list update.
...
svn path=/plone.app.discussion/trunk/; revision=27360
2009-06-08 19:44:57 +00:00
Timo Stollenwerk
4529e8122e
icon added to discussion control panel.
...
svn path=/plone.app.discussion/trunk/; revision=27357
2009-06-08 15:04:21 +00:00
Timo Stollenwerk
65ba6e1a67
remove debug message from comments template.
...
svn path=/plone.app.discussion/trunk/; revision=27355
2009-06-08 14:51:43 +00:00
Timo Stollenwerk
9439e7ad9d
todo list update.
...
svn path=/plone.app.discussion/trunk/; revision=27354
2009-06-08 08:24:45 +00:00
Timo Stollenwerk
e98a39907a
option to show commenter image added.
...
svn path=/plone.app.discussion/trunk/; revision=27353
2009-06-08 08:23:18 +00:00
Timo Stollenwerk
353c6acfd0
anonymous comments added.
...
svn path=/plone.app.discussion/trunk/; revision=27352
2009-06-08 08:00:15 +00:00
Timo Stollenwerk
22a4916afa
fix comments view. call getPersonalPortrait in the template again.
...
svn path=/plone.app.discussion/trunk/; revision=27351
2009-06-08 07:28:59 +00:00
Timo Stollenwerk
1af2b435fd
get_commenter_portrait and get_commenter_home_url methods added to comments viewlet.
...
tests for get_commenter_portrait added.
svn path=/plone.app.discussion/trunk/; revision=27349
2009-06-07 20:58:41 +00:00
Timo Stollenwerk
dada11c43c
show_commenter_image record added to the discussion control panel.
...
svn path=/plone.app.discussion/trunk/; revision=27335
2009-06-07 08:47:14 +00:00
Timo Stollenwerk
8bfa2cfa3f
todo list update.
...
svn path=/plone.app.discussion/trunk/; revision=27334
2009-06-07 08:30:53 +00:00
Timo Stollenwerk
fdaa399983
test for comments viewlet added.
...
svn path=/plone.app.discussion/trunk/; revision=27325
2009-06-06 08:23:33 +00:00
Timo Stollenwerk
1cbeb6c7ff
tests for discussion controlpanel added.
...
svn path=/plone.app.discussion/trunk/; revision=27324
2009-06-06 08:14:10 +00:00
Timo Stollenwerk
180e0e75e7
todo list update.
...
svn path=/plone.app.discussion/trunk/; revision=27314
2009-06-05 11:27:16 +00:00
Timo Stollenwerk
41db8ff395
Fix bouncing fieldset when reply form is shown.
...
svn path=/plone.app.discussion/trunk/; revision=27311
2009-06-05 09:05:34 +00:00
Timo Stollenwerk
854f98ebbe
add slidedown effect when the reply-to-comment form is opened.
...
svn path=/plone.app.discussion/trunk/; revision=27310
2009-06-05 07:07:18 +00:00
Timo Stollenwerk
1ad75fa84f
some test code for allow_discussion added.
...
svn path=/plone.app.discussion/trunk/; revision=27305
2009-06-04 18:17:33 +00:00
Timo Stollenwerk
e671d78806
test for globally_enabled discussion added.
...
svn path=/plone.app.discussion/trunk/; revision=27302
2009-06-04 15:38:12 +00:00
Timo Stollenwerk
ad8a7b4636
comment edited.
...
svn path=/plone.app.discussion/trunk/; revision=27297
2009-06-04 14:45:58 +00:00
Timo Stollenwerk
b1ab18dddc
show commenting viewlet only when isDiscussionAllowed is true.
...
svn path=/plone.app.discussion/trunk/; revision=27290
2009-06-03 17:05:26 +00:00
Timo Stollenwerk
e4a62a2c0d
comment with todo for discussion control panel added.
...
svn path=/plone.app.discussion/trunk/; revision=27288
2009-06-03 15:24:48 +00:00
Timo Stollenwerk
ccf1e0456f
add anonymous_comments option to the discussion control panel.
...
svn path=/plone.app.discussion/trunk/; revision=27287
2009-06-03 14:58:49 +00:00
Timo Stollenwerk
57c534b5d3
add globally_enabled option to the discussion plone control panel. add plone.app.discussion to the package dependencies.
...
svn path=/plone.app.discussion/trunk/; revision=27273
2009-06-03 12:49:34 +00:00
Timo Stollenwerk
f27156e916
Added basic infrastructure for discussion controlpanel.
...
svn path=/plone.app.discussion/trunk/; revision=27269
2009-06-02 21:20:53 +00:00
Timo Stollenwerk
47911fa24a
use slideUp() instead of hide() jquery function to hide the reply form.
...
svn path=/plone.app.discussion/trunk/; revision=27264
2009-06-02 16:36:16 +00:00
Timo Stollenwerk
b9aeabedb1
fix the error of showing too much reply forms in the reply-to-comment jquery function.
...
svn path=/plone.app.discussion/trunk/; revision=27263
2009-06-02 16:13:44 +00:00
Timo Stollenwerk
068583db76
cancel button added to the reply-to-comment form.
...
svn path=/plone.app.discussion/trunk/; revision=27262
2009-06-02 15:09:25 +00:00
Timo Stollenwerk
67b7d4ce49
remove test_path test.
...
svn path=/plone.app.discussion/trunk/; revision=27261
2009-06-02 15:03:48 +00:00
Timo Stollenwerk
a6a64bd3d6
rename all indexes from comment_XXX to XXX. clean up indexes test.
...
svn path=/plone.app.discussion/trunk/; revision=27259
2009-06-01 23:45:49 +00:00
Timo Stollenwerk
dc948da00b
creator index added.
...
svn path=/plone.app.discussion/trunk/; revision=27258
2009-06-01 23:29:09 +00:00
Timo Stollenwerk
04bed35357
Indexes for created and modified added.
...
svn path=/plone.app.discussion/trunk/; revision=27257
2009-06-01 23:17:13 +00:00
Timo Stollenwerk
69334f6000
The comment_description index now returns the first 25 words of a comment.
...
svn path=/plone.app.discussion/trunk/; revision=27252
2009-06-01 09:59:07 +00:00
Timo Stollenwerk
d3ba4f58db
Description index added.
...
svn path=/plone.app.discussion/trunk/; revision=27251
2009-05-31 19:07:35 +00:00
Timo Stollenwerk
1340aefe4e
rename indexes "title" => "Title" and "searchable_text" => "SearchableText".
...
svn path=/plone.app.discussion/trunk/; revision=27250
2009-05-31 18:20:41 +00:00
Timo Stollenwerk
ca7752714b
remove comment_text index.
...
svn path=/plone.app.discussion/trunk/; revision=27249
2009-05-31 18:14:42 +00:00
Timo Stollenwerk
5f8acfd805
comment_title, comment_text, and comment_searchable_text indexes added.
...
svn path=/plone.app.discussion/trunk/; revision=27247
2009-05-31 17:55:46 +00:00
Timo Stollenwerk
95405ee48f
test for testing if 'Discussion Item' is not in BAD_TYPES added.
...
svn path=/plone.app.discussion/trunk/; revision=27246
2009-05-31 17:54:14 +00:00
Timo Stollenwerk
ee5aa9ae4d
Monkey patch plone.app.vocabularies.types.BAD_TYPES
...
svn path=/plone.app.discussion/trunk/; revision=27245
2009-05-31 17:49:33 +00:00
Timo Stollenwerk
0d6045682f
format time for comments with python strftime(). no time localization so far.
...
svn path=/plone.app.discussion/trunk/; revision=27231
2009-05-31 11:01:36 +00:00
Timo Stollenwerk
0ce270bc66
show the default user image to anonymous (comments viewlet).
...
svn path=/plone.app.discussion/trunk/; revision=27230
2009-05-31 10:43:35 +00:00
Timo Stollenwerk
751ae5a06a
revert 27204: change import for discussion modification_date from datetime to DateTime.
...
svn path=/plone.app.discussion/trunk/; revision=27213
2009-05-30 06:08:44 +00:00
Timo Stollenwerk
4b6b0aeb02
some CSS fixes for the personal portrait in the comments viewlet.
...
svn path=/plone.app.discussion/trunk/; revision=27207
2009-05-29 07:13:05 +00:00
Timo Stollenwerk
7083856268
fetch user image with getPersonalPortrait().
...
svn path=/plone.app.discussion/trunk/; revision=27206
2009-05-29 07:12:20 +00:00
Timo Stollenwerk
087c428e3e
fix format time in comments viewlet.
...
svn path=/plone.app.discussion/trunk/; revision=27205
2009-05-29 06:32:03 +00:00
Timo Stollenwerk
9a91b6f9ed
change import for discussion modification_date from datetime to DateTime.
...
svn path=/plone.app.discussion/trunk/; revision=27204
2009-05-29 06:30:55 +00:00
Timo Stollenwerk
b73c43119d
show the reply-to-comment button only to logged in users.
...
svn path=/plone.app.discussion/trunk/; revision=27200
2009-05-28 15:16:49 +00:00
Timo Stollenwerk
66f4640ac7
fix redirect after a reply has been added.
...
svn path=/plone.app.discussion/trunk/; revision=27199
2009-05-28 15:16:19 +00:00
Timo Stollenwerk
49aab7389b
show the second "login to comment"-button (below the comments) only when there are replies.
...
svn path=/plone.app.discussion/trunk/; revision=27198
2009-05-28 15:08:36 +00:00
Timo Stollenwerk
aa50c33d8d
show login form instead of the commenting form to anonymous users.
...
svn path=/plone.app.discussion/trunk/; revision=27194
2009-05-28 11:39:36 +00:00
Timo Stollenwerk
77e8093c53
don't show the link to the author's page on the comments viewlet to anonymous users.
...
svn path=/plone.app.discussion/trunk/; revision=27192
2009-05-28 07:04:35 +00:00
Timo Stollenwerk
4d0541bfd8
resize the commenter's image with css;
...
svn path=/plone.app.discussion/trunk/; revision=27191
2009-05-28 07:00:40 +00:00
Timo Stollenwerk
2ecd5e76a5
check if discussion is allowed for the comments viewlet.
...
svn path=/plone.app.discussion/trunk/; revision=27190
2009-05-28 06:35:47 +00:00
Timo Stollenwerk
77490ec0d5
Redirect directly to the comment and not to the content object after adding a comment.
...
svn path=/plone.app.discussion/trunk/; revision=27189
2009-05-28 06:11:09 +00:00
Timo Stollenwerk
660ee78ca0
User Story: As a visitor, I can view portraits, full name and username against each comment, with a link to the author profile
...
svn path=/plone.app.discussion/trunk/; revision=27188
2009-05-28 06:08:55 +00:00
Timo Stollenwerk
f0724352e5
test for comment view (redirect) added.
...
svn path=/plone.app.discussion/trunk/; revision=27151
2009-05-27 17:05:12 +00:00
Timo Stollenwerk
05f46268f4
comment view that redirects to the comment added. no unit test so far!
...
svn path=/plone.app.discussion/trunk/; revision=27144
2009-05-27 13:23:25 +00:00
Timo Stollenwerk
5f52a0d56b
HTML anker added to every comment, so when the reply-to-comment button is hit, the browser scrolls to the right position.
...
svn path=/plone.app.discussion/trunk/; revision=27143
2009-05-27 07:33:13 +00:00
Timo Stollenwerk
c1aedbefb0
Show the reply-to-comment button only when Javascript is enabled. Otherwise hide it, since the reply functions rely on jQuery.
...
svn path=/plone.app.discussion/trunk/; revision=27142
2009-05-27 07:26:21 +00:00
Timo Stollenwerk
6a7b4fa778
discussion css file registered.
...
svn path=/plone.app.discussion/trunk/; revision=27141
2009-05-27 07:25:19 +00:00
Timo Stollenwerk
4769fbc2f7
threaded view added to comments viewlet.
...
svn path=/plone.app.discussion/trunk/; revision=27140
2009-05-27 06:58:00 +00:00
Timo Stollenwerk
72532517a6
"TODO" removed from a comment.
...
svn path=/plone.app.discussion/trunk/; revision=27129
2009-05-26 20:02:42 +00:00
Timo Stollenwerk
d8cfdf258d
reply-to-comment view and jquery forms added.
...
svn path=/plone.app.discussion/trunk/; revision=27128
2009-05-26 19:58:59 +00:00
Timo Stollenwerk
bda70af828
reply-to-comment view and jquery forms added.
...
svn path=/plone.app.discussion/trunk/; revision=27127
2009-05-26 19:58:33 +00:00
Timo Stollenwerk
2b0133aa64
documentByLine added to the comments viewlet (to localized time is not working yet).
...
svn path=/plone.app.discussion/trunk/; revision=27119
2009-05-26 07:25:14 +00:00
Timo Stollenwerk
9b73aa76c5
documentByLine added to the comments viewlet (to localized time is not working yet).
...
svn path=/plone.app.discussion/trunk/; revision=27118
2009-05-26 07:24:52 +00:00
Timo Stollenwerk
c7a898933a
fix redirect to content object after calling the add-comment view.
...
svn path=/plone.app.discussion/trunk/; revision=27117
2009-05-26 07:22:36 +00:00
Timo Stollenwerk
81affa21c3
move comment form below the comments.
...
svn path=/plone.app.discussion/trunk/; revision=27114
2009-05-25 19:24:21 +00:00
Timo Stollenwerk
ad06e9a7e6
make comments viewlet show the plone.app.discussion comments and allow to add new comments. (redirection after add-comment is not working yet)
...
svn path=/plone.app.discussion/trunk/; revision=27112
2009-05-25 18:59:25 +00:00
Timo Stollenwerk
731f83b706
remove the test_dict_api from test_comments.py, since the test_dict_api from test_conversation.py tests both IReplies adapters.
...
svn path=/plone.app.discussion/trunk/; revision=27106
2009-05-25 10:38:58 +00:00
Timo Stollenwerk
0797579bfd
delete comment test for CommentReplies adapter added.
...
svn path=/plone.app.discussion/trunk/; revision=27100
2009-05-25 07:08:26 +00:00
Timo Stollenwerk
ac5d96250b
add comment test for the IReplies adapter for comments added.
...
svn path=/plone.app.discussion/trunk/; revision=27099
2009-05-25 07:02:11 +00:00
Timo Stollenwerk
a948f15971
test delete comment for IReplies added.
...
svn path=/plone.app.discussion/trunk/; revision=27094
2009-05-24 16:23:49 +00:00
Martin Aspeli
56a3f92023
Reminder
...
svn path=/plone.app.discussion/trunk/; revision=27093
2009-05-24 16:21:14 +00:00
Martin Aspeli
9263a61a31
Delete children when deleting a parent comment.
...
svn path=/plone.app.discussion/trunk/; revision=27092
2009-05-24 16:19:21 +00:00
Martin Aspeli
a1e11cb5ee
Turn getComments() and getThreads() into generators.
...
svn path=/plone.app.discussion/trunk/; revision=27090
2009-05-24 16:04:49 +00:00
Timo Stollenwerk
2754d897e4
add some more assertions to test dict api.
...
svn path=/plone.app.discussion/trunk/; revision=27089
2009-05-24 15:36:31 +00:00
Timo Stollenwerk
a3ac44763b
test dict api for RepliesTest fixed (conversation returns all comments, replies return only top level comments).
...
svn path=/plone.app.discussion/trunk/; revision=27088
2009-05-24 15:30:16 +00:00
Timo Stollenwerk
cc45041a97
test dict api for RepliesTest added. (conversation currently returns the wrong number of items!)
...
svn path=/plone.app.discussion/trunk/; revision=27087
2009-05-24 15:25:49 +00:00
Martin Aspeli
ca0e299cdc
Fix dodgy IReplies adapter
...
svn path=/plone.app.discussion/trunk/; revision=27085
2009-05-24 14:19:06 +00:00
Timo Stollenwerk
69ab219582
test to add a comment to the IReplies adapter on a conversation added. not complete yet!
...
svn path=/plone.app.discussion/trunk/; revision=27084
2009-05-24 12:34:15 +00:00
Timo Stollenwerk
3733c1fab3
test for conversation dict operations added.
...
svn path=/plone.app.discussion/trunk/; revision=27082
2009-05-24 10:53:13 +00:00
Timo Stollenwerk
4263b8b5ed
test for last comment date added.
...
svn path=/plone.app.discussion/trunk/; revision=27073
2009-05-23 18:04:39 +00:00
Timo Stollenwerk
1f3c9ea896
errors in commentators test fixed.
...
svn path=/plone.app.discussion/trunk/; revision=27072
2009-05-23 17:17:06 +00:00
Martin Aspeli
a8bc95be77
Update to-do
...
svn path=/plone.app.discussion/trunk/; revision=27071
2009-05-23 16:42:30 +00:00
Martin Aspeli
8ffca9009c
Ensure workflow is initialised when the comment is added. Also ensure that we won't get an error on unindex if the local utility can't be found.
...
svn path=/plone.app.discussion/trunk/; revision=27070
2009-05-23 16:37:10 +00:00
Timo Stollenwerk
fba5d3f752
commentators test added.
...
svn path=/plone.app.discussion/trunk/; revision=27069
2009-05-23 16:28:10 +00:00
Martin Aspeli
8c3c4bdfa0
Add FTI for Discussion Item and test
...
svn path=/plone.app.discussion/trunk/; revision=27068
2009-05-23 16:12:45 +00:00
Martin Aspeli
e296058c37
Adjust tests since getThreads() is not implemented
...
svn path=/plone.app.discussion/trunk/; revision=27067
2009-05-23 16:12:13 +00:00
Martin Aspeli
c28bfbe18f
d'oh!
...
svn path=/plone.app.discussion/trunk/; revision=27066
2009-05-23 16:10:24 +00:00
Martin Aspeli
ac8fd41c10
Avoid test failures for now
...
svn path=/plone.app.discussion/trunk/; revision=27065
2009-05-23 15:59:15 +00:00
Martin Aspeli
7284f2d9e2
Safer fallback - this method will have a different return signature when implemented
...
svn path=/plone.app.discussion/trunk/; revision=27064
2009-05-23 15:50:21 +00:00
Timo Stollenwerk
5a0276e117
make sure a comment has been added before testing its removal.
...
svn path=/plone.app.discussion/trunk/; revision=27063
2009-05-23 14:24:24 +00:00
Timo Stollenwerk
8282307e0a
fix conversation.__delitem__ function and add test for deleting comments from a conversation.
...
svn path=/plone.app.discussion/trunk/; revision=27062
2009-05-23 14:18:35 +00:00
Martin Aspeli
2ff696a252
Fix some security issues and make the traversal adapter work with OFS.Traversable. Requires a name, so we now call it ++conversation++default
...
svn path=/plone.app.discussion/trunk/; revision=27059
2009-05-23 11:52:57 +00:00
Martin Aspeli
edf956f01c
Move viewlets to browser package, use a layer instead of an overrides.zcml. Also add ++comment++ namespace, though it may require refactoring
...
svn path=/plone.app.discussion/trunk/; revision=27055
2009-05-23 04:55:06 +00:00
Timo Stollenwerk
895105b2c9
added viewlet that overrides the standard plone commenting viewlet (no tests so far!).
...
svn path=/plone.app.discussion/trunk/; revision=27045
2009-05-22 17:30:52 +00:00
Timo Stollenwerk
afb07e5f0b
test conversation.total_comments instead of len(conversation.getComments()) in test_total_comments.
...
svn path=/plone.app.discussion/trunk/; revision=27037
2009-05-20 16:07:29 +00:00
Timo Stollenwerk
a279520592
added test for total comments.
...
svn path=/plone.app.discussion/trunk/; revision=27033
2009-05-20 15:39:45 +00:00