first commit

This commit is contained in:
salam committed 2026-10-06 19:40:28 +02:00
commit e81864e683
2984 files changed
+267797

No files matched your search

@@ -0,0 +1,23 @@
<?php
declare(strict_types=1);
use In2code\Femanager\Domain\Model\User;
use In2code\Femanager\Domain\Model\UserGroup;
return [
User::class => [
'tableName' => User::TABLE_NAME,
'properties' => [
'terms' => [
'fieldName' => 'tx_femanager_terms'
],
'termsDateOfAcceptance' => [
'fieldName' => 'tx_femanager_terms_date_of_acceptance'
]
]
],
UserGroup::class => [
'tableName' => 'fe_groups'
]
];
@@ -0,0 +1,665 @@
<T3DataStructure>
<meta>
<langDisable>1</langDisable>
</meta>
<sheets>
<main>
<ROOT>
<TCEforms>
<sheetTitle>LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:flexform.main.title</sheetTitle>
</TCEforms>
<type>array</type>
<el>
<!-- Also set allowed controller actions in \In2code\Femanager\Domain\Repository\PluginRepository::$scaString -->
<switchableControllerActions>
<TCEforms>
<label>LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:flexform.main.view</label>
<onChange>reload</onChange>
<config>
<type>select</type>
<renderType>selectSingle</renderType>
<items type="array">
<numIndex index="0" type="array">
<numIndex index="0">LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:pleaseChoose</numIndex>
<numIndex index="1"></numIndex>
</numIndex>
<numIndex index="1" type="array">
<numIndex index="0">LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:flexform.main.view.0</numIndex>
<numIndex index="1">New->new;New->create;New->createStatus;New->confirmCreateRequest;</numIndex>
</numIndex>
<numIndex index="2" type="array">
<numIndex index="0">LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:flexform.main.view.1</numIndex>
<numIndex index="1">Edit->edit;Edit->update;Edit->delete;Edit->confirmUpdateRequest;User->imageDelete;</numIndex>
</numIndex>
<numIndex index="3" type="array">
<numIndex index="0">LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:flexform.main.view.2</numIndex>
<numIndex index="1">User->list;User->show;</numIndex>
</numIndex>
<numIndex index="4" type="array">
<numIndex index="0">LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:flexform.main.view.3</numIndex>
<numIndex index="1">User->show;</numIndex>
</numIndex>
<numIndex index="5" type="array">
<numIndex index="0">LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:flexform.main.view.4</numIndex>
<numIndex index="1">Invitation->new;Invitation->create;Invitation->edit;Invitation->update;Invitation->delete;Invitation->status;</numIndex>
</numIndex>
<numIndex index="6" type="array">
<numIndex index="0">LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:flexform.main.view.5</numIndex>
<numIndex index="1">New->resendConfirmationDialogue;New->resendConfirmationMail;New->confirmCreateRequest;New->createStatus</numIndex>
</numIndex>
</items>
<maxitems>1</maxitems>
<size>1</size>
</config>
</TCEforms>
</switchableControllerActions>
</el>
</ROOT>
</main>
<new>
<ROOT>
<TCEforms>
<sheetTitle>LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:flexform.new.title</sheetTitle>
<displayCond><![CDATA[FIELD:main.switchableControllerActions:=:New->new;New->create;New->createStatus;New->confirmCreateRequest;]]></displayCond>
</TCEforms>
<type>array</type>
<el>
<settings.new.fields>
<TCEforms>
<label>LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:flexform.new.fields</label>
<config>
<type>select</type>
<renderType>selectMultipleSideBySide</renderType>
<items type="array">
<numIndex index="0" type="array">
<numIndex index="0">LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:tx_femanager_domain_model_user.username</numIndex>
<numIndex index="1">username</numIndex>
</numIndex>
<numIndex index="1" type="array">
<numIndex index="0">LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:tx_femanager_domain_model_user.password</numIndex>
<numIndex index="1">password</numIndex>
</numIndex>
<numIndex index="2" type="array">
<numIndex index="0">LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:tx_femanager_domain_model_user.usergroup</numIndex>
<numIndex index="1">usergroup</numIndex>
</numIndex>
<numIndex index="3" type="array">
<numIndex index="0">LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:tx_femanager_domain_model_user.name</numIndex>
<numIndex index="1">name</numIndex>
</numIndex>
<numIndex index="4" type="array">
<numIndex index="0">LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:tx_femanager_domain_model_user.firstName</numIndex>
<numIndex index="1">firstName</numIndex>
</numIndex>
<numIndex index="5" type="array">
<numIndex index="0">LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:tx_femanager_domain_model_user.middleName</numIndex>
<numIndex index="1">middleName</numIndex>
</numIndex>
<numIndex index="6" type="array">
<numIndex index="0">LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:tx_femanager_domain_model_user.lastName</numIndex>
<numIndex index="1">lastName</numIndex>
</numIndex>
<numIndex index="7" type="array">
<numIndex index="0">LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:tx_femanager_domain_model_user.address</numIndex>
<numIndex index="1">address</numIndex>
</numIndex>
<numIndex index="8" type="array">
<numIndex index="0">LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:tx_femanager_domain_model_user.telephone</numIndex>
<numIndex index="1">telephone</numIndex>
</numIndex>
<numIndex index="9" type="array">
<numIndex index="0">LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:tx_femanager_domain_model_user.fax</numIndex>
<numIndex index="1">fax</numIndex>
</numIndex>
<numIndex index="10" type="array">
<numIndex index="0">LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:tx_femanager_domain_model_user.email</numIndex>
<numIndex index="1">email</numIndex>
</numIndex>
<numIndex index="11" type="array">
<numIndex index="0">LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:tx_femanager_domain_model_user.title</numIndex>
<numIndex index="1">title</numIndex>
</numIndex>
<numIndex index="12" type="array">
<numIndex index="0">LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:tx_femanager_domain_model_user.zip</numIndex>
<numIndex index="1">zip</numIndex>
</numIndex>
<numIndex index="13" type="array">
<numIndex index="0">LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:tx_femanager_domain_model_user.city</numIndex>
<numIndex index="1">city</numIndex>
</numIndex>
<numIndex index="14" type="array">
<numIndex index="0">LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:tx_femanager_domain_model_user.country</numIndex>
<numIndex index="1">country</numIndex>
</numIndex>
<numIndex index="15" type="array">
<numIndex index="0">LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:tx_femanager_domain_model_user.www</numIndex>
<numIndex index="1">www</numIndex>
</numIndex>
<numIndex index="16" type="array">
<numIndex index="0">LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:tx_femanager_domain_model_user.company</numIndex>
<numIndex index="1">company</numIndex>
</numIndex>
<numIndex index="17" type="array">
<numIndex index="0">LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:tx_femanager_domain_model_user.image</numIndex>
<numIndex index="1">image</numIndex>
</numIndex>
<numIndex index="18" type="array">
<numIndex index="0">LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:tx_femanager_domain_model_user.gender</numIndex>
<numIndex index="1">gender</numIndex>
</numIndex>
<numIndex index="19" type="array">
<numIndex index="0">LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:tx_femanager_domain_model_user.dateOfBirth</numIndex>
<numIndex index="1">dateOfBirth</numIndex>
</numIndex>
<numIndex index="20" type="array">
<numIndex index="0">LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:tx_femanager_domain_model_user.terms</numIndex>
<numIndex index="1">terms</numIndex>
</numIndex>
</items>
<maxitems>100</maxitems>
<size>10</size>
<autoSizeMax>20</autoSizeMax>
<minitems>0</minitems>
<allowNonIdValues>1</allowNonIdValues>
<itemsProcFunc>In2code\Femanager\UserFunc\UserFieldsOptions->addOptions</itemsProcFunc>
<itemsProcFuncTab>new</itemsProcFuncTab>
</config>
</TCEforms>
</settings.new.fields>
<settings.new.overrideUserGroup>
<TCEforms>
<label>LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:flexform.new.overrideUserGroup</label>
<config>
<type>group</type>
<internal_type>db</internal_type>
<allowed>fe_groups</allowed>
<size>3</size>
<maxitems>50</maxitems>
<minitems>0</minitems>
<autoSizeMax>10</autoSizeMax>
</config>
</TCEforms>
</settings.new.overrideUserGroup>
<settings.new.confirmByUser>
<TCEforms>
<label>LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:flexform.new.confirmByUser</label>
<config>
<type>check</type>
<default>0</default>
</config>
</TCEforms>
</settings.new.confirmByUser>
<settings.new.confirmByAdmin>
<TCEforms>
<label>LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:flexform.new.confirmByAdmin</label>
<config>
<type>text</type>
<cols>32</cols>
<rows>2</rows>
</config>
</TCEforms>
</settings.new.confirmByAdmin>
<settings.new.notifyAdmin>
<TCEforms>
<label>LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:flexform.new.notifyAdmin</label>
<config>
<type>text</type>
<cols>32</cols>
<rows>2</rows>
</config>
</TCEforms>
</settings.new.notifyAdmin>
</el>
</ROOT>
</new>
<edit>
<ROOT>
<TCEforms>
<sheetTitle>LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:flexform.edit.title</sheetTitle>
<displayCond><![CDATA[FIELD:main.switchableControllerActions:=:Edit->edit;Edit->update;Edit->delete;Edit->confirmUpdateRequest;User->imageDelete;]]></displayCond>
</TCEforms>
<type>array</type>
<el>
<settings.edit.fields>
<TCEforms>
<label>LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:flexform.edit.fields</label>
<config>
<type>select</type>
<renderType>selectMultipleSideBySide</renderType>
<items type="array">
<numIndex index="0" type="array">
<numIndex index="0">LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:tx_femanager_domain_model_user.username</numIndex>
<numIndex index="1">username</numIndex>
</numIndex>
<numIndex index="1" type="array">
<numIndex index="0">LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:tx_femanager_domain_model_user.password</numIndex>
<numIndex index="1">password</numIndex>
</numIndex>
<numIndex index="2" type="array">
<numIndex index="0">LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:tx_femanager_domain_model_user.usergroup</numIndex>
<numIndex index="1">usergroup</numIndex>
</numIndex>
<numIndex index="3" type="array">
<numIndex index="0">LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:tx_femanager_domain_model_user.name</numIndex>
<numIndex index="1">name</numIndex>
</numIndex>
<numIndex index="4" type="array">
<numIndex index="0">LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:tx_femanager_domain_model_user.firstName</numIndex>
<numIndex index="1">firstName</numIndex>
</numIndex>
<numIndex index="5" type="array">
<numIndex index="0">LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:tx_femanager_domain_model_user.middleName</numIndex>
<numIndex index="1">middleName</numIndex>
</numIndex>
<numIndex index="6" type="array">
<numIndex index="0">LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:tx_femanager_domain_model_user.lastName</numIndex>
<numIndex index="1">lastName</numIndex>
</numIndex>
<numIndex index="7" type="array">
<numIndex index="0">LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:tx_femanager_domain_model_user.address</numIndex>
<numIndex index="1">address</numIndex>
</numIndex>
<numIndex index="8" type="array">
<numIndex index="0">LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:tx_femanager_domain_model_user.telephone</numIndex>
<numIndex index="1">telephone</numIndex>
</numIndex>
<numIndex index="9" type="array">
<numIndex index="0">LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:tx_femanager_domain_model_user.fax</numIndex>
<numIndex index="1">fax</numIndex>
</numIndex>
<numIndex index="10" type="array">
<numIndex index="0">LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:tx_femanager_domain_model_user.email</numIndex>
<numIndex index="1">email</numIndex>
</numIndex>
<numIndex index="11" type="array">
<numIndex index="0">LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:tx_femanager_domain_model_user.title</numIndex>
<numIndex index="1">title</numIndex>
</numIndex>
<numIndex index="12" type="array">
<numIndex index="0">LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:tx_femanager_domain_model_user.zip</numIndex>
<numIndex index="1">zip</numIndex>
</numIndex>
<numIndex index="13" type="array">
<numIndex index="0">LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:tx_femanager_domain_model_user.city</numIndex>
<numIndex index="1">city</numIndex>
</numIndex>
<numIndex index="14" type="array">
<numIndex index="0">LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:tx_femanager_domain_model_user.country</numIndex>
<numIndex index="1">country</numIndex>
</numIndex>
<numIndex index="15" type="array">
<numIndex index="0">LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:tx_femanager_domain_model_user.www</numIndex>
<numIndex index="1">www</numIndex>
</numIndex>
<numIndex index="16" type="array">
<numIndex index="0">LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:tx_femanager_domain_model_user.company</numIndex>
<numIndex index="1">company</numIndex>
</numIndex>
<numIndex index="17" type="array">
<numIndex index="0">LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:tx_femanager_domain_model_user.image</numIndex>
<numIndex index="1">image</numIndex>
</numIndex>
<numIndex index="18" type="array">
<numIndex index="0">LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:tx_femanager_domain_model_user.gender</numIndex>
<numIndex index="1">gender</numIndex>
</numIndex>
<numIndex index="19" type="array">
<numIndex index="0">LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:tx_femanager_domain_model_user.dateOfBirth</numIndex>
<numIndex index="1">dateOfBirth</numIndex>
</numIndex>
</items>
<maxitems>100</maxitems>
<size>10</size>
<autoSizeMax>20</autoSizeMax>
<minitems>0</minitems>
<allowNonIdValues>1</allowNonIdValues>
<itemsProcFunc>In2code\Femanager\UserFunc\UserFieldsOptions->addOptions</itemsProcFunc>
<itemsProcFuncTab>edit</itemsProcFuncTab>
</config>
</TCEforms>
</settings.edit.fields>
<settings.edit.showDeleteLink>
<TCEforms>
<label>LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:flexform.edit.showDeleteLink</label>
<config>
<type>check</type>
<default>0</default>
</config>
</TCEforms>
</settings.edit.showDeleteLink>
<settings.edit.confirmByAdmin>
<TCEforms>
<label>LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:flexform.edit.confirmByAdmin</label>
<config>
<type>text</type>
<cols>32</cols>
<rows>2</rows>
</config>
</TCEforms>
</settings.edit.confirmByAdmin>
<settings.edit.notifyAdmin>
<TCEforms>
<label>LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:flexform.edit.notifyAdmin</label>
<config>
<type>text</type>
<cols>32</cols>
<rows>2</rows>
</config>
</TCEforms>
</settings.edit.notifyAdmin>
</el>
</ROOT>
</edit>
<list>
<ROOT>
<TCEforms>
<sheetTitle>LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:flexform.list.title</sheetTitle>
<displayCond><![CDATA[FIELD:main.switchableControllerActions:=:User->list;User->show;]]></displayCond>
</TCEforms>
<type>array</type>
<el>
<settings.list.filterActivate>
<TCEforms>
<label>LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:flexform.list.filter</label>
<config>
<type>check</type>
<default>0</default>
</config>
</TCEforms>
</settings.list.filterActivate>
<settings.list.limit>
<TCEforms>
<label>LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:flexform.list.limit</label>
<config>
<type>input</type>
<eval>trim,int</eval>
<size>4</size>
</config>
</TCEforms>
</settings.list.limit>
<settings.list.orderby>
<TCEforms>
<label>LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:flexform.list.orderby</label>
<config>
<type>select</type>
<renderType>selectSingle</renderType>
<items type="array">
<numIndex index="0" type="array">
<numIndex index="0">LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:flexform.list.orderby.0</numIndex>
<numIndex index="1">last_name</numIndex>
</numIndex>
<numIndex index="1" type="array">
<numIndex index="0">LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:flexform.list.orderby.1</numIndex>
<numIndex index="1">first_name</numIndex>
</numIndex>
<numIndex index="2" type="array">
<numIndex index="0">LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:flexform.list.orderby.2</numIndex>
<numIndex index="1">company</numIndex>
</numIndex>
<numIndex index="3" type="array">
<numIndex index="0">LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:flexform.list.orderby.3</numIndex>
<numIndex index="1">username</numIndex>
</numIndex>
</items>
<maxitems>1</maxitems>
<size>1</size>
</config>
</TCEforms>
</settings.list.orderby>
<settings.list.sorting>
<TCEforms>
<label>LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:flexform.list.sorting</label>
<config>
<type>select</type>
<renderType>selectSingle</renderType>
<items type="array">
<numIndex index="0" type="array">
<numIndex index="0">LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:flexform.list.sorting.0</numIndex>
<numIndex index="1">asc</numIndex>
</numIndex>
<numIndex index="1" type="array">
<numIndex index="0">LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:flexform.list.sorting.1</numIndex>
<numIndex index="1">desc</numIndex>
</numIndex>
</items>
<maxitems>1</maxitems>
<size>1</size>
</config>
</TCEforms>
</settings.list.sorting>
<settings.list.usergroup>
<TCEforms>
<label>LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:flexform.list.usergroup</label>
<config>
<type>select</type>
<renderType>selectMultipleSideBySide</renderType>
<maxitems>100</maxitems>
<size>4</size>
<autoSizeMax>20</autoSizeMax>
<minitems>0</minitems>
<foreign_table>fe_groups</foreign_table>
<foreign_table_where>AND fe_groups.deleted = 0 AND fe_groups.hidden = 0 order by fe_groups.title</foreign_table_where>
<allowNonIdValues>1</allowNonIdValues>
</config>
</TCEforms>
</settings.list.usergroup>
</el>
</ROOT>
</list>
<show>
<ROOT>
<TCEforms>
<sheetTitle>LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:flexform.show.title</sheetTitle>
<displayCond><![CDATA[FIELD:main.switchableControllerActions:=:User->show;]]></displayCond>
</TCEforms>
<type>array</type>
<el>
<settings.show.user>
<TCEforms>
<label>LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:flexform.show.user</label>
<config>
<type>select</type>
<renderType>selectSingle</renderType>
<items type="array">
<numIndex index="0" type="array">
<numIndex index="0">LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:pleaseChoose</numIndex>
<numIndex index="1"></numIndex>
</numIndex>
<numIndex index="1" type="array">
<numIndex index="0">LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:flexform.show.user.1</numIndex>
<numIndex index="1">[this]</numIndex>
</numIndex>
</items>
<maxitems>1</maxitems>
<size>1</size>
<minitems>0</minitems>
<foreign_table>fe_users</foreign_table>
<foreign_table_where>AND fe_users.deleted = 0 AND fe_users.disable = 0 order by fe_users.last_name</foreign_table_where>
<allowNonIdValues>1</allowNonIdValues>
<itemsProcFunc>In2code\Femanager\UserFunc\UserOptions->addOptions</itemsProcFunc>
</config>
</TCEforms>
</settings.show.user>
</el>
</ROOT>
</show>
<invitation>
<ROOT>
<TCEforms>
<sheetTitle>LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:flexform.invitation.title</sheetTitle>
<displayCond><![CDATA[FIELD:main.switchableControllerActions:=:Invitation->new;Invitation->create;Invitation->edit;Invitation->update;Invitation->delete;Invitation->status;]]></displayCond>
</TCEforms>
<type>array</type>
<el>
<settings.invitation.allowedUserGroups>
<TCEforms>
<label>LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:flexform.invitation.allowedUserGroups</label>
<config>
<type>group</type>
<internal_type>db</internal_type>
<allowed>fe_groups</allowed>
<size>3</size>
<maxitems>50</maxitems>
<minitems>0</minitems>
<autoSizeMax>10</autoSizeMax>
</config>
</TCEforms>
</settings.invitation.allowedUserGroups>
<settings.invitation.fields>
<TCEforms>
<label>LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:flexform.invitation.fields</label>
<config>
<type>select</type>
<renderType>selectMultipleSideBySide</renderType>
<items type="array">
<numIndex index="0" type="array">
<numIndex index="0">LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:tx_femanager_domain_model_user.username</numIndex>
<numIndex index="1">username</numIndex>
</numIndex>
<numIndex index="2" type="array">
<numIndex index="0">LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:tx_femanager_domain_model_user.usergroup</numIndex>
<numIndex index="1">usergroup</numIndex>
</numIndex>
<numIndex index="3" type="array">
<numIndex index="0">LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:tx_femanager_domain_model_user.name</numIndex>
<numIndex index="1">name</numIndex>
</numIndex>
<numIndex index="4" type="array">
<numIndex index="0">LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:tx_femanager_domain_model_user.firstName</numIndex>
<numIndex index="1">firstName</numIndex>
</numIndex>
<numIndex index="5" type="array">
<numIndex index="0">LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:tx_femanager_domain_model_user.middleName</numIndex>
<numIndex index="1">middleName</numIndex>
</numIndex>
<numIndex index="6" type="array">
<numIndex index="0">LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:tx_femanager_domain_model_user.lastName</numIndex>
<numIndex index="1">lastName</numIndex>
</numIndex>
<numIndex index="7" type="array">
<numIndex index="0">LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:tx_femanager_domain_model_user.address</numIndex>
<numIndex index="1">address</numIndex>
</numIndex>
<numIndex index="8" type="array">
<numIndex index="0">LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:tx_femanager_domain_model_user.telephone</numIndex>
<numIndex index="1">telephone</numIndex>
</numIndex>
<numIndex index="9" type="array">
<numIndex index="0">LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:tx_femanager_domain_model_user.fax</numIndex>
<numIndex index="1">fax</numIndex>
</numIndex>
<numIndex index="11" type="array">
<numIndex index="0">LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:tx_femanager_domain_model_user.title</numIndex>
<numIndex index="1">title</numIndex>
</numIndex>
<numIndex index="12" type="array">
<numIndex index="0">LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:tx_femanager_domain_model_user.zip</numIndex>
<numIndex index="1">zip</numIndex>
</numIndex>
<numIndex index="13" type="array">
<numIndex index="0">LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:tx_femanager_domain_model_user.city</numIndex>
<numIndex index="1">city</numIndex>
</numIndex>
<numIndex index="14" type="array">
<numIndex index="0">LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:tx_femanager_domain_model_user.country</numIndex>
<numIndex index="1">country</numIndex>
</numIndex>
<numIndex index="15" type="array">
<numIndex index="0">LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:tx_femanager_domain_model_user.www</numIndex>
<numIndex index="1">www</numIndex>
</numIndex>
<numIndex index="16" type="array">
<numIndex index="0">LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:tx_femanager_domain_model_user.company</numIndex>
<numIndex index="1">company</numIndex>
</numIndex>
<numIndex index="17" type="array">
<numIndex index="0">LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:tx_femanager_domain_model_user.image</numIndex>
<numIndex index="1">image</numIndex>
</numIndex>
<numIndex index="18" type="array">
<numIndex index="0">LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:tx_femanager_domain_model_user.gender</numIndex>
<numIndex index="1">gender</numIndex>
</numIndex>
<numIndex index="19" type="array">
<numIndex index="0">LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:tx_femanager_domain_model_user.dateOfBirth</numIndex>
<numIndex index="1">dateOfBirth</numIndex>
</numIndex>
</items>
<maxitems>100</maxitems>
<size>10</size>
<autoSizeMax>20</autoSizeMax>
<minitems>0</minitems>
<allowNonIdValues>1</allowNonIdValues>
<itemsProcFunc>In2code\Femanager\UserFunc\UserFieldsOptions->addOptions</itemsProcFunc>
<itemsProcFuncTab>new</itemsProcFuncTab>
</config>
</TCEforms>
</settings.invitation.fields>
<settings.invitation.overrideUserGroup>
<TCEforms>
<label>LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:flexform.invitation.overrideUserGroup</label>
<config>
<type>group</type>
<internal_type>db</internal_type>
<allowed>fe_groups</allowed>
<size>3</size>
<maxitems>50</maxitems>
<minitems>0</minitems>
<autoSizeMax>10</autoSizeMax>
</config>
</TCEforms>
</settings.invitation.overrideUserGroup>
<settings.invitation.notifyAdminStep1>
<TCEforms>
<label>LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:flexform.invitation.notifyAdminStep1</label>
<config>
<type>text</type>
<cols>32</cols>
<rows>2</rows>
</config>
</TCEforms>
</settings.invitation.notifyAdminStep1>
<settings.invitation.notifyAdmin>
<TCEforms>
<label>LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:flexform.invitation.notifyAdmin</label>
<config>
<type>text</type>
<cols>32</cols>
<rows>2</rows>
</config>
</TCEforms>
</settings.invitation.notifyAdmin>
</el>
</ROOT>
</invitation>
<misc>
<ROOT>
<TCEforms>
<sheetTitle>LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:flexform.misc.title</sheetTitle>
<displayCond>
<OR>
<numIndex index="0"><![CDATA[FIELD:main.switchableControllerActions:=:New->new;New->create;New->createStatus;New->confirmCreateRequest;]]></numIndex>
<numIndex index="1"><![CDATA[FIELD:main.switchableControllerActions:=:Invitation->new;Invitation->create;Invitation->edit;Invitation->update;Invitation->delete;Invitation->status;]]></numIndex>
</OR>
</displayCond>
</TCEforms>
<type>array</type>
<el>
<settings.misc.termsUrl>
<TCEforms>
<label>LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:flexform.misc.termsUrl</label>
<config>
<type>group</type>
<internal_type>db</internal_type>
<allowed>pages</allowed>
<size>1</size>
<maxitems>1</maxitems>
<minitems>0</minitems>
</config>
</TCEforms>
</settings.misc.termsUrl>
</el>
</ROOT>
</misc>
</sheets>
</T3DataStructure>
@@ -0,0 +1,11 @@
<?php
namespace In2code\Femanager\DependencyInjection;
use In2code\Femanager\DependencyInjection\CompilerPass\ChangeClassDatamapPass;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
return function (ContainerConfigurator $configurator, ContainerBuilder $containerBuilder) {
$containerBuilder->addCompilerPass(new ChangeClassDatamapPass());
};
@@ -0,0 +1,32 @@
services:
_defaults:
autowire: true
autoconfigure: true
public: false
In2code\Femanager\:
resource: '../Classes/*'
exclude: '../Classes/Domain/Model/*'
In2code\Femanager\Domain\Validator\AbstractValidator:
public: true
In2code\Femanager\DataProvider\CountryDataProvider:
public: true
In2code\Femanager\DataProvider\CountryZonesDataProvider:
public: true
In2code\Femanager\Domain\Repository\LogRepository:
public: true
In2code\Femanager\Domain\Repository\UserGroupRepository:
public: true
In2code\Femanager\Domain\Repository\UserRepository:
public: true
In2code\Femanager\Domain\Service\RatelimiterService:
public: true
In2code\Femanager\Domain\Service\SendMailService:
public: true
In2code\Femanager\Domain\Validator\ShouldValidateStateCondition:
public: true
In2code\Femanager\Finisher\FinisherRunner:
public: true
In2code\Femanager\Utility\LogUtility:
public: true
@@ -0,0 +1,205 @@
<?php
use In2code\Femanager\Utility\ConfigurationUtility;
use TYPO3\CMS\Core\Configuration\ExtensionConfiguration;
use TYPO3\CMS\Core\Utility\ExtensionManagementUtility;
use TYPO3\CMS\Core\Utility\GeneralUtility;
/**
* Table configuration fe_users
*/
$feUsersColumns = [
'gender' => [
'exclude' => 0,
'label' => 'LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:' .
'tx_femanager_domain_model_user.gender',
'config' => [
'type' => 'radio',
'items' => [
[
'LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:' .
'tx_femanager_domain_model_user.gender.item0',
'0'
],
[
'LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:' .
'tx_femanager_domain_model_user.gender.item1',
'1'
],
[
'LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:' .
'tx_femanager_domain_model_user.gender.item2',
'2'
]
],
]
],
'date_of_birth' => [
'exclude' => 0,
'label' => 'LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:' .
'tx_femanager_domain_model_user.dateOfBirth',
'config' => [
'type' => 'input',
'renderType' => 'inputDateTime',
'size' => 10,
'eval' => 'date',
'checkbox' => '0',
'default' => 0
]
],
'crdate' => [
'exclude' => 1,
'label' => 'LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:' .
'fe_users.crdate',
'config' => [
'type' => 'input',
'renderType' => 'inputDateTime',
'size' => 30,
'eval' => 'datetime',
'readOnly' => true,
'default' => time()
]
],
'tstamp' => [
'exclude' => 1,
'label' => 'LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:' .
'fe_users.tstamp',
'config' => [
'type' => 'input',
'renderType' => 'inputDateTime',
'size' => 30,
'eval' => 'datetime',
'readOnly' => true,
'default' => time()
]
],
'tx_femanager_confirmedbyuser' => [
'exclude' => 1,
'label' => 'LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:' .
'fe_users.registrationconfirmedbyuser',
'config' => [
'type' => 'check',
'default' => 0,
]
],
'tx_femanager_confirmedbyadmin' => [
'exclude' => 1,
'label' => 'LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:' .
'fe_users.registrationconfirmedbyadmin',
'config' => [
'type' => 'check',
'default' => 0,
]
],
'tx_femanager_terms' => [
'exclude' => 1,
'label' => 'LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:' .
'fe_users.terms',
'config' => [
'type' => 'check',
'default' => 0,
]
],
'tx_femanager_terms_date_of_acceptance' => [
'displayCond' => 'FIELD:tx_femanager_terms:REQ:TRUE',
'label' => 'LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:' .
'fe_users.terms_date_of_acceptance',
'exclude' => true,
'config' => [
'type' => 'input',
'renderType' => 'inputDateTime',
'size' => 30,
'eval' => 'datetime',
'readOnly' => true,
]
],
];
$staticInfoTablesIsLoaded = ExtensionManagementUtility::isLoaded('static_info_tables');
if ($staticInfoTablesIsLoaded) {
$feUsersColumns['state'] = [
'label' => 'LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:' .
'tx_femanager_domain_model_user.state',
'exclude' => true,
'config' => [
'type' => 'select',
'renderType' => 'selectSingle',
'items' => [
['LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:pleaseChoose', '']
],
'itemsProcFunc' => 'In2code\\Femanager\\UserFunc\\StaticInfoTables->getStatesOptions',
'maxitems' => 1,
]
];
}
$extConf = GeneralUtility::makeInstance(
ExtensionConfiguration::class
);
if ($extConf->get('femanager', 'overrideFeUserCountryFieldWithSelect')) {
$GLOBALS['TCA']['fe_users']['columns']['country']['config'] = [
'type' => 'select',
'renderType' => 'selectSingle',
'itemsProcFunc' => 'In2code\\Femanager\\UserFunc\\StaticInfoTables->getCountryOptions',
'items' => [
['LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:pleaseChoose', '']
],
'maxitems' => 1,
];
}
$fields = 'crdate, tstamp, tx_femanager_confirmedbyuser, tx_femanager_confirmedbyadmin, tx_femanager_terms, ' .
'tx_femanager_terms_date_of_acceptance';
if (!ConfigurationUtility::isDisableLogActive()) {
$feUsersColumns['tx_femanager_log'] = [
'exclude' => 1,
'label' => 'LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:fe_users.log',
'config' => [
'type' => 'inline',
'foreign_table' => 'tx_femanager_domain_model_log',
'foreign_field' => 'user',
'maxitems' => 1000,
'minitems' => 0,
'appearance' => [
'collapseAll' => 1,
'expandSingle' => 1,
],
]
];
$fields .= ', tx_femanager_log';
}
$feUsersColumns['tx_femanager_changerequest'] = [
'exclude' => 1,
'label' => 'LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:fe_users.changerequest',
'config' => [
'type' => 'text',
'cols' => '40',
'rows' => '15',
'wrap' => 'off',
'readOnly' => 1
]
];
$fields .= ', tx_femanager_changerequest';
ExtensionManagementUtility::addToAllTCAtypes(
'fe_users',
'gender, date_of_birth',
'',
'after:name'
);
if ($staticInfoTablesIsLoaded) {
$GLOBALS['TCA']['fe_users']['columns']['country']['onChange'] = 'reload';
$fields .= ',state';
ExtensionManagementUtility::addToAllTCAtypes(
'fe_users',
'state',
'',
'after:country'
);
}
ExtensionManagementUtility::addTCAcolumns('fe_users', $feUsersColumns);
ExtensionManagementUtility::addToAllTCAtypes(
'fe_users',
'--div--;LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:fe_users.tab, ' . $fields
);
@@ -0,0 +1,19 @@
<?php
use TYPO3\CMS\Core\Utility\ExtensionManagementUtility;
defined('TYPO3') or die();
/**
* Static TypoScript
*/
ExtensionManagementUtility::addStaticFile(
'femanager',
'Configuration/TypoScript/Main',
'Main Settings'
);
ExtensionManagementUtility::addStaticFile(
'femanager',
'Configuration/TypoScript/Layout',
'Add Layout CSS'
);
@@ -0,0 +1,26 @@
<?php
use TYPO3\CMS\Core\Utility\ExtensionManagementUtility;
use TYPO3\CMS\Extbase\Utility\ExtensionUtility;
defined('TYPO3') or die();
/**
* FE Plugin
*/
ExtensionUtility::registerPlugin('femanager', 'Pi1', 'FE_Manager');
/**
* Flexform
*/
$pluginSignature = str_replace('_', '', 'femanager') . '_pi1';
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist'][$pluginSignature] = 'pi_flexform';
ExtensionManagementUtility::addPiFlexFormValue(
$pluginSignature,
'FILE:EXT:femanager/Configuration/FlexForms/FlexFormPi1.xml'
);
/**
* Disable non needed fields in tt_content
*/
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_excludelist']['femanager_pi1'] = 'select_key';
@@ -0,0 +1,268 @@
<?php
use In2code\Femanager\Domain\Model\Log;
return [
'ctrl' => [
'title' => 'LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:tx_femanager_domain_model_log',
'label' => 'title',
'tstamp' => 'tstamp',
'crdate' => 'crdate',
'cruser_id' => 'cruser_id',
'versioningWS' => true,
'origUid' => 't3_origuid',
'languageField' => 'sys_language_uid',
'transOrigPointerField' => 'l10n_parent',
'transOrigDiffSourceField' => 'l10n_diffsource',
'delete' => 'deleted',
'default_sortby' => 'ORDER BY crdate DESC',
'enablecolumns' => [
'disabled' => 'hidden',
'starttime' => 'starttime',
'endtime' => 'endtime',
],
'searchFields' => 'title',
'iconfile' => 'EXT:femanager/Resources/Public/Icons/Log.png'
],
'types' => [
'1' => [
'showitem' => 'title, crdate, state, user, ' .
'--div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:tabs.access,sys_language_uid, ' .
'l10n_parent, l10n_diffsource, hidden, starttime, endtime'
],
],
'palettes' => [
'1' => ['showitem' => ''],
],
'columns' => [
'sys_language_uid' => [
'exclude' => 1,
'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.language',
'config' => ['type' => 'language'],
],
'l10n_parent' => [
'displayCond' => 'FIELD:sys_language_uid:>:0',
'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.l18n_parent',
'config' => [
'type' => 'select',
'renderType' => 'selectSingle',
'items' => [
['', 0],
],
'foreign_table' => 'tx_femanager_domain_model_log',
'foreign_table_where' => 'AND tx_femanager_domain_model_log.pid = ###CURRENT_PID### AND ' .
'tx_femanager_domain_model_log.sys_language_uid IN (-1,0)',
],
],
'l10n_diffsource' => [
'config' => [
'type' => 'passthrough',
],
],
't3ver_label' => [
'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.versionLabel',
'config' => [
'type' => 'input',
'size' => 30,
'max' => 255,
]
],
'hidden' => [
'exclude' => 1,
'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.hidden',
'config' => [
'type' => 'check',
],
],
'starttime' => [
'exclude' => 1,
'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.starttime',
'config' => [
'type' => 'input',
'renderType' => 'inputDateTime',
'size' => 13,
'eval' => 'datetime',
'checkbox' => 0,
'default' => 0,
'range' => [
'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y'))
],
'behaviour' => [
'allowLanguageSynchronization' => true,
]
],
],
'endtime' => [
'exclude' => 1,
'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.endtime',
'config' => [
'type' => 'input',
'renderType' => 'inputDateTime',
'size' => 13,
'eval' => 'datetime',
'checkbox' => 0,
'default' => 0,
'range' => [
'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y'))
],
'behaviour' => [
'allowLanguageSynchronization' => true,
]
],
],
'title' => [
'exclude' => 0,
'label' => 'LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:' .
'tx_femanager_domain_model_log.title',
'config' => [
'type' => 'input',
'size' => 30,
'eval' => 'trim'
],
],
'crdate' => [
'label' => 'LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:' .
'tx_femanager_domain_model_log.crdate',
'config' => [
'type' => 'input',
'renderType' => 'inputDateTime',
'size' => 30,
'eval' => 'datetime',
'readOnly' => 1
],
],
'state' => [
'exclude' => 0,
'label' => 'LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:' .
'tx_femanager_domain_model_log.state',
'config' => [
'type' => 'select',
'renderType' => 'selectSingle',
'items' => [
[
'LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:' .
'tx_femanager_domain_model_log.state.100',
'--div--'
],
[
'LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:' .
'tx_femanager_domain_model_log.state.101',
Log::STATUS_NEWREGISTRATION
],
[
'LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:' .
'tx_femanager_domain_model_log.state.102',
Log::STATUS_REGISTRATIONCONFIRMEDUSER
],
[
'LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:' .
'tx_femanager_domain_model_log.state.103',
Log::STATUS_REGISTRATIONCONFIRMEDADMIN
],
[
'LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:' .
'tx_femanager_domain_model_log.state.104',
Log::STATUS_REGISTRATIONREFUSEDUSER
],
[
'LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:' .
'tx_femanager_domain_model_log.state.105',
Log::STATUS_REGISTRATIONREFUSEDADMIN
],
[
'LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:' .
'tx_femanager_domain_model_log.state.106',
Log::STATUS_PROFILECREATIONREQUEST
],
[
'LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:' .
'tx_femanager_domain_model_log.state.200',
'--div--'
],
[
'LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:' .
'tx_femanager_domain_model_log.state.201',
Log::STATUS_PROFILEUPDATED
],
[
'LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:' .
'tx_femanager_domain_model_log.state.202',
Log::STATUS_PROFILEUPDATECONFIRMEDADMIN
],
[
'LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:' .
'tx_femanager_domain_model_log.state.203',
Log::STATUS_PROFILEUPDATEREFUSEDADMIN
],
[
'LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:' .
'tx_femanager_domain_model_log.state.204',
Log::STATUS_PROFILEUPDATEREQUEST
],
[
'LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:' .
'tx_femanager_domain_model_log.state.205',
Log::STATUS_PROFILEUPDATEREFUSEDSECURITY
],
[
'LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:' .
'tx_femanager_domain_model_log.state.206',
Log::STATUS_PROFILEUPDATEIMAGEDELETE
],
[
'LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:' .
'tx_femanager_domain_model_log.state.207',
Log::STATUS_PROFILEUPDATEATTEMPTEDSPOOF,
],
[
'LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:' .
'tx_femanager_domain_model_log.state.300',
'--div--'
],
[
'LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:' .
'tx_femanager_domain_model_log.state.301',
Log::STATUS_PROFILEDELETE
],
[
'LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:' .
'tx_femanager_domain_model_log.state.400',
'--div--'
],
[
'LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:' .
'tx_femanager_domain_model_log.state.401',
Log::STATUS_INVITATIONPROFILECREATED
],
[
'LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:' .
'tx_femanager_domain_model_log.state.402',
Log::STATUS_INVITATIONPROFILEDELETEDUSER
],
[
'LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:' .
'tx_femanager_domain_model_log.state.403',
Log::STATUS_INVITATIONHASHERROR
],
[
'LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:' .
'tx_femanager_domain_model_log.state.404',
Log::STATUS_INVITATIONRESTRICTEDPAGE
],
[
'LLL:EXT:femanager/Resources/Private/Language/locallang_db.xlf:' .
'tx_femanager_domain_model_log.state.405',
Log::STATUS_INVITATIONPROFILEENABLED
],
],
'size' => 1,
'maxitems' => 1
],
],
'user' => [
'config' => [
'type' => 'passthrough',
],
],
],
];
@@ -0,0 +1,5 @@
page {
includeCSS {
femanagerLayout = EXT:femanager/Resources/Public/Css/Additional.min.css
}
}
@@ -0,0 +1,48 @@
plugin.tx_femanager {
view {
# cat=plugin.tx_femanager/file; type=string; label= Path to template root (FE)
templateRootPath = EXT:femanager/Resources/Private/Templates/
# cat=plugin.tx_femanager/file; type=string; label= Path to template partials (FE)
partialRootPath = EXT:femanager/Resources/Private/Partials/
# cat=plugin.tx_femanager/file; type=string; label= Path to template layouts (FE)
layoutRootPath = EXT:femanager/Resources/Private/Layouts/
}
persistence {
# cat=plugin.tx_femanager//a; type=int+; label= Default storage PID
storagePid =
}
settings {
# cat=plugin.tx_femanager//0100; type=text; label= Admin Name: Default admin name for all emails to the user
adminName = Femanager
# cat=plugin.tx_femanager//0101; type=text; label= Admin Email: Default admin email for all emails to the user
adminEmail = Femanager@domain.org
# cat=plugin.tx_femanager//0200; type=text; label= Upload folder: Define where to save images of the users
uploadFolder = fileadmin/users/
# cat=plugin.tx_femanager//0900; type=boolean; label= Include jQuery: Load and implement jQuery from external source (googleapis.com)
jQuery = 0
# cat=plugin.tx_femanager//0910; type=boolean; label= Include Twitter Bootstrap JS: Load and implement Twitter Bootstrap JavaScript from external source (bootstrapcdn.com)
bootstrap = 0
# cat=plugin.tx_femanager//0920; type=boolean; label= Include Twitter Bootstrap CSS: Load and implement Twitter Bootstrap CSS from external source (bootstrapcdn.com)
bootstrapCSS = 0
# cat=plugin.tx_femanager//0930; type=int+; label= Page ID for the resend email confirmation view
showResendUserConfirmationRequestView = 0
ratelimiter {
# cat=plugin.tx_femanager//0980; type=int+; label=Number of seconds for the sliding window rate limiter
timeframe = 3600
# cat=plugin.tx_femanager//0990; type=int+; label=Request count. How many requests are allowed in the last <timeframe> seconds. Set to 0 to disable rate limiter.
limit = 10
}
}
}
File diff suppressed because it is too large. Load diff
@@ -0,0 +1,8 @@
tx_femanager.UserBackend.confirmation {
# User must confirm their profile - only in this case they are shown in Backend Module "Confirmation"
filter.userConfirmation = 1
# UI for resending UserConfirmationRequests are shown in confirmation view
ResendUserConfirmationRequest = 0
}