Changes between Version 5 and Version 6 of MathCaptchaPlugin


Ignore:
Timestamp:
Nov 11, 2015, 10:08:25 AM (8 years ago)
Author:
figaro
Comment:

Cosmetic changes

Legend:

Unmodified
Added
Removed
Modified
  • MathCaptchaPlugin

    v5 v6  
    11[[PageOutline(2-5,Contents,pullout)]]
    22
    3 = A simple equation solver used as a Captcha
     3= A simple equation challenge used as a Captcha
    44
    55== Description
     
    99=== Version 2.0
    1010
    11 I'm starting to see some particular spambots get through the simple captcha, so I'm releasing version 2.0 that includes a slight modification to the format presented to the user. In addition, this version now correctly works with fcgi and mod_python by saving the captcha information in the trac database.  (To use mod_python as an example: apache may start many processes where each has its own embedded python interpreter.  The particular apache process than displayed the form may not be the same one that processes the form request, so there must be a persistent way to store the solution to the captcha rather than making it easy for spambots by encoding the solution in the web page itself.)
     11I'm starting to see some particular spambots get through the simple captcha, so I'm releasing version 2.0 that includes a slight modification to the format presented to the user. In addition, this version now correctly works with fcgi and mod_python by saving the captcha information in the trac database. To use mod_python as an example: Apache may start many processes where each has its own embedded Python interpreter. The particular Apache process that displayed the form may not be the same one that processes the form request, so there must be a persistent way to store the solution to the captcha rather than making it easy for spambots by encoding the solution in the web page itself.
    1212
    1313I'm also keeping a 30 day record of failed attempts in the same database so you can get an idea of what sort of spambots are trying to get through your defenses.
     
    2525
    2626If you have any issues, create a
    27 [http://trac-hacks.org/newticket?component=MathCaptchaPlugin&owner=robm new ticket].
     27[/newticket?component=MathCaptchaPlugin new ticket].
    2828
    2929[[TicketQuery(component=MathCaptchaPlugin&group=type,format=progress)]]
    3030
     31== Download
     32
     33Download the zipped source from [export:mathcaptchaplugin here].
     34
    3135== Source
    3236
    33 You can check out MathCaptchaPlugin from [http://trac-hacks.org/svn/mathcaptchaplugin here] using Subversion, or [source:mathcaptchaplugin browse the source] with Trac.
    34 
    35 == Download
    36 
    37 Download the zipped source from [download:mathcaptchaplugin here].
     37You can check out MathCaptchaPlugin from [/svn/mathcaptchaplugin here] using Subversion, or [source:mathcaptchaplugin browse the source] with Trac.
    3838
    3939== Installation
    4040
    41 Install by either copying the !MathCaptcha.py file into your {{{/path/to/project/environment/plugins}}} directory, or use
    42 {{{
     41Install by either copying the !MathCaptcha.py file into your {{{/path/to/project/environment/plugins}}} directory, or use the following from within the source directory:
     42{{{#!sh
    4343python setup.py install
    4444}}}
    45 from within the source directory.
    4645
    47 Version 2.0 of the plugin creates a new database needed for processing captchas when run using fcgi or mod_python, so you'll have to run
    48 {{{
     46Version 2.0 of the plugin creates a new database needed for processing captchas when run using fcgi or mod_python, so you'll have to run the following before you can use the plugin:
     47{{{#!sh
    4948trac-admin /path/to/project/environment upgrade
    5049}}}
    51 before you can use the plugin. Once installed and the environment is upgraded, the plugin must be enabled by adding a line to the ''components'' section in your `trac.ini` file:
     50
     51Once installed and the environment is upgraded, the plugin must be enabled by adding a line to the ''components'' section in your `trac.ini` file:
    5252{{{#!ini
    5353[components]