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
namespace In2code\In2frontendauthentication\Domain\Repository;
namespace MMK2410\FeIpAuth\Domain\Repository;
/***************************************************************
* Copyright notice

View File

@ -1,5 +1,5 @@
<?php
namespace In2code\In2frontendauthentication\Domain\Service;
namespace MMK2410\FeIpAuth\Domain\Service;
/***************************************************************
* Copyright notice
@ -27,14 +27,14 @@ namespace In2code\In2frontendauthentication\Domain\Service;
* 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\Authentication\AuthenticationService as AuthenticationServiceCore;
use TYPO3\CMS\Extbase\Object\ObjectManager;
/**
* Class AuthenticationService
* @package In2code\In2frontendauthentication\Domain\Service
* @package MMK2410\FeIpAuth\Domain\Service
*/
class AuthenticationService extends AuthenticationServiceCore
{

View File

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

View File

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

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<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/>
<body>
<trans-unit id="fe_groups.ip_mask">

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<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/>
<body>
<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",
"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"
}
}
}

View File

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

View File

@ -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'
);