Commit Graph

529 Commits

Author SHA1 Message Date
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
Timo Stollenwerk
27d8ced62d revert r37751.
svn path=/plone.app.discussion/trunk/; revision=37753
2010-07-12 13:49:57 +00:00
Timo Stollenwerk
cac0bae7a5 revert r37751.
svn path=/plone.app.discussion/trunk/; revision=37752
2010-07-12 13:47:53 +00:00
Timo Stollenwerk
eabf3bc890 Always use zope.component getUtility instead of queryUtility.
svn path=/plone.app.discussion/trunk/; revision=37751
2010-07-12 13:34:02 +00:00
Timo Stollenwerk
bddc4a96da Remove unnecessary import.
svn path=/plone.app.discussion/trunk/; revision=37692
2010-07-07 11:37:44 +00:00
Yiorgis Gozadinos
d0273e57bb Added norwegian translation.
svn path=/plone.app.discussion/trunk/; revision=37646
2010-07-05 12:14:16 +00:00
Hanno Schlichting
9d396e43f1 Protect against missing canonical in conversationCanonicalAdapterFactory.
svn path=/plone.app.discussion/trunk/; revision=37410
2010-06-25 17:16:15 +00:00
Timo Stollenwerk
5f2daced20 Captcha documentation updated (code examples included, etc).
svn path=/plone.app.discussion/trunk/; revision=37369
2010-06-21 09:11:45 +00:00
Hanno Schlichting
f7c18ea77e No tabs please
svn path=/plone.app.discussion/trunk/; revision=37350
2010-06-18 12:19:33 +00:00
Hanno Schlichting
7d3247ff0c Avoid deprecation warning for the Globals package.
svn path=/plone.app.discussion/trunk/; revision=37349
2010-06-18 12:01:44 +00:00
Timo Stollenwerk
12589d9fd2 Remove the hard coded check for title and text when the comment form is submitted. This allows integrators to write schema extenders that remove the title from the comment form.
svn path=/plone.app.discussion/trunk/; revision=37341
2010-06-17 18:56:26 +00:00
Timo Stollenwerk
6e98edf54f Fix ascii art blocks.
svn path=/plone.app.discussion/trunk/; revision=37336
2010-06-17 09:01:59 +00:00
Timo Stollenwerk
400956e264 Comments added to the notification subscriber functions.
svn path=/plone.app.discussion/trunk/; revision=37329
2010-06-17 06:57:51 +00:00
Timo Stollenwerk
e56bc65956 raise AkismetReject if Akismet rejects a comment as spam.
svn path=/plone.app.discussion/trunk/; revision=37276
2010-06-14 13:02:46 +00:00
Timo Stollenwerk
ac84b232b8 Import Captcha validator from validator directly.
svn path=/plone.app.discussion/trunk/; revision=37273
2010-06-14 12:42:28 +00:00
Timo Stollenwerk
29015324f2 Move the Akismet validator error message to the top.
svn path=/plone.app.discussion/trunk/; revision=37272
2010-06-14 12:25:56 +00:00
Timo Stollenwerk
ac6865311d Move captcha registration to its own captcha.zcml file. Fix captcha registration for Plone 3/Zope 2.10
svn path=/plone.app.discussion/trunk/; revision=37140
2010-06-10 14:57:03 +00:00
Timo Stollenwerk
926314ea49 Akismet spam protection plugin support added (collective.akismet).
svn path=/plone.app.discussion/trunk/; revision=37136
2010-06-10 13:11:33 +00:00
Timo Stollenwerk
92766752c4 Simplify the CaptchaValidator class by dynamically adapting a view with the name of the captcha plugin (e.g. recaptcha, captcha, akismet) for the validator.
svn path=/plone.app.discussion/trunk/; revision=37131
2010-06-10 10:51:41 +00:00
Kim Chee Leong
a10a2b6144 added Dutch translations for plone.app.discussion
svn path=/plone.app.discussion/trunk/; revision=37091
2010-06-07 14:35:03 +00:00
Pelle Kroegholt
84c111755c Enable caching and merging for comments.js to save some requests.
svn path=/plone.app.discussion/trunk/; revision=37002
2010-06-04 19:56:17 +00:00
Timo Stollenwerk
af1a8bfacd Replace the old NOTES.txt and PRINCIPLES.txt with the Sphinx versions. Fix Captcha title.
svn path=/plone.app.discussion/trunk/; revision=36998
2010-06-04 11:22:16 +00:00
Timo Stollenwerk
bca29657b5 minor.
svn path=/plone.app.discussion/trunk/; revision=36996
2010-06-04 11:13:22 +00:00
Timo Stollenwerk
429c334376 captcha.txt added to sphinx documentation.
svn path=/plone.app.discussion/trunk/; revision=36995
2010-06-04 11:11:01 +00:00
Timo Stollenwerk
7f28f2773a Design notes for the Captcha plugin architecture added.
svn path=/plone.app.discussion/trunk/; revision=36993
2010-06-04 10:57:57 +00:00
Timo Stollenwerk
3bda1a12f1 Make IDiscussionLayer inherit from Interface again. Remove IDefaultPloneLayer, since Plone 4.0b1 and plone.theme 2.0b1 are out now. This was fixed by #10109; https://dev.plone.org/plone/ticket/10109; thanks davisagli!
svn path=/plone.app.discussion/trunk/; revision=36992
2010-06-04 09:33:48 +00:00
Timo Stollenwerk
28d88dcfb4 Clean up Javascript code. Obey the 80 character limit.
svn path=/plone.app.discussion/trunk/; revision=36991
2010-06-04 09:25:47 +00:00
Timo Stollenwerk
2e0b52889d Clean up (Re)Captcha code. Register Captcha field/validator only if a package is installed that provides the "plone.app.discussion-captcha" feature (currently plone.formwidget.captcha and plone.formwidget.recaptcha trunk only).
svn path=/plone.app.discussion/trunk/; revision=36877
2010-06-01 16:38:29 +00:00
Timo Stollenwerk
682ceb2760 fix r36843 commit. set HAS_WRAPPED_FORM to false for plone.z3cform < 0.6.0.
svn path=/plone.app.discussion/trunk/; revision=36845
2010-05-31 10:05:57 +00:00
Timo Stollenwerk
3d22bc56c4 Fix encoding error in migration procedure, otherwise migration procedure breaks on joining output list in case we have there any non-ascii characters. [piv]
svn path=/plone.app.discussion/trunk/; revision=36844
2010-05-31 09:58:42 +00:00