Skip to content
Snippets Groups Projects
Commit 35c9b963 authored by Torben Hansen's avatar Torben Hansen Committed by Garvin Hicking
Browse files

[FEATURE] Introduce Extbase file upload and deletion handling

This change introduces file upload handling in Extbase, aiming
to simplify and standardize the process of managing file uploads
and deletions in TYPO3 extensions with simple attributes/annotations.

Recognizing the complexity of file upload scenarios, this feature
is designed to cover direct domain model properties only. It
provides support for handling file uploads and deletions for
properties of types `FileReference`, and
`ObjectStorage<FileReference>` in non-nested domain models.

The new API uses extbase validators to validate file size,
allowed MIME types and image dimensions, ensuring the integrity
and security of uploaded files. The feature also supports
custom validators, allowing developers to extend validation logic
according to specific needs.

Resolves: #103511
Related: #103022
Releases: main
Change-Id: I311d9e10bc692a849e79f67d4d12246cdbccb37f
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/83749


Tested-by: default avatarOliver Hader <oliver.hader@typo3.org>
Reviewed-by: default avatarNikita Hovratov <nikita.h@live.de>
Tested-by: default avatarcore-ci <typo3@b13.com>
Reviewed-by: default avatarOliver Hader <oliver.hader@typo3.org>
Tested-by: default avatarGarvin Hicking <gh@faktor-e.de>
Reviewed-by: default avatarGarvin Hicking <gh@faktor-e.de>
parent 05209358
No related branches found
No related tags found
No related merge requests found
Showing
with 1898 additions and 7 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment