- Mar 29, 2023
-
-
Alexander Schnitzler authored
During the removal of the ObjectManager (Extbase), the way the DataMapper instantiates entities when thawing objects, i.e. fetching a database row and transform it back into an entity object, changed. doctrine/instantiator had been used to create empty objects, i.e. creating objects without calling their constructor. Now, entities with constructors cannot be thawed any longer. To bring back this way of working (which existed for as long as Extbase itself does), doctrine/instantiator is brought back and used. > composer req doctrine/instantiator:^2.0 Releases: main Resolves: #100207 Related: #96208 Change-Id: Iabaddb2a027ea208c0eee75c26ea53f36e7e3285 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/78051 Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Daniel Goerz <daniel.goerz@b13.com> Tested-by:
Oliver Klee <typo3-coding@oliverklee.de> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Daniel Goerz <daniel.goerz@b13.com> Reviewed-by:
Oliver Klee <typo3-coding@oliverklee.de>
-
Nikita Hovratov authored
Only the table "tt_content" overrides the label for the sys_language_uid field on palette level with "EXT:frontend/.../locallang_ttc.xlf:sys_language_uid_formlabel". However, this label is exactly the same as "EXT:core/.../locallang_general.xlf:LGL.language". Therefore, the first mentioned label is removed in favour of the original one. Note: The second label was probably introduced in 2010 when the original field contained "Language:" (with colons at the end). This has been removed in the meantime. See commit: b6fb9732 Resolves: #100344 Releases: main Change-Id: I8285cf95b9c0b9bd583bb6a6d63c9d29db7e3467 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/78316 Tested-by:
core-ci <typo3@b13.com> 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:
Christian Kuhn <lolli@schwarzbu.ch>
-
Peter Kraume authored
The redirects backend module should have precedence before the Page TSConfig and the TypoScript module. Resolves: #100340 Releases: main Change-Id: I7f0c56c59b9f7b6ac3d850087b6764a7ac1eb3be Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/78309 Reviewed-by:
Andreas Fernandez <a.fernandez@scripting-base.de> Tested-by:
core-ci <typo3@b13.com> Reviewed-by:
Benni Mack <benni@typo3.org> Tested-by:
Benni Mack <benni@typo3.org> Tested-by:
Andreas Fernandez <a.fernandez@scripting-base.de>
-
- Mar 28, 2023
-
-
Josef Glatz authored
Releases: main, 11.5 Resolves: #100339 Change-Id: I4b24fdced525703367da88981d8d9996e14fda9f Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/78307 Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
core-ci <typo3@b13.com>
-
Oliver Klee authored
Add type declarations to help static code analysis and to improve code readability. Resolves: #100328 Releases: main Change-Id: Ic7ef004fea08e6e4210b271ecedd1f04372501ba Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/78280 Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
core-ci <typo3@b13.com> Reviewed-by:
Stefan Bürk <stefan@buerk.tech> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Stefan Bürk <stefan@buerk.tech>
-
Tobias Gaertner authored
There are several checks related to array key '_CURRENT_VERSION' on versioned records. Since PHP 8 those checks are not safe anymore and can result in errors. Releases: main, 11.5 Resolves: #100336 Change-Id: I8b5a956a987a3d8c9690e824e0fccfd6570e0069 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/78301 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:
core-ci <typo3@b13.com> Tested-by:
Stefan Bürk <stefan@buerk.tech> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch>
-
Oliver Klee authored
- use first-class callables - add type declarations Resolves: #100326 Releases: main Change-Id: I258fb22ea32fe7fe6deac1014b18ea3f9ae68821 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/78279 Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
core-ci <typo3@b13.com>
-
Chris Müller authored
Resolves: #100331 Related: #96147 Related: #99746 Related: #99802 Related: #99803 Related: #99834 Releases: main Change-Id: Icf6df514510dc3bd45fc824b15085963bda42fe2 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/78295 Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Stefan Bürk <stefan@buerk.tech> Tested-by:
Stefan Bürk <stefan@buerk.tech>
-
Christian Kuhn authored
"True" MM relations (intermediata table with uid_local and uid_foreign columns, and no TCA for this table) are still hard to configure in TYPO3. One reason is the amount of TCA config options: It's often not clear to developers which ones need to be set, and which ones are optional or useless. One of the 'useless' options is MM_insert_fields: It allows setting a column in the intermediate table to a configured value. Intermediate tables are transparent in TYPO3: They are fully managed by the system, there is not way to edit them within the framework. As such, having an additional column within intermediate tables that carry some value, is useless. Looking at usages within extensions of MM_insert_fields, it turns out developers typically confuse it with MM_match_fields (this config is a story on its own). Developers simply tend to set both MM_insert_fields and MM_match_fields to the same value "to be sure". The patch deprecates MM_insert_fields without substitution in v12. TYPO3 v13 will actively remove this config option from TCA. Resolves: #100335 Releases: main Change-Id: I7832321fb3bcbfc00bb6f288c6f0cd5ceb41dc64 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/78297 Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Benni Mack <benni@typo3.org> Tested-by:
Stefan Bürk <stefan@buerk.tech> Reviewed-by:
Stefan Bürk <stefan@buerk.tech> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch>
-
Sebastian Klein authored
The content element "Section index of subpages from selected pages" now also respects the setting "Show in Section Menus". Resolves: #100262 Releases: main, 11.5 Change-Id: I92c52cd48c0732410ded00c508fdd16633d67035 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/78218 Tested-by:
core-ci <typo3@b13.com> Reviewed-by:
Benni Mack <benni@typo3.org> Tested-by:
Andreas Fernandez <a.fernandez@scripting-base.de> Reviewed-by:
Andreas Fernandez <a.fernandez@scripting-base.de> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch>
-
Chris Müller authored
Resolves: #100332 Releases: main Change-Id: I10bf6b31ff0eba3bdce69b0c512836c77a269baf Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/78296 Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
core-ci <typo3@b13.com> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch>
-
Benni Mack authored
Change-Id: I890274b2574c6af78b9406df0f89557ba7998425 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/78293 Tested-by:
Benni Mack <benni@typo3.org> Tested-by:
core-ci <typo3@b13.com> Reviewed-by:
Benni Mack <benni@typo3.org>
-
Benni Mack authored
Change-Id: I4ee75d7c8f3c5a24f43fa0c0b04ce0762dfc77c1 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/78292 Reviewed-by:
Benni Mack <benni@typo3.org> Tested-by:
Benni Mack <benni@typo3.org>
-
Andreas Nedbal authored
This feature adds the CKEditor Inspector to backend RTE forms in Development context with $GLOBALS['TYPO3_CONF_VARS']['BE']['debug'] or the CKEditor configuration `editor.config.debug` being set. The Inspector aids plugin developers in debugging the intermediate CKEditor model. Resolves: #100284 Releases: main Change-Id: Ie18cd6c0b9854304fd3cbea521f5a434d4520a0e Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/78243 Reviewed-by:
Andreas Fernandez <a.fernandez@scripting-base.de> Tested-by:
Andreas Fernandez <a.fernandez@scripting-base.de> Tested-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Benni Mack <benni@typo3.org> Tested-by:
core-ci <typo3@b13.com>
-
- Mar 27, 2023
-
-
Christian Kuhn authored
phpunit ^10 expects test data providers to be static. Using rector rule StaticDataProviderClassMethodRector, this bulk change adapts most of them in typo3/sysext/*/Tests/Functional. A couple of data providers use $this, those are left out for now and need to be adapted with dedicated patches since they need more refactoring. Resolves: #100325 Related: #100264 Related: #100249 Releases: main Change-Id: I0ad91f00e04b0a658976a584c697bf0465c094ed Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/78281 Tested-by:
Oliver Klee <typo3-coding@oliverklee.de> Reviewed-by:
Stefan Bürk <stefan@buerk.tech> Reviewed-by:
Oliver Klee <typo3-coding@oliverklee.de> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Stefan Bürk <stefan@buerk.tech>
-
Wouter Wolters authored
To prevent issues when upgrading to Symfony 6.3.x-dev the return type of TextDescriptor::describeApplication is changed to void. Releases: main Resolves: #100324 Change-Id: I4663202abda3ef49287306bde0125af223d1b026 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/78278 Reviewed-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Oliver Klee <typo3-coding@oliverklee.de> Tested-by:
Benni Mack <benni@typo3.org> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Andreas Fernandez <a.fernandez@scripting-base.de> Reviewed-by:
Andreas Fernandez <a.fernandez@scripting-base.de>
-
Stefan Bürk authored
With #99629 outgoing webhooks has been implemented. This also provide a simple way to create custom webhook messages for any PSR-14 event. Therefore, the `RedirectWasHit` event can be used to provide an additional webhook type and showcase the needed steps to add this for a core PSR-14 event. This change provides a webhook message for the already existing PSR-14 `RedirectWasHitEvent` of `ext:redirects`. Resolves: #100305 Related: #99629 Releases: main Change-Id: If63a665571402f9491c8a576516ec25080e7c31c Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/78261 Tested-by:
core-ci <typo3@b13.com> Tested-by:
Andreas Fernandez <a.fernandez@scripting-base.de> Reviewed-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Andreas Fernandez <a.fernandez@scripting-base.de> Tested-by:
Benni Mack <benni@typo3.org>
-
Christian Kuhn authored
setMethodsExcept() on mocks has been removed with phpunit 10. There are three usages in one test case, those can be converted to onlyMethods() easily. Resolves: #100323 Related: #100249 Releases: main Change-Id: Ifa2a992971727e5deed8e32a2b33a71dbb6efb99 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/78277 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:
Wouter Wolters <typo3@wouterwolters.nl> Reviewed-by:
Wouter Wolters <typo3@wouterwolters.nl> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch>
-
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>
-
Torben Hansen authored
A new PSR-14 event `EnrichPasswordValidationContextDataEvent` is introduced to allow extension authors to enrich the `ContextData` DTO before a password is validated against a password policy. Additionally, the `ContextData` DTO in the `PasswordReset` class now includes the backend user username and realName attribute, which can be used in custom password policy validators. Resolves: #100294 Releases: main Signed-off-by:
Torben Hansen <derhansen@gmail.com> Change-Id: I395a0eb75749c12c4beac3611c436209c07844cf Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/78259 Tested-by:
Oliver Hader <oliver.hader@typo3.org> Tested-by:
core-ci <typo3@b13.com> Reviewed-by:
Simon Schaufelberger <simonschaufi+typo3@gmail.com> Tested-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Oliver Hader <oliver.hader@typo3.org>
-
Oliver Klee authored
see https://www.php.net/manual/en/functions.first_class_callable_syntax.php Resolves: #100315 Releases: main Change-Id: Ib915e7329d2a803dca241f533e0297c4cd13e204 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/78270 Reviewed-by:
Wouter Wolters <typo3@wouterwolters.nl> Tested-by:
Wouter Wolters <typo3@wouterwolters.nl> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Nikita Hovratov <nikita.h@live.de> Reviewed-by:
Nikita Hovratov <nikita.h@live.de>
-
Oliver Klee authored
This improves both code readability as well as type safety in the tests. Resolves: #100313 Releases: main Change-Id: Ib647d5107f48564e847e8c6a9444ae25f83175e7 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/78268 Tested-by:
Nikita Hovratov <nikita.h@live.de> Tested-by:
Wouter Wolters <typo3@wouterwolters.nl> Tested-by:
core-ci <typo3@b13.com> Reviewed-by:
Wouter Wolters <typo3@wouterwolters.nl> Reviewed-by:
Nikita Hovratov <nikita.h@live.de>
-
Oliver Klee authored
- use parameter and return type declarations - use the same parameter names as in the mocked method - drop useless `self::anything()` calls - drop `self::isType()` calls that duplicate the native type declarations This improves code readability and type safety in the tests. Resolves: #100314 Releases: main Change-Id: Icc572eb327b09b05f8637a7d91eb7bc7188344be Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/78269 Tested-by:
core-ci <typo3@b13.com> Tested-by:
Wouter Wolters <typo3@wouterwolters.nl> Reviewed-by:
Wouter Wolters <typo3@wouterwolters.nl> Reviewed-by:
Nikita Hovratov <nikita.h@live.de> Tested-by:
Nikita Hovratov <nikita.h@live.de>
-
Benni Mack authored
The list module shows the dropdown of possible translations now in the same automatic width (instead of the full width) - the same way as in page module. Resolves: #100306 Releases: main Change-Id: I94dfd93f2d94a73b90a839183590da613af0cf84 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/78262 Reviewed-by:
Andreas Fernandez <a.fernandez@scripting-base.de> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Andreas Fernandez <a.fernandez@scripting-base.de> Tested-by:
Georg Ringer <georg.ringer@gmail.com> Reviewed-by:
Georg Ringer <georg.ringer@gmail.com>
-
Christian Kuhn authored
* Static DP * Avoid withConsecutive() - kinda useless in this case anyways * Don't use $this in DP Resolves: #100320 Related: #100249 Releases: main Change-Id: Ia1fbdf1152786037f5bb9c9295ed3f57491000d5 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/78274 Tested-by:
Stefan Bürk <stefan@buerk.tech> Tested-by:
Wouter Wolters <typo3@wouterwolters.nl> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
core-ci <typo3@b13.com> Reviewed-by:
Wouter Wolters <typo3@wouterwolters.nl> Reviewed-by:
Stefan Bürk <stefan@buerk.tech>
-
Christian Kuhn authored
phpunit 10 expects files that end with Test.php to contain tests. Two fixture files are renamed since phpunit detects them as test cases, but they are not. Resolves: #100321 Related: #100249 Releases: main Change-Id: Icdf0cc44328c7687544e90c612128b1db2ea48fc Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/78275 Tested-by:
Wouter Wolters <typo3@wouterwolters.nl> Reviewed-by:
Wouter Wolters <typo3@wouterwolters.nl> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Stefan Bürk <stefan@buerk.tech> Tested-by:
Stefan Bürk <stefan@buerk.tech> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch>
-
Alexander Schnitzler authored
Releases: main Resolves: #100283 Change-Id: I9281b4d8b276fda9628a4fbac085ca7b82ebf95f Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/78240 Reviewed-by:
Nikita Hovratov <nikita.h@live.de> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Nikita Hovratov <nikita.h@live.de>
-
Benni Mack authored
A new TypoScript cObject "EXTBASEPLUGIN" is added for Extbase plugins to allow Extbase authors to not reference the Extbase Bootstrap class anymore. This way, newcomers do not have to worry about running defining USER/USER_INT things, which is not relevant for them. As most existing users use the API, it does not matter much, except for places. In the future, Extbase logic can / should be moved to the Extbase Plugin Content Object, while removing the dependency on the ConfigurationManager and the cacheable actions from the Bootstrap and RequestBuilder classes. At the current point, this is very much convenience and helps to further document to distinguish between Plugins (= PHP code) and regular Content Types. Resolves: #100293 Releases: main Change-Id: Ia3a7cceddd9f93dc606c3194828d26bed5a8f2b2 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/76517 Tested-by:
Andreas Fernandez <a.fernandez@scripting-base.de> Reviewed-by:
Jochen <rothjochen@gmail.com> Tested-by:
Jochen <rothjochen@gmail.com> Reviewed-by:
Andreas Fernandez <a.fernandez@scripting-base.de> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Georg Ringer <georg.ringer@gmail.com> Reviewed-by:
Georg Ringer <georg.ringer@gmail.com>
-
Benni Mack authored
Two new Events are added * TYPO3\CMS\Core\Authentication\Event\BeforeUserLogoutEvent * TYPO3\CMS\Core\Authentication\Event\AfterUserLoggedOutEvent * TYPO3\CMS\Core\Authentication\Event\AfterUserLoggedInEvent They should be used instead of the hooks: * $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_userauth.php']['logoff_pre_processing'] * $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_userauth.php']['logoff_post_processing'] * $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_userauthgroup.php']['backendUserLogin'] as they are now deprecated. This is an ongoing effort to remove hooks and use a better and more flexible PSR-14-based EventListener system. Resolves: #100307 Releases: main Change-Id: Iec5f96cc052ad5da572c2ba19c77da80a30025f3 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/78263 Tested-by:
core-ci <typo3@b13.com> Tested-by:
Andreas Fernandez <a.fernandez@scripting-base.de> Reviewed-by:
Andreas Fernandez <a.fernandez@scripting-base.de> Tested-by:
Stefan Bürk <stefan@buerk.tech> Reviewed-by:
Stefan Bürk <stefan@buerk.tech>
-
Christoph Lehmann authored
This extends the AdminPanel toolbar with more important metrics: * Peak memory usage * Amount of SQL queries * Time spent doing SQL queries Resolves: #100167 Releases: main Change-Id: I40dc57491188ea65656bde66cb181f134085b308 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/77007 Tested-by:
core-ci <typo3@b13.com> Tested-by:
Andreas Fernandez <a.fernandez@scripting-base.de> Reviewed-by:
Andreas Fernandez <a.fernandez@scripting-base.de> Tested-by:
Stefan Bürk <stefan@buerk.tech> Reviewed-by:
Stefan Bürk <stefan@buerk.tech>
-
Andreas Fernandez authored
The `SearchRepository` class used in the LiveSearch is now able to handle pagination, allowing to render a pagination in the search modal window. The `SearchProviderInterface` received a new method `count()` used to calculcate the amount of potential results. Since pagination is available now, the "Show all" button in the LiveSearch serves no real purpose anymore and is therefore removed. Resolves: #100289 Releases: main Change-Id: I2f1f431d8d385d0ba1963483c2dd34b1e44cca67 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/78232 Tested-by:
core-ci <typo3@b13.com> Tested-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Guido Schmechel <guido.schmechel@brandung.de> Tested-by:
Guido Schmechel <guido.schmechel@brandung.de>
-
Stefan Bürk authored
It's possible that project instances are configured to use RouteEnhancers and RouteDecorators, e.g. PageTypeSuffix RouteDecorater with a suffix for page type "0" (zero) like ".html". Until now, only the slug-field value has been used as source path for auto created redirects, which neglected to respect these route configuration possibilities. That means that a proper redirect hasn't been create if for e.g. the ".html" suffix has been configured for page type "0". Since #99188 introduced the "SlugRedirectChangeItemCreatedEvent" it's possible to add further source types, for which redirects are created. This change provides the "PageTypeSource" as new generic source type for page type based sources. The TYPO3 core adds a listener to build an URI with page type "0" and adds this to the current change item as source. This added `PageTypeSource` will replace the `PlainSlugReplacementSource` if the source host and path are the same - it overrules it to avoid duplicate redirects. That means, if both are providing different source information both are kept and two different redirects are created. Extension authors can now use the new PageTypeSource type to provide additional sources for other page types registering a custom "SlugRedirectChangeItemCreatedEvent" listener - or remove the "PlainSlugReplacementSource" if needed. With this event based solution configuration options are kept simple. Resolves: #94499 Related: #99746 Releases: main Change-Id: Ic4feb8de1b05ba9d06dce2acaa0537ab39245e92 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/77195 Tested-by:
core-ci <typo3@b13.com> Reviewed-by:
Stefan Froemken <froemken@gmail.com> Tested-by:
Andreas Fernandez <a.fernandez@scripting-base.de> Reviewed-by:
Andreas Fernandez <a.fernandez@scripting-base.de> Tested-by:
Stefan Froemken <froemken@gmail.com> Tested-by:
Stefan Bürk <stefan@buerk.tech> Reviewed-by:
Stefan Bürk <stefan@buerk.tech>
-
Christian Kuhn authored
Rename AbstractSoftReferenceParserTest to AbstractSoftReferenceParserTestCase to prevent a phpunit 10 warning that class names ending with "Test" should not be abstract. Resolves: #100316 Related: #100249 Releases: main Change-Id: I85557a1cbda3ac96a1b9baad151cff160123819a Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/78271 Tested-by:
core-ci <typo3@b13.com> Reviewed-by:
Nikita Hovratov <nikita.h@live.de> Tested-by:
Nikita Hovratov <nikita.h@live.de>
-
Oliver Hader authored
Add the possibility to extend the Content-Security-Policy model by cryptographic hashes - which can either be static or a dynamic proxy: * `$type = HashType::sha256;` * `new HashValue('<base64-hash>', $type);` * `HashProxy::glob('EXT:my/Resources/Public/*.js')->withType($type);` * `HashProxy::urls('https://example.org/worker.js')->withType($type);` Resolves: #100141 Related: #99499 Releases: main Change-Id: I7a3ee4fdea2c87bce9fc013688ffba7f21b680aa Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/78102 Reviewed-by:
Andreas Fernandez <a.fernandez@scripting-base.de> Tested-by:
Benni Mack <benni@typo3.org> Tested-by:
core-ci <typo3@b13.com> Reviewed-by:
Benni Mack <benni@typo3.org> Tested-by:
Andreas Fernandez <a.fernandez@scripting-base.de>
-
Nikita Hovratov authored
Due to a missing file suffix check, @import for tsconfig was included twice, while it was looping through the possible ".typoscript" an ".tsconfig" file suffixes. This is now fixed by making sure that the absolute file name ends with the current file suffix. Resolves: #100240 Related: #97816 Releases: main Change-Id: I1f8acdddd60b257b93ce0ca21aee3434947fa999 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/78200 Reviewed-by:
Benni Mack <benni@typo3.org> 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>
-
Christian Kuhn authored
* Submodule drop-down is shown on page 0 as well since page TSconfig is typically available on page 0 as well * Rename route pagetsconfig_records to pagetsconfig_pages * Headline improvements for page 0 Change-Id: I01eb793124042c34ad4aa21b6dceb058d1f3d9d8 Resolves: #100310 Releases: main Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/78265 Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> 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> Tested-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Benni Mack <benni@typo3.org> Tested-by:
core-ci <typo3@b13.com>
-
Max Frerichs authored
A user who's about to log in into the backend is now able to reveal the typed password. Once the password field is cleared, the visibility mode automatically switches back to its default to avoid revealing sensitive data by accident. Resolves: #86880 Releases: main Change-Id: I3c45730e2bed9a71371e472729edf12c29bf5860 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/75380 Tested-by:
Andreas Fernandez <a.fernandez@scripting-base.de> Reviewed-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Andreas Fernandez <a.fernandez@scripting-base.de> Tested-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Simon Schaufelberger <simonschaufi+typo3@gmail.com> Tested-by:
core-ci <typo3@b13.com>
-
Alexander Schnitzler authored
This patch introduces ColumnMap\Relation enum as a replacement for the former ColumnMap::RELATION_* class constants. Releases: main Resolves: #100272 Change-Id: I517bd3ed30815e1bc51845ae2739121999ca5863 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/78230 Reviewed-by:
Nikita Hovratov <nikita.h@live.de> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Benni Mack <benni@typo3.org> Tested-by:
Nikita Hovratov <nikita.h@live.de>
-
Jochen Roth authored
The group of "Not assigned to any task group" can not be collapsed anymore. This has been fixed by adding the correct id, so the element to collapse is found and collapsed again. Resolves: #100308 Releases: main Change-Id: I08c705cea67d03c02667cc6753752b385339733f Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/78264 Tested-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Benni Mack <benni@typo3.org> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch>
-
Torben Hansen authored
The default value for a confirmation is currently not respected in the install tool on UI level and a confirmation dialog will always show the "deny" button as selected. On CLI level the default value is however taken into account. This change sets the default value of the confirm dialog buttons depending on the `defaultValue` property of the confirmation. If the `defaultValue` is `true`, the "confirm" button is selected, otherwise the "deny" button is selected. Resolves: #100291 Releases: main, 11.5 Signed-off-by:
Torben Hansen <derhansen@gmail.com> Change-Id: Iee6e89c61cc5ad7117f7e565b42d39bd82ce26f9 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/78246 Reviewed-by:
Nikita Hovratov <nikita.h@live.de> Tested-by:
Oliver Hader <oliver.hader@typo3.org> Reviewed-by:
Oliver Hader <oliver.hader@typo3.org> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Nikita Hovratov <nikita.h@live.de>
-