- Oct 09, 2024
-
-
Andreas Kienast authored
The recycler backend module now shows an actual hint that no record were found instead of showing an empty table. Resolves: #104936 Releases: main Change-Id: Icf668ec304552993806eba2bb3219a0c227a1345 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/86046 Tested-by:
core-ci <typo3@b13.com> Tested-by:
Andreas Kienast <akienast@scripting-base.de> Tested-by:
Oliver Bartsch <bo@cedev.de> Tested-by:
Stefan Bürk <stefan@buerk.tech> Reviewed-by:
Andreas Kienast <akienast@scripting-base.de> Reviewed-by:
Oliver Bartsch <bo@cedev.de> Reviewed-by:
Stefan Bürk <stefan@buerk.tech>
-
Christian Kuhn authored
DataProviderContext is a DO hand over to single backend layout providers. This is state that should be hand over and must not be injected, using SingletonInterface is an anti-pattern with this class. The patch: * Removes SingletonInterface * Introduces PCPP and instantiates with new() * Declares final * Deprecates all getters and setters * Prepares the class to be set readonly in TYPO3 v14 * Adapts usages * Adds a deprecation ReST Resolves: #105252 Releases: main Change-Id: I72ba069a70415d8b80512e288668d3ef9d9eb3ac Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/86534 Reviewed-by:
Oliver Bartsch <bo@cedev.de> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Oliver Bartsch <bo@cedev.de> Reviewed-by:
Stefan Bürk <stefan@buerk.tech> Tested-by:
Stefan Bürk <stefan@buerk.tech> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
core-ci <typo3@b13.com>
-
Andreas Kienast authored
PHP's behavior of `exec()` [1] is flabbergasting: when writing the buffer, trailing whitespace characters are trimmed as follows: 1. the last PHP_EOL character is chopped 2. any left-over trailing literal space characters are trimmed Neither of this was handled in the implementation introduced in #104045, leading to unexpected output. This commit emulates the behavior of PHP's internal `exec()` function, restoring the previous behavior of `CommandUtility::exec()`. [1] https://github.com/php/php-src/blob/master/ext/standard/exec.c Resolves: #105251 Related: #104045 Releases: main Change-Id: I726b6ac0214f2cb3983db7b66c366a1fa58f93f8 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/86533 Reviewed-by:
Benjamin Kott <benjamin.kott@outlook.com> Tested-by:
Benjamin Kott <benjamin.kott@outlook.com> Tested-by:
Benjamin Franzke <ben@bnf.dev> Tested-by:
core-ci <typo3@b13.com> Reviewed-by:
Andreas Kienast <akienast@scripting-base.de> Tested-by:
Andreas Kienast <akienast@scripting-base.de> Reviewed-by:
Benjamin Franzke <ben@bnf.dev>
-
Christian Kuhn authored
TYPO3\CMS\Backend\View\BackendLayout\DataProviderContext is only relevant in DataProviderCollection when calling getBackendLayoutCollections(). TYPO3\CMS\Core\Page\PageLayoutResolver only calls getBackendLayout(), so the setup of DataProviderContext is not needed. The patch resolves this and thus reduces the dependencies from ext:core to ext:backend. Resolves: #105250 Related: #103466 Releases: main Change-Id: I23177858703ed2d6398ff3d23426f8025240d1c3 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/86532 Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
core-ci <typo3@b13.com> Reviewed-by:
Stefan Bürk <stefan@buerk.tech> Reviewed-by:
Oliver Bartsch <bo@cedev.de> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Stefan Bürk <stefan@buerk.tech> Tested-by:
Oliver Bartsch <bo@cedev.de>
-
Christian Kuhn authored
Class TYPO3\CMS\Core\Page\JavaScriptItems is a DTO. It is a contract between PHP and JS with some functionality on the PHP side to gather and prepare the data to transfer and to park state on PHP side. As such, this class can not be extended by extensions since that would break the contract. The patch thus declares the class final and changes instantiation to use new(). Resolves: #105246 Releases: main Change-Id: I312926489f529208fa067c4b174556a6f7db9c52 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/86527 Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
core-ci <typo3@b13.com> Reviewed-by:
Garvin Hicking <gh@faktor-e.de> Tested-by:
Garvin Hicking <gh@faktor-e.de> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch>
-
Benjamin Franzke authored
The `SelfEmittableLazyOpenStream` class used by FileDumpController uses `readfile` which is meant to be a performant way to send files to the webserver (implemented by PHP in C) and does not count as runtime memory usage (memory_limit) if the output is unbuffered. Make sure to clear any output buffers before emitting self emittable streams in order for PHP to be able to send the files without copying the contents into a temporary buffer (counting towards memory limit). Resolves: #105212 Releases: main, 12.4 Change-Id: I3528f31c099b5d1cd3f8ba287a4eb45955ff3510 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/86518 Reviewed-by:
Garvin Hicking <gh@faktor-e.de> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Garvin Hicking <gh@faktor-e.de> Reviewed-by:
Andreas Kienast <akienast@scripting-base.de> Reviewed-by:
Stefan Bürk <stefan@buerk.tech> Tested-by:
Andreas Kienast <akienast@scripting-base.de>
-
- Oct 08, 2024
-
-
Christian Kuhn authored
Inject NodeFactory in a series of missing places instead of retrieving an instance via GU::makeInstance(). Resolves: #105241 Releases: main Change-Id: Ie3c937f557a626cacff04339b4a14497f0c289ed Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/86520 Tested-by:
Anja Leichsenring <aleichsenring@ab-softlab.de> Tested-by:
Oliver Bartsch <bo@cedev.de> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Stefan Bürk <stefan@buerk.tech> Reviewed-by:
Anja Leichsenring <aleichsenring@ab-softlab.de> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Stefan Bürk <stefan@buerk.tech> Tested-by:
core-ci <typo3@b13.com> Reviewed-by:
Oliver Bartsch <bo@cedev.de>
-
Oliver Bartsch authored
Removes two unused internal methods, which were only kept for backwards compatibility. Resolves: #105232 Releases: main Change-Id: I95511a0d46c1c659c2c0e014b5043da57c4b8523 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/86492 Reviewed-by:
Stefan Bürk <stefan@buerk.tech> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Stefan Bürk <stefan@buerk.tech> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch>
-
Christian Kuhn authored
Remove a bunch of functional tests that essentially test TCA configuration: * The tests add no crucial value from a functional test point of view since they don't test code but configuration. * These tests have been introduced to enforce consistency within BE. This is a UX thing that should not be tested on a functional test base level, if at all. * FormTestService is problematic from a maintenance point of view and needs continious changes since dependencies can not be handled in a good way. * The tests are doomed to be inconsistent since they will never catch new fields that may have been added to TCA tables over time. Resolves: #105240 Related: #78383 Releases: main Change-Id: I29f63e4ec3eead87a9151a468eb68993b3f437cc Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/86519 Tested-by:
core-ci <typo3@b13.com> Reviewed-by:
Garvin Hicking <gh@faktor-e.de> Tested-by:
Stefan Bürk <stefan@buerk.tech> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Garvin Hicking <gh@faktor-e.de> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Stefan Bürk <stefan@buerk.tech>
-
Nikita Hovratov authored
Resolves: #104947 Related: #102834 Releases: main Change-Id: I2688e2e51825a6930864e272b1494dd8afc75888 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/86076 Reviewed-by:
Lina Wolf <112@linawolf.de> Tested-by:
Lina Wolf <112@linawolf.de> Reviewed-by:
Benjamin Franzke <ben@bnf.dev> Reviewed-by:
Guido Schmechel <guido.schmechel@brandung.de> Tested-by:
Benjamin Franzke <ben@bnf.dev> Reviewed-by:
Garvin Hicking <gh@faktor-e.de> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Guido Schmechel <guido.schmechel@brandung.de> Tested-by:
Garvin Hicking <gh@faktor-e.de>
-
Thomas Hohn authored
In the method FileLinkHandler:resolveHandlerData() the call to FileLinkHandler:resolveFile() handles the FileDoesNotExistException correctly. But if it returns null this will lead to a type error. This patch handles the null value properly. Resolves: #104659 Releases: main, 12.4 Change-Id: Iacf3ef8e72d7c18b4b15758da8780d94a9282a96 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/85677 Reviewed-by:
Stefan Bürk <stefan@buerk.tech> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Stefan Bürk <stefan@buerk.tech> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch>
-
Oliver Bartsch authored
This ensures that `pi_flexform` is actually set, before accessing it and also only tries to convert it, in case it's still a string. Resolves: #105231 Releases: main, 12.4 Change-Id: If6210c9d23db97cac36f904984490e6bf0195ab7 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/86471 Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
core-ci <typo3@b13.com> Reviewed-by:
Stefan Bürk <stefan@buerk.tech> Tested-by:
Stefan Bürk <stefan@buerk.tech> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch>
-
Oliver Bartsch authored
On processing a redirect parameter for fetching the backend module it is now properly checked whether the resolved route is a module route. Resolves: #105228 Releases: main, 12.4 Change-Id: I2a09a9a375187c17632f5a7e3a2e3e45a3e39d77 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/86469 Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Thomas Hohn <tho@gyldendal.dk> Tested-by:
Garvin Hicking <gh@faktor-e.de> Tested-by:
Stefan Bürk <stefan@buerk.tech> Tested-by:
core-ci <typo3@b13.com> Reviewed-by:
Stefan Bürk <stefan@buerk.tech> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch>
-
André Buchmann authored
Check the pi_flexform value of the request attribute 'currentContentObject' to be of type string before parsing with GU::xml2array(). Resolves: #105195 Releases: main, 12.4 Change-Id: I915deeb89c39b4b90342da582b05acc98a7b86fd Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/86417 Tested-by:
core-ci <typo3@b13.com> Tested-by:
Oliver Bartsch <bo@cedev.de> Tested-by:
Garvin Hicking <gh@faktor-e.de> Reviewed-by:
Oliver Bartsch <bo@cedev.de> Reviewed-by:
Stefan Bürk <stefan@buerk.tech> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Stefan Bürk <stefan@buerk.tech> Reviewed-by:
Garvin Hicking <gh@faktor-e.de>
-
Christian Kuhn authored
We worked hard on TypoScriptFrontendController in TYPO3 v13 leaving mainly internal code and usages. A couple of details are still left open, and we can't tackle them in v13 anymore due to time constraints. The most notable area is the main content generation trigger and the *_INT processing. However, all non-internal usages by extensions can be substituted. Usually by using new attributes of the request. The goal is still to get rid of TypoScriptFrontendController in TYPO3 v14. The patch prepares this by declaring TypoScriptFrontendController fully deprecated, even though with some left over internal usages. TYPO3 v14 will see a few preparation patches to reach this goal. The patch polishes a ReST file from 13.0 to add some more "Use this instead" information, and adds a new ReST file declaring TypoScriptFrontendController and $GLOBALS['TSFE'] deprecated. Resolves: #105230 Resolves: #105046 Related: #102621 Related: #104217 Releases: main Change-Id: I0d9ab50e4be9724895f5f2763c0be2ab731cd9f0 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/86493 Reviewed-by:
Oliver Bartsch <bo@cedev.de> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Stefan Bürk <stefan@buerk.tech> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Stefan Bürk <stefan@buerk.tech> Reviewed-by:
Andreas Kienast <akienast@scripting-base.de> Tested-by:
Oliver Bartsch <bo@cedev.de>
-
Christian Kuhn authored
Resolves: #105233 Related: #105231 Releases: main Change-Id: Ie8aa214eae6ebe42a4a9c81864e78c65bb1dd437 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/86503 Reviewed-by:
Oliver Bartsch <bo@cedev.de> Tested-by:
Stefan Bürk <stefan@buerk.tech> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Stefan Bürk <stefan@buerk.tech> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Oliver Bartsch <bo@cedev.de>
-
Christian Kuhn authored
Fourth argument is set but never used and there is no get'er. Resolves: #105236 Related: #103466 Releases: main Change-Id: I81b82b4e1bc55c855f3c914d85747fd8789ba60c Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/86511 Reviewed-by:
Stefan Bürk <stefan@buerk.tech> Reviewed-by:
Andreas Kienast <akienast@scripting-base.de> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Stefan Bürk <stefan@buerk.tech> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch>
-
Benjamin Franzke authored
The aspects array-key is always set because the capture is not nested and filled in any case. That means: If preg_match was successfull (which is checked before), aspects have been found as well. Executed commands: composer require --dev phpstan/phpstan:^1.12.6 Build/Scripts/runTests.sh -s phpstanGenerateBaseline Resolves: #105226 Releases: main, 12.4 Change-Id: I95f5a12b0b66b88af68bd1a7dc6357699e8a8e9a Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/86465 Tested-by:
core-ci <typo3@b13.com> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Stefan Bürk <stefan@buerk.tech> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Stefan Bürk <stefan@buerk.tech>
-
Oliver Hader authored
Backend users were able see page tree items without having access: - in case no DB mounts were configured for a particular user and page permissions configured to allow "everybody" - in case DB mounts were pointing to pages, but actually not having any permission configured for these pages (user/group/everybody) It was not possible to manipulate any of the affected pages. Resolves: #104397 Releases: main, 13.3, 12.4, 11.5 Change-Id: I52079c8cef3d78946083403adb23a3e1a706c652 Security-Bulletin: TYPO3-CORE-SA-2024-012 Security-References: CVE-2024-47780 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/86501 Tested-by:
Oliver Hader <oliver.hader@typo3.org> Reviewed-by:
Oliver Hader <oliver.hader@typo3.org>
-
Oliver Hader authored
Resolves: #104343 Releases: main, 13.3, 12.4, 11.5 Change-Id: Ie9cd7bec43782282a142ad0911029579442734fd Security-Bulletin: TYPO3-CORE-SA-2024-011 Security-References: CVE-2024-34537 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/86500 Tested-by:
Oliver Hader <oliver.hader@typo3.org> Reviewed-by:
Oliver Hader <oliver.hader@typo3.org>
-
Andreas Kienast authored
The delete button for sys_notes rendered in the record list is currently nested in a form tag, breaking the user interface. Since this requires a DataHandler call, the button is converted to a Lit component that invokes the `AjaxDataHandler` module. Resolves: #105229 Releases: main Change-Id: I87339d318b94bd2f20d1e24a9bc0270abdfd9ce4 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/86470 Reviewed-by:
Andreas Kienast <akienast@scripting-base.de> Reviewed-by:
Benjamin Kott <benjamin.kott@outlook.com> Tested-by:
Oliver Bartsch <bo@cedev.de> Tested-by:
Benjamin Kott <benjamin.kott@outlook.com> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Andreas Kienast <akienast@scripting-base.de> Reviewed-by:
Oliver Bartsch <bo@cedev.de>
-
Sven Jürgens authored
The API code snippet is related to 'DatePicker' and not to 'AdvancedPassword', probably due to a copy&paste mistake. Releases: main, 12.4, 11.5 Resolves: #105207 Change-Id: Icb57f4f053c8ce86e093bcdfd0f836145c692602 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/86435 Tested-by:
Garvin Hicking <gh@faktor-e.de> Tested-by:
core-ci <typo3@b13.com> Reviewed-by:
Simon Schaufelberger <simonschaufi+typo3@gmail.com> Tested-by:
Simon Schaufelberger <simonschaufi+typo3@gmail.com> Reviewed-by:
Garvin Hicking <gh@faktor-e.de>
-
Oliver Bartsch authored
Both ElementInformationController as well as RemoteServer previously booted up FormEngine to fetch relevant fields for being displayed in corresponding views. This is bad in multiple terms: performance, misuse of FormEngine, dependency to PSR-7, etc. Therefore, a new VisibleSchemaFieldsCollector is introduced, which uses the TCA schema to provide the fields to be displayed, depending on the record type, the language context and the current backend user. Resolves: #105185 Releases: main Change-Id: I1e39611db467105ddaf2427dc47c7bd94ef7a915 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/86405 Tested-by:
core-ci <typo3@b13.com> Reviewed-by:
Oliver Bartsch <bo@cedev.de> Tested-by:
Oliver Bartsch <bo@cedev.de> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Benni Mack <benni@typo3.org> Tested-by:
Benni Mack <benni@typo3.org>
-
Garvin Hicking authored
With a larger refactoring of #96473 type hinting was introduced for `AbstractFormViewHelper->renderHiddenIdentityField()`. The phpdoc annotation previously hinted at the input being of type 'object' (or null), and the type hint was thus set to 'object', too. However, the argument restriction of a ViewHelper like `FormViewHelper` defined an 'object' of type 'mixed', and would thus allow arrays. Arrays do not need a hidden identity field, so returning '' for that would allow the ViewHelper to function properly. With this patch, the type hint is changed to 'mixed' now, so that previous ViewHelper usages with arrays should be restored again and not lead to a type exception. Resolves: #105146 Resolves: #103162 Related: #96473 Releases: main, 12.4 Change-Id: I8a431e8909efb2e8d5ad041c69a0c75b7296c721 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/86367 Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Anja Leichsenring <aleichsenring@ab-softlab.de> Reviewed-by:
Garvin Hicking <gh@faktor-e.de> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Anja Leichsenring <aleichsenring@ab-softlab.de> Tested-by:
Garvin Hicking <gh@faktor-e.de> Tested-by:
core-ci <typo3@b13.com>
-
Benjamin Kott authored
Resolves: #105227 Releases: main Change-Id: I8bf52b22bc08b596d29041a9a8f962019f8edb7a Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/86468 Reviewed-by:
Benjamin Franzke <ben@bnf.dev> Reviewed-by:
Andreas Kienast <akienast@scripting-base.de> Tested-by:
Oliver Bartsch <bo@cedev.de> Tested-by:
Andreas Kienast <akienast@scripting-base.de> Tested-by:
Benjamin Franzke <ben@bnf.dev> Tested-by:
core-ci <typo3@b13.com> Reviewed-by:
Oliver Bartsch <bo@cedev.de>
-
Benjamin Kott authored
Resolves: #105222 Releases: main Change-Id: I3fd765bf2450880b3b498ebce6f83589e2c5a15c Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/86453 Tested-by:
core-ci <typo3@b13.com> Tested-by:
Andreas Kienast <akienast@scripting-base.de> Reviewed-by:
Benjamin Franzke <ben@bnf.dev> Tested-by:
Benjamin Franzke <ben@bnf.dev> Reviewed-by:
Andreas Kienast <akienast@scripting-base.de>
-
- Oct 07, 2024
-
-
Stefan Bürk authored
Resolves: #105196 Releases: main, 13.3, 12.4, 11.5 Change-Id: I681c2d284097e3e0af604f991e12c7e0fbc76472 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/86419 Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Benjamin Franzke <ben@bnf.dev> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Stefan Bürk <stefan@buerk.tech> Reviewed-by:
Stefan Bürk <stefan@buerk.tech> Reviewed-by:
Oliver Hader <oliver.hader@typo3.org> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Benjamin Franzke <ben@bnf.dev>
-
Oliver Bartsch authored
The sub types feature of TCA was used for registration of plugins as "list_type". Since it's encouraged to register plugins as CType since a couple of versions already and the deprecation of the "list_type" functionality with #105076 are the sub types now deprecated as well. This special functionality just lead to headaches and should be replaced by using dedicated record types, making configuration much cleaner and more comprehensible. Resolves: #105213 Related: #105076 Releases: main Change-Id: If9ce3f5de7ef69aaf16cf987ebcb62ea50f9a6a6 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/86425 Reviewed-by:
Torben Hansen <derhansen@gmail.com> Reviewed-by:
Oliver Bartsch <bo@cedev.de> Tested-by:
Torben Hansen <derhansen@gmail.com> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Benni Mack <benni@typo3.org> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Benni Mack <benni@typo3.org> Tested-by:
Oliver Bartsch <bo@cedev.de>
-
Benjamin Franzke authored
Resolves: #105218 Related: #105028 Releases: main Change-Id: Id9299db6d9a5dc3529be5dfd0f1fc0d30e8eb3aa Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/86445 Tested-by:
Benjamin Franzke <ben@bnf.dev> Reviewed-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Benjamin Franzke <ben@bnf.dev> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Benni Mack <benni@typo3.org> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch>
-
Andreas Kienast authored
The `setup` command asks whether a basic site shall be created when installing TYPO3. The question implies that it defaults to "no" value, but fails to accept "no" as input given by the user. This commit adds a normalizer for that question that converts "no" to an empty string, having the same effect as stepping through the question by providing no input at all. Resolves: #105203 Releases: main, 12.4 Change-Id: Ifcbccfa0c3c17304412112318ffc5bb0f0e87790 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/86446 Tested-by:
core-ci <typo3@b13.com> Reviewed-by:
Benjamin Franzke <ben@bnf.dev> Reviewed-by:
Garvin Hicking <gh@faktor-e.de> Tested-by:
Benjamin Franzke <ben@bnf.dev> Tested-by:
Garvin Hicking <gh@faktor-e.de>
-
Andreas Kienast authored
The `returnUrl` argument composed for the "Edit this column" view used in the Page module must not be encoded, otherwise the backend will open in itself after invoking the URL. Resolves: #103790 Related: #103345 Releases: main Change-Id: Ide6bdbefb15a7f7ae5a9c05805bcb64676ee7467 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/86452 Reviewed-by:
Benjamin Franzke <ben@bnf.dev> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Benni Mack <benni@typo3.org> Tested-by:
Benjamin Franzke <ben@bnf.dev>
-
Benjamin Kott authored
The CSS property `--typo3-text-color-base` is changed on a per-element basis (e.g. with the class mode theme) and therefore the scrollbar style needs to applied based on the current value of this variable. Resolves: #105223 Releases: main Change-Id: Ib9e6dbd4339ae2f454eef7daf44c8e62a599c682 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/86454 Tested-by:
Benjamin Franzke <ben@bnf.dev> Tested-by:
Andreas Kienast <akienast@scripting-base.de> Reviewed-by:
Andreas Kienast <akienast@scripting-base.de> Reviewed-by:
Benjamin Franzke <ben@bnf.dev> Tested-by:
core-ci <typo3@b13.com>
-
Markus Klein authored
Resolves: #105214 Releases: main, 12.4 Change-Id: I9172c5ee7dc691005684043c115e4ee708e25695 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/86439 Reviewed-by:
Benjamin Franzke <ben@bnf.dev> Tested-by:
Benjamin Franzke <ben@bnf.dev> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
core-ci <typo3@b13.com> Reviewed-by:
Thomas Hohn <tho@gyldendal.dk> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch>
-
Torben Hansen authored
Historically, plugins were commonly registered as subtypes of the content element `list` by using the `list_type` field. In this setup, `CType` was set to `list` for all plugins, while the actual plugin key was defined in the `list_type` field. This approach however led to several problems: * Different plugins required different fields in the backend form, resulting in complex and often convoluted TCA configurations to manage form behavior. * The existence of the `list_type` made a separate layer of content element definitions in the TypoScript necessary. * The use of `list_type` did not provide any significant benefits and made permission handling and other backend processes more cumbersome. The recommended way to create plugins is to use dedicated `CType` content elements for each plugin. Several popular TER extensions have already migrated from `list_type` to `CType` plugins. In order to unify content element registration and to remove various `list_type` related core hacks, the plugin content element and plugin subtypes have therefore been deprecated. The deprecation introduces the new `AbstractListTypeToCTypeUpdate` update wizard, which 3rd party extension authors can extend in order to add a update wizard to custom extension, which performs the required record and backend user permission migration. To prevent hundreds of functional tests showing a deprecation warning, several fixture extensions have been adapted, so plugins are configured as `CType`. Resolves: #105076 Releases: main Change-Id: I82532377cf5764ad90b55aa0ff3e16b4bea74a3d Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/86253 Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Oliver Bartsch <bo@cedev.de> Tested-by:
core-ci <typo3@b13.com> Reviewed-by:
Oliver Bartsch <bo@cedev.de>
-
Christian Kuhn authored
The @import syntax has been introduced with TYPO3 v9. With the TypoScript parser rewrite in v12, some last todos have been ruled out in this area. There are some good reasons to finally phase out `<INCLUDE_TYPOSCRIPT:`, the deprecation ReST gives further information. The patch adds an active trigger_error() when the parser hits a `<INCLUDE_TYPOSCRIPT:` statement and marks all related handling code as deprecated. Resolves: #105171 Related: #96614 Related: #101807 Related: #97816 Related: #103439 Releases: main Change-Id: Ic5b25afc99e16054016beac57c1f115f11b015c8 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/86386 Reviewed-by:
Simon Schaufelberger <simonschaufi+typo3@gmail.com> Tested-by:
core-ci <typo3@b13.com> Reviewed-by:
Anja Leichsenring <aleichsenring@ab-softlab.de> Tested-by:
Anja Leichsenring <aleichsenring@ab-softlab.de> Reviewed-by:
Stefan Bürk <stefan@buerk.tech> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Stefan Bürk <stefan@buerk.tech> Tested-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch>
-
Benni Mack authored
This change adds a new method called "ExtensionManagementUtility::addRecordType()" which allows developers to add custom types for any TCA table which supports types. An "extended" tab is added automatically, if it does not exist yet. This change aims to reduce accessing and modifying $GLOBALS[TCA] in Configuration/TCA/Overrides as much as possible. Resolves: #104931 Releases: main Change-Id: I8963d08d514f0d24ffccaa2653c6ec382a49cff7 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/85852 Reviewed-by:
Oliver Bartsch <bo@cedev.de> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Oliver Bartsch <bo@cedev.de> Tested-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
core-ci <typo3@b13.com>
-
Benjamin Franzke authored
The pointer field may not be supplied if a custom frontend template submits a search request. Resolves: #104734 Related: #102945 Releases: main Change-Id: I993efe55b270ff7530b33cacfbdc032125f47875 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/86449 Tested-by:
Anja Leichsenring <aleichsenring@ab-softlab.de> Tested-by:
Andreas Kienast <akienast@scripting-base.de> Tested-by:
core-ci <typo3@b13.com> Reviewed-by:
Anja Leichsenring <aleichsenring@ab-softlab.de> Reviewed-by:
Andreas Kienast <akienast@scripting-base.de>
-
Benni Mack authored
When setting mod.web_layout.localization.enableTranslate = 1 or mod.web_layout.localization.enableCopy = 1 a casting to bool is now done properly. This is a regression fix from a cleanup in v13. Resolves: #104851 Related: #103345 Releases: main Change-Id: Ifb0e4d87fb7bfe64d8c21c51fc275d7fe745aff1 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/86448 Reviewed-by:
Andreas Kienast <akienast@scripting-base.de> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Andreas Kienast <akienast@scripting-base.de> Reviewed-by:
Benjamin Franzke <ben@bnf.dev> Reviewed-by:
Anja Leichsenring <aleichsenring@ab-softlab.de> Tested-by:
Benjamin Franzke <ben@bnf.dev> Tested-by:
Anja Leichsenring <aleichsenring@ab-softlab.de>
-
Benjamin Franzke authored
To prevent inconsistent per-element color-transitions during a color-scheme or theme change, the per-element transitions are now disabled for the time-frame where the color-scheme or theme attribute is changed and a view transition is applied now. This instructs the browser to take a screenshot before and after the view transition and animate between. For browsers which do not support view transitions (firefox) or for users that prefer reduced motion we apply the changes immediately (with transitions disabled). Resolves: #105177 Releases: main Change-Id: I37e27b6ddcdc54ff3e944b5c33b2797a0b033c69 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/86397 Tested-by:
Andreas Kienast <akienast@scripting-base.de> Tested-by:
Garvin Hicking <gh@faktor-e.de> Tested-by:
core-ci <typo3@b13.com> Reviewed-by:
Benjamin Franzke <ben@bnf.dev> Tested-by:
Benjamin Franzke <ben@bnf.dev> Reviewed-by:
Andreas Kienast <akienast@scripting-base.de> Reviewed-by:
Garvin Hicking <gh@faktor-e.de>
-
Ayke Halder authored
Using `<f:image src="EXT:example/Resources/Public/Images/test.svg" />` to include an image in a symlinked composer mode installation failed with: 'Unable to render image tag in "pages:123": File /symlink/_assets/abcdef0[…]/Images/test.svg does not exist.' The file exists and is directly accessible via: https://example.org/symlink/_assets/abcdef0[…]/Images/test.svg Files referenced by `EXT:` are internally resolved using the fallback storage 0. To successfully resolve the file path TYPO3 must internally use the relative instance path starting with `_assets`: `_assets/abcdef0[…]/Images/test.svg` instead of the full request path starting with `subfolder/_assets`: `subfolder/_assets/abcdef0[…]/Images/test.svg` Symlinks are typically used when having TYPO3 installed or linked in a subfolder of the web server. This issue also occurs in TYPO3 v11 with composer-mode and using typo3/cms-composer-installers:^4 Resolves: #103157 Releases: main, 12.4 Change-Id: I60f435b430011836bd18c565c9d9b06b14fece94 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/83043 Tested-by:
Benjamin Franzke <ben@bnf.dev> Reviewed-by:
Benjamin Franzke <ben@bnf.dev> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Benni Mack <benni@typo3.org>
-