- Jul 07, 2023
-
-
Susanne Moog authored
When `open_basedir` is set (often the case on shared hosting), TYPO3 fails to find executables as it does a check for file existence first, which fails due to the restriction. Instead of checking file existence in all cases, a fallback has been added on *nix systems that will try execution of a given command and use the return code to decide whether the path is valid. This itself uses the command `which` which is not available on Windows. As nowadays `open_basedir` is mostly used on shared hosting environments based on *nix, this will not be fixed for Windows. Resolves: #70869 Resolves: #85174 Releases: main, 12.4 Change-Id: Ic01e822ae16b9ef1fa80be745a9de51e527ba059 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/79865 Tested-by:
Benni Mack <benni@typo3.org> Tested-by:
core-ci <typo3@b13.com> Reviewed-by:
Benni Mack <benni@typo3.org>
-
- Nov 20, 2022
-
-
Christian Kuhn authored
Method parameter annotations identical to the parameter signature are useless and can be omitted. Resolves: #99142 Releases: main Change-Id: I907113b7049d551113c84aadec74c93597252069 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/76734 Tested-by:
Oliver Klee <typo3-coding@oliverklee.de> Tested-by:
Stefan Bürk <stefan@buerk.tech> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
core-ci <typo3@b13.com> Reviewed-by:
Oliver Klee <typo3-coding@oliverklee.de> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Stefan Bürk <stefan@buerk.tech>
-
- Jun 21, 2022
-
-
Benni Mack authored
LZW enabled compression for GIF and TIF is now removed in favor of just using convert which is available most of the time. This was needed back in 200x when TIFF was super-big, but is usually now properly bundled in IM/GM. Resolves: #97797 Releases: main Change-Id: Iba4d19f27cde90ee910048f12ec27ede13282c16 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/74918 Tested-by:
Andreas Fernandez <a.fernandez@scripting-base.de> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Andreas Fernandez <a.fernandez@scripting-base.de> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch>
-
- Apr 08, 2022
-
-
Larry Garfield authored
Nothing particularly exciting, but does remove another PHPStan baseline message. A few bits of unnecessary code have been removed or cleaned up. Additionally, a few locations in code were calling CommandUtility::exec() incorrectly in a way that has always been incorrect. These are fixed now. Resolves: #97206 Related: #97210 Releases: main Change-Id: Ia590af575c432833097859a22f6674c4917e59a1 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/73988 Tested-by:
Stefan Bürk <stefan@buerk.tech> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Nikita Hovratov <nikita.h@live.de> Tested-by:
Georg Ringer <georg.ringer@gmail.com> Reviewed-by:
Stefan Bürk <stefan@buerk.tech> Reviewed-by:
Oliver Klee <typo3-coding@oliverklee.de> Reviewed-by:
Nikita Hovratov <nikita.h@live.de> Reviewed-by:
Georg Ringer <georg.ringer@gmail.com>
-
- Oct 12, 2021
-
-
Nikita Hovratov authored
The (ugly) statement strpos($haystack, 'needle') !== false can be safely replaced with str_contains($haystack, 'needle'). This is possible, as a symfony polyfill for php 8.0 functions is in place. Resolves: #95466 Releases: master Change-Id: I313f47832a254c23c6815b6b44557a01019e59e7 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/71429 Tested-by:
core-ci <typo3@b13.com> Tested-by:
Simon Schaufelberger <simonschaufi+typo3@gmail.com> Tested-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Simon Schaufelberger <simonschaufi+typo3@gmail.com> Reviewed-by:
Wouter Wolters <typo3@wouterwolters.nl> Reviewed-by:
Benni Mack <benni@typo3.org>
-
- Apr 17, 2020
-
-
Alexander Schnitzler authored
This patch has been created with rector and php-cs-fixer Releases: master Resolves: #91092 Change-Id: I80956bc210237169034acd86ef26c1e8f9725ddb Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/64212 Tested-by:
TYPO3com <noreply@typo3.com> Tested-by:
Benni Mack <benni@typo3.org> Tested-by:
Georg Ringer <georg.ringer@gmail.com> Reviewed-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Georg Ringer <georg.ringer@gmail.com>
-
- Apr 15, 2020
-
-
Alexander Schnitzler authored
With this patch, the header comment of php files is automatically added by the php-cs-fixer, which guarantees that its format and place of occurrence remain the same in all files. Files that are copied over from other projects are excluded. Furthermore, files that are kind of inspired by other projects also get the same header comment but may have a second, additional comment explaining its origin. Used command: bin/php-cs-fixer fix --config=Build/php-cs-fixer/header-comment.php Releases: master Resolves: #91024 Change-Id: I5a040517e0fbde6e5a27d589bf2f222078326dc8 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/64159 Tested-by:
TYPO3com <noreply@typo3.com> Tested-by:
Andreas Fernandez <a.fernandez@scripting-base.de> Tested-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Andreas Fernandez <a.fernandez@scripting-base.de> Reviewed-by:
Benni Mack <benni@typo3.org>
-
- Apr 14, 2020
-
-
Benni Mack authored
This change adds two changes 'blank_line_after_opening_tag' => true, 'single_trait_insert_per_statement' => true, to our PHP-CS Fixer configuration, adopting more rules related to PSR-12. Resolves: #91020 Releases: master Change-Id: I180b2cbceb077911bddeb42d9f131e5b32244ed2 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/64158 Tested-by:
Josef Glatz <josefglatz@gmail.com> Tested-by:
Oliver Bartsch <bo@cedev.de> Tested-by:
Alexander Schnitzler <git@alexanderschnitzler.de> Tested-by:
Andreas Fernandez <a.fernandez@scripting-base.de> Tested-by:
TYPO3com <noreply@typo3.com> Reviewed-by:
Josef Glatz <josefglatz@gmail.com> Reviewed-by:
Oliver Bartsch <bo@cedev.de> Reviewed-by:
Alexander Schnitzler <git@alexanderschnitzler.de> Reviewed-by:
Andreas Fernandez <a.fernandez@scripting-base.de>
-
- Oct 01, 2018
-
-
Benni Mack authored
All specific controllers for specific Backend actions, Backend-module related modules, all hook implementations (where the core uses hooks by itself), and module-specific ViewHelpers are now marked as @internal to ensure developers what is part of the public TYPO3 Core API. within - EXT:core - EXT:extensionmanager - EXT:install All @api annotations have been removed. Resolves: #86517 Releases: master Change-Id: I7869d8e3b6e8a4365529cc7c98b99cde7ca1495f Reviewed-on: https://review.typo3.org/58532 Reviewed-by:
Oliver Hader <oliver.hader@typo3.org> Tested-by:
Oliver Hader <oliver.hader@typo3.org> Tested-by:
TYPO3com <no-reply@typo3.com> Reviewed-by:
Wouter Wolters <typo3@wouterwolters.nl> Tested-by:
Wouter Wolters <typo3@wouterwolters.nl>
-
- Jun 28, 2018
-
-
Mathias Brodala authored
Ensure "GFX/processor_effects" is a true boolean as suggested in the settings module and silently migrate integer/string values accordingly. Resolves: #83591 Releases: master Change-Id: I006e907e75e273009333363a4d42661183ba8721 Reviewed-on: https://review.typo3.org/57391 Reviewed-by:
Benni Mack <benni@typo3.org> Tested-by:
TYPO3com <no-reply@typo3.com> Tested-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Frans Saris <franssaris@gmail.com> Reviewed-by:
Markus Klein <markus.klein@typo3.org> Tested-by:
Markus Klein <markus.klein@typo3.org>
-
- Apr 26, 2018
-
-
Benni Mack authored
In order to move away from using hard-coded constants, the Environment class method "isWindows" is used. Resolves: #84854 Releases: master Change-Id: I30bc72017d00caafe9dfef912c52044a6cd03338 Reviewed-on: https://review.typo3.org/56792 Tested-by:
TYPO3com <no-reply@typo3.com> Reviewed-by:
Susanne Moog <susanne.moog@typo3.org> Tested-by:
Susanne Moog <susanne.moog@typo3.org> Reviewed-by:
Tymoteusz Motylewski <t.motylewski@gmail.com> Tested-by:
Tymoteusz Motylewski <t.motylewski@gmail.com>
-
- Mar 01, 2018
-
-
Wouter Wolters authored
Resolves: #84094 Releases: master Change-Id: I0fff99f75287fd5a43093b5df540cea040420d21 Reviewed-on: https://review.typo3.org/55955 Reviewed-by:
Frank Naegler <frank.naegler@typo3.org> Tested-by:
Frank Naegler <frank.naegler@typo3.org> Tested-by:
TYPO3com <no-reply@typo3.com> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch>
-
- Feb 17, 2017
-
-
Wouter Wolters authored
Resolves: #79880 Releases: master Change-Id: Ia4b240614ee2c1c1a220fcea7d0f7d13ad518acb Reviewed-on: https://review.typo3.org/51734 Tested-by:
TYPO3com <no-reply@typo3.com> Reviewed-by:
Daniel Goerz <ervaude@gmail.com> Tested-by:
Daniel Goerz <ervaude@gmail.com> Reviewed-by:
Mona Muzaffar <mona.muzaffar@gmx.de> Tested-by:
Mona Muzaffar <mona.muzaffar@gmx.de> Reviewed-by:
Georg Ringer <georg.ringer@gmail.com> Tested-by:
Georg Ringer <georg.ringer@gmail.com>
-
- Aug 30, 2016
-
-
Wouter Wolters authored
As decided during T3ACME we will use the short array syntax in master. The 7.6 branch will also be done to make backporting easier. Resolves: #77692 Releases: master,7.6 Change-Id: I37e9484b1012fc9161148257a842054c24d162ba Reviewed-on: https://review.typo3.org/49651 Reviewed-by:
Georg Ringer <georg.ringer@gmail.com> Tested-by:
Georg Ringer <georg.ringer@gmail.com> Reviewed-by:
Susanne Moog <susanne.moog@typo3.org> Tested-by:
Susanne Moog <susanne.moog@typo3.org>
-
- Jan 15, 2016
-
-
Morton Jonuschat authored
Rename GFX settings to more generic names that do not refer to ImageMagick or no longer supported versions of ImageMagick in their name. The values for the setting of the graphics processor have been changed to refer to the tools by name and not by acronym. The Install Tool has been extended to perform a silent migration of the affected settings. Resolves: #43085 Releases: master Change-Id: I41450eafbadb5782a55f876a87f2bc0ff0704d62 Reviewed-on: https://review.typo3.org/42385 Reviewed-by:
Anja Leichsenring <aleichsenring@ab-softlab.de> Tested-by:
Anja Leichsenring <aleichsenring@ab-softlab.de> Reviewed-by:
Georg Ringer <georg.ringer@gmail.com> Tested-by:
Georg Ringer <georg.ringer@gmail.com>
-
- Oct 09, 2015
-
-
TYPO3 Release Team authored
In our efforts to achieve a better interoperability with other PHP projects, the PHP code base of the TYPO3 Core switches to the PHP coding guideline standard PSR-2. See http://www.php-fig.org/psr/psr-2/ for more information. Resolves: #70515 Releases: master Change-Id: I734c0d838af157003decfeb5fc0a11dddcb87bf5 Reviewed-on: http://review.typo3.org/43918 Reviewed-by:
TYPO3 Release Team <typo3cms@typo3.org> Tested-by:
TYPO3 Release Team <typo3cms@typo3.org>
-
- Dec 17, 2014
-
-
Roland Waldner authored
Most of TYPO3's PHP files have an empty line before a class' closing curly brace. This commit adds this empty line (if it is missing) before a class' closing curly brace. This is not part of the TYPO3 CMS CGL but increases consistency in this area. This regular expression was used to add the empty lines: Search: (}\n)(}) Replace: $1\n$2 Resolves: #63942 Release: master Change-Id: Icd6547322ac8b7310956d347fd73c90bde2bbfa7 Reviewed-on: http://review.typo3.org/35527 Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch>
-
- Dec 13, 2014
-
-
Roland Waldner authored
This regular expression was used to replace PHPDoc style comments with ordinary comments: Search: /\*\*(\n \* This file is part of the TYPO3 CMS project.) Replace with: /*$1 Resolves: #63328 Releases: master Change-Id: Ic8f11dbfefee94a19657c8fe8426c81d1cb435d8 Reviewed-on: http://review.typo3.org/35103 Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Benjamin Mack <benni@typo3.org> Tested-by:
Benjamin Mack <benni@typo3.org>
-
- Nov 02, 2014
-
-
Wouter Wolters authored
Use "int" or "bool" in @var notation instead of "interger" or "boolean". Resolves: #62571 Releases: master Change-Id: Icc17d2a7806a4632da2c4684c57f1f6d619878a3 Reviewed-on: http://review.typo3.org/33632 Reviewed-by:
Frank Nägler <typo3@naegler.net> Tested-by:
Frank Nägler <typo3@naegler.net> Reviewed-by:
Markus Klein <klein.t3@reelworx.at> Tested-by:
Markus Klein <klein.t3@reelworx.at>
-
- Oct 28, 2014
-
-
Wouter Wolters authored
* Use bool in @return * Use int in @return * Use bool in @param * Use int in @param * Remove extra tabs and spaces in @param Resolves: #62506 Releases: master Change-Id: I673888aa08855a1364150d0060d0f205fc1f83a2 Reviewed-on: http://review.typo3.org/33577 Reviewed-by:
Stefan Froemken <froemken@gmail.com> Tested-by:
Stefan Froemken <froemken@gmail.com> Reviewed-by:
Frank Nägler <typo3@naegler.net> Tested-by:
Frank Nägler <typo3@naegler.net>
-
- Jun 22, 2014
-
-
Michael Schams authored
This patch replaces the copyright/license header in PHP files with a new, simplified one. The new header does not show the year figure, nor an author name, and refers to the LICENSE.txt file for the full copyright information. License is: GPL2 or any later version. This is a multi-part commit due to the huge number of changed files. See issue #59777 for further details. Resolves: #59777 Releases: 6.2 Change-Id: Idf5ef5a0da53dd052af54d42a115e951bc9d0e91 Reviewed-on: https://review.typo3.org/31022 Reviewed-by: Krzysztof Adamczyk Tested-by: Krzysztof Adamczyk Reviewed-by: Markus Klein Tested-by: Markus Klein
-
- May 04, 2014
-
-
Anja Leichsenring authored
If open_basedir is restricted to files, eg. /usr/bin/gm, detection fails in install tool. The additional is_dir() check may fail then. The patch removes it since @is_file() covers the same checks. Resolves: #58466 Releases: 6.2 Change-Id: I5ab6a36ccd3d283a1dc1e672f7deddc2f0ea37c4 Reviewed-on: https://review.typo3.org/29822 Reviewed-by: Christian Kuhn Tested-by: Christian Kuhn Reviewed-by: Xavier Perseguers Tested-by: Xavier Perseguers
-
- Oct 01, 2013
-
-
Christian Kuhn authored
Change-Id: Iaa92566c53301e49396fc9fb26b0b339c48d567b Resolves: #52360 Releases: 6.2 Reviewed-on: https://review.typo3.org/24212 Reviewed-by: Christian Kuhn Tested-by: Christian Kuhn Reviewed-by: Ernesto Baschny Tested-by: Ernesto Baschny Reviewed-by: Anja Leichsenring Tested-by: Anja Leichsenring
-
- Sep 25, 2013
-
-
Christian Kuhn authored
There are two very weird settings is GFX array that previously decided on how "masks" are applied to images if combining multiple images. GFX/im_negate_mask and GFX/im_imvMaskState are also manipulated during boostrap and depend on each other. Fiddling with those settings in ImageMagick 6 and GraphicsMagick with its supported versions, it turns out that they are obsolete and can be removed completly. The patch does this. Change-Id: Ic24c877287382f9e718974a0df3577dad2eeaac9 Resolves: #52088 Releases: 6.2 Reviewed-on: https://review.typo3.org/23880 Reviewed-by: Christian Kuhn Tested-by: Christian Kuhn
-
- Sep 15, 2013
-
-
Christian Kuhn authored
Support for Image Magick version 4 and 5 was dropped, allowed settings for im_version_5 are "im6" and "gm". As soon as one of this is set for im_version_5, bootstrap automatically sets "im_no_effects" to 1. In effect, this value is *always* one, so it is obsolete and can be removed from the system. Change-Id: Ieb798352aebaae4943018a225518591a952a8bcb Resolves: #52010 Releases: 6.2 Reviewed-on: https://review.typo3.org/23835 Reviewed-by: Anja Leichsenring Tested-by: Anja Leichsenring Reviewed-by: Wouter Wolters Tested-by: Wouter Wolters
-
- Sep 10, 2013
-
-
Christian Kuhn authored
The patch implements a "configuration system" to the install tool that bundles several settings to enable them on click depending on system capabilities. A "feature" is represented by a set of configuration options that are filled by different presets. Presets have a priority, the best preset is the first one. Presets can be available or not available and active or not. For example the "image handling" feature has the presets "GraphicsMagick" and "ImageMagick 6" and a "Custom" preset if the others do not fit. This first patch implements "Charset conversion", "Image handling", "Development / Production" and "Extbase object cache" settings. During installation the available preset with highest priority are configured. Change-Id: I7304ef001717989720924e7ae03951eb3874adfd Resolves: #51454 Releases: 6.2 Reviewed-on: https://review.typo3.org/23321 Reviewed-by: Wouter Wolters Tested-by: Wouter Wolters Reviewed-by: Jigal van Hemert Tested-by: Jigal van Hemert Reviewed-by: Christian Kuhn Tested-by: Christian Kuhn
-