Renamed extension to feipauth
PHP Namespace: MMK2410/FeIpAuth
This commit is contained in:
parent
4878b2d9f7
commit
13efde1cfe
9 changed files with 18 additions and 19 deletions
|
@ -1,5 +1,5 @@
|
|||
<?php
|
||||
namespace In2code\In2frontendauthentication\Domain\Repository;
|
||||
namespace MMK2410\FeIpAuth\Domain\Repository;
|
||||
|
||||
/***************************************************************
|
||||
* Copyright notice
|
||||
|
|
|
@ -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
|
||||
{
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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',
|
||||
|
|
|
@ -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">
|
||||
|
|
|
@ -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">
|
||||
|
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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'
|
||||
);
|
||||
|
|
Reference in a new issue