Formatted all files according to editorconfig
This commit is contained in:
parent
261eed61cf
commit
4878b2d9f7
8 changed files with 51 additions and 51 deletions
|
@ -61,7 +61,7 @@ class FeGroupsRepository
|
|||
$this->getIpQueryString($queryBuilder);
|
||||
|
||||
$rows = $queryBuilder->execute()
|
||||
->fetchAll();
|
||||
->fetchAll();
|
||||
|
||||
if (!empty($rows)) {
|
||||
return $rows;
|
||||
|
|
|
@ -48,7 +48,7 @@ class AuthenticationService extends AuthenticationServiceCore
|
|||
public function getGroups($user, $knownGroups)
|
||||
{
|
||||
$feGroupsRepository = GeneralUtility::makeInstance(ObjectManager::class)
|
||||
->get(FeGroupsRepository::class);
|
||||
->get(FeGroupsRepository::class);
|
||||
$feGroups = $feGroupsRepository->findByCurrentIpAddress();
|
||||
if (!empty($feGroups)) {
|
||||
return $feGroups;
|
||||
|
|
|
@ -40,7 +40,7 @@ class AddCustomGroupsSlot
|
|||
public function addCustomGroups($customGroups)
|
||||
{
|
||||
$feGroupsRepository = GeneralUtility::makeInstance(ObjectManager::class)
|
||||
->get(FeGroupsRepository::class);
|
||||
->get(FeGroupsRepository::class);
|
||||
$feGroups = $feGroupsRepository->findByCurrentIpAddress();
|
||||
|
||||
foreach ($feGroups as $feGroup) {
|
||||
|
|
|
@ -9,7 +9,7 @@ $columns = [
|
|||
'ip_mask' => [
|
||||
'exclude' => 0,
|
||||
'label' => 'LLL:EXT:in2frontendauthentication/Resources/Private/Language/locallang_db.xlf:' .
|
||||
FeGroupsRepository::TABLE_NAME . '.ip_mask',
|
||||
FeGroupsRepository::TABLE_NAME . '.ip_mask',
|
||||
'config' => [
|
||||
'type' => 'text',
|
||||
'cols' => '40',
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
<?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">
|
||||
<header/>
|
||||
<body>
|
||||
<trans-unit id="fe_groups.ip_mask">
|
||||
<source>Autologin with IP address (e.g. "192.168.*.*, 133.145.219.8")</source>
|
||||
<target state="translated">Autologin über IP-Adresse (z.B. "192.168.*.*, 133.145.219.8")</target>
|
||||
</trans-unit>
|
||||
</body>
|
||||
</file>
|
||||
<file source-language="en" target-language="de" datatype="plaintext" original="messages" date="2014-05-02T12:00:00Z" product-name="powermail">
|
||||
<header/>
|
||||
<body>
|
||||
<trans-unit id="fe_groups.ip_mask">
|
||||
<source>Autologin with IP address (e.g. "192.168.*.*, 133.145.219.8")</source>
|
||||
<target state="translated">Autologin über IP-Adresse (z.B. "192.168.*.*, 133.145.219.8")</target>
|
||||
</trans-unit>
|
||||
</body>
|
||||
</file>
|
||||
</xliff>
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
<?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">
|
||||
<header/>
|
||||
<body>
|
||||
<trans-unit id="fe_groups.ip_mask">
|
||||
<source>IP access (e.g. "192.168.*.*, 133.145.219.8")</source>
|
||||
</trans-unit>
|
||||
</body>
|
||||
</file>
|
||||
<file source-language="en" datatype="plaintext" original="messages" date="2013-04-13T15:49:07Z" product-name="in2frontendauthentication">
|
||||
<header/>
|
||||
<body>
|
||||
<trans-unit id="fe_groups.ip_mask">
|
||||
<source>IP access (e.g. "192.168.*.*, 133.145.219.8")</source>
|
||||
</trans-unit>
|
||||
</body>
|
||||
</file>
|
||||
</xliff>
|
||||
|
|
|
@ -1,34 +1,34 @@
|
|||
{
|
||||
"name": "in2code/in2frontendauthentication",
|
||||
"description": "Simulate fe_groups login by IP address",
|
||||
"keywords": ["typo3", "ip", "felogin"],
|
||||
"homepage": "https://git.mmk2410.org/mmk2410/feipauth",
|
||||
"authors": [
|
||||
{
|
||||
"name": "Alex Kellner",
|
||||
"email": "alexander.kellner@in2code.de"
|
||||
"name": "in2code/in2frontendauthentication",
|
||||
"description": "Simulate fe_groups login by IP address",
|
||||
"keywords": ["typo3", "ip", "felogin"],
|
||||
"homepage": "https://git.mmk2410.org/mmk2410/feipauth",
|
||||
"authors": [
|
||||
{
|
||||
"name": "Alex Kellner",
|
||||
"email": "alexander.kellner@in2code.de"
|
||||
},
|
||||
{
|
||||
"name": "Marcel Kapfer",
|
||||
"email": "stuve.oeffentlichkeitsarbeit@uni-ulm.de"
|
||||
},
|
||||
{
|
||||
"name": "Marcel Kapfer",
|
||||
"email": "opensource@mmk2410.org"
|
||||
}
|
||||
],
|
||||
"type": "typo3-cms-extension",
|
||||
"license": "GPL-3.0",
|
||||
"require": {
|
||||
"typo3/cms": ">=8.7.0 <9.9.99"
|
||||
},
|
||||
{
|
||||
"name": "Marcel Kapfer",
|
||||
"email": "stuve.oeffentlichkeitsarbeit@uni-ulm.de"
|
||||
"replace": {
|
||||
"in2frontendauthentication": "self.version",
|
||||
"typo3-ter/in2frontendauthentication": "self.version"
|
||||
},
|
||||
{
|
||||
"name": "Marcel Kapfer",
|
||||
"email": "opensource@mmk2410.org"
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"In2code\\In2frontendauthentication\\": "Classes"
|
||||
}
|
||||
}
|
||||
],
|
||||
"type": "typo3-cms-extension",
|
||||
"license": "GPL-3.0",
|
||||
"require": {
|
||||
"typo3/cms": ">=8.7.0 <9.9.99"
|
||||
},
|
||||
"replace": {
|
||||
"in2frontendauthentication": "self.version",
|
||||
"typo3-ter/in2frontendauthentication": "self.version"
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"In2code\\In2frontendauthentication\\": "Classes"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2,5 +2,5 @@
|
|||
# Table structure for table 'fe_groups'
|
||||
#
|
||||
CREATE TABLE fe_groups (
|
||||
ip_mask text
|
||||
ip_mask text
|
||||
);
|
||||
|
|
Reference in a new issue