Rename to FeIpLogin

This commit is contained in:
Marcel Kapfer 2021-03-29 19:13:31 +02:00
parent 837ed90239
commit 8f2bc0d6c4
Signed by: mmk2410
GPG Key ID: CADE6F0C09F21B09
11 changed files with 21 additions and 21 deletions

2
.gitignore vendored
View File

@ -13,4 +13,4 @@ Thumbs.db
node_modules/ node_modules/
.sass-cache/ .sass-cache/
npm-debug.log npm-debug.log
feipauth.zip feiplogin.zip

View File

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

View File

@ -1,5 +1,5 @@
<?php <?php
namespace MMK2410\FeIpAuth\Domain\Service; namespace MMK2410\FeIpLogin\Domain\Service;
/*************************************************************** /***************************************************************
* Copyright notice * Copyright notice
@ -27,14 +27,14 @@ namespace MMK2410\FeIpAuth\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 MMK2410\FeIpAuth\Domain\Repository\FeGroupsRepository; use MMK2410\FeIpLogin\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 MMK2410\FeIpAuth\Domain\Service * @package MMK2410\FeIpLogin\Domain\Service
*/ */
class AuthenticationService extends AuthenticationServiceCore class AuthenticationService extends AuthenticationServiceCore
{ {

View File

@ -1,5 +1,5 @@
<?php <?php
namespace MMK2410\FeIpAuth\Slot; namespace MMK2410\FeIpLogin\Slot;
/*************************************************************** /***************************************************************
* Copyright notice * Copyright notice
@ -29,7 +29,7 @@ namespace MMK2410\FeIpAuth\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 MMK2410\FeIpAuth\Domain\Repository\FeGroupsRepository; use MMK2410\FeIpLogin\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 MMK2410\FeIpAuth\Domain\Repository\FeGroupsRepository; use MMK2410\FeIpLogin\Domain\Repository\FeGroupsRepository;
$columns = [ $columns = [
'ip_mask' => [ 'ip_mask' => [
'exclude' => 0, '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', 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="feipauth"> <file source-language="en" target-language="de" datatype="plaintext" original="messages" date="2014-05-02T12:00:00Z" product-name="feiplogin">
<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="feipauth"> <file source-language="en" datatype="plaintext" original="messages" date="2013-04-13T15:49:07Z" product-name="feiplogin">
<header/> <header/>
<body> <body>
<trans-unit id="fe_groups.ip_mask"> <trans-unit id="fe_groups.ip_mask">

View File

@ -1,8 +1,8 @@
{ {
"name": "mmk2410/feipauth", "name": "mmk2410/feiplogin",
"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/feiplogin",
"authors": [ "authors": [
{ {
"name": "Alex Kellner", "name": "Alex Kellner",
@ -23,11 +23,11 @@
"typo3/cms": "^8.7 || ^9.5 || ^10.4" "typo3/cms": "^8.7 || ^9.5 || ^10.4"
}, },
"replace": { "replace": {
"typo3-ter/feipauth": "self.version" "typo3-ter/feiplogin": "self.version"
}, },
"autoload": { "autoload": {
"psr-4": { "psr-4": {
"MMK2410\\FeIpAuth\\": "Classes" "MMK2410\\FeIpLogin\\": "Classes"
} }
} }
} }

View File

@ -1,7 +1,7 @@
<?php <?php
$EM_CONF[$_EXTKEY] = [ $EM_CONF[$_EXTKEY] = [
'title' => 'feipauth', 'title' => 'feiplogin',
'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(
'feipauth', 'feiplogin',
'auth', 'auth',
\MMK2410\FeIpAuth\Domain\Service\AuthenticationService::class, \MMK2410\FeIpLogin\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,13 +14,13 @@ defined('TYPO3_MODE') || die();
'quality' => 50, 'quality' => 50,
'os' => '', 'os' => '',
'exec' => '', 'exec' => '',
'className' => \MMK2410\FeIpAuth\Domain\Service\AuthenticationService::class, 'className' => \MMK2410\FeIpLogin\Domain\Service\AuthenticationService::class,
] ]
); );
/** @var \TYPO3\CMS\Extbase\SignalSlot\Dispatcher $signalSlotDispatcher */ /** @var \TYPO3\CMS\Extbase\SignalSlot\Dispatcher $signalSlotDispatcher */
$signalSlotDispatcher = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Extbase\\SignalSlot\\Dispatcher'); $signalSlotDispatcher = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Extbase\\SignalSlot\\Dispatcher');
$signalSlotDispatcher->connect( $signalSlotDispatcher->connect(
\MMK2410\FeIpAuth\Slot\AddCustomGroupsSlot::class, \MMK2410\FeIpLogin\Slot\AddCustomGroupsSlot::class,
'addCustomGroups' 'addCustomGroups'
); );

2
zip.sh
View File

@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
ZIP_FILE=feipauth.zip ZIP_FILE=feiplogin.zip
if [ -f "$ZIP_FILE" ]; then if [ -f "$ZIP_FILE" ]; then
rm "$ZIP_FILE" rm "$ZIP_FILE"
fi fi