- Apr 13, 2014
-
-
Helmut Hummel authored
Builds error regularily because our scripts need to output something at least every 10 minutes. This might not happen as the complete functional test suite takes longer than that. To avoid these issues, only execute unit tests and lint in parallel and each functional test suite. By doing so, each functional test suite can take up to 10 minutes which is for now a limit we do not reach. Releases: 6.2 Change-Id: I74cac706748cc03388f814f09e799a8705a26bca Reviewed-on: https://review.typo3.org/29133 Reviewed-by: Markus Klein Reviewed-by: Stefan Neufeind Reviewed-by: Helmut Hummel Tested-by: Helmut Hummel
-
Christian Kuhn authored
vfsStream was namespaced a while ago. While ext:phpunit still has a Migration to map non namespaced classes to the namespaced ones, they should not be used any longer. Change-Id: I44dcda6707cf6410125f01552c995a27113b3cc2 Resolves: #57872 Related: #51436 Releases: 6.2 Reviewed-on: https://review.typo3.org/29440 Reviewed-by: Oliver Klee Reviewed-by: Anja Leichsenring Tested-by: Anja Leichsenring
-
Marc Bastian Heinrichs authored
Like the Web\RequestBuilder the Cli\RequestBuilder is a service object for the RequestHandler. It gets injected and has no internal state, thus it should be a Singleton. Resolves: #57591 Releases: 6.2 Change-Id: I959fcfdbc4182cd86cd38d438a0ff7f0de1845f1 Reviewed-on: https://review.typo3.org/29112 Reviewed-by: Wouter Wolters Reviewed-by: Stefan Neufeind Tested-by: Stefan Neufeind
-
Pascal Dürsteler authored
Admin user records still process earlier defined mounts which leads to a cluttered page tree or filelist tree, respectively. Resolves: #57587 Releases: 6.2 Change-Id: I9cae20da90f4f796db8a8831a09e5f4d029ae249 Reviewed-on: https://review.typo3.org/29110 Reviewed-by: Dmitry Dulepov Tested-by: Dmitry Dulepov Reviewed-by: Stefan Neufeind Tested-by: Stefan Neufeind
-
Roland Waldner authored
Removes "Define visibility" @todo annotations in phpdoc blocks of public variables and methods which are used in index_ts.php and have therefore be public. Resolves: #57865 Releases: 6.2 Change-Id: Ide7190fcabb802bf5f4706c916f2e3ac0ee53be7 Reviewed-on: https://review.typo3.org/29434 Reviewed-by: Oliver Klee Reviewed-by: Stefan Neufeind Reviewed-by: Christian Kuhn Tested-by: Christian Kuhn
-
Markus Klein authored
Introduce getters for global objects Resolves: #57855 Releases: 6.2 Change-Id: I08d37c8934a4b89ef92d31d96073c293a89f04e1 Reviewed-on: https://review.typo3.org/29411 Reviewed-by: Christian Kuhn Tested-by: Christian Kuhn Reviewed-by: Oliver Klee Reviewed-by: Stefan Neufeind Reviewed-by: Anja Leichsenring Tested-by: Anja Leichsenring
-
- Apr 12, 2014
-
-
Kevin Häfeli authored
Extend the PHP_SAPI check with "srv" to match the interface between the webserver and PHP also for Facebook's HHVM and set the paths correctly for HHVM hostings. Resolves: #57785 Releases: 6.2 Change-Id: Ie9e302f9ce606158f5e70af1930eda778a8a5a34 Reviewed-on: https://review.typo3.org/29335 Reviewed-by: Christian Kuhn Tested-by: Christian Kuhn Reviewed-by: Stefan Neufeind Tested-by: Stefan Neufeind
-
Roland Waldner authored
Resolves: #57814 Releases: 6.2 Change-Id: I0f92a0695f5897eb0311f68bfd21ebb40d9303d8 Reviewed-on: https://review.typo3.org/29355 Reviewed-by: Christian Kuhn Tested-by: Christian Kuhn Reviewed-by: Oliver Klee Reviewed-by: Helmut Hummel Tested-by: Helmut Hummel
-
Nicole Cordes authored
This patch improves the update process as it removes the hard stop after an SQL error occurred. All queries should get executed and errors should be reported at the end. Sometimes it gets necessary that the updater is called more that once - a notice to the user is added. Besides the index length is reduced by 1 to ensure the index is set with limitation in the database and all fields can be updated in the second step. Resolves: #57421 Releases: 6.2 Change-Id: I2f830a8a62b8dff3fbe949d40de8ddc30f3dfb9a Reviewed-on: https://review.typo3.org/28945 Reviewed-by: Jigal van Hemert Tested-by: Jigal van Hemert Reviewed-by: Dmitry Dulepov Tested-by: Dmitry Dulepov Reviewed-by: Christian Kuhn Tested-by: Christian Kuhn
-
Roland Waldner authored
* fix comment line lengths to improve readability and meet the CGL * add some additional line breaks in comments to improve readability * add missing @throws annotations in phpdoc blocks * add missing @var annotations in phpdoc blocks Resolves: #57859 Releases: 6.2 Change-Id: I311c6c858c8810b4a8906918378629aef5e1ebc8 Reviewed-on: https://review.typo3.org/29425 Reviewed-by: Oliver Klee Reviewed-by: Christian Kuhn Tested-by: Christian Kuhn
-
Roland Waldner authored
Resolves: #57819 Releases: 6.2 Change-Id: I24a860dda49504e8745fe195f74c519a73a22991 Reviewed-on: https://review.typo3.org/29376 Reviewed-by: Christian Kuhn Tested-by: Christian Kuhn Reviewed-by: Markus Klein Tested-by: Markus Klein
-
Steffen Müller authored
* fixes CGL issues in annotations, * fixes wrong annotations, * introduces use statements Resolves: #57661 Releases: 6.2 Change-Id: I41363888c523aedd13a795572d8c66430c0f34e3 Reviewed-on: https://review.typo3.org/29178 Reviewed-by: Markus Klein Tested-by: Markus Klein Reviewed-by: Oliver Klee Reviewed-by: Christian Kuhn Tested-by: Christian Kuhn
-
Marc Bastian Heinrichs authored
On detaching related objects the foreign_match_fields needs to be cleared. Resolves: #47694 Relates: #45337 Releases: 6.2, 6.1 Change-Id: I6d74201afc437a2b0e2a73022bc71ed0cd1dd2d4 Reviewed-on: https://review.typo3.org/26694 Reviewed-by: Wouter Wolters Reviewed-by: Anja Leichsenring Tested-by: Anja Leichsenring Reviewed-by: Christian Kuhn Tested-by: Christian Kuhn
-
Benjamin Mack authored
With the introduction of the file abstraction layer, the filemount functionality was deprecated in 6.0 but wasn't removed. However, the usage of addFileMount() in rtehtmlarea and EXT:recordlist is now removed, since the added filemounts are never read anywhere, so this is only dead code. The functionality needs to be re-implemented. Releases: 6.2 Resolves: #56772 Change-Id: I20ec66f46f15a785f5014cb625dabef711fae0a1 Reviewed-on: https://review.typo3.org/28265 Reviewed-by: Christian Kuhn Tested-by: Christian Kuhn Reviewed-by: Oliver Klee Reviewed-by: Anja Leichsenring Tested-by: Anja Leichsenring
-
Markus Klein authored
Clean up the source code of the authentication classes. This patch does not change any functionality. It serves as a basis for further improvements. Resolves: #57788 Releases: 6.2 Change-Id: I555456c28da6697398a15ad9718a162f98aef61a Reviewed-on: https://review.typo3.org/29322 Reviewed-by: Anja Leichsenring Tested-by: Anja Leichsenring Reviewed-by: Christian Kuhn Tested-by: Christian Kuhn
-
Peter Niederlag authored
processIncludes() is run "mandatory" from the stack ->start() ->runThroughTemplates() and doing all the work that needs to be done. Resolves: #54903 Releases: 6.2 Change-Id: Id2be1a25aa23a05849297315c74358a9ef4ff9bb Reviewed-on: https://review.typo3.org/26748 Reviewed-by: Alexander Opitz Tested-by: Alexander Opitz Reviewed-by: Oliver Klee Reviewed-by: Markus Klein Tested-by: Markus Klein
-
Wouter Wolters authored
sql_free_result throws a fatal error when called with a boolean. According to the method description boolean is an allowed type. Check if $res is an object. Change-Id: I6f7cdbb42c07869a320510e9b0b779f2b7cf6b70 Resolves: #50378 Releases: 6.2, 6.1 Reviewed-on: https://review.typo3.org/22594 Reviewed-by: Dan Untenzu Tested-by: Dan Untenzu Reviewed-by: Christian Kuhn Reviewed-by: Stefan Neufeind Reviewed-by: Markus Klein Tested-by: Markus Klein
-
- Apr 07, 2014
-
-
Alexander Stehlik authored
The LocalDriver will now use the return values of array_map calls in createFolder() and determineBaseUrl() so that the values are really sanitized / url encoded. Resolves: #57415 Releases: 6.2 Change-Id: I8aa1a79c6e4a7fe6c2d82ec66c12338e75a35872 Reviewed-on: https://review.typo3.org/28940 Reviewed-by: Frans Saris Tested-by: Frans Saris Reviewed-by: Markus Klein Tested-by: Markus Klein
-
Markus Klein authored
Due to the refactoring of the ajax registration a wrong method is registered for retrieving the description in t3editor. Resolves: #57708 Releases: 6.2 Change-Id: I4eff5fe9475151439ad4e3cae26c874f69694ac5 Reviewed-on: https://review.typo3.org/29237 Reviewed-by: Stefan Neufeind Tested-by: Stefan Neufeind
-
Markus Klein authored
Add a missing isset() check whether a setting has been overridden by user TSconfig. Resolves: #57690 Releases: 6.2, 6.1 Change-Id: Id1290b2af85061051ce0cedff4a0be96a91c4dce Reviewed-on: https://review.typo3.org/29239 Reviewed-by: Renzo Bauen Tested-by: Renzo Bauen Reviewed-by: Stefan Neufeind Tested-by: Stefan Neufeind
-
- Apr 06, 2014
-
-
Helmut Hummel authored
Some tests rely on actual extensions TCA being present. Mock the method that reads the TCA files. Resolves: #57700 Related: #57487 Releases: 6.2 Change-Id: I66cce578983fafc1bfe5a29cc0387b2e3d749873 Reviewed-on: https://review.typo3.org/29221 Reviewed-by: Christian Kuhn Tested-by: Christian Kuhn Reviewed-by: Helmut Hummel Tested-by: Helmut Hummel
-
Georg Ringer authored
The deprecation message of GeneralUtility::array_merge_recursive_overrule should show more clearly that the code can't be just updated by changing class + method name as there is no return value anymore. This is new in the core and is a quite big risk! Resolves: #57499 Releases: 6.2 Change-Id: I109a0c3edbc241708e7b362a249b6d0e4a79978e Reviewed-on: https://review.typo3.org/29035 Reviewed-by: Christian Kuhn Tested-by: Christian Kuhn Reviewed-by: Helmut Hummel Tested-by: Helmut Hummel
-
Helmut Hummel authored
Introduce a new package manager class for unit tests that does not read the PackageState.php file any more but scans for packages and activates them, so that the class loader can find the classes of all extensions even if the according extension is not active in the current TYPO3 installation. Since the unit test bootstrap does not read other extension files (ext_localconf.php, etc.) any more, we can be sure that this does not introduce any further side effects. Since the PackageStates.php file will then be obsolete, it will be removed from the travis integration repository. Resolves: #57487 Releases: 6.2 Change-Id: Id0cd50db68fd94a31a996496fd5c54049ca94e78 Reviewed-on: https://review.typo3.org/29036 Reviewed-by: Christian Kuhn Tested-by: Christian Kuhn Reviewed-by: Helmut Hummel Tested-by: Helmut Hummel
-
- Apr 05, 2014
-
-
Markus Klein authored
Resolves: #57676 Releases: 6.2 Change-Id: I6f694a2c595756595b09aa4a8a91cb795e8a47b7 Reviewed-on: https://review.typo3.org/29192 Reviewed-by: Stefan Neufeind Tested-by: Stefan Neufeind Reviewed-by: Oliver Klee Reviewed-by: Pascal Dürsteler Reviewed-by: Christian Kuhn Tested-by: Christian Kuhn
-
Pascal Dürsteler authored
When exiting a simulated BE user, you return to the backend user module instead of the default startup page. Resolves: #22020 Releases: 6.2 Change-Id: I8de7b6f79e6ddb9bc03f62364f3246ef13a4ddf3 Reviewed-on: https://review.typo3.org/28689 Reviewed-by: Markus Klein Reviewed-by: Philipp Gampe Tested-by: Philipp Gampe Reviewed-by: Stefan Neufeind Tested-by: Stefan Neufeind
-
- Apr 04, 2014
-
-
Philipp Bergsmann authored
Fixing a missing preg_quote() call in ExtensionManagementUtility, which causes a PHP warning and a failing preg_match(). Resolves: #55662 Releases: 6.2 Change-Id: Iaf1e21546741ae282016f433bf83f7e5663e3c7b Reviewed-on: https://review.typo3.org/29145 Reviewed-by: Markus Klein Tested-by: Markus Klein Reviewed-by: Pascal Dürsteler Tested-by: Pascal Dürsteler Reviewed-by: Stefan Neufeind Tested-by: Stefan Neufeind
-
Nicole Cordes authored
The class name is submitted in a hidden form and is susceptible to XSS. The patch introduced htmlspecialchars to prevent XSS possibility. Resolves: #57603 Releases: 6.2, 6.1, 6.0, 4.7, 4.5 Change-Id: I4979e66f28a581e168c56d91327a1bbe2672448d Reviewed-on: https://review.typo3.org/29121 Reviewed-by: Markus Klein Tested-by: Markus Klein Reviewed-by: Helmut Hummel Tested-by: Helmut Hummel Reviewed-by: Stefan Neufeind Tested-by: Stefan Neufeind
-
Stefan Neufeind authored
* Check supplied options * Apply default-values of validator if needed * Check for required options * Provide options via constructor instead of via setOptions() (which is deprecated) * Add tests for AbstractValidator and AbstractCompositeValidator Resolves: #52208 Resolves: #57164 Releases: 6.2, 6.1 Change-Id: I589a30bea74144eed51948ecad3143ab145c958f Reviewed-on: https://review.typo3.org/28938 Reviewed-by: Marc Bastian Heinrichs Tested-by: Marc Bastian Heinrichs Reviewed-by: Pascal Dürsteler Tested-by: Pascal Dürsteler Reviewed-by: Stefan Neufeind Tested-by: Stefan Neufeind
-
- Apr 03, 2014
-
-
Helmut Hummel authored
Currently public and private RSA keys are generated when rendering the login form. This has several drawbacks. It can lead to strange and hard to debug errors when a second request is done in the same browser, which invalidates the key for the current login form (#38660), opening a second login in a different tab invalidates the key on the first tab and finally when the login form stays open until the PHP session expires (parts of the private key are stored in the PHP session), the key is also invalid for the form. Solution is to create a new key pair on the fly when a user clicks the submit button and fetch the public key via Ajax. This change implements this for the backend login. Frontend login should be tackled in a different patch. Resolves: #37421 Releases: 6.2 Change-Id: I0cd9a049d892ee872436347153a0e1114b17585d Reviewed-on: https://review.typo3.org/28893 Reviewed-by: Nicole Cordes Tested-by: Nicole Cordes Reviewed-by: Stefan Neufeind Tested-by: Stefan Neufeind
-
Stefan Froemken authored
Currently the Page Renderer is reset when calling the render() method, even if only one part (header or footer) is rendered, which causes a second call to fail, when rendering another part. This happens e.g in DocumentTemplate.php where the render() method is called two times. Because of the reset, the second call starts pageRenderer with empty properties. Solution is to only call reset if everything is rendered. Resolves: #57294 Releases: 6.2 Change-Id: Ib4800e37ba0760617de71f9ca1181d1664463e33 Reviewed-on: https://review.typo3.org/28770 Reviewed-by: Nicole Cordes Tested-by: Nicole Cordes Reviewed-by: Stefan Neufeind Tested-by: Stefan Neufeind
-
- Apr 02, 2014
-
-
Markus Klein authored
Inform the user, if the database SELECT query fails during the wizard. Resolves: #57572 Releases: 6.2 Change-Id: I0908aff5d58d6d309b471c810d924f26fc1ca577 Reviewed-on: https://review.typo3.org/29093 Reviewed-by: Alexander Opitz Tested-by: Alexander Opitz Reviewed-by: Steffen Müller Tested-by: Steffen Müller
-
Markus Klein authored
The cruser_id field is now guaranteed to be an integer. This patch checks if a BE_USER is available and uses zero otherwise. Resolves: #57495 Related: #46020 Releases: 6.2 Change-Id: I8260604eb30ca32d2a5e079fa6f5b10a6d04714e Reviewed-on: https://review.typo3.org/29028 Reviewed-by: Nicole Cordes Reviewed-by: Jigal van Hemert Reviewed-by: Frans Saris Reviewed-by: Stefan Neufeind Tested-by: Stefan Neufeind Reviewed-by: Alexander Opitz Tested-by: Alexander Opitz Reviewed-by: Markus Klein Tested-by: Markus Klein
-
Markus Klein authored
The HTML templates are missing the marker for the introduced page.includeCSSLibs TS feature in 6.2 Resolves: #57467 Releases: 6.2 Change-Id: I83d7c7f34fc83c4c699bad7edfaa03c6684497fe Reviewed-on: https://review.typo3.org/28997 Reviewed-by: Georg Ringer Tested-by: Georg Ringer
-
Benjamin Mack authored
The historical option "wide document" can be safely removed, as the wide screen options from 10 years ago are default by now. Resolves: #57295 Releases: 6.2 Change-Id: I0e5c81046733f4ddd10cc7d084f0ef7b952c3cb0 Reviewed-on: https://review.typo3.org/28769 Reviewed-by: Helmut Hummel Tested-by: Helmut Hummel Reviewed-by: Simon Schaufelberger Tested-by: Simon Schaufelberger Reviewed-by: Georg Ringer Tested-by: Georg Ringer
-
Georg Ringer authored
The input field of the configuration module's search is never populated with the search term. Solution: move one line some lines up to get the value. Releases: 6.2 Resolves: #57486 Change-Id: I7ff86e3336cb473df259c3aeb7d0c918fbc48bab Reviewed-on: https://review.typo3.org/29015 Reviewed-by: Georg Ringer Tested-by: Georg Ringer
-
- Apr 01, 2014
-
-
Alexander Stehlik authored
In GraphicalFunctions::imageMagickIdentify() the last line returned by the executed command will be used as result. This prevents the system from using possible error messages printed before the actual result for further processing. Resolves: #56574 Releases: 6.2 Change-Id: Ic179e0b68c7fa9a4f0f4b2342cb381c54fb740b9 Reviewed-on: https://review.typo3.org/28076 Reviewed-by: Xavier Perseguers Reviewed-by: Stefan Neufeind Tested-by: Stefan Neufeind
-
Helmut Hummel authored
The extension manager often uses the extension relative path to calculate paths to different files, but does not take into account that this path already has a trailing slash. Remove excess slashes to avoid double slashes in paths. Resolves: #57327 Related: #57312 Releases: 6.2 Change-Id: I60519d4d7075a615d0505bfc4cbb2b6ee1b0c222 Reviewed-on: https://review.typo3.org/28825 Reviewed-by: Philipp Gampe Tested-by: Philipp Gampe Reviewed-by: Wouter Wolters Reviewed-by: Stefan Neufeind Tested-by: Stefan Neufeind
-
Marc Bastian Heinrichs authored
Typo3DbQueryParser gets injected in Typo3DbBackend, thus it has to be a Singleton. Resolves: #57338 Releases: 6.2 Change-Id: I5b845ef280d23b6893d308bc9013ef965637a1ef Reviewed-on: https://review.typo3.org/28843 Reviewed-by: Helmut Hummel Tested-by: Helmut Hummel
-
Marc Bastian Heinrichs authored
EnvironmentService is a service and gets injected in different classes, thus it has to be a Singleton. Resolves: #57518 Releases: 6.2, 6.1 Change-Id: Ia8a3b8882be27c0f45569af818964036f0a9b16d Reviewed-on: https://review.typo3.org/29042 Reviewed-by: Helmut Hummel Tested-by: Helmut Hummel
-
Alexander Opitz authored
We should check if directory is writable. Else fopen in acquireLock would only fail with error after waiting time. Also we do not aspect write permission issue here. Resolves: #57463 Releases: 6.2 Change-Id: Ia767a2355aecf1e816d4c130b151443e50e1a311 Reviewed-on: https://review.typo3.org/28988 Reviewed-by: Markus Klein Tested-by: Markus Klein Reviewed-by: Stefan Neufeind Tested-by: Stefan Neufeind
-