RT::Extension::Captcha - solve a CAPTCHA before some actions in RT
This extension is for RT 4.2 or newer. It requires solving captchas when a user creates a ticket (using either regular interface or quick create) and on replies/comments (updates).
perl Makefile.PL
make
make install
May need root permissions
Add this line:
Plugin('RT::Extension::Captcha');
rm -rf /opt/rt5/var/mason_data/obj
Users who have right 'NoCaptchaOnCreate' or 'NoCaptchaOnUpdate' will see no captchas on corresponding actions.
As GD's builtin font is kinda small. A ttf font is used instead. By default font defined by ChartFont option (RT's option to set fonts for charts) is used for CAPTCHA images.
As well, you can set font for cpatchas only using "%Captcha option" described below.
See etc/Captcha_Config.pm for defaults and example. %Captcha option is a hash. Now, only ImageProperties key has meaning:
%Captcha
Set(%Captcha, ImageProperties => { option => value, option => value, ... }, );
ImageProperties are passed into "new" in GD::SecurityImage. Read documentation for the module for full list of options.
Best Practical Solutions, LLC <modules@bestpractical.com>
All bugs should be reported via email to
L<bug-RT-Extension-Captcha@rt.cpan.org|mailto:bug-RT-Extension-Captcha@rt.cpan.org>
or via the web at
L<rt.cpan.org|http://rt.cpan.org/Public/Dist/Display.html?Name=RT-Extension-Captcha>.
This software is Copyright (c) 2014-2020 by Best Practical Solutions
This is free software, licensed under:
The GNU General Public License, Version 2, June 1991
To install RT::Extension::Captcha, copy and paste the appropriate command in to your terminal.
cpanm
cpanm RT::Extension::Captcha
CPAN shell
perl -MCPAN -e shell install RT::Extension::Captcha
For more information on module installation, please visit the detailed CPAN module installation guide.