Downloads
Release notes
Yay, the times of Beta and RC releases are over, we have a 6.x-2.0 final release!
It's been a long ride, mainly because I (soxofaan) am currently the only active maintainer and I only can do this in my sparsely distributed free time. If you are interested in deeper involvement with this module, feel free to contact me or jump right into the issue queue. Help is welcome on several levels (bug fixing, feature implementation, simpletest, translation, documentation writing, etc).
For users coming from the CAPTCHA 6.x-1.x branch: don not forget to run the update.php script (example.com/update.php) on your setup because the CAPTCHA 6.x-2.x introduces an extra database table. Apart from that, upgrading should be painless and your settings should be kept. One note however: the "Text CAPTCHA" submodule (word choice challenge) was removed from the CAPTCHA 6.x-2.x branch (mainly because it kept back the maintenance of the CAPTCHA core module) and was moved and improved in the CAPTCHA pack module. So, if you used the text CAPTCHA and want to upgrade to CAPTCHA 6.x-2.x, it is recommended to disable and uninstall the text CAPTCHA module first before upgrading.
Changes since DRUPAL-6--2-0-RC3:
- Added watchdog logging of "unknown csid" problem for easier debugging.
- #580364: made it more clear that GD+JPEG support is required
- #259219: added some TrueType font by default for better out-of-the-box usability: "Tesox", and "Tuffy"
- Changed default image CAPTCHA distortion level to 0, made i18n of the distortion levels better
- Added temporary workaround for the problem of admin CAPTCHA preview of the reCAPTCHA and Egglue CAPTCHA (discussed in http://drupal.org/node/487032 and http://drupal.org/node/525586) by disabling admin CAPTCHA preview for those challenges
- #579080 by machi27 and soxofaan: add support for png with transparent background
- #496204: also search sites/all/libraries/fonts and $site/all/libraries/fonts for TTF fonts
- Updated of POT file, and fixed some typos
Overview of the most important/notable changes in the 6.x-2.x branch
- rework of the CAPTCHA module, that does not require sessions for storing the challenge solutions, but uses a dedicated table instead.
- #356407: fixed problem with reCAPTCHA module
- added textfield and select widget to CAPTCHA point table for easier adding form_ids
- #237147: Reordered the "Form protection" fieldset on the CAPTCHA administration page
- #367959: CAPTCHA validation was silently ignored on cached forms
- #423736 by soxofaan: big refactoring in 6.x-2.x branch: use of hook_elements() instead of hook_form_alter()
- implemented admin mode CAPTCHAs (presolved and no validation)
- #384814: better checking of TTF support
- removed the double vision feature, which was not very usefull.
- made noise level more fine grained
- #445026: added option to add CAPTCHAs to forms on admin pages
- added setting for default challenge type
- worked on image example on admin: moved image example from help string to admin mode image CAPTCHA in admin
form itself (which is cleaner and follows standard more) - #463002 case sensitive/insensitive validation is now a global setting
- #463002: dropping the preprocess op in hook_captcha()
- hardcoded CAPTCHA placement on comment_form: the 'Submit' button can be omitted on first submission, which confuses the automatic placement detection.
- fixed problem with CAPTCHA description still showing up after comment preview with correct CAPTCHA response and added test for this
- #467618: made CAPTCHA element placement more foolproof, e.g. when there are no buttons on a form
- added forum_node_form to the default form_ids on install
- fixed problem with node previews (CAPTCHA session ID was not reused, so no multipage form persistence)
- prerender handling of the 'captcha_response' form item is now only done if it is a textfield and not on e.g. the reCAPTCHA form construction, where it does not make sense.
- #473002: CAPTCHA API now provides a way to define a custom CAPTCHA validation function
- 6.x-2.0-beta5 made the case insensitive validation a global option (as a checkbox), but this is now changed to a "default CAPTCHA validation" option (as radio list), which describes better what it actually is (a default that can be overriden/ignored)
- #476288: showing CAPTCHA description is now controlled by explicit checkbox on admin interface instead of obscure "if not empty".
- Added a drop of jQuery for added usability for the CAPTCHA description
- Worked on CAPTCHA description usage/translation/workflow: CAPTCHA descriptions can now be reset with empty entry, tweaked UI strings, fixed bug in localized default CAPTCHA description.
- made image CAPTCHA settings more finegrained/explicit
- added jQuery niceness for image CAPTCHA settings page (distortion and noise level stuff)
- #473002: added $element and $form_state arguments for CAPTCHA validate functions
- #546988: raise error when non alphanumeric character in character pool with built-in font
- Various fixes, documentation additions, simpletests, code style cleanups, refactoring tweaks, typos, translation updates