Skip to content

Commit

Permalink
Version 7.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
bihor committed May 29, 2024
1 parent d0f12f4 commit eee9069
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 47 deletions.
22 changes: 13 additions & 9 deletions Classes/Updates/SwitchableControllerActionsPluginUpdater.php
Original file line number Diff line number Diff line change
Expand Up @@ -150,16 +150,20 @@ public function performMigration(): bool
$allowedSettings = $this->getAllowedSettingsFromFlexForm($targetListType);

// Remove flexform data which do not exist in flexform of new plugin
foreach ($flexFormData['data'] as $sheetKey => $sheetData) {
foreach ($sheetData['lDEF'] as $settingName => $setting) {
if (!in_array($settingName, $allowedSettings, true)) {
unset($flexFormData['data'][$sheetKey]['lDEF'][$settingName]);
}
}
if (is_array($flexFormData['data'])) {
foreach ($flexFormData['data'] as $sheetKey => $sheetData) {
if (is_array($sheetData['lDEF'])) {
foreach ($sheetData['lDEF'] as $settingName => $setting) {
if (!in_array($settingName, $allowedSettings, true)) {
unset($flexFormData['data'][$sheetKey]['lDEF'][$settingName]);
}
}

// Remove empty sheets
if (!count($flexFormData['data'][$sheetKey]['lDEF']) > 0) {
unset($flexFormData['data'][$sheetKey]);
// Remove empty sheets
if (!count($flexFormData['data'][$sheetKey]['lDEF']) > 0) {
unset($flexFormData['data'][$sheetKey]);
}
}
}
}

Expand Down
5 changes: 3 additions & 2 deletions Documentation/ChangeLog/Index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -176,5 +176,6 @@ Version 7.0.0:
- setting dontAppendL is now deprecated.
- Bugfix: search in all folders now for mail-unsubscription and edit too.

Version 7.0.2:
- Bugfix: backend preview.
Version 7.0.3:
- Bugfix: backend preview.
- Bugfix: Plugin-Updater.
5 changes: 3 additions & 2 deletions Documentation/Localization.de_DE/ChangeLog/Index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -174,5 +174,6 @@ Version 7.0.1:
- Die setting dontAppendL ist nun deprecated.
- Bugfix: Suche in allen Ordners greift nun öfters.

Version 7.0.2:
- Bugfix: Backend-Vorschau.
Version 7.0.3:
- Bugfix: Backend-Vorschau.
- Bugfix: Plugin-Updater.
38 changes: 5 additions & 33 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# fp_newsletter

Version 7.0.2
Version 7.0.3

The TYPO3 extension fp_newsletter is designed to provide a newsletter subscription and unsubscription service for the
table tt_address which can be used by the extension mail OR for the table fe_users which can be used by luxletter or mail.
Expand All @@ -17,41 +17,13 @@ Es gibt auch eine deutsche Anleitung/Dokumentation zu dieser Erweiterung:
https://docs.typo3.org/p/fixpunkt/fp-newsletter/master/de-de/


Version 6.0:
- Breaking: support for direct_mail removed. Instead, support for the extension "mail" added.
- Breaking: TypoScript settings dmUnsubscribeMode, module_sys_dmail_html, module_sys_dmail_category renamed to
unsubscribeMode, html, categoryOrGroup. See chapter Administrator / Updating to version 6.x.

Version 6.1.0:
- Compatibility to TYPO3 11.5 added again.
- Bugfix: language added to the links in the email.

Version 6.2.0:
- fe_users can now be used with the extension luxletter or mail.
- deleteMode 3 added: delete only categories (Mail) or user-group (Luxletter).
- New setting: newsletterExtension (mail or luxletter).

Version 6.3.0:
- New action: direct unsubscribe via Mail-link and new setting: authCodeFields.

Version 6.3.1:
- Bugfix: Luxletter is now the default newsletter-extension - to prevent a PHP warning.

Version 6.3.2:
- Bugfix: reCAPTCHA fixed.

Version 6.4.0:
- Additional fields can now be copied from the log-entry to the tt_address-table. Setting additionalTtAddressFields added.

Version 6.4.3:
- Small bugfixes.

Version 7.0.1:
Version 7.0.0/1:
- Refactoring with the rector tool.
- Adding of the language code to f:translate in the email-templates.
- TypoScript-files have now the ending .typoscript.
- setting dontAppendL is now deprecated.
- Bugfix: search in all folders now for mail-unsubscription and edit too.

Version 7.0.2:
- Bugfix: backend preview.
Version 7.0.2/3:
- Bugfix: backend preview.
- Bugfix: Plugin-Updater.
2 changes: 1 addition & 1 deletion ext_emconf.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
'author' => 'Kurt Gusbeth',
'author_company' => 'fixpunkt für digitales GmbH',
'state' => 'stable',
'version' => '7.0.2',
'version' => '7.0.3',
'constraints' => [
'depends' => [
'typo3' => '11.5.0-12.4.99'
Expand Down

0 comments on commit eee9069

Please sign in to comment.