Timo Stollenwerk
4f13054ae4
plone.z3cform 0.6.0 compatibility (fix maximum recursion depth error which appears with plone.z3cform higher than 0.5.10); [piv]
...
svn path=/plone.app.discussion/trunk/; revision=36843
2010-05-31 09:50:46 +00:00
Timo Stollenwerk
5c323a5cf4
Whitespace and comment added.
...
svn path=/plone.app.discussion/trunk/; revision=36787
2010-05-28 15:56:39 +00:00
Yiorgis Gozadinos
abe4cda5ba
removed moderation.js from js registry and include it only in moderation.pt as that is the only place where it is used
...
svn path=/plone.app.discussion/trunk/; revision=36468
2010-05-03 11:53:20 +00:00
Timo Stollenwerk
a18fdb6128
interface description for enabled method added.
...
svn path=/plone.app.discussion/trunk/; revision=35687
2010-04-04 16:15:21 +00:00
Lennart Regebro
30c66b0b24
A bug in the moderator panel meant you couldn't delete items in a virtual host, if your portal was named "plone".
...
svn path=/plone.app.discussion/trunk/; revision=35608
2010-04-01 13:48:03 +00:00
Lennart Regebro
f7c676622b
The the author_name in the control panel.
...
svn path=/plone.app.discussion/trunk/; revision=35533
2010-03-24 15:38:18 +00:00
Timo Stollenwerk
6bbf8dbc08
update translation files.
...
svn path=/plone.app.discussion/trunk/; revision=35353
2010-03-19 10:53:46 +00:00
Timo Stollenwerk
5040d48a33
Rename "Single State Workflow" to "Comment Single State Workflow".
...
svn path=/plone.app.discussion/trunk/; revision=35347
2010-03-19 10:17:00 +00:00
Timo Stollenwerk
5ce942d1d2
Rename 'publish comment' to 'approve comment'. This fixes #1608470 .
...
svn path=/plone.app.discussion/trunk/; revision=35342
2010-03-19 09:58:35 +00:00
Timo Stollenwerk
437094d951
Show a warning in the moderation view if the moderation workflow is disabled.
...
svn path=/plone.app.discussion/trunk/; revision=35341
2010-03-19 09:44:07 +00:00
Timo Stollenwerk
24a34d6919
Move 'Moderate comments' link from site actions to user actions.
...
svn path=/plone.app.discussion/trunk/; revision=35303
2010-03-18 16:16:44 +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
Florian Friesdorf
2815febe46
Revert "Fix #662654 : As an administrator, I can configure a Collection to show recent comments. Rename 'Discussion Item' title from 'Comment' to 'Discussion Item'."
...
This reverts commit 25c8faacc11353af815edb9dfdac567c2ddf284d.
Conflicts (solved):
CHANGES.txt
test and full fix on the way
svn path=/plone.app.discussion/trunk/; revision=35264
2010-03-18 13:21:53 +00:00
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