id,summary,reporter,owner,description,type,status,priority,component,severity,resolution,keywords,cc,release
3051,Recaptcha support for comments,arteme,osimons,From personal experience_ comments added by AddCommentMacro are not filtered by any Trac spam filter plugins. Attached is a patch for 0.10-version of the macro to integrate the recaptcha.net support.\r\n\r\nTo use_ one must explicitly turn on recaptcha feature in the ini-file:\r\n{{{\r\n[addcomment]\r\nrecaptcha = on\r\nrecaptcha_private_key = ...\r\nrecaptcha_public_key = ...\r\n}}}\r\n\r\nWhen enabled_ a recaptcha widget will appear below the comment input field and buttons. The default behavior is to require only anonymous users to solve the captcha. If logged in users are required to solve one as well_ add\r\n{{{\r\nrecaptcha_logged_in = on\r\n}}}\r\nto the aforementioned block in the ini-file.\r\n\r\nIn case if the captcha is solved correctly_ pressing "Add comment" button will add the comment. If the captcha is solved incorrectly_ "Add comment" will instead switch to "Preview" functionality_ displaying a message that the captcha needs to be solved before the comment can be posted.,enhancement,closed,normal,AddCommentMacro,normal,worksforme,,,0.10
