? PR-4.3-dev Pending

User tests: Successful: Unsuccessful:

avatar laoneo
laoneo
12 Aug 2022

Summary of Changes

The pr introduces a new interface for captcha based plugins so operations on them is more clear. Additionally it deprecates the Captcha class as it basically duplicates the code of the bootPlugin operation and does some method checks for plugins which do not implement the interface.

Testing Instructions

  • Setup the recaptcha and invisible captcha plugin in the plugin manager with the proper keys
  • Select recaptcha in the contact options in the form tab
  • Create a single contact menu item
  • Open that contact menu item and send a mail as not logged in user
  • Select invisible captcha in the contact options in the form tab
  • Open that contact menu item and send a mail as not logged in user

Actual result BEFORE applying this Pull Request

Both times is a captcha challenge executed and two mails are sent out.

Expected result AFTER applying this Pull Request

Both times is a captcha challenge executed and two mails are sent out.

Documentation Changes Required

When deprecated messages are already documented, then this one needs to be added.

avatar laoneo laoneo - open - 12 Aug 2022
avatar laoneo laoneo - change - 12 Aug 2022
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 12 Aug 2022
Category Libraries Front End Plugins Unit Tests
avatar laoneo laoneo - change - 12 Aug 2022
Labels Added: ? PR-4.3-dev
884ffd9 12 Aug 2022 avatar laoneo cs
avatar laoneo
laoneo - comment - 12 Aug 2022

Closing this as it should be reverted to plugin events, as discussed here #28800.

avatar laoneo laoneo - close - 12 Aug 2022
avatar laoneo laoneo - change - 12 Aug 2022
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2022-08-12 13:29:42
Closed_By laoneo

Add a Comment

Login with GitHub to post a comment