Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Please see captcha, Captcha or CAPTCHA? for the discussion about why we should uppercase "captcha".
Comment | File | Size | Author |
---|---|---|---|
#21 | captcha2CAPTCHA_10_smalladditionalstuff.patch | 4.74 KB | soxofaan |
#17 | captcha2CAPTCHA_11.patch | 54.37 KB | RobLoach |
#16 | captcha2CAPTCHA_10.patch | 55.61 KB | soxofaan |
#14 | captcha2CAPTCHA_9_image_captcha_module.patch | 6.79 KB | soxofaan |
#13 | captcha2CAPTCHA_9_captcha_module.patch | 34.08 KB | soxofaan |
Comments
Comment #1
soxofaan CreditAttribution: soxofaan commentedin this patch:
Comment #2
RobLoachWhoa, big patch. I'll take a look over the next few days.
Comment #3
soxofaan CreditAttribution: soxofaan commentedWould it be better/easier if I split it out per file?
Comment #4
RobLoachNope! This is good :-) .
Comment #5
soxofaan CreditAttribution: soxofaan commentedupdate of patch (a.o. against captcha.module 1.42.2.28)
just cvs update conflict solving, nothing was added/changed
Comment #6
RobLoachSome hunks failed with this patch. It might need a re-issue..... The attached file is what was outputed.
Comment #7
soxofaan CreditAttribution: soxofaan commentedupdated patch (against latest version at the time of this writing)
Comment #8
soxofaan CreditAttribution: soxofaan commentedprevious post had some problem apparently.
this one should do it
Comment #9
soxofaan CreditAttribution: soxofaan commentedBecause this issue changes almost every file of the module, the patches in this thread are big.
To make the reviewing/commiting easier and less risky, I decided to split the patches in smaller pieces.
I'll start with the simple ones: the info and install files (see attachment)
Comment #10
soxofaan CreditAttribution: soxofaan commentedfollow up on #9:
patch for captcha_api.txt
Comment #11
soxofaan CreditAttribution: soxofaan commentedfollow up on #9:
patch for captcha.module
Comment #12
RobLoachYet another overlapped patch ;-) .
Comment #13
soxofaan CreditAttribution: soxofaan commentednew version of the patch from #11 (captcha.module)
Comment #14
soxofaan CreditAttribution: soxofaan commentedfollow up on #9: patch for image_captcha.module
Comment #15
wundo CreditAttribution: wundo commentedSorry, but in my opnion it`s not really an issue.
Setting it as by design.
And I'm sure, this is not a critical task.
Please read my comments in Captcha`s group discution about this topic.
Comment #16
soxofaan CreditAttribution: soxofaan commentedI'm reviving this thread based on this suggestion I made in the CAPTCHA group discussion about the renaming issue. I also set it to critical because it has to be resolved before 3.0 final as Rob stated.
This patch not only changes "captcha" to "CAPTCHA", but also replaces it with just "challenge" as much as possible to minimize the typographic noise caused by the uppercase abbreviation "CAPTCHA".
In attachment the big patch (changes in 8 files).
I also made patches per file, but because this bug tracker does not accept zip/tar archives you can download a zip here (temporarily):
http://telin.ugent.be/~slippens/tmp/captcha2CAPTCHA_10_per_file.zip
Comment #17
RobLoachI've reviewed captcha2CAPTCHA_10, and if we're going to be going with this new casing, this patch seems ready. All we need is wundo's thumbs up.
My thoughts:
.... I think that in the end, we're going to be making the move and we're going to have to do it before 3.0 is released. Even if we don't like its cosmetics (well, I don't), making this change is the "right" thing to do.
One thing I don't like with this patch is the change to "CAPTCHA" in the permissions (admin/user/access), because it changes the API. The attached patch is the same as 10, except without the permissions change.
Comment #18
soxofaan CreditAttribution: soxofaan commentedI don't consider changing the permission strings as "breaking the CAPTCHA API". I think, in principle, other challenge modules should not use these permissions since the base CAPTCHA module should do all the heavy lifting (sessions, permissions, validation, etc), while challenge modules should just provide a challenge. Are there modules that use these permissions?
Anyway, I just prefer the strings "administer CAPTCHA settings" and "skip CAPTCHA" above the current strings "administer captcha" and "skip captcha challenges", especially since "captcha challenge" is a pleonasm.
Comment #19
RobLoachGot the thumbs up from wundo. I'll be applying the patch at #16 sometime today.
Comment #20
RobLoachDone... Hopefully there isn't anything else missing for this.
Comment #21
soxofaan CreditAttribution: soxofaan commentednice!
but I spotted some small remaining issues in README.txt and captcha_api.txt ;)
Comment #22
RobLoachAye.
Comment #23
(not verified) CreditAttribution: commented