Commit 227513b1 authored by Thomas Löffler's avatar Thomas Löffler
Browse files

Merge branch '24-flaws-in-backend-user-interface-of-roadmap-related-entities' into 'master'

Resolve "Flaws in backend user interface of roadmap-related entities"

Closes #24

See merge request t3o/typo3_roadmap!17
parents 395d19ad f607d7a7
......@@ -122,11 +122,8 @@ return [
'label' => 'LLL:EXT:typo3_roadmap/Resources/Private/Language/locallang_db.xml:tx_typo3roadmap_domain_model_feature.description',
'config' => [
'type' => 'text',
'cols' => 40,
'rows' => 15,
'eval' => 'trim,required',
'enableRichtext' => true,
],
'defaultExtras' => 'richtext:rte_transform'
],
'images' => [
'label' => 'Media',
......
......@@ -122,11 +122,8 @@ return [
'label' => 'LLL:EXT:typo3_roadmap/Resources/Private/Language/locallang_db.xml:tx_typo3roadmap_domain_model_featurearea.description',
'config' => [
'type' => 'text',
'cols' => 40,
'rows' => 15,
'eval' => 'trim,required',
'enableRichtext' => true,
],
'defaultExtras' => 'richtext:rte_transform'
],
'page' => [
'exclude' => false,
......
......@@ -3,8 +3,8 @@ if (!defined('TYPO3_MODE')) {
die ('Access denied.');
}
return array(
'ctrl' => array(
return [
'ctrl' => [
'title' => 'LLL:EXT:typo3_roadmap/Resources/Private/Language/locallang_db.xml:tx_typo3roadmap_domain_model_majorversion',
'label' => 'title',
'tstamp' => 'tstamp',
......@@ -13,160 +13,142 @@ return array(
'sortby' => 'sorting',
'delete' => 'deleted',
'dividers2tabs' => 1,
'enablecolumns' => array(
'enablecolumns' => [
'disabled' => 'hidden',
'starttime' => 'starttime',
'endtime' => 'endtime',
),
],
'dynamicConfigFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('typo3_roadmap') . 'Configuration/TCA/tx_typo3roadmap_domain_model_majorversion.php',
'iconfile' => TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('typo3_roadmap') . 'Resources/Public/Icons/tx_typo3roadmap_domain_model_majorversion.gif',
),
'interface' => array(
],
'interface' => [
'showRecordFieldList' => 'hidden,starttime,endtime,title,body_text,regular_support,priority_support,extended_support,php_versions'
),
'columns' => array(
'hidden' => array(
],
'columns' => [
'hidden' => [
'exclude' => 1,
'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.hidden',
'config' => array(
'config' => [
'type' => 'check',
'default' => '0'
)
),
'starttime' => array(
]
],
'starttime' => [
'exclude' => 1,
'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime',
'config' => array(
'config' => [
'type' => 'input',
'size' => '8',
'max' => '20',
'eval' => 'date',
'default' => '0',
'checkbox' => '0'
)
),
'endtime' => array(
]
],
'endtime' => [
'exclude' => 1,
'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime',
'config' => array(
'config' => [
'type' => 'input',
'size' => '8',
'max' => '20',
'eval' => 'date',
'checkbox' => '0',
'default' => '0',
'range' => array(
'range' => [
'upper' => mktime(3, 14, 7, 1, 19, 2038),
'lower' => mktime(0, 0, 0, date('m') - 1, date('d'), date('Y'))
)
)
),
'title' => array(
]
]
],
'title' => [
'exclude' => 0,
'label' => 'LLL:EXT:typo3_roadmap/Resources/Private/Language/locallang_db.xml:tx_typo3roadmap_domain_model_majorversion.title',
'config' => array(
'config' => [
'type' => 'input',
'size' => '30',
'eval' => 'required,trim',
)
),
'body_text' => array(
]
],
'body_text' => [
'exclude' => 0,
'label' => 'LLL:EXT:typo3_roadmap/Resources/Private/Language/locallang_db.xml:tx_typo3roadmap_domain_model_majorversion.body_text',
'config' => array(
'type' => 'text',
'cols' => '30',
'rows' => '5',
'config' => array(
'type' => 'text',
'cols' => 40,
'rows' => 6,
),
'wizards' => array(
'_PADDING' => 2,
'RTE' => array(
'notNewRecords' => 1,
'RTEonly' => 1,
'type' => 'script',
'title' => 'Full screen Rich Text Editing|Formatteret redigering i hele vinduet',
'icon' => 'wizard_rte2.gif',
'module' => array(
'name' => 'wizard_rte',
),
),
),
),
),
'development_start' => array(
'config' => [
'type' => 'text',
'enableRichtext' => true,
],
],
'development_start' => [
'exclude' => 0,
'label' => 'Begin of Development',
'config' => array(
'config' => [
'type' => 'input',
'size' => '8',
'max' => '20',
'eval' => 'date',
'checkbox' => '0',
'default' => '0'
)
),
'regular_support' => array(
]
],
'regular_support' => [
'exclude' => 0,
'label' => 'LLL:EXT:typo3_roadmap/Resources/Private/Language/locallang_db.xml:tx_typo3roadmap_domain_model_majorversion.regular_support',
'config' => array(
'config' => [
'type' => 'input',
'size' => '8',
'max' => '20',
'eval' => 'date',
'checkbox' => '0',
'default' => '0'
)
),
'priority_support' => array(
]
],
'priority_support' => [
'exclude' => 0,
'label' => 'LLL:EXT:typo3_roadmap/Resources/Private/Language/locallang_db.xml:tx_typo3roadmap_domain_model_majorversion.priority_support',
'config' => array(
'config' => [
'type' => 'input',
'size' => '8',
'max' => '20',
'eval' => 'date',
'checkbox' => '0',
'default' => '0'
)
),
'extended_support' => array(
]
],
'extended_support' => [
'exclude' => 0,
'label' => 'LLL:EXT:typo3_roadmap/Resources/Private/Language/locallang_db.xml:tx_typo3roadmap_domain_model_majorversion.extended_support',
'config' => array(
'config' => [
'type' => 'input',
'size' => '8',
'max' => '20',
'eval' => 'date',
'checkbox' => '0',
'default' => '0'
)
),
'php_versions' => array(
]
],
'php_versions' => [
'exclude' => 0,
'label' => 'LLL:EXT:typo3_roadmap/Resources/Private/Language/locallang_db.xml:tx_typo3roadmap_domain_model_majorversion.php_versions',
'config' => array(
'config' => [
'type' => 'select',
'renderType' => 'selectCheckBox',
'foreign_table' => 'tx_typo3roadmap_domain_model_phpversion',
'foreign_table_where' => 'ORDER BY tx_typo3roadmap_domain_model_phpversion.uid',
'size' => 10,
'minitems' => 0,
'maxitems' => 10,
"MM" => "tx_typo3roadmap_majorversion_phpversions_mm",
)
),
'minor_versions' => array(
]
],
'minor_versions' => [
'exclude' => 0,
'label' => 'LLL:EXT:typo3_roadmap/Resources/Private/Language/locallang_db.xml:tx_typo3roadmap_domain_model_minorversion.minor_versions',
'config' => array(
'config' => [
'type' => 'inline',
'foreign_table' => 'tx_typo3roadmap_domain_model_minorversion',
'foreign_field' => 'major_version',
'foreign_sortby' => 'sorting',
'appearance' => array(
'appearance' => [
'useSortable' => true,
'collapseAll' => true,
'enabledControls' => [
......@@ -177,12 +159,12 @@ return array(
'hide' => true,
'delete' => true
],
)
),
),
),
'types' => array(
'0' => array(
]
],
],
],
'types' => [
'0' => [
'showitem' => '
hidden;;1;;1-1-1,
title;;;;2-2-2,
......@@ -197,9 +179,9 @@ return array(
--div--;Minor Versions,
minor_versions
'
)
),
'palettes' => array(
'1' => array('showitem' => 'starttime, endtime')
)
);
]
],
'palettes' => [
'1' => ['showitem' => 'starttime, endtime']
]
];
......@@ -3,8 +3,8 @@ if (!defined('TYPO3_MODE')) {
die ('Access denied.');
}
return array(
'ctrl' => array(
return [
'ctrl' => [
'title' => 'LLL:EXT:typo3_roadmap/Resources/Private/Language/locallang_db.xml:tx_typo3roadmap_domain_model_minorversion',
'label' => 'version',
'tstamp' => 'tstamp',
......@@ -13,106 +13,107 @@ return array(
'defaultSortBy' => 'sorting',
'sortby' => 'sorting',
'delete' => 'deleted',
'enablecolumns' => array(
'enablecolumns' => [
'disabled' => 'hidden',
),
],
'dynamicConfigFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('typo3_roadmap') . 'Configuration/TCA/tx_typo3roadmap_domain_model_minorversion.php',
'iconfile' => TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('typo3_roadmap') . 'Resources/Public/Icons/tx_typo3roadmap_domain_model_minorversion.gif',
),
'interface' => array(
],
'interface' => [
'showRecordFieldList' => 'hidden,version,link,focus,estimated,released,major_version'
),
'columns' => array(
'hidden' => array(
],
'columns' => [
'hidden' => [
'exclude' => 1,
'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.hidden',
'config' => array(
'config' => [
'type' => 'check',
'default' => '0'
)
),
'version' => array(
]
],
'version' => [
'exclude' => 0,
'label' => 'LLL:EXT:typo3_roadmap/Resources/Private/Language/locallang_db.xml:tx_typo3roadmap_domain_model_minorversion.version',
'config' => array(
'config' => [
'type' => 'input',
'size' => '30',
'eval' => 'required,trim',
)
),
'link' => array(
]
],
'link' => [
'exclude' => 0,
'label' => 'LLL:EXT:typo3_roadmap/Resources/Private/Language/locallang_db.xml:tx_typo3roadmap_domain_model_minorversion.link',
'config' => array(
'config' => [
'type' => 'input',
'size' => '30',
'wizards' => array(
'wizards' => [
'_PADDING' => 2,
'link' => array(
'link' => [
'type' => 'popup',
'title' => 'Link',
'icon' => 'link_popup.gif',
'module' => array(
'module' => [
'name' => 'wizard_element_browser',
'urlParameters' => array(
'urlParameters' => [
'mode' => 'wizard',
'act' => 'file'
)
),
]
],
'JSopenParams' => 'height=300,width=500,status=0,menubar=0,scrollbars=1'
),
),
],
],
'eval' => 'trim',
)
),
'focus' => array(
]
],
'focus' => [
'exclude' => 0,
'label' => 'LLL:EXT:typo3_roadmap/Resources/Private/Language/locallang_db.xml:tx_typo3roadmap_domain_model_minorversion.focus',
'config' => array(
'config' => [
'type' => 'input',
'size' => '30',
'eval' => 'required,trim',
)
),
'estimated' => array(
]
],
'estimated' => [
'exclude' => 0,
'label' => 'LLL:EXT:typo3_roadmap/Resources/Private/Language/locallang_db.xml:tx_typo3roadmap_domain_model_minorversion.estimated',
'config' => array(
'config' => [
'type' => 'input',
'size' => '8',
'max' => '20',
'eval' => 'date',
'checkbox' => '0',
'default' => '0'
)
),
'released' => array(
]
],
'released' => [
'exclude' => 0,
'label' => 'LLL:EXT:typo3_roadmap/Resources/Private/Language/locallang_db.xml:tx_typo3roadmap_domain_model_minorversion.released',
'config' => array(
'config' => [
'type' => 'input',
'size' => '8',
'max' => '20',
'eval' => 'date',
'checkbox' => '0',
'default' => '0'
)
),
'major_version' => array(
]
],
'major_version' => [
'exclude' => 0,
'label' => 'LLL:EXT:typo3_roadmap/Resources/Private/Language/locallang_db.xml:tx_typo3roadmap_domain_model_minorversion.major_version',
'config' => array(
'config' => [
'type' => 'select',
'renderType' => 'selectSingle',
'foreign_table' => 'tx_typo3roadmap_domain_model_majorversion',
'foreign_table_where' => ' ORDER BY tx_typo3roadmap_domain_model_majorversion.title',
"maxitems" => 1,
),
),
),
'types' => array(
'0' => array('showitem' => 'hidden;;1;;1-1-1, version, link, focus, estimated, released, major_version')
),
'palettes' => array(
'1' => array('showitem' => '')
)
);
],
],
],
'types' => [
'0' => ['showitem' => 'hidden;;1;;1-1-1, version, link, focus, estimated, released, major_version']
],
'palettes' => [
'1' => ['showitem' => '']
]
];
......@@ -3,8 +3,8 @@ if (!defined('TYPO3_MODE')) {
die ('Access denied.');
}
return array(
'ctrl' => array(
return [
'ctrl' => [
'title' => 'LLL:EXT:typo3_roadmap/Resources/Private/Language/locallang_db.xml:tx_typo3roadmap_domain_model_phpversion',
'label' => 'version',
'tstamp' => 'tstamp',
......@@ -12,61 +12,61 @@ return array(
'cruser_id' => 'cruser_id',
'sortby' => 'sorting',
'delete' => 'deleted',
'enablecolumns' => array(
'enablecolumns' => [
'disabled' => 'hidden',
),
],
'dynamicConfigFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('typo3_roadmap') . 'Configuration/TCA/tx_typo3roadmap_domain_model_phpversion.php',
'iconfile' => TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('typo3_roadmap') . 'Resources/Public/Icons/tx_typo3roadmap_domain_model_phpversion.gif',
),
'interface' => array(
],
'interface' => [
'showRecordFieldList' => 'hidden,version,active_support,security_support'
),
'columns' => array(
'hidden' => array(
],
'columns' => [
'hidden' => [
'exclude' => 1,
'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.hidden',
'config' => array(
'config' => [
'type' => 'check',
'default' => '0'
)
),
'version' => array(
]
],
'version' => [
'exclude' => 0,
'label' => 'LLL:EXT:typo3_roadmap/Resources/Private/Language/locallang_db.xml:tx_typo3roadmap_domain_model_phpversion.version',
'config' => array(
'config' => [
'type' => 'input',
'size' => '30',
)
),
'active_support' => array(
]
],
'active_support' => [
'exclude' => 0,
'label' => 'LLL:EXT:typo3_roadmap/Resources/Private/Language/locallang_db.xml:tx_typo3roadmap_domain_model_phpversion.active_support',
'config' => array(
'config' => [
'type' => 'input',
'size' => '8',
'max' => '20',
'eval' => 'date',
'checkbox' => '0',
'default' => '0'
)
),
'security_support' => array(
]
],
'security_support' => [
'exclude' => 0,
'label' => 'LLL:EXT:typo3_roadmap/Resources/Private/Language/locallang_db.xml:tx_typo3roadmap_domain_model_phpversion.security_support',
'config' => array(
'config' => [
'type' => 'input',
'size' => '8',
'max' => '20',
'eval' => 'date',
'checkbox' => '0',
'default' => '0'
)
),
),
'types' => array(
'0' => array('showitem' => 'hidden;;1;;1-1-1, version, active_support, security_support')
),
'palettes' => array(
'1' => array('showitem' => '')
)
);
]
],
],
'types' => [
'0' => ['showitem' => 'hidden;;1;;1-1-1, version, active_support, security_support']
],
'palettes' => [
'1' => ['showitem' => '']
]
];
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment