- Apr 04, 2024
-
-
Georg Ringer authored
If a page uses a specific page layout, it must be used in the page module. To be in sync with v12 the change is also merged into v12. Resolves: #103501 Releases: main, 12.4 Change-Id: I91341249fd3f6142a9830bb594a8fe1d2d6ded7a Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/83624 Tested-by:
Oliver Bartsch <bo@cedev.de> Tested-by:
Benni Mack <benni@typo3.org> Tested-by:
core-ci <typo3@b13.com> Reviewed-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Oliver Bartsch <bo@cedev.de>
-
- Mar 07, 2024
-
-
Benni Mack authored
This change adapts various places where there are cross-dependencies between objects that contain state when rendering the page module. Resolves: #103326 Releases: main Change-Id: I09db90bc4c47f0a15d9890ed40d6cb65b2dff30d Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/83313 Tested-by:
core-ci <typo3@b13.com> Tested-by:
Frank Nägler <frank.naegler@typo3.com> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Frank Nägler <frank.naegler@typo3.com> Reviewed-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch>
-
- Mar 05, 2024
-
-
Willi Wehmeier authored
The thumbCode method in the BackendUtility sets the filename as the alt text for images. That's why the backend representation of content elements like textmedia doesn't respect any set alternative text, whether it's set in the file_reference or the sys_file record itself. This change uses the alternative text and only sets the filename as a fallback if there's no alternative text provided for the file. Resolves: #103285 Releases: main, 12.4 Change-Id: I3c11bb7a56f001e37eafdd1f0a998cb51fb2b460 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/83213 Reviewed-by:
Jasmina Ließmann <minapokhalo+typo3@gmail.com> Reviewed-by:
Oliver Bartsch <bo@cedev.de> Reviewed-by:
Simon Schaufelberger <simonschaufi+typo3@gmail.com> Reviewed-by:
Kevin Appelt <kevin.appelt@icloud.com> Tested-by:
Jasmina Ließmann <minapokhalo+typo3@gmail.com> Tested-by:
Kevin Appelt <kevin.appelt@icloud.com> Tested-by:
Oliver Bartsch <bo@cedev.de> Tested-by:
core-ci <typo3@b13.com>
-
- Mar 04, 2024
-
-
Marvin Buchmann authored
The logic of PageLayoutController->getExistingPageTranslations() was moved to BackendUtility::getExistingPageTranslations() to make the code reusable in other places. Resolves: #103274 Releases: main Change-Id: I2fbc596ff33356e1dd4c39c11a7ccea409af945e Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/83201 Reviewed-by:
Frank Nägler <frank.naegler@typo3.com> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Stefan Bürk <stefan@buerk.tech> Reviewed-by:
Stefan Bürk <stefan@buerk.tech> Tested-by:
Frank Nägler <frank.naegler@typo3.com>
-
Oliver Bartsch authored
The trigger to open the context menu is now a proper `button` element. Resolves: #103269 Releases: main, 12.4 Change-Id: Ia3932e4932ccd347b6816e08ee763420c70fbbba Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/83195 Reviewed-by:
Andreas Kienast <a.fernandez@scripting-base.de> Reviewed-by:
Oliver Bartsch <bo@cedev.de> Reviewed-by:
Garvin Hicking <gh@faktor-e.de> Tested-by:
Oliver Bartsch <bo@cedev.de> Tested-by:
Andreas Kienast <a.fernandez@scripting-base.de> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Garvin Hicking <gh@faktor-e.de>
-
- Mar 01, 2024
-
-
Oliver Bartsch authored
Resolves: #102451 Releases: main, 12.4 Change-Id: I50944fe4eb4aa1557c6289f9ae8eefe67717fb75 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/83175 Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Oliver Bartsch <bo@cedev.de> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Andreas Kienast <a.fernandez@scripting-base.de> Tested-by:
Oliver Bartsch <bo@cedev.de> Reviewed-by:
Andreas Kienast <a.fernandez@scripting-base.de>
-
Willi Wehmeier authored
To deliver a meaningful tooltip text for screenreaders the title of the page is added to the tooltip message in the pagetree view. Resolves: #102451 Releases: main, 12.4 Change-Id: I8af2e3652d38abb6b2a090c2f8bd0e4427ab255a Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/81854 Reviewed-by:
Benjamin Kott <benjamin.kott@outlook.com> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Oliver Bartsch <bo@cedev.de> Reviewed-by:
Oliver Bartsch <bo@cedev.de> Tested-by:
Benjamin Kott <benjamin.kott@outlook.com>
-
- Jan 14, 2024
-
-
Nikita Hovratov authored
Fix comment about obsolete type user with dbType json. Resolves: #102832 Releases: main, 12.4 Change-Id: I390a1a7d3a7fe4d511f361efae4c2735f9b34c4a Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/82453 Tested-by:
core-ci <typo3@b13.com> Reviewed-by:
Anja Leichsenring <aleichsenring@ab-softlab.de> Tested-by:
Anja Leichsenring <aleichsenring@ab-softlab.de>
-
- Dec 26, 2023
-
-
Oliver Bartsch authored
Since #102616, itemsProcFunc config is resolved in `BU::getLabelFromItemlist()`. This method therefore was adjusted to take the record in question as argument, passing it to the underlying `ItemProcessingService`, which actually just requires the uid and pid. Since the database row is not passed to BU::getProcessedValue()`, the record was fetched for each item manually via `getRecordWSOL()`. This is not sufficient and has a serious performance impact. The functionality of resolving itemsProcFunc is now still in place but `BU::getProcessedValue()` does no longer fetch and pass the record, but only the uid and pid. This will therefore still enable most use cases, but does no longer slow down the backend. Resolves: #102698 Related: #102616 Related: #100855 Releases: main, 12.4 Change-Id: Ic52564fada13b47f5364df642acbf683538b0c21 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/82264 Tested-by:
Stefan Bürk <stefan@buerk.tech> Reviewed-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Stefan Bürk <stefan@buerk.tech> Tested-by:
Oliver Bartsch <bo@cedev.de> Tested-by:
Benni Mack <benni@typo3.org> Tested-by:
core-ci <typo3@b13.com> Reviewed-by:
Oliver Bartsch <bo@cedev.de>
-
- Dec 08, 2023
-
-
Oliver Bartsch authored
A couple of BackendUtility methods dealing with resolving labels do now also evaluate a configured `itemsProcFunc` to properly resolve the corresponding labels. Resolves: #100855 Resolves: #102616 Releases: main, 12.4 Change-Id: Ic4efe1cc2a68e7ee938ca994649e074ddbba0819 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/82148 Reviewed-by:
Jochen Roth <rothjochen@gmail.com> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Oliver Bartsch <bo@cedev.de> Tested-by:
Jochen Roth <rothjochen@gmail.com> Reviewed-by:
Oliver Bartsch <bo@cedev.de> Tested-by:
core-ci <typo3@b13.com>
-
- Nov 29, 2023
-
-
Oliver Bartsch authored
Adds the loading="lazy" HTML attribute to a couple of img tags, used to display thumbnails in the backend. This will improve performance, especially for larger listings, e.g. in the filelist module. Resolves: #102501 Releases: main, 12.4 Change-Id: I5f4b7c37786e8f4283bb997f40c501f09984e410 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/81999 Reviewed-by:
Garvin Hicking <gh@faktor-e.de> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Garvin Hicking <gh@faktor-e.de> Reviewed-by:
Oliver Bartsch <bo@cedev.de> Tested-by:
Oliver Bartsch <bo@cedev.de> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch>
-
- Nov 18, 2023
-
-
Benni Mack authored
This change is a prerequisite for splitting some parts within EXT:workspaces into separate parts for further refactoring. Resolves: #102393 Releases: main Change-Id: I6979484148818a46ed7f78ec7010f78321253140 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/81745 Tested-by:
core-ci <typo3@b13.com> Tested-by:
Oliver Bartsch <bo@cedev.de> Reviewed-by:
Anja Leichsenring <aleichsenring@ab-softlab.de> Tested-by:
Anja Leichsenring <aleichsenring@ab-softlab.de> Reviewed-by:
Oliver Bartsch <bo@cedev.de>
-
- Oct 15, 2023
-
-
Christian Kuhn authored
GeneralUtility::trimExplode() needs a string since #101453 as second argument. TCA type=folder DB values can be null, which can be triggered for instance by bootstrap_package in BackendUtility::getProcessedValue(). Cast the value before feeding it to GU::trimExplode(). Resolves: #102172 Related: #101453 Releases: main, 12.4 Change-Id: I3a742d592efe28324d07b0c941185601cfc14891 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/81429 Reviewed-by:
Simon Schaufelberger <simonschaufi+typo3@gmail.com> Reviewed-by:
Stefan Bürk <stefan@buerk.tech> Tested-by:
Oliver Klee <typo3-coding@oliverklee.de> Tested-by:
Simon Schaufelberger <simonschaufi+typo3@gmail.com> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Stefan Bürk <stefan@buerk.tech> Reviewed-by:
Oliver Klee <typo3-coding@oliverklee.de>
-
- Sep 21, 2023
-
-
Oliver Bartsch authored
The `@internal` `ThumbnailController` is removed, because it has been unused since the introduction of the deferred BE image processing in #92188. Resolves: #101992 Related: #92188 Releases: main Change-Id: I670acb83fcc7be9c8867658467b4e1ca87bcb954 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/81152 Tested-by:
Stefan Bürk <stefan@buerk.tech> Reviewed-by:
Oliver Bartsch <bo@cedev.de> Reviewed-by:
Oliver Klee <typo3-coding@oliverklee.de> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Benni Mack <benni@typo3.org> Tested-by:
Oliver Bartsch <bo@cedev.de> Reviewed-by:
Stefan Bürk <stefan@buerk.tech>
-
- Aug 31, 2023
-
-
Achim Fritz authored
BackendUtility has a couple of strtotime() calls that may end up as strtotime(null). This emits a PHP E_DEPRECATED error since PHP 8.1. Add a cast. Resolves: #101811 Resolves: #101805 Releases: main, 12.4, 11.5 Change-Id: I5cca1b2fd3bc0d6792f6d61a59bdbc5b4850d15d Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/80793 Tested-by:
core-ci <typo3@b13.com> Reviewed-by:
Stefan B�rk <stefan@buerk.tech> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Oliver Klee <typo3-coding@oliverklee.de> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Oliver Klee <typo3-coding@oliverklee.de> Tested-by:
Stefan B�rk <stefan@buerk.tech>
-
- Aug 08, 2023
-
-
Oliver Klee authored
This change fixes places where the code violates the contract. Also, the change will avoid type errors when the `GeneralUtility` array functions are switched to native type declarations. All of these changes fix places where the acceptance test break with the GU array methods using native type declarations. Resolves: #101616 Related: #101453 Releases: main, 12.4 Change-Id: I6f86f7a371d50b20a34275ebc771604d407917bf Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/80459 Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Stefan B�rk <stefan@buerk.tech> Reviewed-by:
Stefan B�rk <stefan@buerk.tech>
-
- Aug 03, 2023
-
-
Simon Schaufelberger authored
While the backend already renders preview images of for example YouTube videos in the media module, it doesn't show the preview image anywhere else, for example in the page module and the Media elements within a "Text and Media" content element. This patch shows the generated preview image within the page module and the "Text and Media" content element as well. Resolves: #95454 Releases: main, 12.4, 11.5 Change-Id: I4e404cf41627d5ee9ac165ee46817a456dbecaa8 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/80167 Reviewed-by:
Henning Liebe <h.liebe@neusta.de> Tested-by:
core-ci <typo3@b13.com> Reviewed-by:
Oliver Bartsch <bo@cedev.de> Tested-by:
HOJA M A <hoja@ymail.com> Reviewed-by:
HOJA M A <hoja@ymail.com> Tested-by:
Henning Liebe <h.liebe@neusta.de> Tested-by:
Andreas Fernandez <a.fernandez@scripting-base.de> Tested-by:
Oliver Bartsch <bo@cedev.de> Reviewed-by:
Andreas Fernandez <a.fernandez@scripting-base.de>
-
- Aug 02, 2023
-
-
Andreas Fernandez authored
The icon size constants defined in `\TYPO3\CMS\Core\Imaging\Icon` are moved into a new `TYPO3\CMS\Core\Imaging\IconSize` enum. All method accepting the old string constants are adapted to accept the enum class as well, while triggering a deprecation when a string is passed for compatibility reasons. Resolves: #101475 Releases: main Change-Id: Idd61594ed21b30033d13b4c653992756e66db7c1 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/80197 Tested-by:
Andreas Fernandez <a.fernandez@scripting-base.de> Reviewed-by:
Stefan B�rk <stefan@buerk.tech> Tested-by:
Stefan B�rk <stefan@buerk.tech> Tested-by:
core-ci <typo3@b13.com> Reviewed-by:
Andreas Fernandez <a.fernandez@scripting-base.de> Tested-by:
Anja Leichsenring <aleichsenring@ab-softlab.de> Reviewed-by:
Anja Leichsenring <aleichsenring@ab-softlab.de>
-
- Jul 17, 2023
-
-
Georg Ringer authored
Add the pid to the list of fields which should always be retrieved when selecting a record. This especially avoid a PHP warning in FormEngine when workspace records are overlaid. Resolves: #98181 Releases: main, 12.4, 11.5 Change-Id: Iaf5479e329693486c992495228fca1b711ba6161 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/75532 Tested-by:
core-ci <typo3@b13.com> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Benni Mack <benni@typo3.org> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch>
-
- Jul 05, 2023
-
-
Thomas Hohn authored
This change converts class VersionState to a native backed enum. Resolves: #101175 Releases: main Change-Id: I5d0b5a1cb87699ffec47b49b58a1aa9494d3cc57 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/79516 Tested-by:
Benni Mack <benni@typo3.org> Tested-by:
Oliver Hader <oliver.hader@typo3.org> Reviewed-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Oliver Hader <oliver.hader@typo3.org>
-
- Jun 15, 2023
-
-
Thomas Hohn authored
Removed the following public methods in the class \TYPO3\CMS\Backend\Utility\BackendUtility * getClickMenuOnIconTagParameters * getUpdateSignalCode In addition removed usage of `JScode` Resolves: #101078 Related: #100963 Related: #96136 Releases: main Change-Id: I395d1cd7db403d1364e7660bd3378e33b03c9624 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/79396 Tested-by:
core-ci <typo3@b13.com> Reviewed-by:
Oliver Klee <typo3-coding@oliverklee.de> Tested-by:
Oliver Klee <typo3-coding@oliverklee.de> Tested-by:
Stefan Bürk <stefan@buerk.tech> Reviewed-by:
Stefan Bürk <stefan@buerk.tech>
-
- Jun 14, 2023
-
-
Christian Kuhn authored
Various code and helpers around the removed CSH feature. Resolves: #101058 Related: #100963 Related: #97312 Releases: main Change-Id: I9143aebb24e448b6904a4198555775abbb6d5b39 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/79372 Tested-by:
Stefan Bürk <stefan@buerk.tech> Tested-by:
Anja Leichsenring <aleichsenring@ab-softlab.de> Reviewed-by:
Anja Leichsenring <aleichsenring@ab-softlab.de> Tested-by:
core-ci <typo3@b13.com> Reviewed-by:
Stefan Bürk <stefan@buerk.tech>
-
- Jun 13, 2023
-
-
Thomas Hohn authored
Removed public methods: * \TYPO3\CMS\Backend\Utility\BackendUtility::getRecordToolTip Resolves: #101025 Related: #100963 Related: #100459 Releases: main Change-Id: I625050dbf06b76847de30883e0a0c164207efdd4 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/79310 Tested-by:
Stefan Bürk <stefan@buerk.tech> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Stefan Bürk <stefan@buerk.tech> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch>
-
Benni Mack authored
Removed methods: * \TYPO3\CMS\Backend\Utility\BackendUtility::getThumbnailUrl * \TYPO3\CMS\Backend\Utility\BackendUtility::ADMCMD_previewCmds * \TYPO3\CMS\Backend\Utility\BackendUtility::getPreviewUrl * \TYPO3\CMS\Backend\Utility\BackendUtility::getLinkToDataHandlerAction * \TYPO3\CMS\Core\Domain\Repository\PageRepository->getExtURL Hooks: * $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_befunc.php']['viewOnClickClass'] Resolves: #101010 Related: #100963 Related: #100597 Related: #97544 Related: #99558 Releases: main Change-Id: I96d2f4e1006ca0f741f17d977aac779f767f1127 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/79272 Tested-by:
Anja Leichsenring <aleichsenring@ab-softlab.de> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Thomas Hohn <tho@gyldendal.dk> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Anja Leichsenring <aleichsenring@ab-softlab.de>
-
Oliver Bartsch authored
Resolves: #101007 Related: #100963 Related: #96733 Releases: main Change-Id: Ic1ac42873708a5bef91ab994c0e6f1c30adc74fa Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/79268 Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Stefan Bürk <stefan@buerk.tech> Reviewed-by:
Stefan Bürk <stefan@buerk.tech> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
core-ci <typo3@b13.com>
-
- Jun 12, 2023
-
-
Christian Kuhn authored
* \TYPO3\CMS\Backend\Utility\BackendUtility::getDropdownMenu * \TYPO3\CMS\Backend\Utility\BackendUtility::getFuncCheck * \TYPO3\CMS\Backend\Utility\BackendUtility::getFuncMenu Resolves: #101002 Related: #100963 Related: #99519 Related: #99564 Related: #99579 Releases: main Change-Id: I37996c66d615643d3510093bea55d612de5d98f2 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/79263 Tested-by:
Nikita Hovratov <nikita.h@live.de> Reviewed-by:
Stefan Bürk <stefan@buerk.tech> Tested-by:
core-ci <typo3@b13.com> Reviewed-by:
Nikita Hovratov <nikita.h@live.de> Tested-by:
Stefan Bürk <stefan@buerk.tech>
-
- Apr 21, 2023
-
-
Benjamin Kott authored
Resolves: #100555 Releases: main Change-Id: I9e66eb02d5e4a5a4fdd66fd751cd04f2262218d4 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/78564 Tested-by:
Markus Klein <markus.klein@typo3.org> Reviewed-by:
Andreas Fernandez <a.fernandez@scripting-base.de> Tested-by:
Andreas Fernandez <a.fernandez@scripting-base.de> Tested-by:
core-ci <typo3@b13.com> Reviewed-by:
Markus Klein <markus.klein@typo3.org>
-
Christian Kuhn authored
When BackendUtility::getPagesTSconfig() is called with many different page uids, it can be a huge memory hog: The pid-to-tsconfig contains a new object for each pid. However, page TSconfig is often the same for different pages. The patch creates a two-level cache for this. The result can be stunning, for example with the styleguide extension which creates a page tree using DataHandler and then localizes records on it using DataHandler. Measuring with the extension from [1]: Without patch: * create tca data: ~148MB * delete tca data: ~144MB With patch: * create tca data: ~12MB * delete tca data: ~11MB The patch also gives a performance benefit in this use case. [1] https://github.com/lolli42/peak_memory Resolves: #100701 Releases: main Change-Id: I7e5e123d27527403abe68a70a6352e058f5ed088 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/78784 Tested-by:
Stefan Bürk <stefan@buerk.tech> Reviewed-by:
Oliver Klee <typo3-coding@oliverklee.de> Tested-by:
core-ci <typo3@b13.com> Reviewed-by:
Stefan Bürk <stefan@buerk.tech> Tested-by:
Oliver Klee <typo3-coding@oliverklee.de>
-
- Apr 14, 2023
-
-
Benni Mack authored
The BackendUtility methods getThumbnailUrl() and getLinkToDataHandlerAction() are deprecated as they are just wrapper methods with limited extra value. The functionality can easily be implementend by using the corresponding APIs directly. Resolves: #100597 Releases: main Change-Id: I7f72504559c0c9c1f61b77362a7fbfd43c001883 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/78610 Reviewed-by:
Stefan Bürk <stefan@buerk.tech> Tested-by:
core-ci <typo3@b13.com> Reviewed-by:
Oliver Bartsch <bo@cedev.de> Tested-by:
Oliver Bartsch <bo@cedev.de> Tested-by:
Stefan Bürk <stefan@buerk.tech>
-
- Apr 11, 2023
-
-
Christian Kuhn authored
When the "Access" module is called without a selected page, the root page icon rendering triggers a PHP 8.0 array access warning. This was triggered by the refactoring with #100454, but is a general issue of the method, which is why the patch should go to 11.5 as well. The patch sanitizes $row['uid']. Other parts of the method access further array keys without fallback, but those should be fine - at least for now - since this is about 'pages', and if there is a uid, the other fields are probably provided as well. Resolves: #100527 Related: #100454 Releases: main, 11.5 Change-Id: I40df9fcb86a145cfa68f7dc3086649c52efe7d79 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/78535 Reviewed-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Oliver Klee <typo3-coding@oliverklee.de> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Jochen <rothjochen@gmail.com> Tested-by:
Benni Mack <benni@typo3.org> Tested-by:
Jochen <rothjochen@gmail.com>
-
- Apr 05, 2023
-
-
Benni Mack authored
This method is just a wrapper for a title="" attribute and is very inflexible. Thus, it is marked as deprecated. Resolves: #100459 Releases: main Change-Id: Ic8e7f5fca9176fdf76a9723a702705dd4fce56b5 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/78321 Reviewed-by:
Oliver Klee <typo3-coding@oliverklee.de> Reviewed-by:
Oliver Bartsch <bo@cedev.de> Tested-by:
core-ci <typo3@b13.com> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Oliver Bartsch <bo@cedev.de>
-
- Apr 02, 2023
-
-
Andreas Nedbal authored
Resolves: #100379 Releases: main, 11.5 Change-Id: If772e0ba8d2d10a9aeb86af519c1c4f05c0ef3b4 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/78353 Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
core-ci <typo3@b13.com> Reviewed-by:
Roman Büchler <info@buechler.pro> Tested-by:
Roman Büchler <info@buechler.pro> Reviewed-by:
Nikita Hovratov <nikita.h@live.de> Reviewed-by:
Oliver Klee <typo3-coding@oliverklee.de> Tested-by:
Nikita Hovratov <nikita.h@live.de> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch>
-
- Mar 27, 2023
-
-
Jasmina Ließmann authored
Some specific TYPO3 terms have a special spelling. Therefore update the spelling from "PageTsConfig" to "page TSconfig" and "UserTsConfig" to "user TSconfig" as once defined here: https://docs.typo3.org/m/typo3/docs-how-to-document/main/en-us/GeneralConventions/Glossary.html Resolves: #99856 Releases: main Change-Id: I37d280a8c8a35bf8737eb2f694f1101fb8645783 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/77725 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> Tested-by:
core-ci <typo3@b13.com>
-
- Mar 21, 2023
-
-
Nikita Hovratov authored
The TCA types select, radio and check now have associative array keys for their items array. The mapping is as following: 0 => 'label' (select, radio, check) 1 => 'value' (select, radio) 2 => 'icon' (select) 3 => 'group' (select) 4 => 'description' (select; renderType=selectCheckBox) This change eases the introduction of new functionality to the items array in the future and provides a vastly improved code readability. Resolves: #99739 Releases: main Change-Id: Id0586bc8f8e1e0624eed5925be645e7b39692469 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/77626 Tested-by:
Benni Mack <benni@typo3.org> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Benni Mack <benni@typo3.org> Tested-by:
Georg Ringer <georg.ringer@gmail.com> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Stefan Bürk <stefan@buerk.tech> Tested-by:
Markus Klein <markus.klein@typo3.org> Reviewed-by:
Stefan Bürk <stefan@buerk.tech> Tested-by:
Jochen <rothjochen@gmail.com> Tested-by:
core-ci <typo3@b13.com> Reviewed-by:
Jochen <rothjochen@gmail.com> Reviewed-by:
Georg Ringer <georg.ringer@gmail.com> Reviewed-by:
Markus Klein <markus.klein@typo3.org>
-
- Mar 06, 2023
-
-
Frank Naegler authored
A new TCA type "json" is introduced, which allows to simplify the configuration when working with fields, containing JSON data. It replaces the previously introduced dbtype=json of TCA type "user" (see: #99226). FormEngine will display the JSON data using codemirror, in case EXT:t3editor is installed and enabled for the field. Otherwise, a standard textarea HTML element is used. Using the new type, corresponding database columns are added automatically. Resolves: #100088 Related: #99226 Releases: main Change-Id: I49ab049966a86696910a7c18a7c45be00c162ca7 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/77798 Tested-by:
core-ci <typo3@b13.com> Reviewed-by:
Nikita Hovratov <nikita.h@live.de> Tested-by:
Benni Mack <benni@typo3.org> Tested-by:
Nikita Hovratov <nikita.h@live.de> Reviewed-by:
Benni Mack <benni@typo3.org>
-
- Mar 01, 2023
-
-
Christian Kuhn authored
The TypoScript condition matching and our symfony expression language handling is a heavily convoluted mess: The entire API tends to fetch lots of global state, the classes are complex, hard to understand and handle, over-abstracted and full of anti-patterns. The patch aims to mitigate this. The main strategy is to provide relevant data from within callers directly instead of fetching globals TYPO3_REQUEST, calling GeneralUtility::_GP() and GeneralUtility::getIndpEnv(). * For TypoScript 'condition' expression handler usages, the frontend/backend related ConditionMatcher classes are obsoleted. The IncludeTreeConditionMatcherVisitor class within the new TypoScript parser is now the construct that prepares TypoScript relevant variables to initialize the symfony expression language construct, and gets variables actively hand over. * The default provider now prepares variables from state that can be injected, the entire ProviderInterface no longer relies on runtime state from globals. * Access to runtime Request object is streamlined: Especially PageTsConfig and UserTsConfig can not rely on a given request object since the DataHandler uses this a well, which denies systematic usage of request related data. This is deprecated. * The ProviderInterface config handling should still be streamlined towards a symfony service provider approach. The current solution is kept for now, an @todo is added to briefly outline on how this should be changed in v13 as a breaking change. * Note this patch avoids the last core usage of GeneralUtility::_GP() which will be deprecated with another patch. Additionally, a hard to fix call to GeneralUtility::getIndpEnv() is avoided. Change-Id: I476b69776e950a5a7e5ed937d2e2c58fe00f133f Resolves: #100047 Related: #97816 Releases: main Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/77981 Tested-by:
core-ci <typo3@b13.com> Reviewed-by:
Stefan Bürk <stefan@buerk.tech> Reviewed-by:
Benni Mack <benni@typo3.org> Tested-by:
Benni Mack <benni@typo3.org> Tested-by:
Stefan Bürk <stefan@buerk.tech> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch>
-
- Feb 04, 2023
-
-
Christian Kuhn authored
The entire bootstrap tooltips plugin and Backend handling is problemetic. The patch removes usages throughout the Backend to rely solely on native browser title attributes on hover for now. Reasons: * Usage within the Backend is very inconsistent: Some modules use 'bs-toggle="tooltip"', some do, but then don't initialze JS accordingly, many don't take care at all. * The placement of tooltips is inconsistent: Some modules rely on auto placement, some don't take care, some get it right. * The plugin is fiddly: There are various hacks to for instance toggle-off on scroll, or toggle-off when a modal is overlayed to not stay on-top-of modals, these sort of things. Browser title hovers always get this right. * Usages are buggy: The page tree sometimes still fails to remove tooltips, which then tend to stay until browser reload. The list module shows both a browser hover plus the tooltip at the same time on icons, ext:form shows funny placement in preview-mode. There are more modules that get details wrong than those that work flawlessly. * Tooltips that add a lot of valuable information are problematic from an accessibility point of view. It's better to refactor UI to not rely on them too much. By avoiding bootstrap tooltips for now, we encourage to think more about properly accessible solutions instead of putting things into a "nice" overlay. With the patch, various places now fall back to the title attribute, which is also problematic, see [1] for more information. The core will continue to improve the situation with further patches and will document better best practices. * Tooltips with a lot of additional information are a no-go on touch devices. * The plugin is slow with many elements. This is easily reproducible with the "List" module, which is noticeable quicker when relying on title tags alone on weaker clients. [1] https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/title#accessibility_concerns Resolves: #99811 Resolves: #99428 Resolves: #99089 Resolves: #98061 Resolves: #97047 Resolves: #93022 Related: #89872 Releases: main Change-Id: I3cb8f0ca5e65a2c4b74d023935e1bef26c592ffd Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/77664 Tested-by:
Michael Telgkamp <michael.telgkamp@mindscreen.de> Tested-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:
Jasmina Ließmann <minapokhalo+typo3@gmail.com> Reviewed-by:
Jasmina Ließmann <minapokhalo+typo3@gmail.com> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch>
-
- Feb 01, 2023
-
-
Stefan Bürk authored
Support for json database field has been added basicly with #99062 and #99226. That popped up an issue with handling data of this field in DataHandler, which has been addressed within #99279. First real usage of this new field type has been added with the introduction of the new `ext:reactions`, which is also the first battleground for this field type. Using `ext:reactions` revealed an oversight regarding the proper representation and handling of the "json" field and data in the well known history&undo feature. To create "human-readable" data representation the `BackendUtilility::getProcessedValue()` method is used. This method expects to return string of the represented data, so it can compared by the diff utility. The value for json fields are the decoded value, and is therefore most likely an array. This change used `json_encode()` to prepare the value for the human-readable representation. This gives us a nice view and avoids the issue with the annoying array to string conversion warning. Resolves: #99277 Related: #98373 Related: #99279 Related: #99226 Related: #99062 Releases: main Change-Id: I4d9b80c86b4cc8fe3e1f65a7b8a62d9bcfa1ef4f Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/77608 Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Stefan Bürk <stefan@buerk.tech> Tested-by:
Stefan Bürk <stefan@buerk.tech> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Stefan Froemken <froemken@gmail.com> Reviewed-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Stefan Froemken <froemken@gmail.com>
-
- Jan 30, 2023
-
-
Christian Kuhn authored
* Render "Available constants from site settings" if any * Render used conditions if any * Allow to show comments and constant substitutions * Improve client side search * Do not persist expand/collapse state when searching, to go back to previous expand/collapse state when clearing search term * Codebase overhaul avoiding of intermediate view helpers * Minor adaptions and cleanups in related modules Resolves: #99747 Related: #99563 Related: #99602 Releases: main Change-Id: Ib52fa51295adff5470b8b62a702a236390410a7b Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/77599 Tested-by:
Andreas Fernandez <a.fernandez@scripting-base.de> Reviewed-by:
Nikita Hovratov <nikita.h@live.de> Reviewed-by:
Andreas Fernandez <a.fernandez@scripting-base.de> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Nikita Hovratov <nikita.h@live.de>
-
- Jan 26, 2023
-
-
Thomas Hohn authored
If fe_groups are deleted building the labels for the fe_groups in titleAttribForPages will throw a PHP warning. Resolves: #99712 Releases: main, 11.5 Change-Id: I61a340b74096c0da6eccc2eb0cd425c9fe02b71c Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/77600 Tested-by:
core-ci <typo3@b13.com> Tested-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Oliver Klee <typo3-coding@oliverklee.de> Tested-by:
Stefan Bürk <stefan@buerk.tech> Reviewed-by:
Stefan Bürk <stefan@buerk.tech> Reviewed-by:
Torben Hansen <derhansen@gmail.com>
-