Changes between Initial Version and Version 1 of TracCaptchaPlugin

Jun 25, 2010, 8:01:06 PM (11 years ago)
Felix Schwarz

New hack TracCaptchaPlugin, created by felix_schwarz


  • TracCaptchaPlugin

    v1 v1  
     3= TracCaptcha =
     5== Description ==
     7TracCaptcha is a trac plugin to embed a captcha in the ticket page in addition
     8to Trac's regular permission checks so that spammers are kept out.
     10'''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
     13'''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.
     15'''Generic Infrastructure:''' TracCaptcha takes care about embedding a
     16given captcha in the appropriate places which means that building a different
     17captcha plugin is easy - you just have to build the captcha itself while this
     18code will take care of the trac integration.
     20The whole code is licensed under the very liberal [ MIT license] so you can use the API in your own code without problems.
     24== Bugs/Feature Requests ==
     26Existing bugs and feature requests for TracCaptchaPlugin are
     27[report:9?COMPONENT=TracCaptchaPlugin here].
     29If you have any issues, create a
     30[ new ticket].
     32== Download ==
     34Download the zipped source from [download:traccaptchaplugin here].
     36== Source ==
     38You can check out TracCaptchaPlugin from [ here] using Subversion, or [source:traccaptchaplugin browse the source] with Trac.
     40== Example ==
     42=== Configuration ===
     43Enable the macro in your trac.ini:
     46trac_captcha.* = enabled
     47# only needed if you want to use reCAPTCHA
     48trac_recaptcha.* = enabled
     51# add here the keys you got from
     52public_key = ...
     53private_key = ...
     56If you want to exempt some users from the captcha, grant them the CAPTCHA_SKIP privilege. TICKET_ADMINs and TRAC_ADMINs automatically have this privilege so they will never see a captcha. Also a user only needs to solve the captcha once per modification (so you can click 'preview' as often as you like without having to solve the captcha all over again).
     58=== Dependencies and Compatibility ===
     59 * Python 2.3-2.6
     60 * [trac: trac] 0.11 or 0.12
     61 * ''optional'': [ PyCrypto] for better security on Python 2.3 and 2.4
     64== Recent Changes ==
     66[[ChangeLog(traccaptchaplugin, 3)]]
     68== Author/Contributors ==
     70'''Author:''' [wiki:felix_schwarz] [[BR]]
     71'''Maintainer:''' [wiki:felix_schwarz] [[BR]]