Closed (fixed)
Project:
CAPTCHA
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
21 Jun 2013 at 13:57 UTC
Updated:
29 Apr 2018 at 10:09 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
wundo commentedHow does this relates with the patch I've just committed for the 7.x branch?
Comment #2
elachlan commentedIt still needs work I think. I will get around to it eventually.
The patch will need to be re-rolled to the 8.x branch.
Comment #3
elachlan commentedPort from git, see issue: #255795: Add CAPTCHA to all forms by default.
Will roll patch soon.
Comment #4
naveenvalechaSee issue for 7,x #255795: Add CAPTCHA to all forms by default
Comment #5
ddrozdik commentedComment #6
ddrozdik commentedHere is a patch which adds needed feature. This patch does not have any tests, since all tests for the settings form will be added here https://www.drupal.org/node/2802617
Comment #7
akhil_saxena commentedHi @ddrozdik,
Thanks for looking into this. I have applied the patch on my d8 environment with captcha (8.x-1.x-dev) version. But unable to get positive result. This needs to be re-work.
Please let me know if more clarity needed and we can discuss further.
Hope this helps.
Thanks & Regards!!!
Comment #8
ivan berezhnov commentedComment #9
fnuppy commentedComment #11
fnuppy commentedComment #12
fnuppy commentedComment #13
fnuppy commentedComment #14
ApacheEx commentedHere is some coding standard issues:
1.1. There should be space before
(1.2. Wrong indent (should be 2 spaces, but I see 4)
2.1. Unnecessary spaces before
//2.2. There is not space after
//Comment #15
fnuppy commentedComment #16
ApacheEx commentedI've reviewed more in details (hope it's clear):
I think it should be done in another approach. Here you create an entity for each form which stores in db.
If I disable "enabled_default" option, all entities (CaptchaPoint) which were created before won't be removed.
That's a problem. You do not need to create a CaptchaPoint.
can be just `false`
better to use `boolean`
captcha => CAPTCHA
Comment #17
fnuppy commentedThx, I fixed this problem, I just use fake instance without saving.
Comment #18
ApacheEx commentedMany thanks, looks good for me and do not see any other issues so far.
Comment #20
elachlan commented