Install
Works with Drupal: 8.xUsing Composer to manage Drupal site dependencies
Alternative installation files
Release notes
Stable version for 8.x.
Changes since 8.x-1.0-beta4:
Bug
- #3100258: Add \n to the end of the template file
- #3091082 by ahmadhalah, thetaPC, EricVL, joachim, pguillard, wundo, ojchris37: Undefined variable type in Captcha Examples
Feature
- #3101571: Add \n to the end of the template file
- #2996495 by Grayle, Chris Matthews, andrey.troeglazov, jernejbeg, wundo: Don't create a $_SESSION unless necessary
Task
- #3103145 by omkar06, nileshlohar, wundo, Heine: Weak algorithms usage should be avoided
- #3112425 by Hardik_Patel_12, kishor_kolekar, wundo: Remove unused variables
Contributors (123)
omkar06, nileshlohar, wundo, Heine, Grayle, Chris Matthews, andrey.troeglazov, jernejbeg, Hardik_Patel_12, kishor_kolekar, ahmadhalah, thetaPC, EricVL, joachim, pguillard, ojchris37, thalles, gg24, ravi.shankar, Dinesh18, josesanmartin, babusaheb.vikas, Londova, malcolm_p, chrisolof, JeroenT, id.aleks, Mykola Veriga, ewaters5, Steven Buteneers, sarumathi, yogen.prasad, ChaseOnTheWeb, arpitr, arunkumark, Mithun S, jayesh_makwana, chishah92, Sivaprasad C, elachlan, volkswagenchick, alonaoneill, bnjmnm, Mschudders, hswong3i, saravanaprasanth, klidifia, blacklabel_tom, MiroslavBanov, Fabianx, Mixologic, g089h515r806, yenerunver, imshivani, ArnoVDC, jalpesh, DuaelFr, Prashant.c, bpresles, RavindraSingh, sakural, ddrozdik, rsvelko, naveenvalecha, sonvir249, fwrdeu, fnuppy, Znak, alunyov, welly, gpbarga, sarguna raj M, Jigar.addweb, soxofaan, Rajamohamed A, Yogesh Pawar, sandeepreddyg, 72ls.net, solian, rashid_786, B N Pandey, arknoll, Vagelis, lomasr, amit.drupal, Ginovski, minakshiPh, shruti1803, rasikap, keshav.k, Berdir, kerby70, m1r1k, harsha012, TMontana93, fornigam, jamin_melville, Nikhilesh Gupta, chaitanya17, mcotelo, Arla, cosmicdreams, wodenx, mpdonadio, vimalgoradiya, valery86, elvis2, ziomizar, rajeshwari10, mkdok, dunin, giancarlosotelo, tim.plunkett, hass, timmillwood, rrfegade, sumitmadan, LKS90, joshi.rohit100, undertext, lks90, jeqq, podarok
Changelog
Issues: 101 issues resolved.
Changes since 7.x-1.4:
Bug
- #3100258: Add \n to the end of the template file
- #3091082 by ahmadhalah, thetaPC, EricVL, joachim, pguillard, wundo, ojchris37: Undefined variable type in Captcha Examples
- #3025328 by babusaheb.vikas, Londova, andrey.troeglazov, malcolm_p, wundo, chrisolof: Error: Array to string conversion in Drupal\bootstrap\Plugin\Preprocess
- #3085969 by wundo: Fix lint
- #2874151 by id.aleks, Chris Matthews: Captcha + Panels + Page Manager + Webform : The answer you entered for the CAPTCHA was not correct.
- #3061067 by Mykola Veriga, ewaters5, Steven Buteneers: Captcha-answer=hash value?
- #3032683 by sarumathi, joachim: CAPTCHA examples page has no title
- #2887225 by arunkumark, Mithun S, jayesh_makwana, chishah92, Sivaprasad C, andrey.troeglazov, elachlan: Coding Standard issues
- Merge pull request #23 from chuva-inc/issue_3017521
- #2912341 by bnjmnm, elachlan, Mschudders, hswong3i, saravanaprasanth: Form id max length - 64 characters
- #2992697 by elachlan: Testing failing on 8.x Branch
- #2474959, #2992697 Fix for failing test
- #2896957 by klidifia, blacklabel_tom, arunkumark: Change "CAPTCHA session reuse attack detected" message into watchdog/logger
- #2976456 by g089h515r806: Image refresh link not display in certain situations
- #2888429 by jalpesh: Replace deprecated method getUsername() with getDisplayName()
- #2913295 by sonvir249: #access=FALSE should disable validation
- #2910900 by fwrdeu, hswong3i: Incompatibility with PSR-3 and Monolog replacing Watchdog
- #2931385 by hswong3i: Replace deprecated usage of \Drupal::url with Url::fromRoute (Part 2)
- #2904994 by Znak: drupal_add_http_header is deprecated
- #2899256 by gg24: Cannot login to site while in Maintenance Mode
- #2929153 by welly, gpbarga, wundo: Notice: Undefined index: #limit_validation_errors in Drupal\captcha\Element\Captcha::processCaptchaElement()
- #2935492 by sarguna raj M, Jigar.addweb: All dependencies must be prefixed with the project name
- #810534 by soxofaan, MiroslavBanov, Rajamohamed A, Yogesh Pawar, sandeepreddyg, 72ls.net, solian: Fix CAPTCHA session reuse
- #2814137 by B N Pandey, arknoll: Ajax in forms still creates CAPTCHA session reuse attack detected
- #2833731 by Vagelis: "Javascript" should be "JavaScript"
- #2811777 by lomasr, Prashant.c, amit.drupal, ddrozdik, Ginovski, wundo: Remove drupal_set_message's from captcha install
- #2808087 by Ginovski, naveenvalecha, Berdir, ddrozdik: Improve captcha_install(), correctly create dynamic captcha points, move static captcha points to default config
- #2501699 by ddrozdik, naveenvalecha, m1r1k: Fix Image CAPTCHA settings form
- #2486113 by keshav.k, m1r1k, naveenvalecha: Replace md5 with sha256 hashes
- #2636772 by jamin_melville: Doesn'\''t install as part of distro
- #2782479 by chaitanya17, elachlan: Replace deprecated usage of \Drupal::url with Url::fromRoute
- #1395184 by Berdir, mcotelo, Arla, cosmicdreams, wodenx, mpdonadio, vimalgoradiya, valery86, elvis2: Forms with AJAX trigger "CAPTCHA session reuse attack detected." error
- #2707509 by mkdok: Can't see Image CAPTCHA image unless enable Node permission: [x] View published content
- #2558243 by Berdir, tim.plunkett, hass, wundo: Use a FormElement plugin instead of the deprecated hook_element_info()
- Merge pull request #17 from LKS90/fixSessionReuseError
- Merge pull request #15 from LKS90/cacheClearFix
- #2514574 by timmillwood, wundo: Add composer.json
- #2514862 by rrfegade: Spelling errors in D8
- Merge pull request #16 from md-systems/trust
- #2486211 by hass, m1r1k: Use image theme function for image captcha
- Fixed Issue #2493593 by sumitmadan, LKS90, m1r1k: Ensure the form_ids really exist
- #2492681 by LKS90, Berdir: Properly disable page and render cache
- #2474093 by undertext, hass: Raw URL shown after module enable
- #2497329 by undertext, m1r1k: Wrong link on /admin/config/people/captcha/examples
- #2486067 by hass, lks90, Berdir, wundo: Rollback changed defaults and use lowercase boolean value
- #2474097 by LKS90: Call to undefined function l()
- Merge pull request #7 from md-systems/8.x-1.x
- Merge pull request #6 from md-systems/link-templates
Feature
- #3101571: Add \n to the end of the template file
- #2996495 by Grayle, Chris Matthews, andrey.troeglazov, jernejbeg, wundo: Don't create a $_SESSION unless necessary
- #3087618 by wundo, josesanmartin: Move _captcha_insert_captcha_element to a service
- #3086491 by wundo, josesanmartin: Remove deprecated _captcha_generate_example_challenge function
- #3086495 by wundo: Remove calls to deprecated functions
- #2951324 by elachlan: Add more information to the message about cache in the performance page
- #2974083 by MiroslavBanov, Fabianx, Mixologic: Port to D8: support for cacheable captcha (recaptcha)
- #315827 by yenerunver: Placement of Captcha - why in middle of form?
- #2961985 by ArnoVDC: Adding an id to the captcha div
- #2839891 by DuaelFr, Prashant.c: Allow to target the base_form_id
- #2608540 by gg24, bpresles, RavindraSingh, sakural, ddrozdik, wundo, rsvelko, naveenvalecha: Add Image CAPTCHA Refresh to the module patch
- #2025181 by fnuppy, ddrozdik: Add CAPTCHA to all forms by default
- #2748859 by fornigam: Need to improve readme file
- Merge pull request #9 from md-systems/8.x-1.x
Task
- #3103145 by omkar06, nileshlohar, wundo, Heine: Weak algorithms usage should be avoided
- #3112425 by Hardik_Patel_12, kishor_kolekar, wundo: Remove unused variables
- #3057586 by wundo, thalles, gg24: Dependency injection on CaptchaImageRefresh
- #3083298 by ravi.shankar, gg24, wundo: Removing deprecated method file_scan_directory
- #3057592 by Dinesh18, wundo: Use StringTranslationTrait on Tests/CaptchaPersistenceTestCase
- #3080586 by wundo: Improves readability
- #3083792 by wundo, JeroenT: remove deprecated todos
- #3042586 by yogen.prasad, ChaseOnTheWeb, JeroenT, thalles, arpitr: Drupal 9 Deprecated Code Report
- #3006824 by volkswagenchick, alonaoneill, wundo: README configs and formatting
- #3017521 by wundo: Rename Captcha Points to Form Settings
- #2966678 by imshivani: Use Short Array (New Coding Standard)
- #2855165 by alunyov, Znak, gg24, elachlan: Deprecated methods and function
- #2548049 by Yogesh Pawar, chishah92, rashid_786: Document all arguments to hook_captcha() and fix broken documentation
- #2837488 by naveenvalecha: Fix Coding standards.
- #2798991 by minakshiPh, naveenvalecha, shruti1803, rasikap, keshav.k, Yogesh Pawar: Fix coding standards & replace the deprecated methods
- #2783351 by kerby70, ddrozdik: Cron test - Verify old captcha session are removed and a new one is not
- #2799491 by ddrozdik, naveenvalecha: Reformatting and fixes for captcha settings form
- #2631636 by elachlan, Prashant.c, harsha012: Improve README.md file for CAPTCHA
- #2668134 by TMontana93: Installation message unnecessary
- #2627904 by ddrozdik: Convert hook_help() from 7 to 8 version
- #2768689 by Nikhilesh Gupta: Removed deprecated method
- #2768705 by Nikhilesh Gupta: Deprecated Method
- #2773767 by ziomizar: deprecated function db_delete
- #2754191 by rajeshwari10: Remove @file tag docblock from all the .php files
- #2600394 by dunin, giancarlosotelo: Incorrect use t() in CaptchaSettingsForm class
- #2501627 by m1r1k: Remove useless captcha.js
- #2491207 by joshi.rohit100: CAPTCHA ESLint errors
- Merge pull request #8 from md-systems/8.x-1.x
- #1949682 by jeqq, m1r1k, podarok, elachlan: Latest patch from the issue
- #2024901 by elachlan, wundo: Move to file-based configuration system