- Apr 30, 2014
-
-
Stefan Froemken authored
remove additional enableFields from where clause in ProcessedFileRepository as long as sys_file_processedfile is not part of TCA Resolves: #57906 Releases: 6.2 Change-Id: I393f7f952a59ca2f79bf35c8653375a54fec4170 Reviewed-on: https://review.typo3.org/29461 Reviewed-by: Oliver Klee Reviewed-by: Stefan Neufeind Reviewed-by: Frans Saris Tested-by: Frans Saris Reviewed-by: Markus Klein Tested-by: Markus Klein
-
Philipp Gampe authored
The extension manager fails to show any error message if an extension update fails. Convert exceptions (e.g. dependency fails, TER download fails) into a nice flashmessage. Convert any server errors (uncatchable PHP errors) into a flashmessage. Resolves: #56823 Releases: 6.2, 6.1 Change-Id: Ife3c6d3dcd23177ba22192dd6ae720352931b538 Reviewed-on: https://review.typo3.org/28738 Reviewed-by: Wouter Wolters Tested-by: Wouter Wolters Reviewed-by: Jost Baron Reviewed-by: Markus Klein Tested-by: Markus Klein
-
Nico de Haen authored
The container ViewHelper does not provide a configuration attribute for includeCsh (Context sensitive help). As consequence ExtJS and ExtDirect code is always loaded in Backend Modules. Resolves: #58075 Releases: 6.2 Change-Id: I1978bdc0bf3fca40f78cdae9b214a808f58abe49 Reviewed-on: https://review.typo3.org/29590 Reviewed-by: Wouter Wolters Tested-by: Wouter Wolters Reviewed-by: Stefan Neufeind Tested-by: Stefan Neufeind
-
- Apr 29, 2014
-
-
Markus Klein authored
ActionMenuViewHelper contains a wrong example for the usage of the viewhelper. It uses a '=' where a ':' would be correct. Resolves: #58166 Releases: 6.2, 6.1 Change-Id: I135310be0ac2e8df59f81dfbf694a0febbcde99a Reviewed-on: https://review.typo3.org/29646 Reviewed-by: Kay Strobach Tested-by: Kay Strobach Reviewed-by: Stefan Neufeind Tested-by: Stefan Neufeind
-
Markus Klein authored
Some extensions need page TSconfig in FE. This was restricted to BE only with #55593. Undo this change. Resolves: #58338 Releases: 6.2 Change-Id: Ia14d7d36c659598415f86f8fabf515879776d148 Reviewed-on: https://review.typo3.org/29729 Reviewed-by: Gerrit Mohrmann Tested-by: Gerrit Mohrmann Reviewed-by: Fabien Udriot Reviewed-by: Stefan Neufeind Reviewed-by: Wouter Wolters Tested-by: Wouter Wolters
-
Stefan Froemken authored
We have removed startRange and endRange too early in NumberRangeValidator. As long as TYPO3 6.3 is not reached we have to reimplement these options again. Resolves: #58313 Releases: 6.2 Change-Id: Id012da11227230890b27aa24e1dba1787210f931 Reviewed-on: https://review.typo3.org/29722 Reviewed-by: Wouter Wolters Tested-by: Wouter Wolters Reviewed-by: Markus Klein Tested-by: Markus Klein
-
- Apr 28, 2014
-
-
Jigal van Hemert authored
The reason for this behaviour is the combination of prototype.js and ExtJS. The ExtJS defer() method takes precedence. Calling the defer() method without any arguments would have resulted in using a default value of "0.01" seconds in standalone prototype.js, but results in directly calling the submitted function. The stack overflow is caused by not delaying the function call and thus ending in a recursive endless loop. Resolves: #58187 Releases: 6.2, 6.1, 6.0, 4.7, 4.5 Change-Id: I6db191ff67a3e869072877936d949fc733cda74f Reviewed-on: https://review.typo3.org/29655 Reviewed-by: Oliver Hader Tested-by: Oliver Hader
-
Markus Klein authored
In case login data is submitted and there is an existing cookie/session the current session is discarded and the current cookie is unset. Subsequently the login data is processed and login succeeds and a new session is established, but the new cookie is not set. Fix this be correctly remembering that we need to set a new cookie, after we disposed the current one. Resolves: #57751 Releases: 6.2 Change-Id: I2e4b4a381b4e557aeb95c4186c6e5365dbea442a Reviewed-on: https://review.typo3.org/29626 Reviewed-by: Fabien Udriot Reviewed-by: Stefan Neufeind Reviewed-by: Robbert V Tested-by: Robbert V Reviewed-by: Frans Saris Tested-by: Frans Saris Reviewed-by: Oliver Hader Tested-by: Oliver Hader
-
Markus Klein authored
DatabaseRecordList (List module) generates returnUrls for localization links. These must not contain the 'justLocalized' parameter, as this would cause redirects to edit form over and over again. This fix removes the inclusion of all the GET parameters - introduced with #55314 - again. Only the module parameter is used from GET/POST. Additional API enables extbase plugins to add necessary parameters. The TableListViewHelper does not need any more parameters besides the module name and hence still works after this patch. Resolves: #58257 Related: #55314 Releases: 6.2 Change-Id: I641e4ce37e48c9ea4f9aabce41b11d8f824bf64d Reviewed-on: https://review.typo3.org/29701 Reviewed-by: Marc Bastian Heinrichs Reviewed-by: Oliver Hader Tested-by: Oliver Hader Reviewed-by: Wouter Wolters
-
- Apr 25, 2014
-
-
Oliver Hader authored
In frontend rendering mode PageRepository::versionOL() is called frequently to overlay workspace data. A further method call then creates a query with required t3ver_* fields. This query fails if a table is not considered to support workspaces/versioning at all. This behaviour is regression that has been introduced with issue #30604 during TYPO3 4.7 development. Resolves: #58180 Releases: 6.2, 6.1, 6.0 Change-Id: I81d24ea16116563f4f0d75fafd06496a9c4e993d Reviewed-on: https://review.typo3.org/29657 Reviewed-by: Wouter Wolters Reviewed-by: Markus Klein Reviewed-by: Oliver Hader Tested-by: Oliver Hader
-
- Apr 23, 2014
-
-
Jigal van Hemert authored
Reverted per request of the RM because: - there is a merge freeze for regressions - 6.2 is now a stable branch (no new features) Besides: - no documentation issue - not enough votes This reverts commit 8f520011 Change-Id: Ia1ffee069f825b678748808d756a2c04fd8edb18 Reviewed-on: https://review.typo3.org/29616 Reviewed-by: Jigal van Hemert Tested-by: Jigal van Hemert
-
Georg Ringer authored
The width of the element browser is sadly hardcoded to 600 and 650. In many situations the element browser would need more place and with this tiny change it would be easily possible to change that behaviour without overloading the whole file. Resolves: #58031 Releases: 6.2 Change-Id: I8a7df0e1c8f2c977af309fe5917c38ec6de99759 Reviewed-on: https://review.typo3.org/29555 Reviewed-by: Laurent Cherpit Reviewed-by: Wouter Wolters Tested-by: Wouter Wolters Reviewed-by: Georg Ringer Tested-by: Georg Ringer
-
Alexander Stehlik authored
The uid and pid parameters will now be passed on in the jumpToUrl() function of the element browser. This makes sure that Page TSConfig can still be retrieved when the user clicks on a tab. Resolves: #58005 Releases: 6.2 Change-Id: I04cecb0aade417254ed5b0320bbc398f44850617 Reviewed-on: https://review.typo3.org/29536 Reviewed-by: Markus Klein Tested-by: Markus Klein Reviewed-by: Wouter Wolters Tested-by: Wouter Wolters Reviewed-by: Georg Ringer Tested-by: Georg Ringer
-
- Apr 22, 2014
-
-
Helmut Hummel authored
The page renderer is not designed to work with a second rendering pass without resetting to its initial state. Not resetting will cause double compression of files and creating wrong version numbered file names. Reverting this again means: ->addFooter* calls are ignored when being called before first rendering pass and only work when done after first rendering pass. Although this behavior is highly intransparent it cannot easily be fixed without heavy refactoring of the page renderer which most likely will break hooks. Introduced regression by this change: #57919 and #58010 This reverts commit c67e8ebb Change-Id: I9e489e49f65bb69e2f3c3b997cc14465d6a08d80 Reviewed-on: https://review.typo3.org/29580 Reviewed-by: Wouter Wolters Tested-by: Wouter Wolters Reviewed-by: Markus Klein Tested-by: Markus Klein
-
Markus Klein authored
GeneralUtility::getFileAbsFileName() returns a blank string for invalid paths. TypoScriptParser::includeDirectory() does not check the return value, but passes it on to TypoScriptParser::getAllFilesAndFoldersInPath(). This causes the method to enumerate all entries of /. Fix this by properly checking the return value of getFileAbsFileName(). Resolves: #58102 Releases: 6.2 Change-Id: I778ad6bfc9d4a6a08f36fdd6ae00ccb9a8d2c03e Reviewed-on: https://review.typo3.org/29607 Reviewed-by: Johannes Kasberger Tested-by: Johannes Kasberger Reviewed-by: Stefan Neufeind Tested-by: Wouter Wolters Reviewed-by: Wouter Wolters Reviewed-by: Markus Klein Tested-by: Markus Klein
-
Helmut Hummel authored
Due to an oddity in page renderer, we cannot add the required JavaScript to the footer as it would not be rendered. Clean up the JavaScript to correctly work even when included in the header and change the hook to add the JS files to the header. Resolves: #58010 Related: #57294 Releases: 6.2 Change-Id: I354de3b0aeaf2b163b5df5301de6f0a0aaae34a6 Reviewed-on: https://review.typo3.org/29581 Reviewed-by: Oliver Klee Tested-by: Dirk Klimpel Reviewed-by: Markus Klein Tested-by: Markus Klein
-
- Apr 19, 2014
-
-
Christian Kuhn authored
The patch uses composer based dependency handling and other stuff pushing travis-ci tests to the next level: - phpunit registered as "dev" requirement in composer.json - vfsStream registered as "dev" requirement in composer.json - cms-composer-installers is not released stable and adapted in composer.json for successful dependency resolving via composer - cloning travis-integration repository is obsolete by inlining scripts in .travis.yml - cloning ext:phpunit is obsolete, native phpunit by composer is used now - it is possible to set functional test suite database credentials with environment variables, used in .travis.yml - redis cache backend tests are enabled on travis-ci again - use existing php modules of travis-ci environment speeds up build With phpunit from composer, the command to run tests is ./bin/phpunit -c typo3/sysext/core/Build/UnitTests.xml More documentation about that can be found at http://wiki.typo3.org/Unit_Testing_TYPO3 Change-Id: I4d524e8e0249ca22f34fc48b7209d60d72e5e921 Resolves: #57971 Related: #51436 Releases: 6.2 Reviewed-on: https://review.typo3.org/29495 Reviewed-by: Wouter Wolters Reviewed-by: Tymoteusz Motylewski Tested-by: Tymoteusz Motylewski Reviewed-by: Helmut Hummel Tested-by: Helmut Hummel
-
- Apr 18, 2014
-
-
Helmut Hummel authored
The TCA overrides are only parsed when the cache is built. But they also need to be parsed if the bootstrap requests an uncached load. Move the signal to loadBaseTca to accomplish this. Resolves: #58039 Releases: 6.2 Change-Id: I17b871060ec11ce044d8e09b5acfe8d20a36a5e8 Reviewed-on: https://review.typo3.org/29561 Reviewed-by: Steffen Ritter Tested-by: Steffen Ritter Reviewed-by: Jigal van Hemert Reviewed-by: Helmut Hummel Tested-by: Helmut Hummel
-
Christian Kuhn authored
Not using --keep-order in parallel gives output as soon as a job is finished and thus reduces the risk for travis-ci timeouts. Change-Id: If33087fbf4fc2b927ce52d153625140d89c2603a Releases: 6.2 Reviewed-on: https://review.typo3.org/29553 Reviewed-by: Wouter Wolters Reviewed-by: Philipp Gampe Tested-by: Philipp Gampe Reviewed-by: Stefan Neufeind Reviewed-by: Helmut Hummel Tested-by: Helmut Hummel
-
- Apr 16, 2014
-
-
TYPO3 Release Team authored
Change-Id: I6e25181228d9c65bc4eee0b2309aed54ce24d181 Reviewed-on: https://review.typo3.org/29524 Reviewed-by: TYPO3 Release Team Tested-by: TYPO3 Release Team
-
TYPO3 Release Team authored
Change-Id: I43e62cf514ffc35d05163fee8bf0f222f3a18df7 Reviewed-on: https://review.typo3.org/29523 Reviewed-by: TYPO3 Release Team Tested-by: TYPO3 Release Team
-
Markus Hoelzle authored
This patch changes the warnings to a notices if files or folders are readable for anyone. This improves usability for users on non-restrictive systems as 1und1 servers. Resolves: #57354 Releases: 6.2 Change-Id: Ic9eba030647e837694331d394d45dc1553c0cdf5 Reviewed-on: https://review.typo3.org/28917 Reviewed-by: Ernesto Baschny Tested-by: Ernesto Baschny
-
Frans Saris authored
On multiple places the new folder or filename is not sanitized before the checks are done to see if the a folder of file with that name already exists. This patch makes sure the new names gets sanitized first and also takes care that the name of the resultObject is passed to the PostFolderMove, PostFolderCopy and PostFolderRename signals. Resolves: #57681 Releases: 6.2 Change-Id: Id951ded531c9979e7cb4bdcd319f56a8f810fa96 Reviewed-on: https://review.typo3.org/29202 Reviewed-by: Stefan Froemken Tested-by: Stefan Froemken Reviewed-by: Stefan Neufeind Reviewed-by: Alexander Opitz Tested-by: Alexander Opitz Reviewed-by: Francois Suter Tested-by: Francois Suter
-
Jigal van Hemert authored
If the end of a result set is reached some drivers produce NULL. This must be changed into FALSE to be compatible with the non-DBAL version of these functions. Resolves: #57957 Releases: 6.2, 6.1 Change-Id: I664dd10735f88754c74e20ecd5c07fad5ef2b78d Reviewed-on: https://review.typo3.org/29502 Reviewed-by: Mathias Schreiber Tested-by: Mathias Schreiber Reviewed-by: Markus Klein Reviewed-by: Jigal van Hemert Tested-by: Jigal van Hemert
-
Xavier Perseguers authored
The TCA tree element fail to load inside IRRE, in some condition (when the record is not loaded/opened) Change-Id: Id077a71e2191b0cf91003611e11dc5aefafab0c9 Resolves: #39035 Releases: 6.2, 6.1 Reviewed-on: https://review.typo3.org/12850 Reviewed-by: Markus Klein Reviewed-by: Laurent Cherpit Reviewed-by: Dominique Feyer Tested-by: Dominique Feyer Reviewed-by: Fabien Udriot Reviewed-by: Frans Saris Tested-by: Frans Saris
-
Frans Saris authored
The maxLevels in the TCA tree configuration is not set by the CategoryRegistry. As a result only 4 levels are shown. This patch sets the maxLevels to 99 and also updates the appearance settings of the sys_category:parent field so these are inline with the other category tree fields. Resolves: #57750 Releases: 6.2 Change-Id: I7c33b71d2af214cf1b2027e4769c1cc43a3c43d6 Reviewed-on: https://review.typo3.org/29297 Reviewed-by: Alexander Opitz Reviewed-by: Francois Suter Tested-by: Francois Suter Reviewed-by: Stefan Neufeind Reviewed-by: Fabien Udriot Tested-by: Fabien Udriot Reviewed-by: Frans Saris Tested-by: Frans Saris
-
- Apr 15, 2014
-
-
Christian Kuhn authored
Fix a possible warning in the new method and simplify test cases a bit. Change-Id: Ie9ee3c1b52d3a692c23428f21e3fb7311da9cb2a Resolves: #33499 Releases: 6.2 Reviewed-on: https://review.typo3.org/29492 Reviewed-by: Andreas Wolf Reviewed-by: Helmut Hummel Tested-by: Helmut Hummel
-
Markus Klein authored
After successfully migrating a field, the field is not added to the list of finished fields, due to a superfluous check. Running wizard again finally adds the field to the finished list as the condition is fulfilled, but the additional run does not do any useful work anymore. Fix this by adjusting the condition to safe the extra run. Resolves: #57497 Releases: 6.2 Change-Id: I6bc15de6f5dbeb58151a1745a849e1b0581b2fbe Reviewed-on: https://review.typo3.org/29033 Reviewed-by: Frans Saris Reviewed-by: Alexander Opitz Tested-by: Alexander Opitz Reviewed-by: Stefan Neufeind Tested-by: Stefan Neufeind
-
Markus Klein authored
Change-Id: I8606f5e0a1525cb98839a41271466a18b9f3cccf Fixes: #33499 Releases: 6.2, 6.1 Reviewed-on: https://review.typo3.org/10448 Reviewed-by: Stefan Neufeind Tested-by: Stefan Neufeind
-
Helmut Hummel authored
This change adds the feature that php files in the extension directory Configuration/TCA/Overrides/ will be executed right before building the cached TCA. These files must *only* contain PHP code that manipulate TCA (like addTCAColumns or addToAllTCATypes). The benefit in doing so is that we can move all code manipulating the TCA that previously was in ext_tables.php and therefore uncachable, can now be in a defined location and is only executed when TCA is built and after that cached. This will give backend requests quite a performance boost once extensions start using these files. Category Registry changes will also be applied after Configuration/TCA/Overrides/ has been processed so that makeCategorizable calls can now also happen in files in this locations and do not need to stay in ext_localconf.php where they also would be executed on every request. For now only filemetadata extension TCA configuration is moved. All other core extensions will follow later. Resolves: #57942 Documentation: #57951 Releases: 6.2 Change-Id: Id7fdebac266bc0b4e85a45b64d73e4f4f3c59a36 Reviewed-on: https://review.typo3.org/29484 Reviewed-by: Anja Leichsenring Tested-by: Anja Leichsenring Reviewed-by: Stefan Neufeind Tested-by: Stefan Neufeind
-
Helmut Hummel authored
The category registry test and makeCategorizable test of extension management utility are cleaned up to use proper naming and actually test what is in their scope. Resolves: #57949 Releases: 6.2 Change-Id: I5dae812435d71b5188b4dc8ecf9dd2ce9d400658 Reviewed-on: https://review.typo3.org/29488 Reviewed-by: Helmut Hummel Tested-by: Helmut Hummel
-
Helmut Hummel authored
This reverts commit 2b4aeefc This is reverted in favor of a better approach that makes caching for every TCA additions or override possible. Besides that, this change introduced a regression, as database compare in install tool does not work properly any more. Change-Id: I4fc0d3d76f28afd8ff82ae5537ff3b207fa53bae Reviewed-on: https://review.typo3.org/29480 Reviewed-by: Helmut Hummel Tested-by: Helmut Hummel
-
Helmut Hummel authored
Currently TCA changes of the category API are applied on every request after the extTables files is included. This makes it impossible to override the changes by third party extensions and also we do not benefit from caching. Instead we now use the introduced signal and apply the changes right before caching. With this change we also have a clear separation of registering category field additions (in ext_localconf.php) and applying the TCA changes while building the TCA cache. Resolves: #57881 Releases: 6.2 Change-Id: I385c894fe13eb4cd4f8f2b4c82a9513b05308daa Reviewed-on: https://review.typo3.org/29424 Reviewed-by: Frans Saris Tested-by: Frans Saris Reviewed-by: Anja Leichsenring Tested-by: Anja Leichsenring
-
Marcin Sągol authored
TYPO3 Fluid offers view helper TableListViewHelper to generate records list in backend modules. When pagination is rendered for this list all links (previous, next etc.) redirect to List module but they should point to current backend module. Reason of this behaviour is hardcoded module name in listURL() function. This patch replaces hardcoded module name with the M parameter from GET array. Extbase modules require also controller and action name in url's so all GET params are merged with this defined in listURL() function. We are using all GET params because module might require more than controller and action name for other elements than records list. Resolves: #55314 Releases: 6.2 Change-Id: I706cf99838620c961e1b3f7af667d0c6ba447077 Reviewed-on: https://review.typo3.org/27049 Reviewed-by: Stefan Neufeind Reviewed-by: Alexander Opitz Tested-by: Alexander Opitz Reviewed-by: Markus Klein Tested-by: Markus Klein
-
Oliver Klee authored
This changes adds some missing @throws annotations and improves the readability of some comments. Also fix a typo in an exception and reformat some exceptions for better readability. Moreover add some checks if the correct type is present before calling undefined methods. This change does not introduce any functional changes. Releases: 6.2 Resolves: #57871 Change-Id: Iab4414bd480a05cc5ca3b29df0d12e719064b063 Reviewed-on: https://review.typo3.org/29439 Reviewed-by: Markus Klein Tested-by: Markus Klein Reviewed-by: Stefan Neufeind Tested-by: Stefan Neufeind
-
Ernesto Baschny authored
Upgrades prototype from 1.6.0.3 to 1.7.1 and scriptaculous from 1.8.2 to 1.9.0. Solves the problem with sorting IRRE elements in IE9+, for example. Resolves: #51768 Releases: 6.2, 6.1, 6.0, 4.7, 4.5 Change-Id: I5ea11b2e926ae0f23d1c6d85a0ff5ba24995eebb Reviewed-on: https://review.typo3.org/27090 Reviewed-by: Stefan Neufeind Tested-by: Stefan Neufeind Reviewed-by: Markus Klein Tested-by: Markus Klein
-
Markus Klein authored
Resolves: #57921 Releases: 6.2 Change-Id: I5342f0d4f78831605c24b3354c1fbb7316738ca4 Reviewed-on: https://review.typo3.org/29470 Reviewed-by: Stefan Neufeind Tested-by: Stefan Neufeind
-
Markus Klein authored
Instead reset them to a default value. Resolves: #57920 Releases: 6.2 Change-Id: I900cbd46b5573a84133efe1cf9fbf29d483e8096 Reviewed-on: https://review.typo3.org/29469 Reviewed-by: Stefan Neufeind Tested-by: Stefan Neufeind
-
- Apr 14, 2014
-
-
Helmut Hummel authored
To improve performance in backend context, final TCA should be cached in contrast to only parts of it. To be able to cache the complete TCA, we need to introduce a signal after building the cached TCA from files. #57862 describes further steps, which are not in scope of this change. This is a completely non breaking change, it only adds new API which extension authors can also use to benefit from the resulting performance gain. Resolves: #57863 Documentation: #57895 Releases: 6.2 Change-Id: I1174b68b59f2ebc5b8c0c227ac13102366c2136a Reviewed-on: https://review.typo3.org/29433 Reviewed-by: Stefan Neufeind Tested-by: Stefan Neufeind
-
Georg Ringer authored
There are 3 issues in the admin panel currently which slipped through. * CSRF protection is not working in the FE even though there is a BE_USER provided * Wrong title is used for the link of "record history" link * Incorrect usage of htmlspecialchars-conversion (don't escape title for calls to getSpriteIcon, ...) Resolves: #57579 Releases: 6.2 Change-Id: I613b67e78789d479435f561a27252550c42b4452 Reviewed-on: https://review.typo3.org/29095 Reviewed-by: Markus Klein Tested-by: Markus Klein Reviewed-by: Stefan Neufeind Tested-by: Stefan Neufeind
-