Skip to main content

pluggable captcha infrastructure for Trac with reCAPTCHA included

Project description

TracCaptcha is a Trac plugin to embed a captcha in the ticket page in addition to Trac’s regular permission checks so that spammers are kept out.

“It just works”: Installation and configuration is very simple, just install the egg and put two configuration options in your trac.ini. No database changes required.

Batteries included: The popular reCAPTCHA system is supported out of the box. Technically it’s a plugin - if you don’t like it you’re free to use any other plugin while still leverage the benefits from the general captcha infrastructure.

Does not annoy users: After the user entered the captcha once, he does not have to solve the captcha again for the same ticket when he just clicks ‘preview’. Also you can configure exempt certain users or groups (e.g. ‘all authenticated users’) from the captchas just by using Trac’s permission system.

Easy to extend: Protecting an additional page with a captcha is very simple. Implementing captchas for the ticket module took only 20 lines of code! Captchas for the DiscussionPlugin needed 21 lines of code!

Easy to write custom captchas: If you don’t like reCAPTCHA, you can still use the generic infrastructure with all its features: You implement the code to generate the captcha and validate the user’s input. TracCaptcha will take care of displaying your plugin in all supported pages!

Changelog

0.2.2 (04.02.2011)

  • fix tests on current Trac trunk (0.13dev)

  • fix: TICKET_ADMIN looses other ticket-related permissions on Trac < 0.13 (thanks to Anton V. for reporting)

0.2.1 (10.11.2010)

  • fix “installation” as egg file in Trac plugins folder

0.2 (10.07.2010)

  • integration in 3rd party Trac plugins: TracDiscussionPlugin and AccountManager (registration only)

  • reCAPTCHA: select widget theme via trac.ini (requires simplejson for Python 2.3-2.5)

  • reCAPTCHA: display the widget in the user’s locale (if translation is provided by the reCAPTCHA service)

  • reCAPTCHA: use HTTPS to include script files if Trac page was served with HTTPS

  • reCAPTCHA: show link for reCAPTCHA signup if no keys configured

  • reCAPTCHA: use new Google URLs

0.1 (25.06.2010)

  • initial release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

TracCaptcha-0.2.2.tar.gz (25.0 kB view details)

Uploaded Source

Built Distribution

TracCaptcha-0.2.2-py2.7.egg (65.7 kB view details)

Uploaded Source

File details

Details for the file TracCaptcha-0.2.2.tar.gz.

File metadata

  • Download URL: TracCaptcha-0.2.2.tar.gz
  • Upload date:
  • Size: 25.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for TracCaptcha-0.2.2.tar.gz
Algorithm Hash digest
SHA256 dc962a15aef48ccb86488bb2ff7d457a16ae7cacd0d12bcdcde37c55f2a97964
MD5 9fc4ecb2c01d99ddd19a8ab920679e1e
BLAKE2b-256 aa981a50ab57a1be0e39dd4bbdffcf6058b739f088e978ffda07b4f045be9235

See more details on using hashes here.

File details

Details for the file TracCaptcha-0.2.2-py2.7.egg.

File metadata

File hashes

Hashes for TracCaptcha-0.2.2-py2.7.egg
Algorithm Hash digest
SHA256 b6ae3d56058eb839fe5d5b14d1ea16a7e15b5dc4a8adb0f8c46d0ead044b3f3e
MD5 151c5b0ad2d520d7f97ce36f5c17c0c5
BLAKE2b-256 8d50e27038bb531159bf85e3036c751eef4f9cda79d6e1b5df2271c5277b96c5

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page