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/
.sass-cache/
npm-debug.log
feipauth.zip
feiplogin.zip

View file

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

View file

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

View file

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

View file

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

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="feipauth">
<file source-language="en" target-language="de" datatype="plaintext" original="messages" date="2014-05-02T12:00:00Z" product-name="feiplogin">
<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="feipauth">
<file source-language="en" datatype="plaintext" original="messages" date="2013-04-13T15:49:07Z" product-name="feiplogin">
<header/>
<body>
<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",
"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"
}
}
}

View file

@ -1,7 +1,7 @@
<?php
$EM_CONF[$_EXTKEY] = [
'title' => 'feipauth',
'title' => 'feiplogin',
'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(
'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'
);

2
zip.sh
View file

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