Changes between Version 4 and Version 5 of MathCaptchaPlugin


Ignore:
Timestamp:
Apr 9, 2015, 10:32:51 AM (5 years ago)
Author:
figaro
Comment:

Cosmetic changes, tagged with license

Legend:

Unmodified
Added
Removed
Modified
  • MathCaptchaPlugin

    v4 v5  
    1 = A simple equation solver used as a CAPTCHA =
     1[[PageOutline(2-5,Contents,pullout)]]
    22
    3 == Description ==
     3= A simple equation solver used as a Captcha
    44
    5 This is a small plugin to present an anonymous user with simple math addition problems in order to submit a new ticket or to make edits in the wiki.  Currently there is no customization: it presents two integers in the range of 1 - 10 and asks the user to add them together.
     5== Description
    66
    7 == Version 2.0 ==
     7This plugin presents an anonymous user with simple math addition problems in order to submit a new ticket or to make edits in the wiki. Currently there is no customization: it presents two integers in the range of 1 - 10 and asks the user to add them together.
    88
    9 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.)
     9=== Version 2.0
     10
     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 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.)
    1012
    1113I'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.
     
    1315For the future, would be nice if there were multiple types of math problems presented in a way that wouldn't be easy for a bot to recognize.
    1416
    15 == 0.12 Support ==
     17=== Version 0.12
    1618
    17 Thanks to user Srl295, the plugin now supports Trac 0.12.  No database upgrade is necessary if migrating from 0.11
     19Thanks to user Srl295, the plugin now supports Trac 0.12. No database upgrade is necessary if migrating from 0.11.
    1820
    19 
    20 == Bugs/Feature Requests ==
     21== Bugs/Feature Requests
    2122
    2223Existing bugs and feature requests for MathCaptchaPlugin are
     
    2627[http://trac-hacks.org/newticket?component=MathCaptchaPlugin&owner=robm new ticket].
    2728
    28 == Download ==
     29[[TicketQuery(component=MathCaptchaPlugin&group=type,format=progress)]]
     30
     31== Source
     32
     33You 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
    2936
    3037Download the zipped source from [download:mathcaptchaplugin here].
    3138
    32 == Install ==
     39== Installation
    3340
    3441Install by either copying the !MathCaptcha.py file into your {{{/path/to/project/environment/plugins}}} directory, or use
     
    4249trac-admin /path/to/project/environment upgrade
    4350}}}
    44 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 trac.ini:
    45 {{{
     51before 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:
     52{{{#!ini
    4653[components]
    4754mathcaptcha.* = enabled
    4855}}}
    49 Finally, give anonymous users any of the following permissions: '''TICKET_CREATE''', '''TICKET_MODIFY''', '''WIKI_CREATE''', or '''WIKI_MODIFY'''.  Anonymous users will then be prompted to solve a math problem before being allowed to submit it, while authenticated users will not see the captcha.
    5056
    51 == Source ==
     57Finally, give anonymous users any of the following permissions:
     58 * `TICKET_CREATE`
     59 * `TICKET_MODIFY`
     60 * `WIKI_CREATE`
     61 * `WIKI_MODIFY`
    5262
    53 You can check out MathCaptchaPlugin from [http://trac-hacks.org/svn/mathcaptchaplugin here] using Subversion, or [source:mathcaptchaplugin browse the source] with Trac.
     63Anonymous users will then be prompted to solve a math problem before being allowed to submit it, while authenticated users will not see the captcha.
    5464
    55 == Recent Changes ==
     65== Recent Changes
    5666
    5767[[ChangeLog(mathcaptchaplugin, 3)]]
    5868
    59 == Author/Contributors ==
     69== Author/Contributors
    6070
    6171'''Author:''' [wiki:robm] [[BR]]
     72'''Maintainer''': [[Maintainer]] [[BR]]
    6273'''Contributors:'''