wiki:TracRecaptcha
close Warning:

Version 5 (modified by jaharkes, 10 years ago) (diff)

--

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.5 also 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.

This implementation was tested with Trac 0.10.

Installation

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

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 = ...
mailhide_public_key = ...
mailhide_private_key = ...

Attachments (12)

Download all attachments as: .zip