- Oct 24, 2023
-
-
Christian Kuhn authored
It's time to update to latest changes of php-cs-fixer to align with current community rules. This brings a rather huge series of changes, main changes due to single_line_empty_body rule which now formats empty class and method body curly braces into a single line, plus changes from function_declaration rule which tends to avoid more whitespaces. The change has a slight impact on phpstan, we regenerate baseline. To reduce backport headaches, this change is backported to v12 and v11. > composer req --dev friendsofphp/php-cs-fixer:^3.35.1 > Build/Scripts/runTests.sh -s cgl > Build/Scripts/runTests.sh -s phpstanGenerateBaseline Resolves: #102236 Releases: main, 12.4, 11.5 Change-Id: Iea45b10667951672b2194033216c49f580799f55 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/81513 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:
core-ci <typo3@b13.com>
-
- Oct 23, 2023
-
-
Jasmina Ließmann authored
The "Limit history to this record" link in the record history module is broken and always uses the same link value. With this patch the correct value will be used. Resolves: #102234 Releases: main, 12.4 Change-Id: Iaf013b82746b03892d295ed8b8a67c3f8c63fbc6 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/81468 Tested-by:
Jasmina Ließmann <minapokhalo+typo3@gmail.com> Tested-by:
core-ci <typo3@b13.com> Reviewed-by:
Jasmina Ließmann <minapokhalo+typo3@gmail.com>
-
Christian Kuhn authored
When a page with a content element that has images assigned is copied in workspaces, a PHP array access error is raised since sys_file_reference TCA has no sortby ctrl. Add an appropriate null fallback. Resolves: #102231 Releases: main, 12.4, 11.5 Change-Id: I453a612a62a359156c8be2e087d1d121f1b9c3ea Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/81466 Tested-by:
core-ci <typo3@b13.com> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch>
-
Uwe Trotzek authored
This change transforms the processed record of FlexForms into a human-readable format. This is especially useful when comparing changes in the history module or the workspaces diff view. The diff needs to be formatted with line breaks and tabs as the output is passed through "htmlspecialchars" before it will be displayed. The white-space css setting needs to be changed to "pre-wrap", because this is the only setting where line breaks and tabs are kept and the text will still be word-wrapped. Resolves: #91148 Releases: main, 12.4 Change-Id: I189555f459a3a96594e9c708b4ee71c908efd970 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/75117 Tested-by:
Stefan Bürk <stefan@buerk.tech> Reviewed-by:
Nikita Hovratov <nikita.h@live.de> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Nikita Hovratov <nikita.h@live.de> Tested-by:
Anja Leichsenring <aleichsenring@ab-softlab.de> Reviewed-by:
Anja Leichsenring <aleichsenring@ab-softlab.de> Reviewed-by:
Stefan Bürk <stefan@buerk.tech> Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/81508
-
Christoph Lehmann authored
The PreviewSimulator might turn on the includeHiddenPages flag in VisibilityAspect due to hidden pages in current the rootline. The flag is now taken into account when generating the rootline cache identifier and thus the rootline cache doesn't need to get flushed. Resolves: #102205 Related: #17599 Releases: main, 12.4 Change-Id: If5246c9297d00071852968d48801d35f4060d110 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/81465 Reviewed-by:
Benni Mack <benni@typo3.org> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Benni Mack <benni@typo3.org>
-
Josef Glatz authored
This patch improves the readability of the record history view of an element which was edited in switchTo mode by showing the original user always on a new line. div tags are used instead of span tags, to reduce any dependency on bootstrap classes for displaying an element as display:block. Resolves: #102200 Related: #102091 Releases: main, 12.4 Change-Id: I873711d4be6651ff15ae82e0bd7cbc4c6bf16e26 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/81464 Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
core-ci <typo3@b13.com>
-
- Oct 22, 2023
-
-
Nikita Hovratov authored
RuntimeException is never thrown in the executed code of ImageViewHelper. Reason is, that the image either is inside the fallback storage "0" or it was already caught by InvalidArgumentException catch block. For reference: There is no way to find out, which RuntimeException the author meant to catch. I assume it was the one in AbstractFile->getStorage (code: 1381570091). Resolves: #102223 Related: #71686 Releases: main, 12.4 Change-Id: Ia08c085a13c29b4188f955887dcaa0410c2f47b0 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/81463 Tested-by:
Nikita Hovratov <nikita.h@live.de> Tested-by:
core-ci <typo3@b13.com> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Nikita Hovratov <nikita.h@live.de>
-
Nikita Hovratov authored
This is a follow-up patch for #102220. A dedicated fileadmin path has been added for ImageViewHelperTest and unnecessary fixtures are removed. In addition, error message checks are added for the invalidArgument test cases in order to clarify, what exactly is supposed to go wrong. Resolves: #102221 Related: #102220 Releases: main, 12.4 Change-Id: I03404c5f15f1a67032fce01febc4a9a5214373f6 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/81462 Reviewed-by:
Nikita Hovratov <nikita.h@live.de> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Nikita Hovratov <nikita.h@live.de>
-
Nikita Hovratov authored
- Remove duplicate test case for src="" and image="null" - Avoid instantiating ImageViewHelper with "new" -> use TemplateView - Add missing scenarios for possible exceptions Resolves: #102220 Releases: main, 12.4 Change-Id: I18b5cdbe7471a53ebb57bbe5521fecc051a24d26 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/81461 Reviewed-by:
Nikita Hovratov <nikita.h@live.de> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Nikita Hovratov <nikita.h@live.de>
-
- Oct 20, 2023
-
-
Nikita Hovratov authored
In order to align with the current specification of .editorconfig, all xml files inside typo3/sysext and Build have their tabs replaced with 4 spaces. Executed commands: find ./typo3/sysext/ -type f -name "*.xml" \ -exec sed -i 's/\t/ /g' {} \; find ./Build -name "*.xml" -not -path "./Build/node_modules/*" \ -exec sed -i 's/\t/ /g' {} \; Note: Manual adjustment in some impexp fixtures have been done to keep tabs as there is a database version of FlexForm stored. Resolves: #102199 Releases: main, 12.4 Change-Id: I146e3ad53b1b6afdd5a7f5f725a409c301ecead1 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/81489 Tested-by:
Oliver Klee <typo3-coding@oliverklee.de> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Nikita Hovratov <nikita.h@live.de> Reviewed-by:
Nikita Hovratov <nikita.h@live.de> Reviewed-by:
Oliver Klee <typo3-coding@oliverklee.de>
-
Simon Schaufelberger authored
Most fixes relate to indefinite article usage "an vs a" and some typos. Resolves: #102074 Releases: main, 12.4, 11.5 Change-Id: Ief07759697828d94edde8902a912719f82b2b798 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/81486 Reviewed-by:
Benjamin Franzke <ben@bnf.dev> Tested-by:
Benjamin Franzke <ben@bnf.dev> Tested-by:
core-ci <typo3@b13.com>
-
- Oct 19, 2023
-
-
Simon Praetorius authored
It is already possible to use the "value" argument together with "property" in form ViewHelpers. This should be reflected in the ViewHelper documentation. One possible use case is a form to edit a user. For the password field you would want to define property="password", but also value="" to not expose the current password hash to the form. Resolves: #102206 Releases: main, 12.4, 11.5 Change-Id: I3c7b1a201e38ccef84efcc863075043cf461dd20 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/81459 Tested-by:
Simon Praetorius <simon@praetorius.me> Reviewed-by:
Simon Praetorius <simon@praetorius.me>
-
Andreas Kienast authored
Executed commands: npm install --save-dev terser@^5.22.0 npm run build Resolves: #102201 Releases: main, 12.4 Change-Id: I16e9c884f7314b8b38d7587341a57f2777e89986 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/81482 Tested-by:
core-ci <typo3@b13.com> Tested-by:
Andreas Kienast <a.fernandez@scripting-base.de> Reviewed-by:
Andreas Kienast <a.fernandez@scripting-base.de>
-
Andreas Kienast authored
Some dev dependencies have known security issues again, that are now updated. Executed command: npm audit fix Resolves: #102208 Releases: main, 12.4 Change-Id: Ib83c955dbd06d6ba54dc264c4c82315888fe9622 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/81480 Tested-by:
core-ci <typo3@b13.com> Tested-by:
Andreas Kienast <a.fernandez@scripting-base.de> Reviewed-by:
Benjamin Franzke <ben@bnf.dev> Reviewed-by:
Oliver Klee <typo3-coding@oliverklee.de> Tested-by:
Benjamin Franzke <ben@bnf.dev> Tested-by:
Oliver Klee <typo3-coding@oliverklee.de> Reviewed-by:
Andreas Kienast <a.fernandez@scripting-base.de>
-
Oliver Hader authored
The new MutationRepository is a central place for providing static mutations (from configuration) and resolved mutations (static mutations + dynamic resolutions from database). The corresponding logic has been extracted and moved from the PolicyProvider to the new repository. Resolves: #102011 Releases: main, 12.4 Change-Id: Iaa627236fd55fb2c7c910ea7c13b54a1ad7cc663 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/81481 Tested-by:
Benjamin Franzke <ben@bnf.dev> Reviewed-by:
Benjamin Franzke <ben@bnf.dev> Tested-by:
core-ci <typo3@b13.com>
-
Andreas Kienast authored
This commit updates ckeditor5 to v40. See changelog at https://github.com/ckeditor/ckeditor5/releases/tag/v40.0.0. Executed commands: npm i --save \ @ckeditor/ckeditor5-alignment@^40.0.0 \ @ckeditor/ckeditor5-autoformat@^40.0.0 \ @ckeditor/ckeditor5-basic-styles@^40.0.0 \ @ckeditor/ckeditor5-block-quote@^40.0.0 \ @ckeditor/ckeditor5-clipboard@^40.0.0 \ @ckeditor/ckeditor5-code-block@^40.0.0 \ @ckeditor/ckeditor5-core@^40.0.0 \ @ckeditor/ckeditor5-dev-utils@^39.1.0 \ @ckeditor/ckeditor5-editor-classic@^40.0.0 \ @ckeditor/ckeditor5-engine@^40.0.0 \ @ckeditor/ckeditor5-essentials@^40.0.0 \ @ckeditor/ckeditor5-find-and-replace@^40.0.0 \ @ckeditor/ckeditor5-heading@^40.0.0 \ @ckeditor/ckeditor5-horizontal-line@^40.0.0 \ @ckeditor/ckeditor5-html-support@^40.0.0 \ @ckeditor/ckeditor5-indent@^40.0.0 \ @ckeditor/ckeditor5-link@^40.0.0 \ @ckeditor/ckeditor5-list@^40.0.0 \ @ckeditor/ckeditor5-paragraph@^40.0.0 \ @ckeditor/ckeditor5-paste-from-office@^40.0.0 \ @ckeditor/ckeditor5-remove-format@^40.0.0 \ @ckeditor/ckeditor5-show-blocks@^40.0.0 \ @ckeditor/ckeditor5-source-editing@^40.0.0 \ @ckeditor/ckeditor5-special-characters@^40.0.0 \ @ckeditor/ckeditor5-style@^40.0.0 \ @ckeditor/ckeditor5-table@^40.0.0 \ @ckeditor/ckeditor5-theme-lark@^40.0.0 \ @ckeditor/ckeditor5-ui@^40.0.0 \ @ckeditor/ckeditor5-undo@^40.0.0 \ @ckeditor/ckeditor5-utils@^40.0.0 \ @ckeditor/ckeditor5-word-count@^40.0.0 npm run build Resolves: #102198 Releases: main, 12.4 Change-Id: Ie8535118f53f80509985277766b1ed2fb95bf778 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/81476 Tested-by:
Andreas Kienast <a.fernandez@scripting-base.de> Reviewed-by:
Andreas Kienast <a.fernandez@scripting-base.de> Tested-by:
core-ci <typo3@b13.com>
-
- Oct 18, 2023
-
-
Markus Klein authored
`$TCA['ctrl']['title']` is optional and may not be set. Resolves: #102195 Releases: main, 12.4, 11.5 Change-Id: I38a5aa921515f48b2e35a0ebdb8bcdce646b5bd6 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/81457 Reviewed-by:
Andreas Kienast <a.fernandez@scripting-base.de> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Andreas Kienast <a.fernandez@scripting-base.de>
-
Jan Greth authored
The file `settings.php`, which stores the value of $GLOBALS['TYPO3_CONF_VARS']['BE']['installToolPassword'] is located under `config/system/` in Composer-mode. If a project is not set up with composer it is `typo3conf/system/`. The hint next to the Install Tool's login mask spells the wrong path, which is corrected with this patch. Also the difference between legacy and composer setups is taken into account, without exposing information about the projects file structure. Resolves: #102166 Releases: main, 12.4 Change-Id: I5b2313516c1af9623a9c8de8f1dca7bb46fb8ce0 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/81456 Tested-by:
Nikita Hovratov <nikita.h@live.de> Tested-by:
core-ci <typo3@b13.com> Reviewed-by:
Nikita Hovratov <nikita.h@live.de>
-
Christoph Lehmann authored
They are executed to build a descriptive cache identifier and the database name is now received from configuration instead firing an SQL query. SQLite for example does not have a database name, here 'generic' is used as fallback. Resolves: #102174 Releases: main, 12.4 Change-Id: Ic8f46675a850a7fca9508acb7dc1432493437ff3 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/81455 Tested-by:
core-ci <typo3@b13.com> Reviewed-by:
Stefan Bürk <stefan@buerk.tech> Tested-by:
Stefan Bürk <stefan@buerk.tech>
-
Georg Ringer authored
More TCA types must be allowed for field mapping of reactions. Resolves: #102180 Releases: main, 12.4 Change-Id: I33327e7d083f9b31ab8e1764255eb5e7aa111d70 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/81454 Tested-by:
core-ci <typo3@b13.com> Tested-by:
Stefan Bürk <stefan@buerk.tech> Reviewed-by:
Stefan Bürk <stefan@buerk.tech>
-
Benjamin Franzke authored
An `instanceof Type` on `Type|null` is unneeded and is to be replaced by a null-check (or modern alternatives like optional chaning or the null coalescing operator) in order to avoid narrowing code branches unnecessarily. We call them "pseudo" uncertain checks there is no need to express uncertainty regarding the type in a condition where native type declarations define a specific type *or* null: It is `null` or `!null`. Definition of a pseudo uncertain instanceof check: `$foo instanceof Bar` is fully equivalent to `$foo !== null`, when `$foo` is defined (via native PHP types) to be `Bar|null`. ⇒ `instanceof` expresses pseudo uncertainty regarding the type. From what we have seen in previous gerrit discussions, there were two reasons why instanceof was preferred over null checks although being unneeded: 1) Cognitive load for an instanceof check is perceived to be lower in contrast to negated null (not null) conditions 2) Preparatory safe-guard against type of $foo being changed at sometime later 1) Cognitive load is a subjective term and the opinions actually differ a lot. Some developers prefer narrowing instanceof conditions because they claim the desired type for a certain code branch. Some others say that's a clear signal for code that needs refactoring and perceive a high cognitive load because they do not understand why the type is unnecessarily checked if it can only be null or not null. Lets call that: "reverse cognitive load". That means, this argument basically boils down to "congitive load" (for the good "then" case: inner code block) vs "reverse cognitive load" (for the bad "else" case: outer code block) ⇒ Due to being subjective "cognitive load" is not a good argument to base a decision upon. 2) The second argument is that an instanceof ensures a method that is to be called actually exists and doesn't lead to an error – that is a "preparatory safe-guard". This is true and works, but doesn't "answer" the question, what happens if the object is not an instance of the desired type (but not null). While preparatory safe-guards against the type of variable being changed sometime later was probably a pretty good idea for code that is not statically analyzed and had no native type declarations, but such checks effectively preclude that the type must/should never change (which might not be true!) and has no chance of actually detecting when that case (type change/extension) ever happens. All advantages offered by pseudo uncertain instanceof checks are accomplished with static code analysis as well, but with the added downside that an `instanceof` hardcodes our human static code analysis result, instead of letting the static analyzer do the job. To explain that: If the type of the variable under test is actually widened (like a union type, or change to a base class), it will never be automatically detected that there is an instanceof condition that restricts the type too narrowly. It will always be valid code from static code analysis perspective. In comparison to that, static analysis on null-checked variables will report invalid method calls or assignments not allowed by the (natively defined) types and will notify in case a type change requires the code to be adapted. We gain the advantage that the code will not be forgotten to be updated to a new type. That means !== null combined with static code analysis has the same level of being a safeguard against the bad cases, while instanceof silently transforms new "good"-cases into bugs, where !== null is a transparent and secure passthrough. Actually to make an uncertain instanceof robust, an elseif branch would be needed to be somehow notified about new good-cases without silently ignoring them: if ($foo instanceof Foo) { … } elseif ($foo !== null) { throw new MustNeverHappenException(…); } In other words an unneeded pseudo uncertain instanceof check is basically like a switch construct without a default case. Just to be explicit: Of course, instanceof is fine to be used when multiples types are to be expected and handled in different code branches. That means pseudo uncertain instanceof usage instead of null-checks is an antipattern for the following reasons: * It narrow code branches for the sake of less cognitive load * The cognitive load appears to be lower, but actually future-bad cases are overseen and are never auto-detectable in future – while null-checks will resolve to static analysis errors in case the input type is *ever* widened (which uncertain `instanceof` checks try to prepare for, but actually introduce future-bugs because of missing `else` cases) * It embraces deep nesting instead of early returns via null-checks * It embraces conditions over newer and more elegant PHP techniques like optional chaing * Tries to "help" the developer by explicitly anotating the current type of the variable under test ⇒ This is a clear sign of code smell, that needs to refactored into smaller chunks and methods and type autocompletion/information can be provided by IDEs when using proper types (which this change is about) anyway * Has zero advantages over static code analysis Resolves: #102140 Releases: main, 12.4 Change-Id: I10de41e9744a814c9e24255573b5a5eaf6fb8b0f Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/81445 Tested-by:
Benjamin Franzke <ben@bnf.dev> Reviewed-by:
Benjamin Franzke <ben@bnf.dev> Tested-by:
core-ci <typo3@b13.com>
-
- Oct 17, 2023
-
-
Markus Klein authored
'transOrigPointerField' may not be set for a table Resolves: #102190 Releases: main, 12.4, 11.5 Change-Id: I79febf5d99774b5e22d03f42f9088c00fa98dfc4 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/81452 Tested-by:
core-ci <typo3@b13.com> Tested-by:
Stefan Bürk <stefan@buerk.tech> Reviewed-by:
Stefan Bürk <stefan@buerk.tech>
-
- Oct 16, 2023
-
-
Oliver Hader authored
Some database systems like PostgresSQL and MySQL are really picky if selected columns are not contained in all group and order selections or no aggregation method is used (aka 'ONLY_FULL_GROUP_BY'). That may be influenced by server configuration, which makes it really hard to come up with a minmal grouping query if: * not all used `ORDER BY` fields are included in the `GROUP BY` selection * not all `GROUP BY` fields are contained in the `SELECT` field list * Fields in the `SELECT` list are not included in the `GROUP BY` list OR using a aggregation function like `MAX()`, `MIN()`, `AVG(), `SUM()` and similar. Aggregation function cannot be used for non numeric values like `uuid like` strings and prevent to group on a field but retrieve the uinique id (UUID, uid, ) of the `first` or `last` record per group in on query. To get a similar effect through all database vendor and without requiring specific, mostly not default database settings provided by many hosting provider or in default configuration for databases, this change introduces a nested inner join construct with to ensure the same result across multiple systems. Resolves: #101913 Releases: main, 12.4 Change-Id: I28fa36db46d8219fc67a5503509e2a92a71ea6a7 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/81435 Tested-by:
Oliver Hader <oliver.hader@typo3.org> Reviewed-by:
Oliver Hader <oliver.hader@typo3.org> Tested-by:
core-ci <typo3@b13.com>
-
- Oct 15, 2023
-
-
Patrick Schriner authored
The option untrusted is now properly passed to the addQueryString configuration for the menu object. Resolves: #102162 Releases: main, 12.4 Change-Id: Ibdda3dd256d1984f5589c39077f8defc4a4b818a Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/81351 Tested-by:
Stefan Bürk <stefan@buerk.tech> Tested-by:
core-ci <typo3@b13.com> Reviewed-by:
Stefan Bürk <stefan@buerk.tech>
-
Kevin Appelt authored
Make sure the clipboard action gets changed to move if the user chooses cut in the dot menu. Only the dot-menu in the list view was affected. Also removes an unused variable. Resolves: #102144 Releases: main, 12.4 Change-Id: Ic5bee9415292d75c531a82a052c0032fb148024d Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/81432 Tested-by:
core-ci <typo3@b13.com> Tested-by:
Stefan Bürk <stefan@buerk.tech> Reviewed-by:
Stefan Bürk <stefan@buerk.tech>
-
Oliver Klee authored
`getMockForAbstractClass` has been (soft-)deprecated in PHPUnit 10.1: https://github.com/sebastianbergmann/phpunit/issues/5241 Hence, we should replace its usages to follow best practices and avoid deprecation warnings later with PHPUnit 11. We do this by creating dedicated fixture subclasses of the affected abstract classes. This change also cleans up the affected test to better match the setup/execute/verify structure. Resolves: #102117 Related: #101601 Releases: main, 12.4 Change-Id: Iaa6cee9893d41cb95e20cda80e03f044d52d82cd Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/81350 Reviewed-by:
Stefan Bürk <stefan@buerk.tech> Tested-by:
Stefan Bürk <stefan@buerk.tech> Tested-by:
core-ci <typo3@b13.com>
-
Philipp Kitzberger authored
Resolves: #102134 Releases: main, 12.4, 11.5 Change-Id: I3aaf6f2c8161579394a0dbe1c9f470edeb0a8bca Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/81348 Reviewed-by:
Stefan Bürk <stefan@buerk.tech> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Stefan Bürk <stefan@buerk.tech>
-
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/+/81430 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>
-
- Oct 12, 2023
-
-
Nikita Hovratov authored
It is best practice to use permanently visible information to help to fill out forms of any kind. In case of sys_file_storage the placeholder is even partially cut off, so one can't read the whole text. Resolves: #102150 Releases: main, 12.4 Change-Id: I8ad357470b4ff7a42454aba77c14cc8b6a532e8b Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/81347 Tested-by:
Nikita Hovratov <nikita.h@live.de> Reviewed-by:
Nikita Hovratov <nikita.h@live.de> Tested-by:
core-ci <typo3@b13.com>
-
- Oct 11, 2023
-
-
Mehdi Chaouch authored
Releases: main, 12.4 Resolves: #102142 Change-Id: I57661704305c47842e7042f499bb247c9eefef58 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/81346 Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch>
-
- Oct 10, 2023
-
-
Oliver Hader authored
Change-Id: I936fd1f3f6ad79dc17175157571c01e1154ee141 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/81404 Tested-by:
core-ci <typo3@b13.com> Tested-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Benni Mack <benni@typo3.org>
-
Oliver Hader authored
Change-Id: Icf1dcdff288278ece0f89cc74fe4d8c8248eebfe Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/81403 Tested-by:
Oliver Hader <oliver.hader@typo3.org> Reviewed-by:
Oliver Hader <oliver.hader@typo3.org>
-
Oliver Hader authored
This reverts commit 32fb9912. Due to a changed handling of `extraPlugins`, the editor config of e.g. ext:bootstrap_package v14.0.7 cannot be used anymore. Change-Id: I5d36a9ab0e309833a015fcd5f3221670dc114f06 Resolves: #102136 Reverts: #100784 Releases: main, 12.4 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/81400 Tested-by:
core-ci <typo3@b13.com> Reviewed-by:
Oliver Hader <oliver.hader@typo3.org> Tested-by:
Oliver Hader <oliver.hader@typo3.org>
-
Andreas Fernandez authored
To make our code-base in the Install Tool more sophisticated, types for each AJAX response were added. Resolves: #102068 Releases: main, 12.4 Change-Id: Icae9c4399d0bdf84b84912bab98184c34a7c5257 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/81396 Tested-by:
core-ci <typo3@b13.com> Reviewed-by:
Benjamin Franzke <ben@bnf.dev> Tested-by:
Benjamin Franzke <ben@bnf.dev>
-
Stefan Bürk authored
Recent release for doctrine/dbal containes a php docblock change which helps phpstan to proper determine types. This change upgrades the doctrine/dbal package and removes a now superflous entry from the phpstan baseline. Used command(s): > composer req --no-update \ -d typo3/sysext/core \ "doctrine/dbal":"^3.7.1" \ && composer req --no-update \ -d typo3/sysext/redirects \ "doctrine/dbal":"^3.7.1" \ && composer req --no-update \ -d typo3/sysext/install \ "doctrine/dbal":"^3.7.1" \ && composer req \ "doctrine/dbal":"^3.7.1" > Build/Scripts/runTests.sh -s phpstanGenerateBaseline Resolves: #102133 Releases: main, 12.4 Change-Id: Iaeba882e0584442c6caac71d3dd1e33ac0a56ef1 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/81395 Tested-by:
core-ci <typo3@b13.com> Tested-by:
Stefan Bürk <stefan@buerk.tech> Reviewed-by:
Stefan Bürk <stefan@buerk.tech>
-
Benjamin Franzke authored
Use JavaScript object destructuring to "remove" all options from the configuration object, that are consumed by our CKEditor5 wrapper. Also cleanup RTE resource and config handling to not write unused options into the configuration array and to avoid resolving legacy (CKEditor4) resource paths which are dropped anyway. As a drive-by, dots are now substituted with '_' in RTE field IDs to avoid the following hassle: Dots are interpreted as CSS classes when the ID value is used in combination with a number sign (#) to create a CSS selector for the respective field ID. That means the selector will not match. The class selector additionally becomes invalid once there is a digit after the dot, as CSS classes need to start with strings. (Example: EXT:styleguide in_flex » tab » rte.2). Resolves: #100784 Resolves: #101437 Releases: main, 12.4 Change-Id: I7f541a39120018027792a2ad978935f743b9b6c1 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/81388 Tested-by:
Benjamin Franzke <ben@bnf.dev> Reviewed-by:
Benjamin Franzke <ben@bnf.dev> Tested-by:
core-ci <typo3@b13.com>
-
- Oct 09, 2023
-
-
Chris Müller authored
Resolves: #102120 Releases: main, 12.4, 11.5 Change-Id: I690e880c03ca87ca0d6ed9efaa93e95938f9936d Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/81343 Tested-by:
core-ci <typo3@b13.com> Reviewed-by:
Stefan Bürk <stefan@buerk.tech> Tested-by:
Stefan Bürk <stefan@buerk.tech>
-
Kevin Appelt authored
Resolves: #102124 Releases: main, 12.4 Change-Id: I8b3862f70d5a8eb9779bb72c945bcf4e067d59eb Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/81342 Reviewed-by:
Stefan Bürk <stefan@buerk.tech> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Stefan Bürk <stefan@buerk.tech>
-
Oliver Hader authored
> composer req --dev composer/composer ^2.6.5 Raised development dependencies, since v2.6.4 fixes CVE-2023-43655 which concerns "web-accessible server where the composer.phar can be executed as a php file" (which is not a security issue for TYPO3 in this case). Resolves: #102128 Releases: main, 12.4, 11.5 Change-Id: I3fd478fa7cee2c875b560f79cab94cb889d2b73a Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/81386 Tested-by:
core-ci <typo3@b13.com> Tested-by:
Benjamin Franzke <ben@bnf.dev> Reviewed-by:
Benjamin Franzke <ben@bnf.dev> Reviewed-by:
Oliver Klee <typo3-coding@oliverklee.de> Reviewed-by:
Oliver Hader <oliver.hader@typo3.org> Tested-by:
Oliver Hader <oliver.hader@typo3.org>
-
Chris Müller authored
Additionally: - Use "page TSconfig" over "Page TSconfig" - Add captions to make clearer where to store the configuration as an example Resolves: #102126 Resolves: https://github.com/TYPO3-Documentation/Changelog-To-Doc/issues/686 Related: #99738 Releases: main, 12.4 Change-Id: I983a9411c3c30ddf040eba0c296a2bee6c0ab509 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/81341 Reviewed-by:
Benjamin Franzke <ben@bnf.dev> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Benjamin Franzke <ben@bnf.dev>
-