Changes between Version 8 and Version 9 of TracCaptchaPlugin


Ignore:
Timestamp:
Jan 17, 2016, 2:32:26 PM (8 years ago)
Author:
figaro
Comment:

Cosmetic changes, tagged with pypi

Legend:

Unmodified
Added
Removed
Modified
  • TracCaptchaPlugin

    v8 v9  
    77This plugin embeds a captcha in the ticket page in addition to Trac's regular permission checks. Its purpose is to keep spammers out of the Trac environment.
    88
    9 '''Fully functional:''' The popular reCAPTCHA system is supported out of the box. Technically it's a plugin: if you don't like it, you are free to use any other plugin while still leverage the benefits from the general captcha infrastructure.
     9Key features:
     10 * '''Fully functional:''' The popular reCAPTCHA system is supported out of the box. Technically it's a plugin: if you don't like it, you are free to use any other plugin while still leverage the benefits from the general captcha infrastructure.
     11 * '''Does not annoy users:''' After the user entered the captcha once, (s)he does not have to solve the captcha again for the same ticket when (s)he just clicks 'preview'. Also you can configure to exempt certain users or groups (e.g. 'all authenticated users') from the captchas by using Trac's permission system.
     12 * '''Generic Infrastructure:''' !TracCaptcha takes care about embedding a given captcha in the appropriate places, which means that building a different captcha plugin is easy - you just have to build the captcha itself while this code will take care of the Trac integration.
    1013
    11 '''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.
     14The code is licensed under the liberal [http://en.wikipedia.org/wiki/MIT_License MIT license], so you can use the API in your own code.
    1215
    13 '''Generic Infrastructure:''' !TracCaptcha takes care about embedding a given captcha in the appropriate places which means that building a different captcha plugin is easy - you just have to build the captcha itself while this code will take care of the Trac integration.
    14 
    15 The whole code is licensed under the liberal [http://en.wikipedia.org/wiki/MIT_License MIT license], so you can use the API in your own code without problems.
    16 
    17 == See it in Action
     16== Screenshot
    1817
    1918[[Image(wiki:TracCaptchaPlugin:captcha_example.png)]]
     
    3433
    3534Note the dependencies and compatibility:
    36  * Python 2.3-2.7.
     35 * Python 2.3 - 2.7.
    3736 * [trac: Trac] 0.11, 0.12, 1.0.
    3837 * Optional: [http://www.pycrypto.org PyCrypto] for better security on Python 2.3 and 2.4.
     
    4039== Configuration
    4140
    42 Enable the macro in your `trac.ini`:
     41Enable the macro in your `trac.ini` file:
    4342{{{#!ini
    4443[components]
     
    5352}}}
    5453
    55 If 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.
     54If 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 again.
    5655
    5756== Author/Contributors