- Aug 10, 2021
-
-
Oliver Hader authored
Addresses work-around of issues #94565 and #94582 concerning libxml2 segmentation faults. https://github.com/darylldoyle/svg-sanitizer/compare/0.14.0...0.14.1 Resolves: #94768 Releases: master, 11.3, 10.4, 9.5 Change-Id: I10f6386f0986f514a1387fb1153bbfc36f9c9dcc Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/70333 Tested-by:
Andreas Fernandez <a.fernandez@scripting-base.de> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Oliver Hader <oliver.hader@typo3.org> Reviewed-by:
Andreas Fernandez <a.fernandez@scripting-base.de> Reviewed-by:
Oliver Hader <oliver.hader@typo3.org>
-
Wouter Wolters authored
Resolves: #94754 Releases: master Change-Id: I8a86ca3ef6f92b2f878aa6a8794d925e1a68c32e Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/70299 Tested-by:
core-ci <typo3@b13.com> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Oliver Bartsch <bo@cedev.de> Reviewed-by:
Oliver Hader <oliver.hader@typo3.org> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Oliver Bartsch <bo@cedev.de>
-
- Aug 09, 2021
-
-
Oliver Bartsch authored
Since #82489 the "enabledControls['new']" option did not longer hide the "New record" button of inline containers as this was considered a misuse and led to some misbehaviour. This option should only affect the action buttons of each inline record. However since this can be considered a breaking change, especially because there is currently no option available to only hide the "New record" button, the whole change is reverted now and will only be fixed in a separate patch for v11. This will be done by introducing a dedicated option for the "new record" button and by deprecating the "none" value of the "levelLinksPosition" option. Resolves: #94764 Related: #82489 Related: #92397 Releases: master, 11.3, 10.4 Change-Id: I2d108da41c02dea4958e8d39e47dcee24d2343e3 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/70308 Tested-by:
Benni Mack <benni@typo3.org> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Oliver Bartsch <bo@cedev.de> Reviewed-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Andreas Fernandez <a.fernandez@scripting-base.de> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Oliver Bartsch <bo@cedev.de>
-
Benni Mack authored
Various functionality regarding inline jumping to Backend modules / Page Module is now obsolete due to the introduced backend routing with TYPO3 v11.2. Resolves: #94766 Releases: master Change-Id: I176beebaf6c1548e413b407846332ca845526caf Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/70313 Reviewed-by:
Wouter Wolters <typo3@wouterwolters.nl> Reviewed-by:
Andreas Fernandez <a.fernandez@scripting-base.de> Reviewed-by:
Oliver Bartsch <bo@cedev.de> Reviewed-by:
Benni Mack <benni@typo3.org> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Andreas Fernandez <a.fernandez@scripting-base.de> Tested-by:
Oliver Bartsch <bo@cedev.de> Tested-by:
Benni Mack <benni@typo3.org>
-
Nikita Hovratov authored
Resolves: #94742 Releases: master Change-Id: Ic71c90f3399826745dfb75bf18f8454e8540da5b Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/70283 Tested-by:
core-ci <typo3@b13.com> Tested-by:
Jochen <rothjochen@gmail.com> Tested-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Jochen <rothjochen@gmail.com> Reviewed-by:
Benni Mack <benni@typo3.org>
-
Andreas Fernandez authored
Currently, the TYPO3 backend shows incomplete version information regarding updates in the Core Updater and the reports. Both take community-supported releases into account only and ignore the fact that certain versions are covered by the ELTS program and thus render messages about unsupported or invalid versions, which are false statements. We now use the full information from get.typo3.org, and added lengthy tests to avoid any further issues. The internally used CoreVersionService is now able to handle ELTS releases as well and give proper information to admins. Resolves: #94745 Releases: master, 10.4, 9.5 Change-Id: I6485d36ded943acba723d55e23275554484e4f82 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/70286 Tested-by:
core-ci <typo3@b13.com> Tested-by:
Frank Nägler <frank.naegler@typo3.com> Tested-by:
Benni Mack <benni@typo3.org> Tested-by:
Andreas Fernandez <a.fernandez@scripting-base.de> Reviewed-by:
Frank Nägler <frank.naegler@typo3.com> Reviewed-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Andreas Fernandez <a.fernandez@scripting-base.de>
-
Wouter Wolters authored
Constructor is removed as well because it is the same as the parent class. Resolves: #94755 Releases: master Change-Id: I918241344f467e84527e295c99b47152bc0f21be Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/70300 Tested-by:
core-ci <typo3@b13.com> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Oliver Hader <oliver.hader@typo3.org> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Benni Mack <benni@typo3.org>
-
Wouter Wolters authored
The method only calls it's parent. The comment above the function already suggests to drop this method after Fluid 1.1.0. Resolves: #94756 Releases: master Change-Id: I1d5973bc0b864469231d3751d399b1c1c97376b6 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/70301 Tested-by:
core-ci <typo3@b13.com> Tested-by:
Oliver Bartsch <bo@cedev.de> Tested-by:
Oliver Hader <oliver.hader@typo3.org> Reviewed-by:
Oliver Bartsch <bo@cedev.de> Reviewed-by:
Oliver Hader <oliver.hader@typo3.org>
-
Pierrick Caillon authored
After query filers for file storages have been used, those settings have to be reset. `StorageRepository::$storageInstances` actually applies an implicit singleton pattern to file storage objects. Resolves: #94714 Releases: master, 11.3, 10.4, 9.5 Change-Id: I353b782f8e98c55df6f9cb2e14a0745d83bfdc70 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/70211 Tested-by:
core-ci <typo3@b13.com> Tested-by:
Benni Mack <benni@typo3.org> Tested-by:
Oliver Hader <oliver.hader@typo3.org> Reviewed-by:
Wouter Wolters <typo3@wouterwolters.nl> Reviewed-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Oliver Hader <oliver.hader@typo3.org>
-
Lukas Niestroj authored
Resolves: #94355 Releases: master, 10.4 Change-Id: Ibff208cf5e2165664a8e03952d207ece76be31e3 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/69715 Tested-by:
Jochen <rothjochen@gmail.com> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Jochen <rothjochen@gmail.com> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch>
-
Christian Kuhn authored
Accessing request dependent data in a scheduler task is problematic on CLI. For this reason tasks have no setRequest() method or similar. The task does not loose much information avoiding a GU::getIndpEnv() for the test mail, and the setRequest() on the mail object is unused. Change-Id: I87a74c1d48eaa894c2859b235886ed57300c8a8b Resolves: #94748 Related: #94632 Releases: master Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/70289 Tested-by:
core-ci <typo3@b13.com> Tested-by:
Anja Leichsenring <aleichsenring@ab-softlab.de> Tested-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Anja Leichsenring <aleichsenring@ab-softlab.de> Reviewed-by:
Benni Mack <benni@typo3.org>
-
Oliver Bartsch authored
In our effort to improve the UX in the record- and filelist, the clipboard component will receive some improvements in upcoming patches. For example the clipboard panel should be a standalone web component, listening on events, so it could be used in any module. However, to be able to do so, the Clipboard class needs to be cleaned up first. Therefore, among other, this patch does the following: * Add strict types, type hints and resolve "mixed" types, e.g some arguments accepted bool|int instead of just bool, while they are just treated as bool. * Improve naming of used variables * Simplify some code parts * Add guard clauses where applicable * Move the DataHandler command array generation into the classes (SimpleDataHandler, FileController), they belong to * Protect methods, only intended for the use in Clipboard * Remove fileMode property since most of the code already explicitly checked for the given table anyways Resolves: #94731 Releases: master Change-Id: Ia72bd1960e2028ee659e5f6db9dac19cf6c04207 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/70240 Tested-by:
core-ci <typo3@b13.com> Tested-by:
Jochen <rothjochen@gmail.com> Tested-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Jochen <rothjochen@gmail.com> Reviewed-by:
Benni Mack <benni@typo3.org>
-
Wouter Wolters authored
Files were merged after initial patch for all UnitTest files. Resolves: #94746 Releases: master Change-Id: Ib9c7ef1d93a331e59884c76606610fb3d5722fde Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/70287 Tested-by:
core-ci <typo3@b13.com> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Simon Gilli <typo3@gilbertsoft.org> Tested-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Simon Gilli <typo3@gilbertsoft.org> Reviewed-by:
Benni Mack <benni@typo3.org>
-
- Aug 08, 2021
-
-
Benni Mack authored
Some methods which do not have any connection to the current backend user and are only used in DataHandler and DataHandlerHook of workspaces are moved to DataHandler in order to clean up the usages regarding permission handling of backend users within workspaces. Resolves: #94744 Releases: master Change-Id: I0473fe195d267fdb09440ab981ea2550f428d0b0 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/70199 Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Andreas Fernandez <a.fernandez@scripting-base.de> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Andreas Fernandez <a.fernandez@scripting-base.de>
-
Wouter Wolters authored
Strip declare declaration from concatenated ext_localconf files. Resolves: #94739 Releases: master Change-Id: I006278888b950a3a4aa105dc6bb822390cd29aef Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/70281 Tested-by:
core-ci <typo3@b13.com> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Benni Mack <benni@typo3.org>
-
Torben Hansen authored
In clearCacheForRecord() record uids are not added to the previously initialized array, but they overwrite the array resulting in an exception when clearCachesOfRegisteredPageIds is called. This change ensures uids are correctly added to the array. Resolves: #94740 Related: #94703 Releases: master Change-Id: Ie784c556201731673ec9c5e3196c93b19211a3e1 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/70282 Tested-by:
core-ci <typo3@b13.com> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Benni Mack <benni@typo3.org>
-
Wouter Wolters authored
Resolves: #94738 Releases: master Change-Id: I38544e9ae2f1890c43bd65466a39120729353e97 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/70280 Tested-by:
core-ci <typo3@b13.com> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Andreas Fernandez <a.fernandez@scripting-base.de> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Andreas Fernandez <a.fernandez@scripting-base.de>
-
- Aug 06, 2021
-
-
Wouter Wolters authored
The file does not exist anymore. Resolves: #94737 Releases: master Change-Id: Iffc65e2980d56d06d92ddcefba1e39e22a85be81 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/70279 Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Jochen <rothjochen@gmail.com> Tested-by:
core-ci <typo3@b13.com> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Jochen <rothjochen@gmail.com>
-
Wouter Wolters authored
Resolves: #94736 Releases: master Change-Id: I12d1bd3b963ffb77b8b195c4a50e60a254b885b2 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/70278 Tested-by:
core-ci <typo3@b13.com> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Jochen <rothjochen@gmail.com> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Jochen <rothjochen@gmail.com>
-
Christian Kuhn authored
We have the annotationChecker and the ever growing phpstan ruleset that scan our codebase for code and documentation code block violations. For the additional script docBlockChecker.php it's unclear what it actually does and when it should fail. It never went red to my knowledge. The patch author didn't know what was going on and I've been unable to make the script fail with local tests. The mentioned phpdocumentor/phpdocumentor seems to have never materialized in our world, and tools like api.typo3.org rely on doxygen. The patch drops that integrity test script and removes usages in runTests.sh and gitlab-ci. Resolves: #94735 Related: #89023 Releases: master Change-Id: Id7744780cd50e2009d59bd0f040799f8081924e7 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/70277 Reviewed-by:
Wouter Wolters <typo3@wouterwolters.nl> Reviewed-by:
Jochen <rothjochen@gmail.com> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Wouter Wolters <typo3@wouterwolters.nl> Tested-by:
Jochen <rothjochen@gmail.com> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch>
-
Christian Kuhn authored
Some functional tests don't need a fully set up database with all tables and fields to test the subject. Those now leverage a new testing-framework feature to skip database creation. Good examples are the core redis and memcache cache backend tests as well as a lot of fluid view helper functional tests. The speed improvement of around factor ten is significant enough to use it if possible. Resolves: #94734 Related: #94733 Releases: master Change-Id: Ib6d7f9fec52aab8d7271c47443fe24806b15e133 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/70241 Tested-by:
Wouter Wolters <typo3@wouterwolters.nl> Tested-by:
Jochen <rothjochen@gmail.com> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Wouter Wolters <typo3@wouterwolters.nl> Reviewed-by:
Jochen <rothjochen@gmail.com> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch>
-
Christian Kuhn authored
Brings a new feature to speed up functional tests and a series of tasks and bug fixes. composer req --dev typo3/testing-framework:^6.9.0 composer req --dev typo3/testing-framework:^6.9.0 -d typo3/sysext/core/ --no-update Change-Id: Iacfda77682d89468c0158fb467df90120a41a099 Resolves: #94733 Releases: master, 10.4 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/70272 Tested-by:
core-ci <typo3@b13.com> Tested-by:
Oliver Bartsch <bo@cedev.de> Tested-by:
Jochen <rothjochen@gmail.com> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Oliver Bartsch <bo@cedev.de> Reviewed-by:
Jochen <rothjochen@gmail.com> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch>
-
Oliver Bartsch authored
When using a SelectTree in flexform, the FormSelectTreeAjaxController reduces the data structure array, passed to the tcaSelectTreeAjaxFieldData FormDataGroup, down to the relevant element only. This previously lead to deprecation messages as one of the DataProviders, FlexPrepare, calls the TcaMigration for the passed data structure array. This then failed for the container, since it was falsely treated as an invalid TCA column, due to the missing type property. This is now fixed by adding the missing "type=array" property to the reduced data structure. Resolves: #94720 Releases: master, 10.4 Change-Id: Ib1ee2fe81ea54e17cdd38a39e2359e1cc6cfdfbf Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/70206 Tested-by:
core-ci <typo3@b13.com> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Jochen <rothjochen@gmail.com> Tested-by:
Oliver Bartsch <bo@cedev.de> Reviewed-by:
Wouter Wolters <typo3@wouterwolters.nl> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Jochen <rothjochen@gmail.com> Reviewed-by:
Oliver Bartsch <bo@cedev.de>
-
Oliver Bartsch authored
In #94491 the injection of the ImageService in the ImageViewHelper was replaced by instantiating with GeneralUtility. This was done, since the ImageViewHelper is also used in the install tool, where no DI of this service is possible. However, since ImageService can be extended by third-party ViewHelpers, this then broke when accessing $this->imageService. This is now fixed by instantiating and assigning the ImageService in the constructor to the $imageService class variable. This way the DI is still not used, but backwards compatibility is given. Resolves: #94728 Related: #94491 Releases: master Change-Id: Id029a01f7f4f6dabdb2b148ac7b9efcca0f7b0fc Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/70245 Tested-by:
David Steeb <david.steeb@b13.com> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Ruben Steeb <ruben.steeb@gmail.com> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Oliver Bartsch <bo@cedev.de> Reviewed-by:
David Steeb <david.steeb@b13.com> Reviewed-by:
Wouter Wolters <typo3@wouterwolters.nl> Reviewed-by:
Ruben Steeb <ruben.steeb@gmail.com> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Oliver Bartsch <bo@cedev.de>
-
Oliver Bartsch authored
Resolves: #94730 Releases: master, 10.4 Change-Id: I9e02de91e4c7f4cd3d2bc6f1e6ffe1b105c11ba0 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/70247 Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Jochen <rothjochen@gmail.com> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Oliver Bartsch <bo@cedev.de> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Jochen <rothjochen@gmail.com> Reviewed-by:
Oliver Bartsch <bo@cedev.de>
-
Christian Kuhn authored
typo3/testing-framework ships default .xml and bootstrap files for phpunit unit and functional tests. They are however quite hard to maintain since the testing-framework supports multiple core versions at once, but core occassionally needs version specific settings. The patch copies the files from the testing-framework to Build/phpunit and adapts core usages. The files within testing-framework will be kept, but will receive an additional "these are boilerplates, consider copying them to your extension" hint for extension developers. The local .xml files are now: * Compatible with phpunit 9 * Let tests fail if phpunit marks a test with warning. With this enabled, we would have seen the issues fixed with #94724 and #94723 with initial #94706 already. Good to do that now. Resolves: #94725 Related: #94706 Related: #94723 Related: #94724 Releases: master Change-Id: I9fef75a972759d26d4e0e3286142cacf181c33d2 Reviewed-on: https://review.typo3.org/c/Pack...
-
Christian Kuhn authored
The consuming test case has been dropped a while ago, fixture removal has been forgotten. Resolves: #94727 Releases: master Change-Id: I3ec574a3efd200c2572a5596ae6e97a03a5a0d49 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/70242 Tested-by:
core-ci <typo3@b13.com> Tested-by:
Wouter Wolters <typo3@wouterwolters.nl> Tested-by:
Oliver Bartsch <bo@cedev.de> Reviewed-by:
Wouter Wolters <typo3@wouterwolters.nl> Reviewed-by:
Oliver Bartsch <bo@cedev.de>
-
Oliver Bartsch authored
BackendUtility::getRecordTitle() should return a string (as the return type annotation suggest). Especially because the return value is usually directly passed to htmlspecialchars(), which again requires a string to be given. Since BackendUtility::getRecordTitle() was missing some typecasts, it was possible that e.g. an integer was returned. This then failed in classes, defining strict mode. An example for such scenario: Having a table, which defines the `uid` as `label` field. getRecordTitle is using getProcessedValue(), which has a guard clause to directly return the input value, in case the label field is `uid`. This would then usually (depending on DBMS) return an integer. This is now fixed by applying type casts to the relevant places. Resolves: #94726 Releases: master Change-Id: Ie02837ff5e55f369ff8ddf1f3e5098e636f475bb Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/70243 Tested-by:
core-ci <typo3@b13.com> Tested-by:
Benni Mack <benni@typo3.org> Tested-by:
Jochen <rothjochen@gmail.com> Tested-by:
Oliver Bartsch <bo@cedev.de> Reviewed-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Jörg Bösche <typo3@joergboesche.de> Reviewed-by:
Jochen <rothjochen@gmail.com> Reviewed-by:
Oliver Bartsch <bo@cedev.de>
-
- Aug 05, 2021
-
-
Wouter Wolters authored
Rector is used to migrate functional tests to PHPunit v9. Resolves: #94724 Related: #94706 Releases: master Change-Id: I378acd4145aacb5448d461eec48c3a1695876d61 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/70238 Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Benni Mack <benni@typo3.org>
-
Wouter Wolters authored
composer req --dev codeception/codeception:^4.1.21 composer req --dev codeception/module-webdriver:^1.2.1 composer req --dev php-webdriver/webdriver:^1.11.1 composer req --dev composer/package-versions-deprecated:^1.11.99.2 composer req --dev codeception/codeception:^4.1.21 -d typo3/sysext/core --no-update composer req --dev codeception/module-webdriver:^1.2.1 -d typo3/sysext/core --no-update composer req --dev php-webdriver/webdriver:^1.11.1 -d typo3/sysext/core --no-update composer req --dev composer/package-versions-deprecated:^1.11.99.2 -d typo3/sysext/core --no-update composer u mikey179/vfsstream behat/gherkin composer/semver codeception/stub Resolves: #94722 Releases: master Change-Id: I2ec0277374a2bf4e1501e79469826b7ea6360557 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/70234 Tested-by:
core-ci <typo3@b13.com> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Benni Mack <benni@typo3.org>
-
Christian Kuhn authored
LocalConfiguration BE/explicitADmode controls wether field permissions for backend user groups are additive (explicitAllow) or subtractive (explicitDeny). By means of best practice in the IT world, user permissions should always be configured additive - which is called the "Principle of Least Privilege" (see https://en.wikipedia.org/wiki/Principle_of_least_privilege). TYPO3's permission system already uses PoLP in all cases of backend groups except for the permission system of "Allowed Content Types" This is not only important from a security point of view in terms of permissions (for instance when an extension adds new CTypes), it's also possible to easily create a hard to understand mess in explicitDeny mode with nested groups. The default / fallback in DefaultConfiguration however has always been explicitDeny since "ever". New instances always got explicitAllow due to it being set in FactoryConfiguration - since TYPO3 v6.2. We can expect the vast majority of instances to run with explicitAllow already, either since the instance is younger than ~7 years, or because an admin already did set the default to explicitAllow for any instance that works with a non-trivial backend user group setup. This change turns the default in DefaultConfiguration around towards explicitAllow. A simple silent upgrade within install tool sets the value to explicitDeny in LocalConfiguration for instances that still use this, so this change is fully transparent and b/w compatible. Resolves: #94721 Releases: master Change-Id: Ifd219edce21a1c044541e6c8129134543e8d95ef Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/70233 Tested-by:
Benni Mack <benni@typo3.org> Tested-by:
Wouter Wolters <typo3@wouterwolters.nl> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Oliver Bartsch <bo@cedev.de> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Wouter Wolters <typo3@wouterwolters.nl> Reviewed-by:
Oliver Bartsch <bo@cedev.de> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch>
-
Christian Kuhn authored
We missed this one with #94706, which leads to warnings from phpunit when executing unit test suite. Resolves: #94723 Related: #94706 Releases: master Change-Id: I73d72d0def421f097b313c86ea7cad206804c372 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/70235 Tested-by:
Wouter Wolters <typo3@wouterwolters.nl> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Wouter Wolters <typo3@wouterwolters.nl> Reviewed-by:
Benni Mack <benni@typo3.org>
-
Benni Mack authored
If you have inline JS (or inlineFooterJS) code the method "GeneralUtility::minifyJavaScript()" is called twice for the same code to actually minify the code, because PageRenderer takes care of minification, so FE process does not explicitly have to do that. This does no harm, only if there is a hook within minifyJavaScript(), the processing is triggered twice. This also only happens if config.compressJs = 1 is called. Resolves: #94716 Releases: master Change-Id: I77af009bf252b9f249794ed5b8db1dd0ae26b769 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/70207 Tested-by:
Oliver Bartsch <bo@cedev.de> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Jochen <rothjochen@gmail.com> Tested-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Oliver Bartsch <bo@cedev.de> Reviewed-by:
Jochen <rothjochen@gmail.com> Reviewed-by:
Benni Mack <benni@typo3.org>
-
Jochen Roth authored
EXT:styleguide is capable to create a frontend page with a single click. Therefor, acceptance tests have been created to test each content element for expected classes and text. Also PHP8 undefined array key warnings have been fixed to get tests working as expected. Resolves: #94649 Releases: master Change-Id: Ie7586bd01a2b0f02c75fb300cc346c9129c346a4 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/70118 Tested-by:
core-ci <typo3@b13.com> Tested-by:
Oliver Bartsch <bo@cedev.de> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Oliver Bartsch <bo@cedev.de> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch>
-
Oliver Bartsch authored
The value of a TSconfig entry in the $TSdata array, forwarded to the ModifyLoadedPageTsConfigEvent, has to be a string. Therefore the fallback must be a string, too. Otherwise it would make it unnecessary hard for extension authors to extend the default TSconfig using the mentioned event as they have to check for the actual type first. Resolves: #94718 Releases: master, 10.4 Change-Id: I023a389e79c01bceb427431d15da16d0b2089b0f Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/70209 Tested-by:
core-ci <typo3@b13.com> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Benni Mack <benni@typo3.org> Tested-by:
Oliver Bartsch <bo@cedev.de> Reviewed-by:
Achim Fritz <af@achimfritz.de> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Oliver Bartsch <bo@cedev.de>
-
Daniel Siepmann authored
Not casting will lead to type incompatibility when used with sqlite where doctrine does not convert types. Resolves: #94698 Releases: master Change-Id: I923df64ba6d55be3b4d8fa219049ca3b507d8f36 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/70195 Tested-by:
core-ci <typo3@b13.com> Tested-by:
Benni Mack <benni@typo3.org> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Wouter Wolters <typo3@wouterwolters.nl> Reviewed-by:
Oliver Klee <typo3-coding@oliverklee.de> Reviewed-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch>
-
Christian Kuhn authored
Acceptance test docker image selenium/standalone-chrome:3.141 is re-tagged upstream to latest releases. Latest release 3.141.59-20210729 tagged as 3.141 has issues as shown by styleguide recently. To not run into this within core tests, the patch pins previous version 3.141.59-20210713 for now. Resolves: #94712 Releases: master Change-Id: I90f7e548c9a1a38616452ae29e566a9ae33c9fc3 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/70198 Tested-by:
Oliver Bartsch <bo@cedev.de> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Jochen <rothjochen@gmail.com> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Oliver Bartsch <bo@cedev.de> Reviewed-by:
Jochen <rothjochen@gmail.com> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch>
-
Benni Mack authored
PHPunit v9 allows to use further improvements to our testing API, and also offers extended support until at least Feb 2022. PHPunit v9 requires PHP 7.3+ which isn't a problem for us per-se. In addition, composer does not complain about an abandoned package anymore if we upgrade to PHPunit 9. In order to achieve this, we need to explicitly require "codeception/phpunit-wrapper:^9.0" which we can then remove later-on again. Used composer commands: > composer req --dev "phpunit/phpunit:^9.5" "phpspec/prophecy-phpunit" "codeception/phpunit-wrapper:^9.0" -W > composer req --dev "phpunit/phpunit:^9.5" "phpspec/prophecy-phpunit" -d typo3/sysext/core --no-update > composer remove --dev codeception/phpunit-wrapper Used rector to migrate all Unit tests to prevent warnings.. Resolves: #94706 Releases: master Change-Id: I68d9df07421149f4ad40964afc512f0f995b295b Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/69297 Tested-by:
core-ci <typo3@b13.com> Tested-by:
Mathias Brodala <mbrodala@pagemachine.de> Tested-by:
Oliver Bartsch <bo@cedev.de> Tested-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Mathias Brodala <mbrodala@pagemachine.de> Reviewed-by:
Oliver Bartsch <bo@cedev.de> Reviewed-by:
Benni Mack <benni@typo3.org>
-
Oliver Bartsch authored
This fixes an array to string conversion and an undefined array key warning in EXT:form FinisherOptionGenerator. Resolves: #94686 Releases: master Change-Id: Ic6265c36ac0f53d70d85baabf9d1881263027207 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/70179 Tested-by:
core-ci <typo3@b13.com> Tested-by:
Jochen <rothjochen@gmail.com> Tested-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Jochen <rothjochen@gmail.com> Reviewed-by:
Benni Mack <benni@typo3.org>
-
Benni Mack authored
Referencing other records in workspaces usually works in a way that it is always pointing to the live pendant of a versioned record, never to the versioned record (t3ver_oid>0). However, for MM this is the exception - because MM does not have the workspace context. So when Extbase is resolving a separate query to resolve e.g. a category from a news record, the MM handling kicks in, but always showed the live version, because there was no chance to overlay. Extbase internally first fetches the aggregate root (e.g. news), then does the overlay and building of the object of the main object, and then fires another query to fetch e.g. all attached categories / relations. In case of MM relations for workspaces, they need to be using the versionedUid of the news record, and not the live version. However, since this also affects other relations (IRRE without MM, Select + Group), the RelationHandler is used for workspace'd relations, and adds one additional query to that. This change adapts the place where the query for the properties is built, and takes the UID of the versioned record to resolve the properties attached to it. Resolves: #88021 Resolves: #82750 Resolves: #82086 Resolves: #76993 Relates: #57169 Releases: master, 10.4 Change-Id: I57d34b46d17d504301f54071404d6169ec974676 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/68913 Tested-by:
core-ci <typo3@b13.com> Tested-by:
Oliver Bartsch <bo@cedev.de> Tested-by:
Danilo Caccialanza <supercaccia@bluewin.ch> Tested-by:
Martin Tepper <martintepper@arcor.de> Tested-by:
cbugada <christian.bugada@ti.ch> Tested-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Oliver Bartsch <bo@cedev.de> Reviewed-by:
Danilo Caccialanza <supercaccia@bluewin.ch> Reviewed-by:
Benni Mack <benni@typo3.org>
-