{docHeader.metaInformation.recordInformation}
diff --git a/UPGRADE.md b/UPGRADE.md
new file mode 100644
index 0000000000000000000000000000000000000000..3b524358317f4107360e299eb0753847e98ffe25
--- /dev/null
+++ b/UPGRADE.md
@@ -0,0 +1,4 @@
+## Version 6 Breaking Changes
+
+- Dropped TYPO3 8 support
+- set ignoreMailQueue to TRUE by default
diff --git a/composer.json b/composer.json
index 4132f8f3990e3654d70f14626a6e44da244c7800..9ca4e6afbb88f8a1db388c886b26cf246aa51a35 100644
--- a/composer.json
+++ b/composer.json
@@ -6,7 +6,7 @@
"license": [
"GPL-2.0-or-later"
],
- "version": "5.7.11",
+ "version": "6.0.0-dev",
"repositories": [
{
"type": "composer",
@@ -14,8 +14,7 @@
}
],
"require": {
- "php": "^7.0",
- "typo3/cms-core": "^8.7.0 || ^9.5.1"
+ "typo3/cms-core": "^9.5.1 || ^10.4.0"
},
"require-dev": {
"roave/security-advisories": "dev-master"
diff --git a/ext_emconf.php b/ext_emconf.php
index a307298ce99d956d0223368ea10aaeb7b2e436c2..47c4c6b2e502cd935a7d18b11a6733a394603163 100644
--- a/ext_emconf.php
+++ b/ext_emconf.php
@@ -8,8 +8,8 @@ $EM_CONF['sg_mail'] = [
'title' => 'Mail Templates',
'description' => 'Mail Templates',
'category' => 'module',
- 'version' => '5.7.11',
- 'state' => 'stable',
+ 'version' => '6.0.0-dev',
+ 'state' => 'experimental',
'uploadfolder' => FALSE,
'createDirs' => '',
'clearcacheonload' => FALSE,
@@ -18,8 +18,8 @@ $EM_CONF['sg_mail'] = [
'author_company' => 'sgalinski Internet Services (https://www.sgalinski.de)',
'constraints' => [
'depends' => [
- 'typo3' => '8.7.0-9.5.99',
- 'php' => '7.0.0-',
+ 'typo3' => '9.5.0-10.4.99',
+ 'php' => '7.3.0-7.4.99',
],
'conflicts' => [
],
diff --git a/ext_localconf.php b/ext_localconf.php
index 106edb59ffc7bfbb2f4f6038676112e50a870b18..3850223f92b8655b4a101715d8234a0fbd550717 100644
--- a/ext_localconf.php
+++ b/ext_localconf.php
@@ -25,20 +25,16 @@
call_user_func(
function ($extKey) {
-
- // register command controllers
- $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['extbase']['commandControllers'][] =
- \SGalinski\SgMail\Command\SendMailCommandController::class;
-
// add upgrade wizard for moving all db entries to their respected siteroot
- $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/install']['update']['tx_sgmail_update_pid_to_site_root'] = \SGalinski\SgMail\Updates\UpdatePidToSiteRoot::class;
- $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/install']['update']['tx_sgmail_update_sending_times'] = \SGalinski\SgMail\Updates\UpdateSendingTimes::class;
- $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/install']['update']['tx_sgmail_update_languages'] = \SGalinski\SgMail\Updates\UpdateLanguages::class;
- $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/install']['update']['tx_sgmail_update_german_as_default'] = \SGalinski\SgMail\Updates\UpdateGermanAsDefault::class;
+ $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/install']['update'][\SGalinski\SgMail\Updates\UpdatePidToSiteRoot::IDENTIFIER] = \SGalinski\SgMail\Updates\UpdatePidToSiteRoot::class;
+ $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/install']['update'][\SGalinski\SgMail\Updates\UpdateSendingTimes::IDENTIFIER] = \SGalinski\SgMail\Updates\UpdateSendingTimes::class;
+ $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/install']['update'][\SGalinski\SgMail\Updates\UpdateLanguages::IDENTIFIER] = \SGalinski\SgMail\Updates\UpdateLanguages::class;
+ $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/install']['update'][\SGalinski\SgMail\Updates\UpdateGermanAsDefault::IDENTIFIER] = \SGalinski\SgMail\Updates\UpdateGermanAsDefault::class;
+ $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/install']['update'][\SGalinski\SgMail\Updates\MigrateSchedulerTasks::IDENTIFIER] = \SGalinski\SgMail\Updates\MigrateSchedulerTasks::class;
if (TYPO3_MODE === 'BE') {
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTypoScriptSetup(
- ''
+ '@import "EXT:' . $extKey . '/Configuration/TypoScript/setup.typoscript"'
);
}
diff --git a/ext_tables.sql b/ext_tables.sql
index ae075763a6c650f12a4a1ee173753dc60493fac4..c8b4ccf5be61092e4be69fbbaf9c8c5729fea475 100644
--- a/ext_tables.sql
+++ b/ext_tables.sql
@@ -1,7 +1,4 @@
CREATE TABLE tx_sgmail_domain_model_mail (
- uid int(11) NOT NULL auto_increment,
- pid int(11) DEFAULT '0' NOT NULL,
-
mail_subject text NOT NULL,
mail_body text NOT NULL,
to_address varchar(255) DEFAULT '' NOT NULL,
@@ -17,24 +14,10 @@ CREATE TABLE tx_sgmail_domain_model_mail (
last_sending_time int(11) unsigned DEFAULT '0' NOT NULL,
language varchar(255) DEFAULT '' NOT NULL,
blacklisted tinyint(4) unsigned DEFAULT '0' NOT NULL,
- attachments int(11) unsigned DEFAULT '0' NOT NULL,
-
- tstamp int(11) unsigned DEFAULT '0' NOT NULL,
- crdate int(11) unsigned DEFAULT '0' NOT NULL,
- cruser_id int(11) unsigned DEFAULT '0' NOT NULL,
- deleted tinyint(4) unsigned DEFAULT '0' NOT NULL,
- hidden tinyint(4) unsigned DEFAULT '0' NOT NULL,
- starttime int(11) unsigned DEFAULT '0' NOT NULL,
- endtime int(11) unsigned DEFAULT '0' NOT NULL,
-
- PRIMARY KEY (uid),
- KEY parent (pid)
+ attachments int(11) unsigned DEFAULT '0' NOT NULL
);
CREATE TABLE tx_sgmail_domain_model_template (
- uid int(11) NOT NULL auto_increment,
- pid int(11) DEFAULT '0' NOT NULL,
-
layout int(11) DEFAULT '0' NOT NULL,
subject text NOT NULL,
extension_key varchar(255) DEFAULT '' NOT NULL,
@@ -46,37 +29,12 @@ CREATE TABLE tx_sgmail_domain_model_template (
bcc varchar(255) DEFAULT '' NOT NULL,
reply_to varchar(255) DEFAULT '' NOT NULL,
language varchar(30) DEFAULT '' NOT NULL,
- content text NOT NULL,
- tstamp int(11) unsigned DEFAULT '0' NOT NULL,
- crdate int(11) unsigned DEFAULT '0' NOT NULL,
- cruser_id int(11) unsigned DEFAULT '0' NOT NULL,
- deleted tinyint(4) unsigned DEFAULT '0' NOT NULL,
- hidden tinyint(4) unsigned DEFAULT '0' NOT NULL,
- starttime int(11) unsigned DEFAULT '0' NOT NULL,
- endtime int(11) unsigned DEFAULT '0' NOT NULL,
-
- PRIMARY KEY (uid),
- KEY parent (pid)
+ content text NOT NULL
);
CREATE TABLE tx_sgmail_domain_model_layout (
- uid int(11) NOT NULL auto_increment,
- pid int(11) DEFAULT '0' NOT NULL,
- tstamp int(11) DEFAULT '0' NOT NULL,
- crdate int(11) DEFAULT '0' NOT NULL,
- cruser_id int(11) DEFAULT '0' NOT NULL,
- deleted tinyint(4) DEFAULT '0' NOT NULL,
- hidden tinyint(4) DEFAULT '0' NOT NULL,
default tinyint(4) DEFAULT '0' NOT NULL,
-
- sys_language_uid int(11) DEFAULT '0' NOT NULL,
- l10n_parent int(11) DEFAULT '0' NOT NULL,
- l10n_diffsource mediumblob,
-
name tinytext NOT NULL,
content text,
- head_content text,
-
- PRIMARY KEY (uid),
- KEY layout_list (pid,deleted,sys_language_uid)
+ head_content text
);