From ea103cb002c434d089c7e63d38c8115718c34e2b Mon Sep 17 00:00:00 2001 From: Dirk Koritnik Date: Thu, 11 Feb 2021 13:18:06 +0100 Subject: [PATCH] Little cleanups and remove old plugin code --- Configuration/ExtensionBuilder/settings.yaml | 101 ----- Configuration/FlexForms/Pi1.xml | 402 ------------------- ext_emconf.php | 12 +- ext_localconf.php | 23 +- 4 files changed, 2 insertions(+), 536 deletions(-) delete mode 100644 Configuration/ExtensionBuilder/settings.yaml delete mode 100644 Configuration/FlexForms/Pi1.xml diff --git a/Configuration/ExtensionBuilder/settings.yaml b/Configuration/ExtensionBuilder/settings.yaml deleted file mode 100644 index 3b52d12..0000000 --- a/Configuration/ExtensionBuilder/settings.yaml +++ /dev/null @@ -1,101 +0,0 @@ -# -# Extension Builder settings for extension events -# generated 2019-04-01T14:33:00Z -# -# See http://www.yaml.org/spec/1.2/spec.html -# - ---- - -########### Overwrite settings ########### -# -# These settings only apply, if the roundtrip feature of the extension builder -# is enabled in the extension manager -# -# Usage: -# nesting reflects the file structure -# a setting applies to a file or recursive to all files and subfolders -# -# merge: -# means for classes: All properties ,methods and method bodies -# of the existing class will be modified according to the new settings -# but not overwritten -# -# for locallang xlf files: Existing keys and labels are always -# preserved (renaming a property or DomainObject will result in new keys and new labels) -# -# for other files: You will find a Split token at the end of the file -# see: \EBT\ExtensionBuilder\Service\RoundTrip::SPLIT_TOKEN -# -# After this token you can write whatever you want and it will be appended -# everytime the code is generated -# -# keep: -# files are never overwritten -# These settings may break the functionality of the extension builder! -# Handle with care! -# -# - -############ extension settings ############## - -overwriteSettings: - Classes: - Controller: merge - Domain: - Model: merge - Repository: merge - - Configuration: - #TCA merge not possible - use overrides directory - #TypoScript: keep - - Resources: - Private: - #Language: merge - #Templates: keep - - user_extension.svg: keep - -# ext_localconf.php: merge - -# ext_tables.php: merge - -# ext_tables.sql: merge - -## use static date attribute in xliff files ## -#staticDateInXliffFiles: 2019-04-01T14:33:00Z - -## skip docComment (license header) ## -#skipDocComment - -## list of error codes for warnings that should be ignored ## -#ignoreWarnings: - #503 - -######### settings for classBuilder ############################# -# -# here you may define default parent classes for your classes -# these settings only apply for new generated classes -# you may also just change the parent class in the generated class file. -# It will be kept on next code generation, if the overwrite settings -# are configured to merge it -# -################################################################# - -classBuilder: - - Controller: - parentClass: \TYPO3\CMS\Extbase\Mvc\Controller\ActionController - - Model: - AbstractEntity: - parentClass: \TYPO3\CMS\Extbase\DomainObject\AbstractEntity - - AbstractValueObject: - parentClass: \TYPO3\CMS\Extbase\DomainObject\AbstractValueObject - - Repository: - parentClass: \TYPO3\CMS\Extbase\Persistence\Repository - - setDefaultValuesForClassProperties: true \ No newline at end of file diff --git a/Configuration/FlexForms/Pi1.xml b/Configuration/FlexForms/Pi1.xml deleted file mode 100644 index 2b7084d..0000000 --- a/Configuration/FlexForms/Pi1.xml +++ /dev/null @@ -1,402 +0,0 @@ - - - - - - Options - - array - - - - - reload - - select - - - Event List - Event->list - - - Event Teaser - Event->teaser - - - Event Show - Event->show - - - Date List - Date->list - - - - Date Show - Date->show - - - - Event Search - Event->search - - - - Date Search - Date->search - - - - - - - - - - 1 - - FIELD:switchableControllerActions:=:Event->list - - select - - - Title - title - - - Region - region - - - - - - - - - 1 - - - - FIELD:switchableControllerActions:=:Date->list - FIELD:switchableControllerActions:=:Date->search - - - - select - - - Start - start - - - End - end - - - - - - - - - 1 - - - - FIELD:switchableControllerActions:=:Event->list - FIELD:switchableControllerActions:=:Date->list - FIELD:switchableControllerActions:=:Date->search - - - - select - - - - Ascending - - ASC - - - - Descending - - DESC - - - ASC - - - - - - - 1 - - - - FIELD:switchableControllerActions:=:Event->list - FIELD:switchableControllerActions:=:Date->list - FIELD:switchableControllerActions:=:Date->search - - - - input - 10 - 30 - trim - - - - - - - 1 - - - - FIELD:switchableControllerActions:=:Event->list - FIELD:switchableControllerActions:=:Date->list - - - - check - 0 - - - - - - - 1 - - - - FIELD:switchableControllerActions:=:Event->list - FIELD:switchableControllerActions:=:Date->list - - - - check - 0 - - - - - - - 1 - - - - FIELD:switchableControllerActions:=:Event->list - FIELD:switchableControllerActions:=:Date->list - - - - check - 0 - - - - - - - 1 - - - - FIELD:switchableControllerActions:=:Event->list - FIELD:switchableControllerActions:=:Event->teaser - FIELD:switchableControllerActions:=:Event->search - FIELD:switchableControllerActions:=:Date->list - FIELD:switchableControllerActions:=:Date->teaser - FIELD:switchableControllerActions:=:Date->search - - - - group - db - pages - 1 - 1 - 0 - 1 - - - - - - - - - - FIELD:switchableControllerActions:=:Event->teaser - FIELD:switchableControllerActions:=:Date->teaser - - - - select - tx_events_domain_model_event - AND tx_events_domain_model_event.deleted = 0 AND tx_events_domain_model_event.hidden = 0 - 3 - 1 - 0 - 99 - - - - - - - - - - Template - - array - - - 1 - - - - FIELD:sDEF.switchableControllerActions:=:Event->list - FIELD:sDEF.switchableControllerActions:=:Date->list - - - - select - - - Default - default - - - Costum - costum - - - Table - table - - - Grid - grid - - - default - - - - - - - - - Regions & Categories - - array - - - - - - - FIELD:sDEF.switchableControllerActions:=:Event->list - FIELD:sDEF.switchableControllerActions:=:Date->list - - - - select - tx_events_domain_model_region - AND tx_events_domain_model_region.deleted = 0 AND tx_events_domain_model_region.hidden = 0 - 3 - 0 - 2 - - - - - - - 1 - - - - FIELD:sDEF.switchableControllerActions:=:Event->list - FIELD:sDEF.switchableControllerActions:=:Date->list - - - - select - - - And - 0 - - - Or - 1 - - - 0 - - - - - - - 1 - - - - FIELD:sDEF.switchableControllerActions:=:Event->list - FIELD:sDEF.switchableControllerActions:=:Date->list - - - - select - 20 - sys_category - AND sys_category.sys_language_uid IN (-1, 0) ORDER BY sys_category.title ASC - 1 - tree - 8 - - - 1 - 1 - - parent - - - - - - - - 1 - - FIELD:sDEF.switchableControllerActions:=:Event->list - - check - 0 - - - - - - - - \ No newline at end of file diff --git a/ext_emconf.php b/ext_emconf.php index c209312..bc04122 100644 --- a/ext_emconf.php +++ b/ext_emconf.php @@ -1,16 +1,6 @@ 'Events', 'description' => 'Extension to manage events', 'category' => 'plugin', diff --git a/ext_localconf.php b/ext_localconf.php index fec78e1..6899368 100644 --- a/ext_localconf.php +++ b/ext_localconf.php @@ -38,27 +38,6 @@ call_user_func( \TYPO3\CMS\Core\Imaging\IconProvider\SvgIconProvider::class, ['source' => 'EXT:events/Resources/Public/Icons/Extension.svg'] ); - - /* - // wizards - \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig( - 'mod { - wizards.newContentElement.wizardItems.plugins { - elements { - events { - iconIdentifier = events-plugin - title = LLL:EXT:events/Resources/Private/Language/locallang_db.xlf:tx_events.name - description = LLL:EXT:events/Resources/Private/Language/locallang_db.xlf:tx_events.description - tt_content_defValues { - CType = list - list_type = events_pi1 - } - } - } - show = * - } - }' - ); - */ } + );