- Mar 11, 2014
-
-
Xavier Perseguers authored
The install tool forgets to initialize the database connection. Change-Id: Ib7355e4f931c7152a6d13df99ed550c1b61eacf9 Fixes: #56763 Releases: 6.2 Reviewed-on: https://review.typo3.org/28254 Reviewed-by: Andreas Fernandez Tested-by: Andreas Fernandez Reviewed-by: Markus Klein Tested-by: Markus Klein
-
Xavier Perseguers authored
When no database connection is established, handler_init() is used. But at this point, the credentials are unkown and the method returns void. As all parameters of method sql_pconnect() are deprecated, move the _DEFAULT initialization into method handler_init() to get credentials into the DBAL configuration. Resolves: #56257 Releases: 6.2 Change-Id: Ifd908fab1382434d376a9358d0ae9c3af083616e Reviewed-on: https://review.typo3.org/28045 Reviewed-by: Xavier Perseguers Tested-by: Xavier Perseguers Reviewed-by: Andreas Fernandez Tested-by: Andreas Fernandez Reviewed-by: Markus Klein Tested-by: Markus Klein
-
Patrick Broens authored
The install tool function System Environment is not according to the style sheet of the install tool. This is due to the fact phpinfo() is called on this page which comes with its own CSS styles. These styles are influencing the visual appearence of the rest of the page. This patch adds a new utility class to cleanup the output of phpinfo() before assigning it to the view. It also comes with our own CSS for phpinfo(). Change-Id: Ib0b087cae4bf5db723b0e9c3481619c984ef674f Resolves: #55116 Releases: 6.2 Reviewed-on: https://review.typo3.org/28225 Reviewed-by: Wouter Wolters Tested-by: Wouter Wolters Reviewed-by: Frans Saris Tested-by: Frans Saris
-
Alexander Stehlik authored
This method was introduced in TYPO3 6.2 with the purpose to be used by Extensions. Therefore the @deprecated tag is replaced with an @api tag. Resolves: #56742 Releases: 6.2 Change-Id: Ia48a8c6997c26318a6fea50af32cd73f1138bb2b Reviewed-on: https://review.typo3.org/28237 Reviewed-by: Tymoteusz Motylewski Tested-by: Tymoteusz Motylewski Reviewed-by: Wouter Wolters Tested-by: Wouter Wolters
-
Patrick Broens authored
In the page module in the "languages" view, the alignment of the button "copy default content elements" is off. The button needs some padding on the left side. This patch fixes this by adding a div which gets the padding. It also replaces the br's in front of this button with CSS for spacing. Change-Id: Ic21097e8db078f2a2612c89d9496bf20fa5c0585 Resolves: #56636 Releases: 6.2 Reviewed-on: https://review.typo3.org/28214 Reviewed-by: Stefan Froemken Tested-by: Stefan Froemken Reviewed-by: Sebastian Fischer Tested-by: Sebastian Fischer Reviewed-by: Wouter Wolters Tested-by: Wouter Wolters
-
Frans Saris authored
File processing might be different for external storages. Therefore it must be possible to register your own File Processors and make the registry driver aware. Resolves: #56775 Releases: 6.2 Change-Id: I187f6f987f7b0bc92989ed38cbef248449a7f59f Reviewed-on: https://review.typo3.org/27958 Reviewed-by: Steffen Ritter Tested-by: Steffen Ritter
-
Marc Bastian Heinrichs authored
Until now only files from TCA type group internal_type file or file_reference could be imported and exports from version 6.x including sys_file records leads to exceptions on importing. The patch adds support for handling record types introduced with the File Abstraction Layer. Resolves: #55532 Resolves: #55528 Resolves: #55906 Releases: 6.2 Change-Id: I7521c84094b0a0424e13c5f91c26b630bbbccbfe Reviewed-on: https://review.typo3.org/27836 Reviewed-by: Fabien Udriot Tested-by: Fabien Udriot Reviewed-by: Wouter Wolters Tested-by: Wouter Wolters Reviewed-by: Marc Bastian Heinrichs Tested-by: Marc Bastian Heinrichs
-
Xavier Perseguers authored
Declaration of method compareUident() should be compatible with its parent class. Change-Id: I66979bd76b204bbb762c41037cdaae5f006debb5 Fixes: #56769 Releases: 6.2 Reviewed-on: https://review.typo3.org/28261 Reviewed-by: Andreas Fernandez Tested-by: Andreas Fernandez Reviewed-by: Wouter Wolters Tested-by: Wouter Wolters
-
Patrick Broens authored
There are several issues with the layout of the category tree. When hovering the whole element, the categories (text) get underlined. The categories text is not aligned properly with the icon and checkbox. The glow on a checkbox with focus is bigger than the checkbox itself. This patch fixes these issues by adding CSS for the tree when used in TCEforms. Change-Id: Id9faaf906c786a95246d12f15821372648fc44b6 Resolves: #56752 Releases: 6.2 Reviewed-on: https://review.typo3.org/28250 Reviewed-by: Frans Saris Tested-by: Frans Saris Reviewed-by: Francois Suter Tested-by: Francois Suter
-
Steffen Ritter authored
Storages can be marked as not public or be outside of webroot. There are no direct links to the files posible. This change adds a eID implementation to create urls to these files. It also implements a hook in het eID dispatcher that makes is possible to add custom security/access checks when delivering files. Releases: 6.2 Resolves: #36420 Change-Id: Ie7fc9c8a674a3200ea2b29d1adc17327d10bd6e5 Reviewed-on: https://review.typo3.org/27760 Reviewed-by: Frans Saris Tested-by: Frans Saris Reviewed-by: Fabien Udriot Tested-by: Fabien Udriot Reviewed-by: Steffen Ritter Tested-by: Steffen Ritter
-
Frans Saris authored
A note in the phpdoc header of ResourceFactory states it is a lowlevel API. But this is wrong as at least since 6.2 this is the public API and therefor this note is removed. Resolves: #56731 Releases: 6.2 Change-Id: I90ed0dafa12656efe6d037abebee7b92de54a6f7 Reviewed-on: https://review.typo3.org/28223 Reviewed-by: Oliver Klee Reviewed-by: Wouter Wolters Reviewed-by: Markus Klein Tested-by: Markus Klein Reviewed-by: Steffen Ritter Tested-by: Steffen Ritter
-
Xavier Perseguers authored
Due to the use of DragUploader to upload files, flash messages are not shown immediately but after manually reloading the page. Change-Id: Ia2e8750792bd04209b5a1f2ce0e2a63f970ba3a8 Fixes: #56561 Releases: 6.2 Reviewed-on: https://review.typo3.org/28200 Reviewed-by: Frans Saris Tested-by: Frans Saris Reviewed-by: Markus Klein Tested-by: Markus Klein
-
Steffen Ritter authored
You can query the FAL-API for files by their filename. If the file resides in the processing-folder of a storage it is a valid file to the storage. Therefore creating a file-object and indexing it would be a valid thing. Since this is not intended additionally to the storage the ResourceFactory must know about that, too. This change implements this awareness, so there is no way to create a FileObject for files which reside within the processing folder. In 6.0 and 6.1 there has been a dirty workaround for that by marking those files as not indexable which was removed silently when introducing the new indexer. Releases: 6.2 Resolves: #54234 Change-Id: I274c47717560a6efc175fa94aacc4770a578fd3f Reviewed-on: https://review.typo3.org/27753 Reviewed-by: Frans Saris Tested-by: Frans Saris Reviewed-by: Markus Klein Tested-by: Markus Klein
-
- Mar 10, 2014
-
-
Eric Chavaillaz authored
When trying to use the upgrade wizards, a fatal error is thrown because the mandatory where_clause is missing in a call to exec_SELECTquery. Resolves: #56737 Releases: 6.2 Change-Id: I4814b9c2b0b30cea11e81bbf64d94ba8213a07cb Reviewed-on: https://review.typo3.org/28233 Reviewed-by: Oliver Klee Reviewed-by: Markus Klein Tested-by: Markus Klein
-
Nicole Cordes authored
In the current master every time when removeCookie is triggered a Set-Cookie header is generated. A cookie should only be deleted if it was set before. As removeCookie can handle different cookie names, the check is performed before calling removeCookie function. Resolves: #56733 Releases: 6.2 Change-Id: I518220ce2def8d9db901b1e8daa87de745317629 Reviewed-on: https://review.typo3.org/28227 Reviewed-by: Alexander Opitz Tested-by: Alexander Opitz Reviewed-by: Oliver Klee Reviewed-by: Jigal van Hemert Tested-by: Jigal van Hemert
-
Christian Kuhn authored
With proper mocking in place, loadExtensionTables() can be removed from unit test bootstrap. This speeds up the test suite quite a bit since the huge $GLOBALS['TCA'] is no longer initialized and gives backup code of phpunit less headaches. Change-Id: I9ac96047a49914f3c6ab7acc318bbc36488b6c5b Resolves: #56739 Related: #51436 Releases: 6.2 Reviewed-on: https://review.typo3.org/28235 Reviewed-by: Christian Kuhn Tested-by: Christian Kuhn Reviewed-by: Anja Leichsenring Tested-by: Anja Leichsenring
-
Christian Kuhn authored
The IconUtility tests depend on initialized $GLOBALS['TBE_STYLES'] and sometimes on initialized $GLOBALS['TCA']. This dependency is removed by properly setting up needed arrays now, this also makes the tests more obvious and easier to understand. Additionally, the static cache property introduced with #56110 now uses late static binding, enabling the tests to extend the class and route any static cache changes to an test internal overlay class to not pollute the static property of the base class. Change-Id: I01166058da051a26d7aa2df315858468828ed346 Resolves: #56725 Related: #51436 Related: #56110 Releases: 6.2 Reviewed-on: https://review.typo3.org/28220 Reviewed-by: Anja Leichsenring Tested-by: Anja Leichsenring Reviewed-by: Wouter Wolters Tested-by: Wouter Wolters
-
Sebastian Müller authored
Now the notification level is set to notice instead of warning. Therefore no email notification will be send if the user has not set his cache or his cache has only medium performance Resolves: #55392 Releases: 6.2 Change-Id: I90758ba658477a4b92f1a110228eb7950648ec39 Reviewed-on: https://review.typo3.org/28216 Reviewed-by: Markus Klein Tested-by: Markus Klein Reviewed-by: Wouter Wolters Tested-by: Wouter Wolters
-
Christian Kuhn authored
The subject method initialize() calls some static dependencies that can not be mocked. They do DB actions in the end. The patch now mocks TYPO3_DB to suppress this DB call. Change-Id: I43b0e002bfab081ed41a5c259011f465b507a74b Resolves: #56718 Related: #51436 Releases: 6.2 Reviewed-on: https://review.typo3.org/28215 Reviewed-by: Anja Leichsenring Tested-by: Anja Leichsenring Reviewed-by: Christian Kuhn Tested-by: Christian Kuhn
-
Fabien Udriot authored
Packagist complains about current IRC URL format. Change-Id: Id8abcad6525c06d6941144cd2e1e8ea372cc975a Releases: 6.2 Resolves: #56713 Reviewed-on: https://review.typo3.org/28211 Reviewed-by: Thomas Maroschik Tested-by: Thomas Maroschik
-
Anja Leichsenring authored
Change-Id: I61f7f92da42d691b0556f1e53b20d39eb082c12f Resolves: #56700 Related: #51436 Releases: 6.2 Reviewed-on: https://review.typo3.org/28207 Reviewed-by: Christian Kuhn Tested-by: Christian Kuhn
-
Christian Kuhn authored
ext:core BackendUtilityTest no longer depends on initialized TCA. Change-Id: I5b97b86d57da15b6176dd3033ec8fda1f4209f85 Resolves: #56699 Related: #51436 Releases: 6.2 Reviewed-on: https://review.typo3.org/28206 Reviewed-by: Anja Leichsenring Tested-by: Anja Leichsenring Reviewed-by: Christian Kuhn Tested-by: Christian Kuhn
-
- Mar 09, 2014
-
-
Anja Leichsenring authored
To reduce dependencies of tests and improve readability, some tests can be improved by better mocking of $GLOBALS['TCA']. Change-Id: Ib38f2dd94288c5c4f8940d3c8c969ea0459ebbcb Resolves: #56698 Related: #51436 Releases: 6.2 Reviewed-on: https://review.typo3.org/28204 Reviewed-by: Christian Kuhn Tested-by: Christian Kuhn Reviewed-by: Wouter Wolters Tested-by: Wouter Wolters
-
Christian Kuhn authored
To reduce dependencies of tests and improve readability, some tests can be improved by better mocking of $GLOBALS['TCA'] Change-Id: I7dee44b5a98f2384c2b77c51ebc678ff15669475 Resolves: #56696 Related: #51436 Releases: 6.2 Reviewed-on: https://review.typo3.org/28203 Reviewed-by: Wouter Wolters Tested-by: Wouter Wolters Reviewed-by: Anja Leichsenring Tested-by: Anja Leichsenring
-
Christian Opitz authored
Added a composer.json file that contains * name, description, keywords, homepage and license * authors (core team and community) * several support addresses * requirements (php, php extensions and the composer typo3 installer) * suggestions for php extensions * branch alias for current development version (6.2) * the packages, that are provided (system extensions) Resolves: #55770 Releases: 6.2 Change-Id: Ibb94787ee12f9e580dedb1652c444f35e51d1aa9 Reviewed-on: https://review.typo3.org/27423 Reviewed-by: Fabien Udriot Tested-by: Fabien Udriot Reviewed-by: Thomas Maroschik Tested-by: Thomas Maroschik
-
Stefan Neufeind authored
Function is already deprecated but didn't write to deprecation-log so far. Resolves: #55481 Releases: 6.2 Change-Id: I5b8150e7b2d7be8fdc87a3a4a93932a04cb2cb09 Reviewed-on: https://review.typo3.org/27172 Reviewed-by: Stefan Neufeind Tested-by: Stefan Neufeind Reviewed-by: Jigal van Hemert Tested-by: Jigal van Hemert
-
Christian Kuhn authored
There is no need to initialize $GLOBALS['BE_USER'] anymore in unit tests since mocking of this dependency is complete. Change-Id: I21ab751d4b66ba2d9658becbd6e0fcd16d139c4b Resolves: #56689 Related: #51436 Releases: 6.2 Reviewed-on: https://review.typo3.org/28199 Reviewed-by: Anja Leichsenring Tested-by: Anja Leichsenring Reviewed-by: Wouter Wolters Tested-by: Wouter Wolters
-
Anja Leichsenring authored
Some Tests in sysext:backend rely on an existing BackendUserAuth object. In order to decouple the tests from the TYPO3 Environment, those are mocked now. Change-Id: Ibfd9de2f5a7673eecca61c35e59852017edd2f0d Resolves: #56688 Relates: #51436 Releases: 6.2 Reviewed-on: https://review.typo3.org/28198 Reviewed-by: Christian Kuhn Tested-by: Christian Kuhn Reviewed-by: Wouter Wolters Tested-by: Wouter Wolters
-
Christian Kuhn authored
ModuleDataStorageServiceTest now mocks $GLOBALS['BE_USER'] to not rely on instantiation of this global. Change-Id: I5ab6b962d95f2ab183dfc1b1b53dea7deaa464c5 Resolves: #56687 Related: #51436 Releases: 6.2 Reviewed-on: https://review.typo3.org/28196 Reviewed-by: Anja Leichsenring Tested-by: Anja Leichsenring Reviewed-by: Wouter Wolters Tested-by: Wouter Wolters
-
Anja Leichsenring authored
Some Tests in sysext:backend rely on an existing BackendUserAuth object. In order to decouple the tests from the TYPO3 Environment, those are mocked now. Change-Id: I2760f301aeb79e963a87f02258df04306a68cec6 Resolves: #56686 Relates: #51436 Releases: 6.2 Reviewed-on: https://review.typo3.org/28193 Reviewed-by: Christian Kuhn Tested-by: Christian Kuhn Reviewed-by: Wouter Wolters Tested-by: Wouter Wolters
-
Christian Kuhn authored
FAL ResourceFactoryTest retrieveFileOrFolderObject* not only tests the method but also lots of not mocked dependencies. The tests are renamed and changed to stick to test the subject only. Resolves: #56684 Related: #51436 Releases: 6.2 Change-Id: If247e923b8e79995279ad48bdc35f5b8976bfd57 Reviewed-on: https://review.typo3.org/28192 Reviewed-by: Wouter Wolters Tested-by: Wouter Wolters Reviewed-by: Anja Leichsenring Tested-by: Anja Leichsenring
-
Christian Kuhn authored
With the removal of $GLOBALS['FILEMOUNTS'] the unit test no longer depend on initialization of backend user mounts. Remove this bootstrap line. Change-Id: Ie9860dd7b15a4baff330c8e3cad16d3ae3092e75 Resolves: #56681 Related: #55547 Related: #51436 Releases: 6.2 Reviewed-on: https://review.typo3.org/28190 Reviewed-by: Anja Leichsenring Tested-by: Anja Leichsenring Reviewed-by: Wouter Wolters Tested-by: Wouter Wolters
-
- Mar 08, 2014
-
-
Helmut Hummel authored
The installer does not work, if doc comment reflection is broken, so we need to make the first install step more robust by using inject methods and introducing a failsafe view which does simple php templating in case critical errors (like doc comments disabled) occur. Resolves: #55352 Releases: 6.2 Change-Id: I424d6a290b65ae023ec19a745477cfaecdef72c7 Reviewed-on: https://review.typo3.org/27067 Tested-by: Alexander Opitz Reviewed-by: Anja Leichsenring Tested-by: Anja Leichsenring Reviewed-by: Christian Kuhn Tested-by: Christian Kuhn
-
Xavier Perseguers authored
The PreFileAdd signal should be triggered before the file exist check. So the name and/or content can be manipulated before the target filename is checked. Change-Id: I0bbe32a4efa395a99278c480210310bd7466f259 Fixes: #56394 Releases: 6.2 Reviewed-on: https://review.typo3.org/28099 Reviewed-by: Christian Kuhn Tested-by: Christian Kuhn Reviewed-by: Anja Leichsenring Tested-by: Anja Leichsenring
-
Frans Saris authored
In the info popup of a file/folder the wrong icon is shown. This patch changes it so IconUtility::getSpriteIconForResource() is used and moves the rendering of the header to the DocumentTemplate. Resolves: #56251 Releases: 6.2 Change-Id: I7fc40af85b8bc623112bcec29c2409221a937718 Reviewed-on: https://review.typo3.org/27819 Reviewed-by: Wouter Wolters Tested-by: Wouter Wolters Reviewed-by: Christian Kuhn Tested-by: Christian Kuhn
-
Ernesto Baschny authored
Deprecates the need to specify the $classPath when registering a submodule with ExtensionManagementUtility::insertModuleFunction. Remove the parameter's usage throughout the system extensions. Also re-adds the removed include_once that were removed without proper deprecation before (see #49992). Resolves: #52594 Releases: 6.2 Change-Id: I090278b8e2e7a15e05b14dca757ae2b8ef1e5fb4 Reviewed-on: https://review.typo3.org/24462 Reviewed-by: Christian Kuhn Tested-by: Christian Kuhn Reviewed-by: Anja Leichsenring Tested-by: Anja Leichsenring
-
Oliver Hader authored
The IRRE tests for creating and modifying records first process offer, hotel then content which is the unnatural order compared to the processing delivered by the FormEngine (t3lib_TCEforms). To avoid incorrect testing behaviour and invalid testing results, the order is changed to content, hotel and offer (parent to child). Resolves: #56374 Releases: 6.2 Change-Id: Ib14fc2d50b493e4be982faeba77401b320868639 Reviewed-on: https://review.typo3.org/27887 Reviewed-by: Wouter Wolters Tested-by: Wouter Wolters Reviewed-by: Jigal van Hemert Tested-by: Jigal van Hemert
-
Michiel Roos authored
Change-Id: I1ee28a5af824b048863c61321a226bf7c9843f77 Resolves: #55556 Releases: 6.2 Reviewed-on: https://review.typo3.org/28175 Reviewed-by: Christian Kuhn Tested-by: Christian Kuhn Reviewed-by: Wouter Wolters Tested-by: Wouter Wolters
-
Jigal van Hemert authored
The stdWrap property escapeJsValue allows content to be included in JavaScript strings. Resolves: #56642 Documentation: #56665 Releases: 6.2 Change-Id: I43f59889caec1a89970b94c93c93894d589243c9 Reviewed-on: https://review.typo3.org/28177 Reviewed-by: Xavier Perseguers Tested-by: Xavier Perseguers Reviewed-by: Markus Klein Reviewed-by: Wouter Wolters Tested-by: Wouter Wolters Reviewed-by: Jigal van Hemert Tested-by: Jigal van Hemert
-
Marc Bastian Heinrichs authored
Improvements for the AbstractDataHandlerActionTestCase to get better functional test results in general and working functional tests in impexp (e.g. for FlexForm XML): * collect all fail messages before calling fail() * check records for left rows that was not assigned in csv * do strict compare if value is NULL * compare XML, e.g. FlexForm Resolves: #56241 Releases: 6.2 Change-Id: Ic21c27261cbe18dc5fd37c4869c10264880b731e Reviewed-on: https://review.typo3.org/27816 Reviewed-by: Anja Leichsenring Tested-by: Anja Leichsenring Reviewed-by: Christian Kuhn Tested-by: Christian Kuhn
-