• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Item6801: Address compatibility issues with CaptchaPlugin for version 5.0.1 (presumably beyond)

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Extension CaptchaPlugin Normal New   n/a  

Edit Form Data

Summary:
Reported By:
Codebase:
Applies To:
Component:
Priority:
Current State:
Waiting For:
Target Release:
Released In:
 

Detail

All paths here are relative to the directory which the plugin tarball is unzipped in.

Edit Register.pm-4.1.2.patch. Change the reference to "$topic" on line 27 to read "$session->{topicName}". Diff format below:

diff -r 1.5-pre3/Register.pm-4.1.2.patch 1.6/Register.pm-4.1.2.patch
27c27
< +									topic => $topic,
---
> +									topic => $session->{topicName},

Edit lib/TWiki/Plugins/CaptchaPlugin.pm - add the $ before debug. This is a very large source of error log spam, and generates one or two lines for every single topic view on my system.

diff -r 1.5-pre3/lib/TWiki/Plugins/CaptchaPlugin.pm 1.6/lib/TWiki/Plugins/CaptchaPlugin.pm
149c149
<    TWiki::Func::writeDebug(" expiring") if debug;
---
>    TWiki::Func::writeDebug(" expiring") if $debug;

I guess you can put me down as a "Maintainer lite" for this plugin. If someone else later on would like to maintain it, they can have it. But as long as it's understood that I may get around to fixing things with it or may not, it may be marginally better than a completely vacant maintainer role.

-- TWiki:Main/SeanNewton - 2011-08-31

Another fix for errors in the log, also in CaptchaPlugin.pm:

diff -r 1.5-pre3/lib/TWiki/Plugins/CaptchaPlugin.pm 1.6/lib/TWiki/Plugins/CaptchaPlugin.pm
224c224
<         $hash=Digest::MD5->md5_hex($txt.time().rand());
---
>         $hash=Digest::MD5::md5_hex($txt.time().rand());

-- TWiki:Main.SeanNewton - 2011-11-29

Thanks Sean! Hopefully someone will pick this up soon.

-- TWiki:Main.PeterThoeny - 2011-11-30

ItemTemplate
Summary Address compatibility issues with CaptchaPlugin for version 5.0.1 (presumably beyond)
ReportedBy TWiki:Main.SeanNewton
Codebase 5.0.1
SVN Range TWiki-5.1.0, Sat, 20 Aug 2011, build 22128
AppliesTo Extension
Component CaptchaPlugin
Priority Normal
CurrentState New
WaitingFor

Checkins

TargetRelease n/a
ReleasedIn

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2011-11-30 - PeterThoeny
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback