Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Classes/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

class Configuration
{
public const DEFAULT_JS_PATH = 'EXT:friendlycaptcha_official/Resources/Public/JavaScript/lib/sdk@0.1.8-site.compat.min.js';
public const DEFAULT_JS_PATH = 'EXT:friendlycaptcha_official/Resources/Public/JavaScript/lib/sdk@0.1.26-site.compat.min.js';

protected string $siteKey = '';
protected string $siteSecretKey = '';
Expand Down
1 change: 1 addition & 0 deletions Documentation/Index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ TYPO3 Extension friendlycaptcha_official
Configuration/Index
Using/Index
V2_Migration/Index
v2.1.0_Update/Index

.. Meta Menu

Expand Down
2 changes: 1 addition & 1 deletion Documentation/V2_Migration/Index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ If you’re currently using an earlier version of the plugin with **Friendly Cap
* In TYPO3 backend, go to the *Site Management*/*Sites* module and switch to the **FriendlyCaptcha** tab. You need to change the URLs
**Puzzle Endpoint** - check it if you want to use the EU Endpoint
**Verify URL** - `https://global.frcapi.com/api/v2/captcha/siteverify` or `https://eu.frcapi.com/api/v2/captcha/siteverify` if you prefer to use EU endpoint
**JavaScript Path** - `EXT:friendlycaptcha_official/Resources/Public/JavaScript/lib/sdk@0.1.8-site.compat.min.js`
**JavaScript Path** - `EXT:friendlycaptcha_official/Resources/Public/JavaScript/lib/sdk@0.1.26-site.compat.min.js`
18 changes: 18 additions & 0 deletions Documentation/v2.1.0_Update/Index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
.. include:: /Includes.rst.txt


**JavaScript Path**. _v2.1.0_update:


============
Migration to FriendlyCaptcha v2.1.0
============

If you’re currently using an earlier v2 version of the plugin and want to switch to **Friendly Captcha v2.1.0**:

* After install the newest version, you need to change the **JavaScript Path** in TYPO3 backend - *Site Management*/*Sites* module
Change `EXT:friendlycaptcha_official/Resources/Public/JavaScript/lib/sdk@0.1.8-site.compat.min.js` to `EXT:friendlycaptcha_official/Resources/Public/JavaScript/lib/sdk@0.1.26-site.compat.min.js`

Why to switch?
=================
Version 2.1.0 of the plugin uses the latest 0.1.26 version of the Friendly Captcha widget library, which includes improvements to accessibility.
7 changes: 7 additions & 0 deletions Resources/Public/JavaScript/lib/sdk@0.1.26-site.compat.min.js

Large diffs are not rendered by default.

7 changes: 0 additions & 7 deletions Resources/Public/JavaScript/lib/sdk@0.1.8-site.compat.min.js

This file was deleted.

2 changes: 1 addition & 1 deletion Tests/Unit/ViewHelpers/ConfigurationViewHelperTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public function viewHelperReturnsProperConfiguration(): void
'siteKey' => '1234',
'verifyUrl' => 'https://verify,https://verify2',
'useEuPuzzleEndpoint' => false,
'jsPath' => 'EXT:friendlycaptcha_official/Resources/Public/JavaScript/lib/sdk@0.1.8-site.compat.min.js',
'jsPath' => 'EXT:friendlycaptcha_official/Resources/Public/JavaScript/lib/sdk@0.1.26-site.compat.min.js',
'enabled' => true,
], $configurationViewHelper->render());
}
Expand Down
4 changes: 2 additions & 2 deletions ext_emconf.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@
],
],
'state' => 'stable',
'version' => '1.0.1',
];
'version' => '2.1.0',
];
Loading