feat: forms on TYPO3 13, loaded into the static pages with htmx

The static export replaced every EXT:form form with a contact notice. The
forms are back, rendered by TYPO3 13 and embedded in the static pages:

- Page type 1704 (/<page>/form) renders only the form plugin of a page,
  inside a .form-island element. Every form posts to that URL
  (renderingOptions.additionalParams), because on www the page URL is a
  static file that never reaches TYPO3. htmx swaps the island in place:
  validation errors, multi-step pages and confirmations. A redirect to an
  htmx request becomes HX-Redirect (HtmxRedirectMiddleware), so Redirect
  finishers send the browser to the thank-you page.
- While a request runs, an overlay with a spinner (as in MyE&P) covers
  the form. Styled inside the island: the static pages load the CSS of
  the TYPO3 10 export.
- The bw_captcha image comes from /<page>/captcha for the same reason.
  Both suffixes are in the PageType enhancer of every site with forms
  (semesterende gets one with default '' to keep its URLs).
- Ported from TYPO3 10: form setup, templates and partials, the MyE&P
  address finisher, the job application finisher with the MyE&P Team
  API client (epTeamApi* in secrets.php), the page URL/referrer finisher
  with ReferrerMiddleware (?ref=), the e-mail layout without the system
  footer, bw_captcha 5 and form_element_linked_checkbox 6. The address
  check forms are dropped.
- German language packs (EXT:form messages): availableLanguages = de,
  fetched on every deploy (typo3:language:update).
- The checkbox partials passed null to VHS' substring, which PHP 8.5
  reports as deprecated.
- DDEV no longer turns deprecations into exceptions, matching
  production: EXT:form's RenderFormValueViewHelper uses null as an array
  offset for empty optional fields (core bug, also in 13.4.37).

The static pages get their placeholders from the exporter in EP/website,
see .ddev/plans/static-export-form-islands.patch (local only).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
frommeandClaude Opus 5.5 committed 2026-10-22 12:10:43 +02:00
1 parent 59e4a2d49b
commit 925e24397b
54 files changed
+2500 -3

No files matched your search

Generated
+272 -1
View File
@@ -128,6 +128,91 @@
},
"time": "2026-04-05T21:06:35+00:00"
},
{
"name": "blueways/bw-captcha",
"version": "5.4.2",
"source": {
"type": "git",
"url": "https://github.com/maikschneider/bw_captcha.git",
"reference": "74c5bbce91285b146c3c8dbbb2916783c0227c38"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/maikschneider/bw_captcha/zipball/74c5bbce91285b146c3c8dbbb2916783c0227c38",
"reference": "74c5bbce91285b146c3c8dbbb2916783c0227c38",
"shasum": ""
},
"require": {
"ext-gd": "*",
"gregwar/captcha": "^2.1",
"maikschneider/steganography": "^1.0",
"php": "^8.2",
"typo3/cms-core": "^12.0 || ^13.0 || ^14.0"
},
"require-dev": {
"armin/editorconfig-cli": "^2.0",
"bk2k/bootstrap-package": "^15.0 || ^16.0",
"derhansen/sf_event_mgt": "^7.6 || ^8.0 || ^9.0",
"eliashaeussler/typo3-vendor-bundler": "^4.0",
"ergebnis/composer-normalize": "^2.44",
"friendsofphp/php-cs-fixer": "^3.12",
"helhum/typo3-console": "^7.0 || ^8.0 || ^9.0",
"helmich/typo3-typoscript-lint": "^3.2",
"move-elevator/composer-translation-validator": "^1.3.1",
"saschaegerer/phpstan-typo3": "^2.1.1 || ^3.0.0",
"ssch/typo3-rector": "^3.9.0",
"typo3/cms-base-distribution": "^12.4 || ^13.4 || ^14.0",
"typo3/cms-lowlevel": "^12.4 || ^13.4 || ^14.0"
},
"type": "typo3-cms-extension",
"extra": {
"typo3/cms": {
"web-dir": "public",
"extension-key": "bw_captcha",
"cms-package-dir": "{$vendor-dir}/typo3/cms",
"vendor-libraries": {
"root-path": "Resources/Private/Libs",
"sbom-file": "Resources/Private/Libs/sbom.json"
}
}
},
"autoload": {
"psr-4": {
"Gregwar\\": [
"Resources/Private/Libs/vendor/gregwar/captcha/src/Gregwar"
],
"Blueways\\BwCaptcha\\": [
"Classes"
],
"MaikSchneider\\Steganography\\": [
"Resources/Private/Libs/vendor/maikschneider/steganography/src"
]
},
"exclude-from-classmap": [
"Resources/Private/Libs/vendor/"
]
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"GPL-2.0-or-later"
],
"authors": [
{
"name": "Maik Schneider",
"email": "[email protected]",
"role": "Developer"
}
],
"description": "Captcha element with audio support for TYPO3 form components. The captcha generation does not rely on Google or third-party integrations.",
"keywords": [
"typo3"
],
"support": {
"issues": "https://github.com/maikschneider/bw_captcha/issues",
"source": "https://github.com/maikschneider/bw_captcha/tree/5.4.2"
},
"time": "2026-10-20T05:07:13+00:00"
},
{
"name": "christian-riesen/base32",
"version": "2.0.1",
@@ -865,16 +950,19 @@
"dist": {
"type": "path",
"url": "./packages/ep_theme",
"reference": "f3e425fca030011066b3d2e6a25a756941885b0d"
"reference": "3848f9e276e8ece16ce7755556c4ef033c93f357"
},
"require": {
"b13/container": "^4.1",
"blueways/bw-captcha": "^5.4",
"ep/ep-products": "@dev",
"php": "^8.2",
"tritum/form-element-linked-checkbox": "^6.0",
"typo3/cms-core": "^13.4",
"typo3/cms-extbase": "^13.4",
"typo3/cms-fluid": "^13.4",
"typo3/cms-fluid-styled-content": "^13.4",
"typo3/cms-form": "^13.4",
"typo3/cms-frontend": "^13.4"
},
"type": "typo3-cms-extension",
@@ -1046,6 +1134,68 @@
},
"time": "2026-07-23T10:57:34+00:00"
},
{
"name": "gregwar/captcha",
"version": "v2.1.1",
"source": {
"type": "git",
"url": "https://github.com/Gregwar/Captcha.git",
"reference": "c1e67b3d7ac4f873f785daa366051d7c73d19ca0"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/Gregwar/Captcha/zipball/c1e67b3d7ac4f873f785daa366051d7c73d19ca0",
"reference": "c1e67b3d7ac4f873f785daa366051d7c73d19ca0",
"shasum": ""
},
"require": {
"ext-fileinfo": "*",
"ext-gd": "*",
"ext-mbstring": "*",
"php": "^8.2",
"symfony/finder": "*"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.49",
"phpstan/phpstan": "2.1.17",
"phpstan/phpstan-phpunit": "2.0.6",
"phpunit/phpunit": "^9.6",
"squizlabs/php_codesniffer": "4.0.4"
},
"type": "library",
"autoload": {
"psr-4": {
"Gregwar\\": "src/Gregwar"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Grégoire Passault",
"email": "[email protected]",
"homepage": "http://www.gregwar.com/"
},
{
"name": "Jeremy Livingston",
"email": "[email protected]"
}
],
"description": "Captcha generator",
"homepage": "https://github.com/Gregwar/Captcha",
"keywords": [
"bot",
"captcha",
"spam"
],
"support": {
"issues": "https://github.com/Gregwar/Captcha/issues",
"source": "https://github.com/Gregwar/Captcha/tree/v2.1.1"
},
"time": "2026-08-27T10:37:12+00:00"
},
{
"name": "guzzlehttp/guzzle",
"version": "8.3.0",
@@ -1591,6 +1741,56 @@
},
"time": "2025-10-31T12:28:27+00:00"
},
{
"name": "maikschneider/steganography",
"version": "v1.0.2",
"source": {
"type": "git",
"url": "https://github.com/maikschneider/steganography.git",
"reference": "6a796c6367d38ac06837d309fba78ffaa4738681"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/maikschneider/steganography/zipball/6a796c6367d38ac06837d309fba78ffaa4738681",
"reference": "6a796c6367d38ac06837d309fba78ffaa4738681",
"shasum": ""
},
"require": {
"ext-gd": "*",
"ext-zlib": "*",
"symfony/options-resolver": ">4.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.12",
"php-coveralls/php-coveralls": "^2.0",
"phpunit/phpunit": "^10.3",
"rector/rector": "^0.18.0"
},
"type": "library",
"autoload": {
"psr-4": {
"MaikSchneider\\Steganography\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Maik Schneider",
"email": "[email protected]"
}
],
"description": "Simple implementation of Steganography (Hiding a hidden message within an image)",
"keywords": [
"steganography"
],
"support": {
"source": "https://github.com/maikschneider/steganography/tree/v1.0.2"
},
"time": "2023-10-08T10:39:48+00:00"
},
{
"name": "masterminds/html5",
"version": "2.11.0",
@@ -6217,6 +6417,77 @@
],
"time": "2026-10-12T12:34:30+00:00"
},
{
"name": "tritum/form-element-linked-checkbox",
"version": "v6.0.0",
"source": {
"type": "git",
"url": "https://github.com/tritum/form_element_linked_checkbox.git",
"reference": "cad79670c59d7d52f7cde0d74ab10e9b5e6c78fa"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/tritum/form_element_linked_checkbox/zipball/cad79670c59d7d52f7cde0d74ab10e9b5e6c78fa",
"reference": "cad79670c59d7d52f7cde0d74ab10e9b5e6c78fa",
"shasum": ""
},
"require": {
"php": "^8.2",
"typo3/cms-core": "^13.4 || ^14.1",
"typo3/cms-form": "^13.4 || ^14.1",
"typo3/cms-frontend": "^13.4 || ^14.1"
},
"require-dev": {
"armin/editorconfig-cli": "^2.2",
"ergebnis/composer-normalize": "^2.23",
"helmich/typo3-typoscript-lint": "^3.1",
"phpstan/phpstan": "^1.3",
"saschaegerer/phpstan-typo3": "^1.0",
"typo3/coding-standards": "^0.8.0"
},
"type": "typo3-cms-extension",
"extra": {
"typo3/cms": {
"extension-key": "form_element_linked_checkbox"
}
},
"autoload": {
"psr-4": {
"TRITUM\\FormElementLinkedCheckbox\\": "Classes/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"GPL-2.0-or-later"
],
"authors": [
{
"name": "Björn Jacob",
"email": "[email protected]",
"homepage": "https://www.tritum.de",
"role": "Developer"
},
{
"name": "Elias Häußler",
"email": "[email protected]",
"homepage": "https://haeussler.dev",
"role": "Developer"
},
{
"name": "dreistrom.land",
"email": "[email protected]",
"homepage": "https://dreistrom.land",
"role": "Developer"
}
],
"description": "Adds a new form element which allows the editor to create a checkbox with a linked label text. This is an extension for TYPO3 CMS.",
"homepage": "https://github.com/tritum/form_element_linked_checkbox",
"support": {
"issues": "https://github.com/tritum/form_element_linked_checkbox/issues",
"source": "https://github.com/tritum/form_element_linked_checkbox/tree/v6.0.0"
},
"time": "2026-02-24T09:59:51+00:00"
},
{
"name": "typo3/class-alias-loader",
"version": "v1.2.2",