From fddb3ce216e7072d56d397a81e10ba9281f2f498 Mon Sep 17 00:00:00 2001 From: Oliver Klee Date: Fri, 1 Nov 2013 19:53:00 +0100 Subject: [PATCH] [FEATURE] Add the basic extension data. --- Configuration/ExtensionBuilder/settings.yaml | 93 +++++++++++++++++++ ExtensionBuilder.json | 1 + Resources/Private/.htaccess | 1 + Resources/Private/Language/locallang.xlf | 9 ++ Resources/Private/Language/locallang_db.xlf | 9 ++ Resources/Public/Icons/relation.gif | Bin 0 -> 233 bytes ext_emconf.php | 44 +++++++++ ext_icon.gif | Bin 0 -> 177 bytes ext_tables.php | 8 ++ ext_tables.sql | 0 10 files changed, 165 insertions(+) create mode 100644 Configuration/ExtensionBuilder/settings.yaml create mode 100644 ExtensionBuilder.json create mode 100644 Resources/Private/.htaccess create mode 100644 Resources/Private/Language/locallang.xlf create mode 100644 Resources/Private/Language/locallang_db.xlf create mode 100644 Resources/Public/Icons/relation.gif create mode 100644 ext_emconf.php create mode 100644 ext_icon.gif create mode 100644 ext_tables.php create mode 100644 ext_tables.sql diff --git a/Configuration/ExtensionBuilder/settings.yaml b/Configuration/ExtensionBuilder/settings.yaml new file mode 100644 index 0000000..158479a --- /dev/null +++ b/Configuration/ExtensionBuilder/settings.yaml @@ -0,0 +1,93 @@ +# +# Extension Builder settings for extension tea +# generated 2013-11-01 +# +# 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 xml files: Existing keys and labels are always +# preserved (renaming in the GUI has only influence on the property and method names) +# +# for other files: You will find a Split token at the end of the file +# 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 + #TypoScript: keep + + Resources: + Private: + Language: + #locallang.xml: merge + #locallang.xlf: merge + #Templates: keep + + ext_icon.gif: keep + +# ext_localconf.php: merge + +# ext_tables.php: merge + +# ext_tables.sql: merge + +## ext_autoload.php is only needed in special cases ## +createAutoloadRegistry: false + +######### 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 +# +# Experimental!! +################################################################# + +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 \ No newline at end of file diff --git a/ExtensionBuilder.json b/ExtensionBuilder.json new file mode 100644 index 0000000..e08a4fd --- /dev/null +++ b/ExtensionBuilder.json @@ -0,0 +1 @@ +{"modules":[],"properties":{"backendModules":[],"description":"This extension serves as an example on how to unit-test different data types and relation types in TYPO3 extensions.","emConf":{"category":"plugin","custom_category":"","dependsOn":"extbase => 6.0\nfluid => 6.0\ntypo3 => 6.0\n","disableLocalization":false,"disableVersioning":false,"priority":"","shy":false,"state":"alpha","targetVersion":"6.0","version":""},"extensionKey":"tea","name":"Tea example","originalExtensionKey":"","persons":[{"company":"oliverklee.de","email":"typo3-coding@oliverklee.de","name":"Oliver Klee","role":"Developer"}],"plugins":[],"vendorName":"OliverKlee"},"wires":[],"log":{"last_modified":"2013-11-01 07:50","extension_builder_version":"2.5.2","be_user":"Oliver Klee (1)"}} \ No newline at end of file diff --git a/Resources/Private/.htaccess b/Resources/Private/.htaccess new file mode 100644 index 0000000..dfc0272 --- /dev/null +++ b/Resources/Private/.htaccess @@ -0,0 +1 @@ +deny from all \ No newline at end of file diff --git a/Resources/Private/Language/locallang.xlf b/Resources/Private/Language/locallang.xlf new file mode 100644 index 0000000..2fd9a76 --- /dev/null +++ b/Resources/Private/Language/locallang.xlf @@ -0,0 +1,9 @@ + + + +
+ + + + + \ No newline at end of file diff --git a/Resources/Private/Language/locallang_db.xlf b/Resources/Private/Language/locallang_db.xlf new file mode 100644 index 0000000..2fd9a76 --- /dev/null +++ b/Resources/Private/Language/locallang_db.xlf @@ -0,0 +1,9 @@ + + + +
+ + + + + \ No newline at end of file diff --git a/Resources/Public/Icons/relation.gif b/Resources/Public/Icons/relation.gif new file mode 100644 index 0000000000000000000000000000000000000000..db61d7e18817e2969b740ccc62838a1447cd3c3c GIT binary patch literal 233 zcmZ?wbh9u|6krfwIKsfd$jB%yEgcvb*xK4Ud-m+*V6c9}`t4wF3=FP=!D}%14h9TB zki(G3kjIe9P{N?kkO3r981fmC8H$0t6rgAskS<}UWKjIc!pOiN#GnJx0zsgJEBshvI<>Lne0l)en}fzWvHFt6ysaM@@~DQbVIgvycNT2L~5d538f; 'Tea example', + 'description' => 'This extension serves as an example on how to unit-test different data types and relation types in TYPO3 extensions.', + 'category' => 'plugin', + 'author' => 'Oliver Klee', + 'author_email' => 'typo3-coding@oliverklee.de', + 'author_company' => 'oliverklee.de', + 'shy' => '', + 'priority' => '', + 'module' => '', + 'state' => 'alpha', + 'internal' => '', + 'uploadfolder' => '0', + 'createDirs' => '', + 'modify_tables' => '', + 'clearCacheOnLoad' => 0, + 'lockType' => '', + 'version' => '', + 'constraints' => array( + 'depends' => array( + 'extbase' => '6.0', + 'fluid' => '6.0', + 'typo3' => '6.0', + ), + 'conflicts' => array( + ), + 'suggests' => array( + ), + ), +); + +?> \ No newline at end of file diff --git a/ext_icon.gif b/ext_icon.gif new file mode 100644 index 0000000000000000000000000000000000000000..1a832d4b660d1b498d5f980098a7c3953ff69a8f GIT binary patch literal 177 zcmV;i08al$Nk%w1VG;lk0J8!BWo2cKj*jy3@|l^L$;ruVY;1*vg|V@*=H}+t*Vju+ zOI1}>D=RBPLPGxj{r~^~A^8LW00062EC2ui01^NY000DDP{>KEmFXN=lmdfw08JA} z4Wlvz6_lkRDJ!#33)}#bQJ)i%E+I(Nh?AENSWw+41YJXc5Fk4ec9G3FRl5J_Rh9}OA1rm-a80vh15)lA9z(qn} literal 0 HcmV?d00001 diff --git a/ext_tables.php b/ext_tables.php new file mode 100644 index 0000000..25cb20c --- /dev/null +++ b/ext_tables.php @@ -0,0 +1,8 @@ + \ No newline at end of file diff --git a/ext_tables.sql b/ext_tables.sql new file mode 100644 index 0000000..e69de29