Opened 18 years ago
Closed 14 years ago
#4034 closed enhancement (fixed)
Numeric captcha '2*4 is?' to create new settings
Reported by: | Owned by: | Jonas Borgström | |
---|---|---|---|
Priority: | normal | Milestone: | plugin - spam-filter |
Component: | general | Version: | 0.10 |
Severity: | minor | Keywords: | |
Cc: | sergeych@… | Branch: | |
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
Captcha asks question only if name and email are both empty, otherwise is skipped.
The patch for trunk/trac and trunk/templates. Error reporting should be improved - don't know what style to use to report wrong answer.
Attachments (5)
Change History (18)
by , 18 years ago
Attachment: | numcaptcha1.patch added |
---|
comment:1 by , 18 years ago
Owner: | changed from | to
---|---|
Severity: | normal → minor |
Status: | new → assigned |
comment:2 by , 18 years ago
Sergey, this can be entirely implemented as an IRequestFilter
. I have a basic implementation that I'll attach for you to test.
by , 18 years ago
Attachment: | TracCaptcha-0.1.tar.gz added |
---|
Captcha plugin implemented with the IRequestFilter
interface
comment:3 by , 18 years ago
Give that a try. The user will be challenged with a Captcha the first time they POST a form. There is some dodgy hackery to achieve this, so it may not work in all cases. Seems to work with Wiki and ticket updates though.
The default captcha implementation is pretty much your one. An image captcha can be enabled by installing PIL and updating TracIni with:
[captcha] captcha = ImageCaptcha
There's also a http://captcha.net implementation, but I haven't received the authentication tokens yet and so haven't been able to test it.
comment:4 by , 18 years ago
Well I suppose we use the simpler approach:
- if the user has not set hist nick or email, he or she (or it) may not post anything, so one need to set it up in one's settings. AFAIK it is already done?
- in the settnigs screen when person for the first time enters one's nick and/or password, ones is asked for captcha.
- as long as the user has name and or email fields not blank the captcha on settings change is inactive.
comment:6 by , 18 years ago
Cc: | added |
---|
by , 18 years ago
Attachment: | spam-filter-captcha-fallback.diff added |
---|
Captcha plugin integrated into SpamFilter
comment:8 by , 18 years ago
Milestone: | → 2.0 |
---|
#3391 and #4267 marked as duplicate.
Alec has started a branch for a captcha-enabled SpamFilter plugin here: source:/sandbox/spam-filter-captcha
follow-up: 10 comment:9 by , 17 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:10 by , 17 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
This is not a test system; please do not close tickets for no reason.
comment:11 by , 17 years ago
Owner: | changed from | to
---|---|
Status: | reopened → new |
(anonymous should not own a ticket)
comment:13 by , 14 years ago
Milestone: | triaging → plugin - spam-filter |
---|---|
Resolution: | → fixed |
Status: | new → closed |
The plugin is now here: plugins/0.12/spam-filter-captcha. I guess we can close this ticket.
Found a potential problem. I'm passig captcha answer between requests in the request handler instance var. I'm afrais thi is not good so I'll move it to the req.session very soon. I'm sorry.
BTW askimet just rejected my comments again :)
I think that it's time to add optional password to protect the account?