Timo Stollenwerk
f4435a563b
Remove unnecessary init test. remove namespaces from method calls.
...
svn path=/plone.app.discussion/trunk/; revision=39145
2010-08-27 20:51:19 +00:00
Timo Stollenwerk
9e405b47a1
qunit files added.
...
svn path=/plone.app.discussion/trunk/; revision=39143
2010-08-27 20:50:18 +00:00
Timo Stollenwerk
a1605fb88b
Revert r39104 since it breaks the comments js.
...
svn path=/plone.app.discussion/trunk/; revision=39141
2010-08-27 20:45:11 +00:00
Timo Stollenwerk
d713409aa1
Use a discussion JS namespace for comments.js; JS tests for clearForm and createReplyForm functions added.
...
svn path=/plone.app.discussion/trunk/; revision=39104
2010-08-27 17:11:25 +00:00
Timo Stollenwerk
2c5d387cfc
Rename js directory to javascripts.
...
svn path=/plone.app.discussion/trunk/; revision=39066
2010-08-27 12:07:04 +00:00
Timo Stollenwerk
e310c1d021
Basic JS tests added.
...
svn path=/plone.app.discussion/trunk/; revision=39064
2010-08-27 11:41:39 +00:00
Timo Stollenwerk
d3074fa4fd
Make Javascripts pass JSLint validation
...
svn path=/plone.app.discussion/trunk/; revision=39059
2010-08-27 10:34:42 +00:00
Timo Stollenwerk
61565de95a
Put email notification subscribers into their own zcml file so it is easier for integrators to override them.
...
svn path=/plone.app.discussion/trunk/; revision=38981
2010-08-26 09:31:49 +00:00
Timo Stollenwerk
a2c89ed5e8
Plain text and intelligent text options for comment text added to preserve basic text structure and to make links clickable.
...
svn path=/plone.app.discussion/trunk/; revision=38931
2010-08-25 14:03:29 +00:00
Timo Stollenwerk
35d7743b7a
Plain text to HTML transformation added for comment text
...
svn path=/plone.app.discussion/trunk/; revision=38898
2010-08-25 09:19:28 +00:00
Vincent Fretin
17fce9d515
Rewrote all tal:condition in comments.pt. The authenticated user has
...
the reply button and the comment form if he has the "Reply to item"
permission and the conversation is currently enabled.
Warning:
There is a security hole at the moment. Any authenticated user having the
zope2.View permission or anonymous user without captcha can add a comment
by creating a post request.
svn path=/plone.app.discussion/trunk/; revision=38888
2010-08-24 11:25:17 +00:00
Vincent Fretin
352a517a0a
Fixed the case where a folder has allow_discussion=False and
...
conversation.enabled() on a document in this folder returned False
instead of True because of allow_discussion acquisition.
svn path=/plone.app.discussion/trunk/; revision=38835
2010-08-20 11:52:05 +00:00
Timo Stollenwerk
7a2f1ff12b
Fix indentation.
...
svn path=/plone.app.discussion/trunk/; revision=38665
2010-08-09 12:42:21 +00:00
Timo Stollenwerk
d37d5aa9f5
Redirect to the comment form action instead of the absolute url when a comment is posted. This fixes the accidentially triggered file upload when a comment is posted on a file content object.
...
svn path=/plone.app.discussion/trunk/; revision=38664
2010-08-09 12:25:14 +00:00
Vincent Fretin
7705e7facf
Updated zh_TW translation
...
svn path=/plone.app.discussion/trunk/; revision=38610
2010-08-08 08:55:31 +00:00
Vincent Fretin
d75fe71a3b
Add point
...
svn path=/plone.app.discussion/trunk/; revision=38599
2010-08-06 20:22:07 +00:00
Vincent Fretin
7c007b1306
You can now translate the title and description of the product.
...
svn path=/plone.app.discussion/trunk/; revision=38597
2010-08-06 19:22:19 +00:00
Vincent Fretin
8d6e960804
changed translation
...
svn path=/plone.app.discussion/trunk/; revision=38596
2010-08-06 19:17:18 +00:00
Vincent Fretin
69c2ce9556
Added 3 new messages from the single state workflow
...
svn path=/plone.app.discussion/trunk/; revision=38583
2010-08-06 17:24:05 +00:00
Vincent Fretin
be0a6cb685
Added zh_TW translation, use Domain:zh_TW (case sensitive) in plone-zh_TW.po
...
svn path=/plone.app.discussion/trunk/; revision=38581
2010-08-06 17:15:59 +00:00
Vincent Fretin
fd6a8e0fd8
* Renamed legend_add_comment to label_add_comment to have the translation from
...
plone domain.
* label_comment_by and label_commented_at are not in Plone 4 translation anymore, so
these two messages moved to plone.app.discussions i18n domain.
svn path=/plone.app.discussion/trunk/; revision=38574
2010-08-06 15:33:34 +00:00
Vincent Fretin
86aee7a2ea
Added French translation.
...
svn path=/plone.app.discussion/trunk/; revision=38573
2010-08-06 15:21:29 +00:00
Vincent Fretin
733c3439ca
Translate "Warning" shown in @@moderate-comments in the plone domain.
...
svn path=/plone.app.discussion/trunk/; revision=38568
2010-08-06 10:46:37 +00:00
Vincent Fretin
da7e28be74
Fixed some typo
...
svn path=/plone.app.discussion/trunk/; revision=38567
2010-08-06 10:43:44 +00:00
Giorgio Borelli
38b5f7dbae
italian translation update
...
svn path=/plone.app.discussion/trunk/; revision=38566
2010-08-06 10:34:04 +00:00
Vincent Fretin
d2b19deeac
use double quotes
...
svn path=/plone.app.discussion/trunk/; revision=38565
2010-08-06 10:01:52 +00:00
Vincent Fretin
c1e861e969
Fixed i18n markup of message_moderation_disabled.
...
svn path=/plone.app.discussion/trunk/; revision=38564
2010-08-06 09:51:23 +00:00
Vincent Fretin
27710ca541
It's 'Allow comments', not 'enable moderation'
...
svn path=/plone.app.discussion/trunk/; revision=38563
2010-08-06 09:34:05 +00:00
Timo Stollenwerk
86c2bbe001
Spanish and German translation updated.
...
svn path=/plone.app.discussion/trunk/; revision=38552
2010-08-05 18:41:22 +00:00
Timo Stollenwerk
27a2d3fa36
Use only one MessageFactory.
...
svn path=/plone.app.discussion/trunk/; revision=38551
2010-08-05 18:40:22 +00:00
Timo Stollenwerk
25d1da3475
Spanish translation added. Thanks to Judith Sanleandro.
...
svn path=/plone.app.discussion/trunk/; revision=38550
2010-08-05 17:18:19 +00:00
Vincent Fretin
6d07243885
Added fr to the script and added the empty i18n/plone-fr.po file
...
svn path=/plone.app.discussion/trunk/; revision=38549
2010-08-05 17:00:05 +00:00
Vincent Fretin
d0cb939828
Added fr directory with empty po file
...
svn path=/plone.app.discussion/trunk/; revision=38548
2010-08-05 16:57:25 +00:00
Timo Stollenwerk
ae5754455b
Translation files updated. Spanish translation added.
...
svn path=/plone.app.discussion/trunk/; revision=38547
2010-08-05 16:47:24 +00:00
Timo Stollenwerk
f72972844d
Call the CaptchaValidator even when no captcha data was submitted. This is necessary to ensure that the collective.akismet validator is called when installed.
...
svn path=/plone.app.discussion/trunk/; revision=38541
2010-08-05 15:36:07 +00:00
Patrick Gerken
94e73b43a7
Catch TypeError in indexers if content can not be adapted
...
Currently plone.app.discussion provides indexers
for IContentish. In these it tries to adapt
the content object to IDiscussion. But an IDiscussion Factory is only
provided for IAnnotatable.
The Criteria are IContentish but not IAnnotatable.
Indexing them fails
svn path=/plone.app.discussion/trunk/; revision=38182
2010-07-21 23:36:16 +00:00
Timo Stollenwerk
0925a63c15
Unnecessary imports removed.
...
svn path=/plone.app.discussion/trunk/; revision=38139
2010-07-19 08:25:37 +00:00
Timo Stollenwerk
88ce860aa5
Use self.form instead of CommentForm for the CommentsViewlet update method so integrators don't have to override the viewlet's update method. [Matous]
...
svn path=/plone.app.discussion/trunk/; revision=37916
2010-07-16 15:26:01 +00:00
Timo Stollenwerk
85d5b823b0
Remove collective.akismet from the captcha documentation.
...
svn path=/plone.app.discussion/trunk/; revision=37915
2010-07-16 15:08:18 +00:00
Timo Stollenwerk
c3320def88
Make sure the form fields in the reply form are always placed under the field labels; Fix CSS overflow bug that occurs with the new Plone 4.0b5 comment styles
...
svn path=/plone.app.discussion/trunk/; revision=37774
2010-07-13 13:39:35 +00:00
Timo Stollenwerk
6ca6f58acd
Remove unnecessary variables and imports.
...
svn path=/plone.app.discussion/trunk/; revision=37773
2010-07-13 13:21:12 +00:00
Timo Stollenwerk
a54a15a90f
Remove unnecessary imports and variables from test code.
...
svn path=/plone.app.discussion/trunk/; revision=37768
2010-07-13 10:45:53 +00:00
Timo Stollenwerk
cfdd99b111
remove unnecessary imports / variables; whitespace
...
svn path=/plone.app.discussion/trunk/; revision=37767
2010-07-13 10:41:26 +00:00
Timo Stollenwerk
66c235aa5e
fix whitespace
...
svn path=/plone.app.discussion/trunk/; revision=37766
2010-07-13 10:40:45 +00:00
Timo Stollenwerk
a5683b0674
remove unnecessary imports.
...
svn path=/plone.app.discussion/trunk/; revision=37765
2010-07-13 10:40:24 +00:00
Timo Stollenwerk
f3b1dab916
Move AkismetValidator from plone.app.discussion to collective.akismet.
...
svn path=/plone.app.discussion/trunk/; revision=37764
2010-07-13 09:24:23 +00:00
Timo Stollenwerk
5784ed82a3
Remove unnecessary imports from vocabularies.py.
...
svn path=/plone.app.discussion/trunk/; revision=37763
2010-07-13 09:23:10 +00:00
Timo Stollenwerk
31c0f7b459
Check for collective.akismet to detect akismet plugin, not for the Python akismet package.
...
svn path=/plone.app.discussion/trunk/; revision=37762
2010-07-13 09:22:05 +00:00
Timo Stollenwerk
2dbc337fc7
Remove unnecessary imports from captcha.py.
...
svn path=/plone.app.discussion/trunk/; revision=37760
2010-07-13 09:20:32 +00:00
Timo Stollenwerk
1a84b0b7b8
Remove unnecessary imports.
...
svn path=/plone.app.discussion/trunk/; revision=37759
2010-07-13 09:19:20 +00:00