[TASK] Update version to 2.4.0 86/51186/2
authorStanislas Rolland <typo3@sjbr.ca>
Sun, 8 Jan 2017 04:19:56 +0000 (23:19 -0500)
committerStanislas Rolland <typo3@sjbr.ca>
Sun, 8 Jan 2017 04:33:27 +0000 (05:33 +0100)
Change-Id: Idda06d13d41bd8b3d4f69c8d6a1053bebdb60a5e
Reviewed-on: https://review.typo3.org/51186
Reviewed-by: Stanislas Rolland <typo3@sjbr.ca>
Tested-by: Stanislas Rolland <typo3@sjbr.ca>
composer.json
ext_emconf.php
ext_localconf.php
ext_tables.php

index e314c94..35b1c49 100644 (file)
@@ -1,7 +1,7 @@
 {
   "name": "sjbr/sr-freecap",
   "description": "A TYPO3 integration of freeCap CAPTCHA.",
-  "version": "2.3.1",
+  "version": "2.4.0",
   "type": "typo3-cms-extension",
   "license": "GPL-2.0+",
   "authors": [
index 042f177..54cb027 100644 (file)
@@ -7,7 +7,7 @@ $EM_CONF[$_EXTKEY] = array(
        'title' => 'freeCap CAPTCHA',
        'description' => 'A TYPO3 integration of freeCap CAPTCHA.',
        'category' => 'plugin',
-       'version' => '2.3.1',
+       'version' => '2.4.0',
        'state' => 'stable',
        'uploadfolder' => 1,
        'createDirs' => '',
index a210998..ad7702f 100644 (file)
@@ -8,38 +8,38 @@ $_EXTCONF = unserialize($_EXTCONF);
 $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['sr_freecap']['encryptionAlgorithm'] = isset($_EXTCONF['encryptionAlgorithm']) ? $_EXTCONF['encryptionAlgorithm'] : 'blowfish';
 
 // Dispatching requests to image generator and audio player
-$GLOBALS['TYPO3_CONF_VARS']['FE']['eID_include']['sr_freecap_EidDispatcher'] = 'EXT:' . $_EXTKEY . '/Resources/Private/Eid/EidDispatcher.php';
+$GLOBALS['TYPO3_CONF_VARS']['FE']['eID_include']['sr_freecap_EidDispatcher'] = 'EXT:sr_freecap/Resources/Private/Eid/EidDispatcher.php';
 
 // Configuring the captcha image generator
 \TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
        // The extension name (in UpperCamelCase) or the extension key (in lower_underscore)
-       $_EXTKEY,
+       'sr_freecap',
        // A unique name of the plugin in UpperCamelCase
        'ImageGenerator',
        // An array holding the controller-action-combinations that are accessible
-       array (
+       [
                // The first controller and its first action will be the default
                'ImageGenerator' => 'show',
-       ),
+       ],
        // An array of non-cachable controller-action-combinations (they must already be enabled)
-       array(
+       [
                'ImageGenerator' => 'show',
-       )
+       ]
 );
 
 // Configuring the audio captcha player
 \TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
        // The extension name (in UpperCamelCase) or the extension key (in lower_underscore)
-       $_EXTKEY,
+       'sr_freecap',
        // A unique name of the plugin in UpperCamelCase
        'AudioPlayer',
        // An array holding the controller-action-combinations that are accessible
-       array (
+       [
                // The first controller and its first action will be the default
                'AudioPlayer' => 'play',
-       ),
+       ],
        // An array of non-cachable controller-action-combinations (they must already be enabled)
-       array(
+       [
                'AudioPlayer' => 'play',
-       )
+       ]
 );
\ No newline at end of file
index df04dd8..aca90ce 100644 (file)
@@ -12,7 +12,7 @@ if (TYPO3_MODE == 'BE' && !(TYPO3_REQUESTTYPE & TYPO3_REQUESTTYPE_INSTALL)) {
                // See http://php.net/manual/en/configuration.changes.modes.php
                if (ini_get('zend.multibyte')) {
                        \TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule(
-                               'SJBR.' . $_EXTKEY,
+                               'SJBR.sr_freecap',
                                // Make module a submodule of 'tools'
                                'tools',
                                // Submodule key
@@ -20,14 +20,14 @@ if (TYPO3_MODE == 'BE' && !(TYPO3_REQUESTTYPE & TYPO3_REQUESTTYPE_INSTALL)) {
                                // Position
                                '',
                                // An array holding the controller-action combinations that are accessible
-                               array(
+                               [
                                        'FontMaker' => 'new,create'
-                               ),
-                               array(
+                               ],
+                               [
                                        'access' => 'user,group',
-                                       'icon' => 'EXT:' . $_EXTKEY . '/Resources/Public/Images/moduleicon.gif',
-                                       'labels' => 'LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang_mod.xlf'
-                               )
+                                       'icon' => 'EXT:sr_freecap/Resources/Public/Images/moduleicon.gif',
+                                       'labels' => 'LLL:EXT:sr_freecap/Resources/Private/Language/locallang_mod.xlf'
+                               ]
                        );
                }
        }