Ticket #1398 (closed enhancement: duplicate)

Opened 3 years ago

Last modified 1 year ago

KCaptcha intgration

Reported by: davert Assigned to: Davert
Priority: normal Milestone: 0.9.1 - polishing
Component: not categorised Severity: open
Keywords: Cc:

Description

As you may understand avaible text-based Captcha in Seagull is very weak. For my project I used KCaptcha http://www.captcha.ru/en/kcaptcha/ (also on this site is article with descriptopns of captchas algorithms and comperative table)

I have replaced SGL_Captcha lib and made some updates to Registration module.

Attachments

captcha.tgz (159.8 kB) - added by davert on 02/24/07 18:09:02.
KCaptcha. Extract to www/captcha dir
Captcha.php (3.8 kB) - added by davert on 02/24/07 18:12:01.
SGL_Captcha. Push to lib/ dir
register.mgr.captcha.patch (2.8 kB) - added by davert on 02/24/07 18:13:35.
Patch demonstrates how it's implemented in RegistrationMgr?. Don't patch it now! Just look the code changes

Change History

02/24/07 18:09:02 changed by davert

  • attachment captcha.tgz added.

KCaptcha. Extract to www/captcha dir

02/24/07 18:12:01 changed by davert

  • attachment Captcha.php added.

SGL_Captcha. Push to lib/ dir

02/24/07 18:13:35 changed by davert

  • attachment register.mgr.captcha.patch added.

Patch demonstrates how it's implemented in RegistrationMgr?. Don't patch it now! Just look the code changes

02/24/07 18:16:31 changed by davert

So I have uploaded libs and path to user/RegistrationMgr which demonstrates how captcha is used.

There is no optional turning on\off captcha, or total replacement of old text-based captcha, but it's very powerfull captcha lib, and it should be used in project for real protetion against spam-bots.

02/26/07 08:57:51 changed by demian

  • milestone set to 0.6.2.

02/27/07 02:24:05 changed by davert

Should I write wiki page describing usage of KCaptcha in Seagull?

03/21/07 12:37:57 changed by demian

  • milestone deleted.

Hi Davert

just going over tickets to close 0.6.2 - this seems interesting but not easy to integrate. i can see two choices, make existing SGL_Captcha driver-based, and put your code in 'sgl hacks' repo (see http://trac.seagullproject.org/ticket/890) or make this a plugin. Probably latter is best idea. Work has started on SGL_Plugin, this could be good way to push the job forward.

04/17/07 10:35:32 changed by davert

I think kcaptcha library uses the same interface for validating. So the old once can be simply replaced with this.

Maybe we can switch captcha types in config and then use decorator for SGL_Captcha class.

04/17/07 11:39:54 changed by demian

  • milestone set to 0.6.3.

sounds good to me, show me the code :-)

11/08/07 16:53:26 changed by demian

  • milestone changed from 0.6.3 to 0.9.0 - polishing.

dude - should this ticket stay open?

10/21/08 17:29:23 changed by demian

  • status changed from new to closed.
  • resolution set to duplicate.