From 8f2bc0d6c488a27ce167737c63ba8968fbf327fa Mon Sep 17 00:00:00 2001 From: Marcel Kapfer Date: Mon, 29 Mar 2021 19:13:31 +0200 Subject: [PATCH] Rename to FeIpLogin --- .gitignore | 2 +- 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 | 8 ++++---- ext_emconf.php | 2 +- ext_localconf.php | 8 ++++---- zip.sh | 2 +- 11 files changed, 21 insertions(+), 21 deletions(-) diff --git a/.gitignore b/.gitignore index 79456e2..601ec12 100644 --- a/.gitignore +++ b/.gitignore @@ -13,4 +13,4 @@ Thumbs.db node_modules/ .sass-cache/ npm-debug.log -feipauth.zip +feiplogin.zip diff --git a/Classes/Domain/Repository/FeGroupsRepository.php b/Classes/Domain/Repository/FeGroupsRepository.php index ab4dc1c..f0cb961 100644 --- a/Classes/Domain/Repository/FeGroupsRepository.php +++ b/Classes/Domain/Repository/FeGroupsRepository.php @@ -1,5 +1,5 @@ [ 'exclude' => 0, - 'label' => 'LLL:EXT:feipauth/Resources/Private/Language/locallang_db.xlf:' . + 'label' => 'LLL:EXT:feiplogin/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 4b6ea8c..de644d5 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 529017e..f8dcd82 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 1a91f2c..6c59de3 100644 --- a/composer.json +++ b/composer.json @@ -1,8 +1,8 @@ { - "name": "mmk2410/feipauth", + "name": "mmk2410/feiplogin", "description": "Simulate fe_groups login by IP address", "keywords": ["typo3", "ip", "felogin"], - "homepage": "https://git.mmk2410.org/mmk2410/feipauth", + "homepage": "https://git.mmk2410.org/mmk2410/feiplogin", "authors": [ { "name": "Alex Kellner", @@ -23,11 +23,11 @@ "typo3/cms": "^8.7 || ^9.5 || ^10.4" }, "replace": { - "typo3-ter/feipauth": "self.version" + "typo3-ter/feiplogin": "self.version" }, "autoload": { "psr-4": { - "MMK2410\\FeIpAuth\\": "Classes" + "MMK2410\\FeIpLogin\\": "Classes" } } } diff --git a/ext_emconf.php b/ext_emconf.php index 58b5f32..83955c5 100644 --- a/ext_emconf.php +++ b/ext_emconf.php @@ -1,7 +1,7 @@ 'feipauth', + 'title' => 'feiplogin', '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 a5a6122..6ac188a 100644 --- a/ext_localconf.php +++ b/ext_localconf.php @@ -2,9 +2,9 @@ defined('TYPO3_MODE') || die(); \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addService( - 'feipauth', + 'feiplogin', 'auth', - \MMK2410\FeIpAuth\Domain\Service\AuthenticationService::class, + \MMK2410\FeIpLogin\Domain\Service\AuthenticationService::class, [ 'title' => 'Frontenduser authentication service', 'description' => 'Authentication visitors as frontend users if IP address is matching.', @@ -14,13 +14,13 @@ defined('TYPO3_MODE') || die(); 'quality' => 50, 'os' => '', 'exec' => '', - 'className' => \MMK2410\FeIpAuth\Domain\Service\AuthenticationService::class, + 'className' => \MMK2410\FeIpLogin\Domain\Service\AuthenticationService::class, ] ); /** @var \TYPO3\CMS\Extbase\SignalSlot\Dispatcher $signalSlotDispatcher */ $signalSlotDispatcher = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Extbase\\SignalSlot\\Dispatcher'); $signalSlotDispatcher->connect( - \MMK2410\FeIpAuth\Slot\AddCustomGroupsSlot::class, + \MMK2410\FeIpLogin\Slot\AddCustomGroupsSlot::class, 'addCustomGroups' ); diff --git a/zip.sh b/zip.sh index b076101..f22206b 100755 --- a/zip.sh +++ b/zip.sh @@ -1,5 +1,5 @@ #!/bin/sh -ZIP_FILE=feipauth.zip +ZIP_FILE=feiplogin.zip if [ -f "$ZIP_FILE" ]; then rm "$ZIP_FILE" fi