User tests: Successful: Unsuccessful:
This PR removes the noCaptcha plugin and merges it with the reCaptcha plugin. This way we have 1 reCaptcha plugin capable of using both the old and new keys depending on selected version.
Testing
To test, use reCaptcha version 1.0 with global keys and specific keys, all should continue to work as-is.
Also test version 2.0 with the new keys and you should get the new reCaptcha. The new keys also work with version 1.0.
After selecting the reCaptcha version, putting in the keys and selecting a theme. Check if the reCaptcha works on the front-end of the site.
Labels |
Added:
?
|
Milestone |
Added: |
Typo:
+PLG_RECAPTCHA_VERSION_DESC="Choose the reCaptcha version neede for your keys"
testing now.
I agree with with @infograf768
Perhaps
+PLG_RECAPTCHA_VERSION_1="1.0"
+PLG_RECAPTCHA_VERSION_1_DESC="Required if using Global CAPTCHA keys."
+PLG_RECAPTCHA_VERSION_2="2.0"
+PLG_RECAPTCHA_VERSION_2_DESC="Recommended version."
@test Success
In detail:
Tested with front-end user registration and com_contact.
Seems a bit weird that version 2.0 is the 'Recommended version.', but version 1.0 is the default active one.
Thanks for testing everybody. I have updated the language files and believe they are good now.
@brianteeman I can't do a language string per version, so I have combined both into one.
Please check if all is OK now.
@nonumber Having read the past discussions, this strange default value seems to spring from the need to have a continuity for people using global keys. Version 2 API doesn't support global keys. If version 2 was the default, sites using global keys upgrading to Joomla! 3.4 would no longer have a functioning ReCAPTCHA misleading users into believing that Joomla! 3.4 is "broken". I'm not a fan of this default value either, but it's the only compromise solution to cater for the people who don't read the release notes, i.e. virtually everybody using Joomla!.
Indeed that 1.0 is the default value, only reason is for backwards compatibility reasons. Those using global keys would on update have a broken reCAPTCHA. This way we ensure that keeps working.
Updated the strings again :)
Can we show a deprecated warning in the module parameter view when v1 is selected or the version param is not yet saved? Could be done simple with a dummy formfield above the version field and the showon
feature.
This way people would clearly see that they should choose v2 and it would solve the issue with the "wrong" default value (which we correctly have for BC reasons).
Category | ⇒ | Plugins |
Nice
As for showing the message, that is fine by me. Just need to know what the text needs to be :)
Would need input from @brianteeman, but I would do something like "You have selected the deprecated version of this plugin. It's recommended to select version 2. Make sure you have supported keys for that version before switching."
Displaying a message is good but I think the tone and meaning of that proposed text is not right.
I think it needs to say something like
"You have selected Version 1. All new sites should be using Version 2. Version 1 is only maintained to provide support for Global Site keys which are no longer available from Google."
Is it all good now or do we need more language updates?
All good to me - thanks
Status | Pending | ⇒ | Ready to Commit |
Thanks for testing and review moving to RTC based on various tests. Thanks!
Milestone |
Added: |
||
Easy | No | ⇒ | Yes |
Status | Ready to Commit | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2015-01-27 07:19:45 |
Thanks. Merged after correcting also the installation sql files and en-GB.install.xml
I want to work on it for Joomla but I am too late.
Still I have submitted new plugin on JED for reCaptcha2. Now I am finding new stuff for Joomla.
@test Works fine.
Old version:
New version: