Commit Graph

10 Commits

Author SHA1 Message Date
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
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
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
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
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