From 2b9c5cca7308da6fc72054b7dc380c614ac83eab Mon Sep 17 00:00:00 2001 From: Kevin Ditscheid Date: Tue, 7 Jul 2020 13:47:01 +0200 Subject: [PATCH 1/5] [TASK] Enable TYPO3 10 composer update --- composer.json | 4 ++-- ext_emconf.php | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/composer.json b/composer.json index 151b999..c1c1808 100644 --- a/composer.json +++ b/composer.json @@ -4,9 +4,9 @@ "description": "Embed YouTube Videos of a Playlist or Channel", "homepage": "https://www.sgalinski.de", "license": "GPL-2.0-or-later", - "version": "3.1.0", + "version": "4.0.0-dev", "require": { - "typo3/cms-core": "^8.7.24 || ^9.5.4" + "typo3/cms-core": "^9.5.4 || ^10.4.0" }, "require-dev": { "roave/security-advisories": "dev-master" diff --git a/ext_emconf.php b/ext_emconf.php index 4f762ff..803dba5 100644 --- a/ext_emconf.php +++ b/ext_emconf.php @@ -24,22 +24,22 @@ * This copyright notice MUST APPEAR in all copies of the script! ***************************************************************/ -$EM_CONF[$_EXTKEY] = [ +$EM_CONF['sg_youtube'] = [ 'title' => 'YouTube Videos', 'description' => 'Embed YouTube Videos of a Channel or Playlist', 'category' => 'plugin', 'author' => 'Johannes Kreiner', 'author_email' => 'johannes@sgalinski.de', 'author_company' => 'sgalinski Internet Services (https://www.sgalinski.de)', - 'state' => 'stable', + 'state' => 'experimental', 'internal' => '', 'uploadfolder' => '0', 'createDirs' => '', 'clearCacheOnLoad' => 0, - 'version' => '3.1.0', + 'version' => '4.0.0-dev', 'constraints' => [ 'depends' => [ - 'typo3' => '8.7.0-9.5.99', + 'typo3' => '9.5.0-10.4.99', ], 'conflicts' => [], 'suggests' => [], -- GitLab From 375eabb565826475d5f808769e6bcb21ba85dc47 Mon Sep 17 00:00:00 2001 From: Kevin Ditscheid Date: Thu, 9 Jul 2020 10:09:39 +0200 Subject: [PATCH 2/5] [BUGFIX] Remove usage of $_EXTKEY --- ext_localconf.php | 2 +- ext_tables.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ext_localconf.php b/ext_localconf.php index 2fb5f10..06603ed 100644 --- a/ext_localconf.php +++ b/ext_localconf.php @@ -29,7 +29,7 @@ if (!defined('TYPO3_MODE')) { } \TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin( - 'SGalinski.' . $_EXTKEY, + 'SGalinski.sg_youtube', 'Youtube', [ 'Youtube' => 'index', diff --git a/ext_tables.php b/ext_tables.php index fd513be..cd9bf9d 100644 --- a/ext_tables.php +++ b/ext_tables.php @@ -4,9 +4,9 @@ if (!defined('TYPO3_MODE')) { } \TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin( - 'SGalinski.' . $_EXTKEY, + 'SGalinski.sg_youtube', 'Youtube', 'YouTube Videos' ); -\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile($_EXTKEY, 'Configuration/TypoScript', 'SG Youtube'); +\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile('sg_youtube', 'Configuration/TypoScript', 'SG Youtube'); -- GitLab From f35ae2331184d1285fd2a5fe0bca8ed694ba8ce8 Mon Sep 17 00:00:00 2001 From: Kevin Ditscheid Date: Tue, 28 Jul 2020 14:36:55 +0200 Subject: [PATCH 3/5] [TASK] Move TCA instructions out of ext_tables if they do not belong there --- Configuration/TCA/Overrides/sys_template.php | 7 +++++++ Configuration/TCA/Overrides/tt_content.php | 6 ++++++ ext_tables.php | 12 ------------ 3 files changed, 13 insertions(+), 12 deletions(-) create mode 100644 Configuration/TCA/Overrides/sys_template.php delete mode 100644 ext_tables.php diff --git a/Configuration/TCA/Overrides/sys_template.php b/Configuration/TCA/Overrides/sys_template.php new file mode 100644 index 0000000..2940744 --- /dev/null +++ b/Configuration/TCA/Overrides/sys_template.php @@ -0,0 +1,7 @@ + Date: Thu, 6 Aug 2020 15:01:33 +0200 Subject: [PATCH 4/5] [TASK] Add TYPO3 8 drop to extension README.md --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 46e8c76..cf5bcc4 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ Repository: https://gitlab.sgalinski.de/typo3/sg_youtube Please report bugs here: https://gitlab.sgalinski.de/typo3/sg_youtube -TYPO3 version: >8.7 +TYPO3 version: >9.5 ## Installation / Integration @@ -27,3 +27,7 @@ plugin.tx_sgyoutube { } } ``` + +## Version 3 to 4 changes + +- Dropped TYPO3 8 support -- GitLab From e39323bc5843d789cc72cd7d06d0f43265b6fedb Mon Sep 17 00:00:00 2001 From: Kevin Ditscheid Date: Thu, 6 Aug 2020 16:06:58 +0200 Subject: [PATCH 5/5] [TASK] Move breaking changes to UPGRADE.md files --- README.md | 4 ---- UPGRADE.md | 3 +++ 2 files changed, 3 insertions(+), 4 deletions(-) create mode 100644 UPGRADE.md diff --git a/README.md b/README.md index cf5bcc4..ff266c4 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,3 @@ plugin.tx_sgyoutube { } } ``` - -## Version 3 to 4 changes - -- Dropped TYPO3 8 support diff --git a/UPGRADE.md b/UPGRADE.md new file mode 100644 index 0000000..93c2769 --- /dev/null +++ b/UPGRADE.md @@ -0,0 +1,3 @@ +## Version 4 Breaking Changes + +- Dropped TYPO3 8 support -- GitLab