- Apr 12, 2014
-
-
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
-
Nicole Cordes authored
If you update from a 6.x installation there should be a backup of the old, unmodified LocalConfiguration.php as it's getting changed during PackageStates.php extraction. This is prevented with commit e755bcd9 as a check for the PackageStates.php file was introduced, which might not be available at this point during upgrade. Resolves: #57458 Releases: 6.2 Change-Id: Ic3634ab58e3e4112df5d8544cca9c42e8f1db91f Reviewed-on: https://review.typo3.org/28980 Reviewed-by: Markus Klein Tested-by: Markus Klein Reviewed-by: Stefan Neufeind Tested-by: Stefan Neufeind
-
Helmut Hummel authored
Although there is code in the package manager tests to mock a PackageStates.php file, it does not work as the path to the file is hardcoded in the initialize action. Move the code for setting the path and creating the package factory to the constructor and move the mocking of the path before initializing in the test. Resolves: #57490 Releases: 6.2 Change-Id: I2ca29016de288017ec73ff36d0dbed1e2be0e67d Reviewed-on: https://review.typo3.org/29021 Reviewed-by: Wouter Wolters Tested-by: Wouter Wolters Reviewed-by: Thomas Maroschik Reviewed-by: Stefan Neufeind Reviewed-by: Christian Kuhn Tested-by: Christian Kuhn
-
Reinhard Führicht authored
TYPO3 uses a list of "known" languages defined in TYPO3\CMS\Core\Localization\Locales. This list can be extended by the user, but these changes are not taken into account when using $GLOBALS['TSFE']->sL() to fetch the translation. Make TypoScriptFrontendController call the needed method "initialize()" to make it work. Resolves: #53973 Releases: 6.2, 6.1 Change-Id: I9fc80ba976bf796f272591ac741d8bf4e92cbeb3 Reviewed-on: https://review.typo3.org/25685 Reviewed-by: Wouter Wolters Reviewed-by: Georg Ringer Tested-by: Georg Ringer
-
- Mar 31, 2014
-
-
Felix Kopp authored
Due to centralized standard styles for standard elements no further special CSS definition is necessary. Also removes an excessive closing bracket in CSS. Resolves: #57451 Releases: 6.2 Change-Id: I54d1bacce4774a7cc6924870985cb747cc3b5a89 Reviewed-on: https://review.typo3.org/28972 Reviewed-by: Georg Ringer Tested-by: Georg Ringer
-
Georg Ringer authored
The page module's notification on sysfolders to switch to list view got an extra line which can be removed. Resolves: #57449 Releases: 6.2 Change-Id: I3c646b1f4a258924ca46652eae7c3f60391f52ac Reviewed-on: https://review.typo3.org/28968 Reviewed-by: Felix Kopp Tested-by: Felix Kopp Reviewed-by: Georg Ringer Tested-by: Georg Ringer
-
- Mar 30, 2014
-
-
Georg Ringer authored
2 possible information snippets can be outputted using config.debug = 1 in TypoScript or [FE][debug]=1 in Install Tool. - Parsetime - Cached page generated time + expire date TypoScript should override the general setting of the Install Tool to make it possible to turn debugging of for specific PAGE objects. This is especially needed if using e.g JSON output is invalid having this information. The change uses the same check as in index_ts where it works perfectly fine. Change-Id: I1520896476d97286627ab7f3b232b733dd3c50f7 Resolves: #57365 Releases: 6.2 Reviewed-on: https://review.typo3.org/28909 Reviewed-by: Helmut Hummel Reviewed-by: Stefan Neufeind Tested-by: Stefan Neufeind
-
Nicole Cordes authored
Due to some mystical IE8 behavior the global TYPO3 object gets reset if any "var" occurs in Javascript. It is not necessary if its called or not but it seems IE8 creates a new object. This patch adds the global initialization of the TYPO3 object by using window[] syntax. Resolves: #56988 Releases: 6.2 Change-Id: I5ce246790d1e3a1e388f106d085c96dae4e4304e Reviewed-on: https://review.typo3.org/28929 Reviewed-by: Alexander Opitz Tested-by: Alexander Opitz Reviewed-by: Markus Klein Tested-by: Markus Klein
-
- Mar 29, 2014
-
-
Ernesto Baschny authored
Releases: 6.2 Change-Id: I360c4ce290735ea76fe48e003a47e867bf5cf85b Reviewed-on: https://review.typo3.org/28952 Reviewed-by: Ernesto Baschny Tested-by: Ernesto Baschny
-
Nicole Cordes authored
On update process the extension which should be updated gets uninstalled. This doesn't work if the extension is needed by other ones. This patch removes the unload process before the update to make sure system is working in the mean time. Resolves: #57264 Releases: 6.2 Change-Id: I6f54cf8ba977e9c8038790ea3857ba6fff61a5f9 Reviewed-on: https://review.typo3.org/28883 Reviewed-by: Cedric Ziel Tested-by: Cedric Ziel Reviewed-by: Markus Klein Tested-by: Markus Klein
-
- Mar 28, 2014
-
-
Nicole Cordes authored
Due to a missing space in front of the FROM part, the SQL statement currently errors and the meta data for files can't be split up. Resolves: #57420 Releases: 6.2 Change-Id: I58aa0e20621e3e0d44028774452267dc0746a148 Reviewed-on: https://review.typo3.org/28944 Reviewed-by: Stefan Neufeind Tested-by: Stefan Neufeind Reviewed-by: Jigal van Hemert Tested-by: Jigal van Hemert
-