Renamed extension to feipauth

PHP Namespace: MMK2410/FeIpAuth
This commit is contained in:
Marcel Kapfer 2021-03-29 16:37:45 +02:00
parent 4878b2d9f7
commit 13efde1cfe
Signed by: mmk2410
GPG Key ID: CADE6F0C09F21B09
9 changed files with 18 additions and 19 deletions

View File

@ -1,5 +1,5 @@
<?php <?php
namespace In2code\In2frontendauthentication\Domain\Repository; namespace MMK2410\FeIpAuth\Domain\Repository;
/*************************************************************** /***************************************************************
* Copyright notice * Copyright notice

View File

@ -1,5 +1,5 @@
<?php <?php
namespace In2code\In2frontendauthentication\Domain\Service; namespace MMK2410\FeIpAuth\Domain\Service;
/*************************************************************** /***************************************************************
* Copyright notice * Copyright notice
@ -27,14 +27,14 @@ namespace In2code\In2frontendauthentication\Domain\Service;
* This copyright notice MUST APPEAR in all copies of the script! * This copyright notice MUST APPEAR in all copies of the script!
***************************************************************/ ***************************************************************/
use In2code\In2frontendauthentication\Domain\Repository\FeGroupsRepository; use MMK2410\FeIpAuth\Domain\Repository\FeGroupsRepository;
use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\CMS\Core\Utility\GeneralUtility;
use TYPO3\CMS\Core\Authentication\AuthenticationService as AuthenticationServiceCore; use TYPO3\CMS\Core\Authentication\AuthenticationService as AuthenticationServiceCore;
use TYPO3\CMS\Extbase\Object\ObjectManager; use TYPO3\CMS\Extbase\Object\ObjectManager;
/** /**
* Class AuthenticationService * Class AuthenticationService
* @package In2code\In2frontendauthentication\Domain\Service * @package MMK2410\FeIpAuth\Domain\Service
*/ */
class AuthenticationService extends AuthenticationServiceCore class AuthenticationService extends AuthenticationServiceCore
{ {

View File

@ -1,5 +1,5 @@
<?php <?php
namespace In2code\In2frontendauthentication\Slot; namespace MMK2410\FeIpAuth\Slot;
/*************************************************************** /***************************************************************
* Copyright notice * Copyright notice
@ -29,7 +29,7 @@ namespace In2code\In2frontendauthentication\Slot;
use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\CMS\Core\Utility\GeneralUtility;
use TYPO3\CMS\Extbase\Object\ObjectManager; use TYPO3\CMS\Extbase\Object\ObjectManager;
use In2code\In2frontendauthentication\Domain\Repository\FeGroupsRepository; use MMK2410\FeIpAuth\Domain\Repository\FeGroupsRepository;
/** /**
* Add a custom groups slog * Add a custom groups slog

View File

@ -3,12 +3,12 @@
/** /**
* Table configuration fe_users * Table configuration fe_users
*/ */
use In2code\In2frontendauthentication\Domain\Repository\FeGroupsRepository; use MMK2410\FeIpAuth\Domain\Repository\FeGroupsRepository;
$columns = [ $columns = [
'ip_mask' => [ 'ip_mask' => [
'exclude' => 0, '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', FeGroupsRepository::TABLE_NAME . '.ip_mask',
'config' => [ 'config' => [
'type' => 'text', 'type' => 'text',

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8" standalone="yes" ?> <?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<xliff version="1.0"> <xliff version="1.0">
<file source-language="en" target-language="de" datatype="plaintext" original="messages" date="2014-05-02T12:00:00Z" product-name="powermail"> <file source-language="en" target-language="de" datatype="plaintext" original="messages" date="2014-05-02T12:00:00Z" product-name="feipauth">
<header/> <header/>
<body> <body>
<trans-unit id="fe_groups.ip_mask"> <trans-unit id="fe_groups.ip_mask">

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8" standalone="yes" ?> <?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<xliff version="1.0"> <xliff version="1.0">
<file source-language="en" datatype="plaintext" original="messages" date="2013-04-13T15:49:07Z" product-name="in2frontendauthentication"> <file source-language="en" datatype="plaintext" original="messages" date="2013-04-13T15:49:07Z" product-name="feipauth">
<header/> <header/>
<body> <body>
<trans-unit id="fe_groups.ip_mask"> <trans-unit id="fe_groups.ip_mask">

View File

@ -1,5 +1,5 @@
{ {
"name": "in2code/in2frontendauthentication", "name": "mmk2410/feipauth",
"description": "Simulate fe_groups login by IP address", "description": "Simulate fe_groups login by IP address",
"keywords": ["typo3", "ip", "felogin"], "keywords": ["typo3", "ip", "felogin"],
"homepage": "https://git.mmk2410.org/mmk2410/feipauth", "homepage": "https://git.mmk2410.org/mmk2410/feipauth",
@ -23,12 +23,11 @@
"typo3/cms": ">=8.7.0 <9.9.99" "typo3/cms": ">=8.7.0 <9.9.99"
}, },
"replace": { "replace": {
"in2frontendauthentication": "self.version", "typo3-ter/feipauth": "self.version"
"typo3-ter/in2frontendauthentication": "self.version"
}, },
"autoload": { "autoload": {
"psr-4": { "psr-4": {
"In2code\\In2frontendauthentication\\": "Classes" "MMK2410\\FeIpAuth\\": "Classes"
} }
} }
} }

View File

@ -1,7 +1,7 @@
<?php <?php
$EM_CONF[$_EXTKEY] = [ $EM_CONF[$_EXTKEY] = [
'title' => 'in2frontendauthentication', 'title' => 'feipauth',
'description' => 'Authenticate every visitor as a defined frontend user if IP matches', 'description' => 'Authenticate every visitor as a defined frontend user if IP matches',
'category' => 'plugin', 'category' => 'plugin',
'shy' => 0, 'shy' => 0,

View File

@ -2,9 +2,9 @@
defined('TYPO3_MODE') || die(); defined('TYPO3_MODE') || die();
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addService( \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addService(
'in2frontendauthentication', 'feipauth',
'auth', 'auth',
\In2code\In2frontendauthentication\Domain\Service\AuthenticationService::class, \MMK2410\FeIpAuth\Domain\Service\AuthenticationService::class,
[ [
'title' => 'Frontenduser authentication service', 'title' => 'Frontenduser authentication service',
'description' => 'Authentication visitors as frontend users if IP address is matching.', 'description' => 'Authentication visitors as frontend users if IP address is matching.',
@ -14,7 +14,7 @@ defined('TYPO3_MODE') || die();
'quality' => 50, 'quality' => 50,
'os' => '', 'os' => '',
'exec' => '', '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( $signalSlotDispatcher->connect(
\BeechIt\FalSecuredownload\Security\CheckPermissions::class, \BeechIt\FalSecuredownload\Security\CheckPermissions::class,
'AddCustomGroups', 'AddCustomGroups',
\In2code\In2frontendauthentication\Slot\AddCustomGroupsSlot::class, \MMK2410\FeIpAuth\Slot\AddCustomGroupsSlot::class,
'addCustomGroups' 'addCustomGroups'
); );