Merge conflict Gerrit cannot merge this change. It needs a rebase onto main.
95172[FEATURE] Add EU AI content labelling to file metadata
Commit message
Test this change
Run a command in your clone of the TYPO3 Core. Then try what the change does and vote on Verified in Gerrit. How to review a patch
- Check out patch set 4
-
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/72/95172/4 && git checkout FETCH_HEAD - Cherry-pick onto main
-
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/72/95172/4 && git cherry-pick FETCH_HEAD
Review
-
Code review CR +1 Needs a vote
- Georg Ringer +1
- Jörg Bösche +1
-
Verified V +1 Needs a vote
- Georg Ringer +1
- core-ci +1 CI
Issues 1
Files 21
- typo3/sysext/core/Configuration/DefaultConfiguration.php+4 −0
- typo3/sysext/core/Configuration/DefaultConfigurationDescription.yaml+3 −0
- typo3/sysext/core/Documentation/Changelog/15.0/Feature-108953-AIGeneratedFlagForFileMetadata.rstnew+100 −0
- typo3/sysext/core/Tests/Functional/Resource/Index/MetaDataRepositoryTest.php+25 −0
- typo3/sysext/filemetadata/Configuration/TCA/Overrides/sys_file_metadata.php2+37 −0
- typo3/sysext/filemetadata/Resources/Private/Language/db.xlf+18 −0
- typo3/sysext/fluid/Classes/ViewHelpers/AiContentLabelViewHelper.php2new+139 −0
- typo3/sysext/fluid/Classes/ViewHelpers/ImageViewHelper.php+13 −1
- typo3/sysext/fluid/Classes/ViewHelpers/MediaViewHelper.php+27 −0
- typo3/sysext/fluid/Resources/Private/Language/locallang.xlf+9 −0
- typo3/sysext/fluid/Resources/Public/Icons/AiLabel/ai-general.svgnew+1 −0
- typo3/sysext/fluid/Resources/Public/Icons/AiLabel/ai-generated.svgnew+1 −0
- typo3/sysext/fluid/Resources/Public/Icons/AiLabel/ai-modified.svgnew+1 −0
- typo3/sysext/fluid/Resources/Public/Icons/AiLabel/CREDITS.txtnew+11 −0
- typo3/sysext/fluid/Tests/Functional/Fixtures/ViewHelpers/AiContentLabelViewHelper/file_without_metadata_extension.csvnew+12 −0
- typo3/sysext/fluid/Tests/Functional/Fixtures/ViewHelpers/AiContentLabelViewHelper/file_with_ai_content_type.csvnew+12 −0
- typo3/sysext/fluid/Tests/Functional/Fixtures/ViewHelpers/MediaViewHelper/media_with_ai_content_type.csvnew+8 −0
- typo3/sysext/fluid/Tests/Functional/ViewHelpers/AiContentLabelViewHelperTest.phpnew+159 −0
- typo3/sysext/fluid/Tests/Functional/ViewHelpers/AiContentLabelViewHelperWithoutFileMetadataTest.phpnew+60 −0
- typo3/sysext/fluid/Tests/Functional/ViewHelpers/ImageViewHelperAiContentLabelTest.phpnew+74 −0
Review log 1822
-
Frank Nägler uploaded patch set 1 08/07/26, 22:28
-
core-ci voted on patch set 1 V +1 08/07/26, 22:35 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/106140
-
Simon Schaufelberger voted on patch set 1 CR +1 V +1 08/08/26, 06:28
-
Garvin Hicking commented on patch set 1 08/08/26, 07:01
Should we, for "leading by example", introduce this to fluod_styled_content and attach it to the img tag with something like "data-ai-generated"? (Hope we'll get a standard for this at some point, unless there already is one?) -
Garvin Hicking commented on patch set 1 08/08/26, 07:02
sys_file_metadata.php:145backport note, use LLL syntax for 13.4 -
Benni Mack commented on patch set 1 08/08/26, 09:23
Thanks for the patch. I have a few questions - should we also ship the 4 relevant icons? https://digital-strategy.ec.europa.eu/en/policies/eu-icons-labelling-ai-generated-content - should we also differentiate between AI-generated vs. AI-assisted? - Should we also add an option to allow to set this on images in frontend? I think that's the most critical part for being compliant for the EU AI Act. -
Oliver Klee voted on patch set 1 CR +1 V +1 08/08/26, 12:24
-
Frank Nägler commented on patch set 1 08/10/26, 08:34
Reply
In this patch or an own patch?Reply Unresolved
> - should we also ship the 4 relevant icons? https://digital-strategy.ec.europa.eu/en/policies/eu-icons-labelling-ai-generated-content I like the idea, I would do it and adjust the patch. > - should we also differentiate between AI-generated vs. AI-assisted? Yes, make sense, I will change the toggle to dropdown or something like that. > - Should we also add an option to allow to set this on images in frontend? I think that's the most critical part for being compliant for the EU AI Act. Yes, but also in this patch? Or a second patch? -
Garvin Hicking commented on patch set 1 08/10/26, 09:12
Reply
since this will be some effort and discussion (and someone's up for it) a followup would be great. -
Frank Nägler uploaded patch set 2
CR +1V +108/11/26, 00:21 -
core-ci voted on patch set 2 V +1 08/11/26, 00:28 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/106349
-
Georg Ringer commented on patch set 2 08/11/26, 04:34
AiContentLabelViewHelper.php:59please allow also an extbase file, see https://review.typo3.org/c/Packages/TYPO3.CMS/+/95177 -
Frank Nägler uploaded patch set 3
V +108/12/26, 11:01 -
Frank Nägler commented on patch set 3 08/12/26, 11:03
AiContentLabelViewHelper.php:59ReplyAcknowledged -
core-ci voted on patch set 3 V +1 08/12/26, 11:08 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/106502
-
Oliver Klee voted on patch set 3 CR +1 08/12/26, 11:08
-
Oliver Klee voted on patch set 3 V +1 08/12/26, 11:09
-
Frank Nägler uploaded patch set 4
CR +1V +108/19/26, 09:46 -
core-ci voted on patch set 4 V +1 08/19/26, 09:53 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/106892
-
Benjamin Kott commented on patch set 4 08/25/26, 13:04
sys_file_metadata.php:145ReplyAcknowledged -
Jörg Bösche voted on patch set 4 CR +1 08/29/26, 20:40
-
Georg Ringer voted on patch set 4 CR +1 V +1 09/09/26, 20:04