wiki:TracRecaptcha
close Warning:

Trac reCAPTCHA filter

Introduction

This filter uses the free service from http://recaptcha.net to check if a content submitter is a human or a computer. Once a captcha is solved it will allow a configurable number of submissions for a configurable time period until it requires another captcha to be solved.

  • Release 1.10 adds the fix from #1674 to only show the 'Admin' nav button when a user has TRAC_ADMIN rights.
  • Release 1.9 packages the template files in the source tar.
  • Release 1.8 changes how a submitted captcha is processed.
  • Release 1.7 adds support for Trac 0.11, but drops mailhide as well as Trac 0.10 compatibility.
  • Release 1.6 was originally never released, probably fixed some minor issues with 1.5.
  • Release 1.5 includes mailhide functionality which hides most email addresses behind a captcha, if the email address is already a link for something else we show only the full name, or local part of the email address.
  • Release 1.4 was the first public release.

Installation

  • download the attached .egg file, copy it to $tracdir/plugins and restart trac.

Configuration

Use the Admin -> Spam Filtering -> reCAPTCHA page to configure the settings or add the following to $tracdir/conf/trac.ini

[spam-filter]
recaptcha_public_key = ...
recaptcha_private_key = ...
recaptcha_lifetime = ...
recaptcha_submissions = ...
Last modified 7 years ago Last modified on Dec 14, 2010, 10:29:39 PM

Attachments (12)

Download all attachments as: .zip