- Feb 25, 2014
-
-
Jigal van Hemert authored
The lowlevel array browser tries to modify the array that is displayed if it's an object. Now that TYPO3_LOADED_EXT is a simulated array (an object which implements array access) modifying the data leads to a fatal error. Instead the iterated value is now modified. Releases: 6.2 Resolves: #54449 Change-Id: Ib1d3eb5cc76a4180ea0891d88c16191cd16f36e2 Reviewed-on: https://review.typo3.org/27850 Reviewed-by: Markus Klein Tested-by: Markus Klein Reviewed-by: Wouter Wolters Tested-by: Wouter Wolters
-
Benjamin Mack authored
The functionality for having to deal with browsers that did not support style="width: XYpx" is not needed anymore, as any browser supported in the TYPO3 universe can deal with that (even IE6). This patch cleans up all the areas that dealt with that part. Also, one dummy function in FormEngine.php has been removed completely, another in DocumentTemplate.php has been deprecated. Releases: 6.2 Resolves: #56254 Change-Id: I6f47a5f7cabfd340088c242f1ee15b83c7cba0fe Reviewed-on: https://review.typo3.org/27824 Reviewed-by: Benjamin Mack Tested-by: Benjamin Mack
-
Markus Klein authored
Resolves: #56290 Releases: 6.2 Change-Id: I85348aea9fd514b9774b63846f444fcb9a8310e4 Reviewed-on: https://review.typo3.org/27856 Reviewed-by: Wouter Wolters Tested-by: Wouter Wolters Reviewed-by: Markus Klein Tested-by: Markus Klein
-
Markus Klein authored
Fix for #41413 did not remove a superfluous parentheses. This is causing a JS error now. Backports of the original patch are fixed already. Resolves: #56289 Releases: 6.2 Change-Id: Iff0e73a28c9428d931f44b538106b6120ccc4e6a Reviewed-on: https://review.typo3.org/27854 Reviewed-by: Markus Klein Tested-by: Markus Klein Reviewed-by: Wouter Wolters Tested-by: Wouter Wolters
-
Andreas Fernandez authored
Installing TYPO3 with an Oracle database (oci8) fails. After selecting oci8 and passing the credentials, the install wizard crashes with: PHP Fatal error: Cannot use object of type TYPO3\CMS\Core\Configuration\ConfigurationManager as array in typo3/sysext/install/Classes/Controller/Action/Step/DatabaseConnect.php on line 93 Obviously $config got mixed up with $configurationManager. Fix this typo. Resolves: #56253 Releases: 6.2 Change-Id: I58c1bc27f56b9a527d1d8fde7cf39b4ecd3ef7b6 Reviewed-on: https://review.typo3.org/27846 Reviewed-by: Markus Klein Tested-by: Markus Klein Reviewed-by: Wouter Wolters Reviewed-by: Steffen Müller Tested-by: Steffen Müller
-
Jigal van Hemert authored
The paginator in the extension list from TER is transformed into using Ajax. This fails because this process searches for links inside a class which is used by the frontend paginator widget. Changing it to the id of the backend paginator widget makes the ajax calls work again. Resolves: #56184 Releases: 6.2, 6.1, 6.0 Change-Id: I06c193b2657eb3edae623dc0126b06c240f486c6 Reviewed-on: https://review.typo3.org/27843 Reviewed-by: Markus Klein Tested-by: Markus Klein Reviewed-by: Wouter Wolters Tested-by: Wouter Wolters
-
Helmut Hummel authored
The security fix introduced a bug that the title is encoded every time the link wizard is opened, leading to multiple encoded strings. Solution is to not encode it centrally but encode it just before using it in the JavaScript context. Fixes: #41413 Releases: 4.5, 4.7, 6.0, 6.1, 6.2 Change-Id: I6b08db290d5457761edc4506105672d79840764d Reviewed-on: https://review.typo3.org/23740 Reviewed-by: Markus Klein Tested-by: Markus Klein Reviewed-by: Oliver Klee Reviewed-by: Wouter Wolters Tested-by: Wouter Wolters
-
Tymoteusz Motylewski authored
There are 3 methods in ElementBrowser which are never used in the core. We deprecate them, so they can be removed two versions later. The methods are: * checkFolder * isWebFolder * setRecordList Releases: 6.2 Resolves: #55985 Change-Id: I3e4f34e7ebaba9e8eeb0332e9f43c0e4acd2e706 Reviewed-on: https://review.typo3.org/27847 Reviewed-by: Markus Klein Tested-by: Markus Klein Reviewed-by: Oliver Klee Reviewed-by: Wouter Wolters Tested-by: Wouter Wolters
-
Anja Leichsenring authored
The form sysext contains a wizard to provide help for form creation. This script used the init.php entry script. This is no longer wanted, but the API can be used to add wizards. To do so, some files were moved around and follow the same schema as shown in openid sysext. Change-Id: I6b6c41de6c271c56404151b1ec95f45e6f7786af Resolves: #55669 Releases: 6.2 Reviewed-on: https://review.typo3.org/27347 Reviewed-by: Helmut Hummel Tested-by: Helmut Hummel Reviewed-by: Markus Klein Tested-by: Markus Klein
-
Helmut Hummel authored
Resolves: #56272 Releases: 6.2 Change-Id: Idfcb04fac9f1c4e6637b7df929694b193266c825 Reviewed-on: https://review.typo3.org/27842 Reviewed-by: Anja Leichsenring Tested-by: Anja Leichsenring Reviewed-by: Markus Klein Tested-by: Markus Klein
-
Helmut Hummel authored
Wizards used to be registered by defining a script path to an entry script. Since we now aim to reduce the number of entry scripts, wizards should be called through mod.php and be registered accordingly. However with the additional requirement of adding CSRF protection for all mod.php calls, we cannot hard code the script URLs for wizards any more. Instead BackendUtility::getModuleUrl should be used, which adds the CSRF protection token. Since this token depends on the current user session and TCA might be cached, we need a new way to register a wizard by just specifying the module name in TCA. FormEngine should then take care to call BackendUtility::getModuleUrl() Resolves: #56268 Releases: 6.2 Change-Id: I8dfd2f49257f673e0490e2553da63359a8e68776 Reviewed-on: https://review.typo3.org/27841 Reviewed-by: Markus Klein Tested-by: Markus Klein
-
Helmut Hummel authored
For the release of TYPO3 4.5 that the wizard in install tool was renamed to "Upgrade Wizard" to distinguish between patch level updates and major version upgrades. During the refactoring of the install tool for 6.2 the wizard was named "Update wizard again" Fix the name again and name the upgrade wizard "Upgrade Wizard" again. Releases: 6.2 Resolves: #55970 Change-Id: I2cc75b7dfc5ddb3889a080270bf90a101fed935a Reviewed-on: https://review.typo3.org/27617 Reviewed-by: Markus Klein Tested-by: Markus Klein Reviewed-by: Jigal van Hemert Tested-by: Jigal van Hemert
-
Marc Bastian Heinrichs authored
Adapt the impexp simple import test to the testing framework available with #54855. Resolves: #55664 Related: #54855 Releases: 6.2 Change-Id: I6f1e9eb6ef3bda5b984ac67af3964fed90ba41f2 Reviewed-on: https://review.typo3.org/27325 Reviewed-by: Wouter Wolters Tested-by: Wouter Wolters Reviewed-by: Marc Bastian Heinrichs Tested-by: Marc Bastian Heinrichs
-
Oliver Hader authored
The functional test cases using EXT:irre_tutorial need to enable move placeholders. $TCA[<table>]['ctrl']['versioningWS'] needs to be "2" and not just TRUE Resolves: #56244 Releases: 6.2 Change-Id: Ic47536f26fd23a15b2c31c3eb05c1f30acd82865 Reviewed-on: https://review.typo3.org/27817 Reviewed-by: Wouter Wolters Tested-by: Wouter Wolters Reviewed-by: Oliver Hader Tested-by: Oliver Hader
-
Wouter Wolters authored
Add missing '$' in front of formEl Resolves: #56221 Releases: 6.2 Change-Id: Ia9b3260eebd007a60a34c33ac357fa84c572c8ac Reviewed-on: https://review.typo3.org/27820 Reviewed-by: Wouter Wolters Tested-by: Wouter Wolters Reviewed-by: Jost Baron Tested-by: Jost Baron
-
Wouter Wolters authored
The array was used by a mock call which is removed from the test. Resolves: #56119 Releases: 6.2 Change-Id: I6aa5ad720a52a710e59b9570a769396d6acb37fb Reviewed-on: https://review.typo3.org/27821 Reviewed-by: Wouter Wolters Tested-by: Wouter Wolters Reviewed-by: Stefano Kowalke Tested-by: Stefano Kowalke
-
Jigal van Hemert authored
Encoding a few extra character besides the ones according to RFC3986 makes password reset links working again in various mail clients which do not comply to this RFC (and which do not have plans to fix this in the near future). Change-Id: I0b42bef6cb732c5fc6cc2d900407271cb606e301 Fixes: #23984 Releases: 6.2, 6.1, 6.0, 4.7, 4.5 Reviewed-on: https://review.typo3.org/17176 Reviewed-by: Markus Klein Tested-by: Markus Klein Reviewed-by: Jigal van Hemert Tested-by: Jigal van Hemert
-
- Feb 24, 2014
-
-
Francois Suter authored
With the addition of categories-related menus, new fields were added to the tt_content "menu" palette for handling categories relations. This causes problems when people define new menu types. This patch adds the categories-related fields in a more targeted way using subtypes_addlist. The difference is that these fields are not *in* the palette anymore, but just after it. I think it is okay from a usability point of view and it makes the whole categories thing less intrusive. Resolves: #54041 Releases: 6.2 Change-Id: I923a6ec0d7716821626a31a95d80027987038bf1 Reviewed-on: https://review.typo3.org/27591 Tested-by: Dirk Klimpel Reviewed-by: Dirk Klimpel Reviewed-by: Wouter Wolters Tested-by: Wouter Wolters
-
Steffen Ritter authored
The core ships upgrade wizards for all versions since TYPO3 CMS 4.2. Users upgrading to TYPO3 CMS 6.2 LTS should have at least TYPO3 4.5 LTS or later. Therefore all Upgrade-Wizards which already have been executed to upgrade to TYPO3 CMS 4.5 LTS and below can be safely removed for the current LTS. This change removed all these wizards relating to changes in 4.2, 4.3 and 4.5. Resolves: #54930 Releases: 6.2 Change-Id: Ia691e3ca7dd347c6748a8e9d753278b2247f75b9 Reviewed-on: https://review.typo3.org/26776 Reviewed-by: Markus Klein Tested-by: Markus Klein Reviewed-by: Wouter Wolters Tested-by: Wouter Wolters
-
Anja Leichsenring authored
BE modules info and func now uses mod.php. Changing the entry script for func and info module will cause integrated submodules to fail in case they use the old entry point index.php with a relative path somewhere in funcMenu or in other links or actions. A compatibility layer is introduced in typo3/index.php to catch those old links and redirect to mod.php with proper parameters. Change-Id: I83d31b6004ae3556dd8bf7c5c47b0fea39aaad55 Resolves: #55809 Resolves: #55672 Resolves: #55670 Releases: 6.2 Reviewed-on: https://review.typo3.org/27508 Reviewed-by: Helmut Hummel Tested-by: Helmut Hummel Reviewed-by: Christian Kuhn Tested-by: Christian Kuhn
-
Benjamin Kott authored
If a javascript file is forceOnTop the script uses array_unshift() to put the file at the beginning of the section array. If this is the first file that got processed, the array does not exist yet, so the array_unshift function returns NULL and the file will not added to the array. The fix properly initalizes the section sub-array. Resolves: #56242 Releases: 6.2, 6.1 Change-Id: I23af7862263fb0685032c34ded8736df87ddeb99 Reviewed-on: https://review.typo3.org/27793 Reviewed-by: Markus Klein Tested-by: Markus Klein Reviewed-by: Benjamin Mack Tested-by: Benjamin Mack
-
Tymoteusz Motylewski authored
The tree class hierachie contains 3 empty classes, removed by the patch: * \TYPO3\CMS\Rtehtmlarea\ImageFolderTree * rteFolderTree extends localPageTree in class.browse_links.php * rtePageTree extends localFoltderTree in class.browse_links.php Resolves: #55847 Related: #55830 Releases: 6.2 Change-Id: I5d0d92a484c37b6c2812f3350ab3f4dd3dfd15c8 Reviewed-on: https://review.typo3.org/27527 Tested-by: Tymoteusz Motylewski Reviewed-by: Tymoteusz Motylewski Reviewed-by: Frans Saris Tested-by: Frans Saris Reviewed-by: Markus Klein Tested-by: Markus Klein
-
Oliver Hader authored
The recent DataHander functional tests integrate file names that are very long since they contain a description of what actually is expected in the accordant test assertion file. However, Windows has a limit of 260 characters per file path. The longest file path of the mentioned functional tests has been 223 characters and is now reduced to 166 characters. Resolves: #56177 Releases: 6.2 Change-Id: I1490a3f0fae7ef40547d81e304cb98077ab6142b Reviewed-on: https://review.typo3.org/27815 Reviewed-by: Marc Bastian Heinrichs Reviewed-by: Oliver Hader Tested-by: Oliver Hader
-
Alexander Schnitzler authored
Add a token check in tce_file.php and token generation everywhere forms for or links to tce_file.php are created. Additionaly make sure, an instance of ExtendedFileUtility is created in FileController on initialization to prevent a fatal "Call to a member function on a non-object" error in FileController::finish. Releases: 6.2 Resolves: #55515 Change-Id: Ifd585661ac2cac6c88eaca5ad63b447d27e35395 Reviewed-on: https://review.typo3.org/27691 Reviewed-by: Helmut Hummel Tested-by: Helmut Hummel
-
Marc Bastian Heinrichs authored
To be able to compare mostly only the data provided in the database fixtures, the export needs to be limited to a given set of fields of a record type. This will loose the strict xml comparison of all existing fields in the database and the tests would not break whenever we change ext:core or ext:frontend ext_tables.sql. Resolves: #55625 Releases: 6.2 Change-Id: Ie48e540ab1c9e271b64b893353a84c34ac982a50 Reviewed-on: https://review.typo3.org/27303 Reviewed-by: Wouter Wolters Tested-by: Wouter Wolters Reviewed-by: Tymoteusz Motylewski Reviewed-by: Marc Bastian Heinrichs Tested-by: Marc Bastian Heinrichs
-
Felix Kopp authored
Bring treeline sprite icons to t3-table in Template backend module. Resolves: #56229 Releases: 6.2 Change-Id: I95cfad211fe5750d0786592986b4849f5f5b9826 Reviewed-on: https://review.typo3.org/27800 Reviewed-by: Markus Klein Tested-by: Markus Klein Reviewed-by: Marcin Sągol Tested-by: Marcin Sągol Reviewed-by: Benjamin Mack Tested-by: Benjamin Mack
-
Steffen Ritter authored
In TYPO3_MODE == 'FE' we attached language overlays for file metadata via an Signal in the MetaDataRepository. Within this signal the methods of the PageRepository in $GLOBALS['TSFE'] are used to do the actual language overlay. When using eID the Frontend is not initialized. When creating file objects in eID these functions are accessed on non-objects which obviously leads to a fatal error. As a result the registration of the Slot is extended to not register itself in case of eID requests. Resolves: #54232 Releases: 6.2 Change-Id: I4ccf226f48eb85428ce281c4a941ff7e834c2f88 Reviewed-on: https://review.typo3.org/27692 Reviewed-by: Wouter Wolters Reviewed-by: Frans Saris Tested-by: Frans Saris Reviewed-by: Georg Ringer Tested-by: Georg Ringer
-
Felix Kopp authored
Hides bullet points in New Content Element Wizard. Resolves: #56062 Releases: 6.2 Change-Id: Iead660b30df3cabea76d22dc962802c61be01ea7 Reviewed-on: https://review.typo3.org/27804 Reviewed-by: Georg Ringer Tested-by: Georg Ringer
-
Felix Kopp authored
Brings CSS class for lists that semantically need to be UL or OL tags but do not have a visible list-style-item: <ul class="list-unstyled"> <li>…</li> </ul> <ol class="list-unstyled"> <li>…</li> </ol> Resolves: #55834 Releases: 6.2 Change-Id: Ic51fbe1f0995b4504d5b10a4c83775a977a19e33 Reviewed-on: https://review.typo3.org/27801 Reviewed-by: Georg Ringer Tested-by: Georg Ringer
-
- Feb 23, 2014
-
-
Markus Klein authored
This reverts commit 3adf7835 This patch breaks section menus as it introduces invalid caching. The original patch has not yet been backported. Resolves: #56209 Resolves: #54953 Releases: 6.2 Change-Id: Ia3fc8718ed3907913a5538eee102260425f2cf16 Reviewed-on: https://review.typo3.org/27788 Reviewed-by: Markus Klein Tested-by: Markus Klein
-
Wouter Wolters authored
Resolves: #55316 Releases: 6.2 Change-Id: I945f0c033f3d69c1951ea9ee59b0a00c5f866175 Reviewed-on: https://review.typo3.org/27046 Reviewed-by: Stefan Neufeind Tested-by: Stefan Neufeind Reviewed-by: Marcin Sągol Tested-by: Marcin Sągol Reviewed-by: Michiel Roos Tested-by: Michiel Roos Reviewed-by: Markus Klein Tested-by: Markus Klein
-
Stefan Neufeind authored
This reverts commit de27a20a Change-Id: I078d2f7bbff605c91d83a9853e8feb9c31d57ccc Reviewed-on: https://review.typo3.org/27792 Reviewed-by: Stefan Neufeind Tested-by: Stefan Neufeind
-
Andreas Wolf authored
When having e.g. the link for ``typo3/`` pointing to ``typo3_src/typo3/``, the install tool complains because the trailing slash is not expected. This slash is however perfectly ok, as there is no difference between typo3_src/typo3 and typo3_src/typo3/ – both point to the same "file" (i.e. node in the filesystem structure). This patch strips trailing slashes from the actual link target before doing the check, so no change to existing configuration is necessary. Change-Id: Ibcb2118a2bb8fcf004470f1a949824576ad4d1ec Resolves: #55551 Releases: 6.2 Reviewed-on: https://review.typo3.org/27229 Reviewed-by: Benjamin Mack Reviewed-by: Christian Kuhn Reviewed-by: Wouter Wolters Tested-by: Wouter Wolters Reviewed-by: Stefan Neufeind Tested-by: Stefan Neufeind
-
Markus Klein authored
It is faster to compare a string with === '' to find out if it's empty than to run strlen() on it. The replacement rules are applied as follows: * if (strlen($str)) => if ((string)$str !== '') * if (!is_string($str) || strlen($str) === 0) => if (!is_string($str) || $str === '') * If it can be seen easily that $str is a string, the typecast is omitted. Resolves: #54091 Releases: 6.2 Change-Id: I59c5cbccea4f98b8f282377e6aa67d970859a457 Reviewed-on: https://review.typo3.org/27091 Reviewed-by: Stefan Neufeind Tested-by: Stefan Neufeind
-
Julian Kleinhans authored
Adds a new SignalSlot possibility after the preInit method call. Resolves: #56195 Releases: 6.2 Change-Id: Ia68734999a0e5fbe6c945d9e28d8571cd6192e75 Reviewed-on: https://review.typo3.org/27777 Reviewed-by: Tomas Norre Mikkelsen Tested-by: Tomas Norre Mikkelsen Reviewed-by: Erik Frister Tested-by: Erik Frister Reviewed-by: Anja Leichsenring Tested-by: Anja Leichsenring
-
- Feb 22, 2014
-
-
Helmut Hummel authored
Our functional test suit does not fail currently when tested code emits a PHP warning. This is due to the fact that the factory configuration uses the production exception handler which silently discards warnings. This change adds additional configuration that is merged with the factory configuration. In this configuration the TYPO3 exception handling is disabled and the core and classes cache is disabled. Additionally a new property is added to the base class to easily add some configuration values that might be needed for the test case. Resolves: #56187 Related: #56086 Releases: 6.2 Change-Id: I5c7c2c0d495bae06a56d2285b8d521eaa4ab37d2 Reviewed-on: https://review.typo3.org/27773 Reviewed-by: Helmut Hummel Tested-by: Helmut Hummel
-
- Feb 21, 2014
-
-
Helmut Hummel authored
The functional test utility assumes that the current working directory is the document root, which must not necessarily be true. Use the absolute path to check for existence of extension directories instead. Resolves: #56204 Releases: 6.2 Change-Id: I9e5fa06f0e069c04586de7c23edc80e070ef4aa9 Reviewed-on: https://review.typo3.org/27786 Reviewed-by: Helmut Hummel Tested-by: Helmut Hummel
-
Helmut Hummel authored
Some PHP warnings occur in functional tests due to missing initialization of arrays or unused function parameters. Resolves: #56203 Related: #56187 Releases: 6.0 Change-Id: I1cd75de253382759315a8f72cff6e497b31bcc07 Reviewed-on: https://review.typo3.org/27785 Reviewed-by: Helmut Hummel Tested-by: Helmut Hummel
-
Michiel Roos authored
* Cache hsc values of calls to sL() * Code cleanup * Use !empty() instead of count() for objects known to be an array Change-Id: Ie015f9755b98c41df185865325ea15ce42179e23 Resolves: #56109 Releases: 6.2 Reviewed-on: https://review.typo3.org/27745 Reviewed-by: Steffen Ritter Reviewed-by: Markus Klein Tested-by: Markus Klein Reviewed-by: Oliver Klee Reviewed-by: Wouter Wolters Tested-by: Wouter Wolters
-
Stanislas Rolland authored
Solution: Configure a hook in frontend to add a meta tag just after the head tag whenever rtehtmlarea is in use on the page and the user agent is IE 11+. The meta tag instructs IE to emulate IE 10. Resolves: #56192 Releases: 6.2 Change-Id: Icc81f14c107360a47a34403032e5fe7890f1d784 Reviewed-on: https://review.typo3.org/27776 Reviewed-by: Markus Klein Reviewed-by: Wouter Wolters Reviewed-by: Stanislas Rolland Tested-by: Stanislas Rolland
-