stable

Clone or download

Read-only

Process the captcha on the register page

For now, the captcha is processed using credentials made publicly available by Google for test purposes [1]. The captcha is always considered valid as long as the user has checked the case. This is part of story #9846 add a captcha to the register page [1] https://developers.google.com/recaptcha/docs/faq#id-like-to-run-automated-tests-with-recaptcha-v2-what-should-i-do Change-Id: I9c478412ae8e063999c6c6ca9bba13b02b0c358f

Modified Files

Name
A plugins/captcha/include/Captcha/Client.php +76 −0 Go to diff View file
M plugins/captcha/include/autoload.php +3 −2 Go to diff View file
M plugins/captcha/include/captchaPlugin.class.php +20 −0 Go to diff View file
M plugins/captcha/site-content/fr_FR/LC_MESSAGES/tuleap-captcha.po +3 −0 Go to diff View file
M plugins/captcha/site-content/tuleap-captcha.pot +3 −0 Go to diff View file
A plugins/captcha/tests/ClientTest.php +76 −0 Go to diff View file
A plugins/captcha/tests/bootstrap.php +21 −0 Go to diff View file
M src/common/Http/Client.class.php +2 −3 Go to diff View file
M src/common/event/Event.class.php +8 −0 Go to diff View file
M src/www/account/register.php +9 −1 Go to diff View file