wiki:TracRecaptcha
close Warning:

Version 2 (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 submissions for a configurable time period before it requires another captcha to be solved.

This implementation was tested with Trac 0.10

Installation

  • install recaptcha-client api implementation for python. easy_install recaptcha-client.
  • optionally install the TracWebAdmin plugin.
  • download the attached .egg file and copy it into $tracdir/plugins.

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

Attachments (12)

Download all attachments as: .zip