From 13efde1cfee191cff4c776d25a86c062d64e9897 Mon Sep 17 00:00:00 2001 From: Marcel Kapfer Date: Mon, 29 Mar 2021 16:37:45 +0200 Subject: [PATCH] Renamed extension to feipauth PHP Namespace: MMK2410/FeIpAuth --- Classes/Domain/Repository/FeGroupsRepository.php | 2 +- Classes/Domain/Service/AuthenticationService.php | 6 +++--- Classes/Slot/AddCustomGroupsSlot.php | 4 ++-- Configuration/TCA/Overrides/fe_groups.php | 4 ++-- Resources/Private/Language/de.locallang_db.xlf | 2 +- Resources/Private/Language/locallang_db.xlf | 2 +- composer.json | 7 +++---- ext_emconf.php | 2 +- ext_localconf.php | 8 ++++---- 9 files changed, 18 insertions(+), 19 deletions(-) diff --git a/Classes/Domain/Repository/FeGroupsRepository.php b/Classes/Domain/Repository/FeGroupsRepository.php index 5868ceb..ab4dc1c 100644 --- a/Classes/Domain/Repository/FeGroupsRepository.php +++ b/Classes/Domain/Repository/FeGroupsRepository.php @@ -1,5 +1,5 @@ [ 'exclude' => 0, - 'label' => 'LLL:EXT:in2frontendauthentication/Resources/Private/Language/locallang_db.xlf:' . + 'label' => 'LLL:EXT:feipauth/Resources/Private/Language/locallang_db.xlf:' . FeGroupsRepository::TABLE_NAME . '.ip_mask', 'config' => [ 'type' => 'text', diff --git a/Resources/Private/Language/de.locallang_db.xlf b/Resources/Private/Language/de.locallang_db.xlf index a34e181..4b6ea8c 100644 --- a/Resources/Private/Language/de.locallang_db.xlf +++ b/Resources/Private/Language/de.locallang_db.xlf @@ -1,6 +1,6 @@ - +
diff --git a/Resources/Private/Language/locallang_db.xlf b/Resources/Private/Language/locallang_db.xlf index dbb84de..529017e 100644 --- a/Resources/Private/Language/locallang_db.xlf +++ b/Resources/Private/Language/locallang_db.xlf @@ -1,6 +1,6 @@ - +
diff --git a/composer.json b/composer.json index da4e46b..c40e079 100644 --- a/composer.json +++ b/composer.json @@ -1,5 +1,5 @@ { - "name": "in2code/in2frontendauthentication", + "name": "mmk2410/feipauth", "description": "Simulate fe_groups login by IP address", "keywords": ["typo3", "ip", "felogin"], "homepage": "https://git.mmk2410.org/mmk2410/feipauth", @@ -23,12 +23,11 @@ "typo3/cms": ">=8.7.0 <9.9.99" }, "replace": { - "in2frontendauthentication": "self.version", - "typo3-ter/in2frontendauthentication": "self.version" + "typo3-ter/feipauth": "self.version" }, "autoload": { "psr-4": { - "In2code\\In2frontendauthentication\\": "Classes" + "MMK2410\\FeIpAuth\\": "Classes" } } } diff --git a/ext_emconf.php b/ext_emconf.php index e9b7669..2717fa0 100644 --- a/ext_emconf.php +++ b/ext_emconf.php @@ -1,7 +1,7 @@ 'in2frontendauthentication', + 'title' => 'feipauth', 'description' => 'Authenticate every visitor as a defined frontend user if IP matches', 'category' => 'plugin', 'shy' => 0, diff --git a/ext_localconf.php b/ext_localconf.php index d7e5223..a3962ed 100644 --- a/ext_localconf.php +++ b/ext_localconf.php @@ -2,9 +2,9 @@ defined('TYPO3_MODE') || die(); \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addService( - 'in2frontendauthentication', + 'feipauth', 'auth', - \In2code\In2frontendauthentication\Domain\Service\AuthenticationService::class, + \MMK2410\FeIpAuth\Domain\Service\AuthenticationService::class, [ 'title' => 'Frontenduser authentication service', 'description' => 'Authentication visitors as frontend users if IP address is matching.', @@ -14,7 +14,7 @@ defined('TYPO3_MODE') || die(); 'quality' => 50, 'os' => '', 'exec' => '', - 'className' => \In2code\In2frontendauthentication\Domain\Service\AuthenticationService::class, + 'className' => \MMK2410\FeIpAuth\Domain\Service\AuthenticationService::class, ] ); @@ -23,6 +23,6 @@ $signalSlotDispatcher = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TY $signalSlotDispatcher->connect( \BeechIt\FalSecuredownload\Security\CheckPermissions::class, 'AddCustomGroups', - \In2code\In2frontendauthentication\Slot\AddCustomGroupsSlot::class, + \MMK2410\FeIpAuth\Slot\AddCustomGroupsSlot::class, 'addCustomGroups' );