- Jul 06, 2013
-
-
Stefan Neufeind authored
* "case" needs to be indented one level more than switch(). * default-case should not have a break-statement Change-Id: I8215ba2bdb19b9abbfe6ed45af3905d7e6c688d6 Resolves: #49527 Releases: 6.2 Reviewed-on: https://review.typo3.org/21748 Reviewed-by: Markus Klein Tested-by: Markus Klein
-
Markus Klein authored
The parent category tree should only show categories in default language. Resolves: #44915 Releases: 6.2, 6.1, 6.0 Change-Id: I7920cf7ae208ba2db3bd24f7da5439824064c167 Reviewed-on: https://review.typo3.org/21626 Reviewed-by: Philipp Gampe Tested-by: Philipp Gampe Reviewed-by: Stefan Neufeind Tested-by: Stefan Neufeind
-
Marc Bastian Heinrichs authored
This reverts commit 09bc4929 We should not support this annotation in extbase, because it has no benefit and breaks with the annotation concept in Flow. "Flow" is only an alias for "TYPO3\Flow\Annotations" in Flow and needs to be registered by "use TYPO3\Flow\Annotations as Flow". Change-Id: Ic0ecdc58754c176b1140db463c2405cb47bf9933 Reviewed-on: https://review.typo3.org/21997 Reviewed-by: Marc Bastian Heinrichs Tested-by: Marc Bastian Heinrichs
-
Marc Bastian Heinrichs authored
This reverts commit ad7219c2 See https://review.typo3.org/#/c/21997/ More notes on this: A regex to replace @inject with @Flow\Inject when porting Extbase extensions to Flow is very simple and fast. Additionally @Flow\Inject makes only sense with using "use TYPO3\Flow\Annotations as Flow". But with a backported annotation parser I expect that we would have annotations in "TYPO3\CMS\Extbase\Annotations". Using them as alias "Flow" is a bad style as the alias should be "Extbase" then. Change-Id: I2113b5320f2a6f5dd56cfa7b06469fa1628d2645 Reviewed-on: https://review.typo3.org/22004 Reviewed-by: Marc Bastian Heinrichs Tested-by: Marc Bastian Heinrichs
-
Patrick Broens authored
The CSV rendering in CType table is not done properly in css_styled_content method render_table. It uses explode with the delimiter, but this character can also be in the cell itself. This patch uses the PHP function str_getcsv, which is supported from PHP version 5.3 > Change-Id: I5707b006ab1143c108473e5ed7079e6e65cdddca Fixes: #47356 Releases: 6.0, 6.1, 6.2 Reviewed-on: https://review.typo3.org/20157 Reviewed-by: Wouter Wolters Tested-by: Wouter Wolters
-
Philipp Gampe authored
The table "sys_file_storage" has no field "type". Use the field "driver" instead. Resolves: #48127 Releases: 6.2, 6.1, 6.0 Change-Id: I64e66a8244ddae85faf68ec3d46b4b9f2f1934ff Reviewed-on: https://review.typo3.org/20858 Reviewed-by: Wouter Wolters Tested-by: Wouter Wolters Reviewed-by: Frans Saris Reviewed-by: Stefan Neufeind Tested-by: Stefan Neufeind
-
Tim Spiekerkoetter authored
Added urlencode to the returnUrl in the getAdminAccountStatus method. Resolves: #43417 Releases: 6.2 Change-Id: I4e5d114dfcf2a71d94de25c40be8214b247843ab Reviewed-on: https://review.typo3.org/21984 Reviewed-by: Wouter Wolters Tested-by: Wouter Wolters Reviewed-by: Tim Lochmüller Tested-by: Tim Lochmüller Reviewed-by: Felix Kopp Tested-by: Felix Kopp
-
Alexander Schnitzler authored
Currently we are using inject methods like: /* * @param $foo Foo */ public function injectFoo(Foo $foo) { $this->foo = $foo; } This patch removes these methods and introduces property annotations: /** * @var Foo * @inject */ protected $foo; Besides that, it allows the use of @Flow\Inject as well for compatibility to Flow. Releases: 6.2 Resolves: #46598 Change-Id: Ied219d465dfa8fce24a819a7fc58a2ff8cb5401c Reviewed-on: https://review.typo3.org/21819 Reviewed-by: Alexander Schnitzler Tested-by: Alexander Schnitzler Reviewed-by: Stefan Neufeind Tested-by: Stefan Neufeind
-
Patrick Schriner authored
The new label_userFunc for sys_file_reference rows results in "no title" when called by BackendUtility::getRecordTitle. This function is e.g. called from the workspaces module. This patch will set the title parameter to the row uid when the parmeter array does not provide an 'options' 'sys_file' array. This will result in the uid being displayed which is the old behavior. Resolves: #49718 Related: #36052 Releases: 6.2 Change-Id: Ib340ca82f5b10faa00815a074545664c2fa67954 Reviewed-on: https://review.typo3.org/21983 Reviewed-by: Steffen Ritter Tested-by: Steffen Ritter
-
Philipp Gampe authored
This new TCA options should also be available to the only other place where label_userFunc is evaluate. Resolves: #49721 Related: #36052 Related: #49716 Releases: 6.2 Change-Id: I3da74e660ad4fc982b9ec71e7d5c5f0f57e9e76a Reviewed-on: https://review.typo3.org/21985 Reviewed-by: Georg Ringer Tested-by: Georg Ringer
-
- Jul 05, 2013
-
-
Jigal van Hemert authored
The page TSconfig settings for the New Content Element wizard have a higher priority than the user TSconfig TCAdefaults. Settings which are not different for each CE type should be set in TCAdefaults. If they are set in the tt_content_defVals the values will be different if the editor selected the right CE type directly than if the editor switched CE type. Change-Id: I8b84b3059b17f88a3d674b6faae889844cae9c67 Fixes: #41434 Releases: 6.2, 6.1, 6.0 Reviewed-on: https://review.typo3.org/15118 Reviewed-by: Philipp Gampe Tested-by: Philipp Gampe
-
Philipp Gampe authored
The property 'table' for user settings can also be used for other types than password and text. Resolves: #47966 Releases: 6.2, 6.1, 6.0 Change-Id: Icf69d480013ff1be6c0b5d43212c179468885344 Reviewed-on: https://review.typo3.org/20542 Reviewed-by: Christian Kuhn Tested-by: Christian Kuhn
-
Philipp Gampe authored
With the switch to mysqli in 6.1, the connection to mysql server via socket broke. With mysqli, the definition is now: * If hostname is "localhost", a socket is used and the socket file can be given optionally if it is different from the default. * If hostname is not "localhost" but an IP address, a port can be given that may be different from the default mysql 3306. The patch now reflects this in the database connect step and adds a parameter for the optional socket location. The patch will be adapted for 6.1 to include only the additional optional socket parameter. Resolves: #48117 Related: #49162 Releases: 6.2, 6.1 Change-Id: I968a72dbaf90b3f319c03e697137630534d325c1 Reviewed-on: https://review.typo3.org/20933 Reviewed-by: Christian Kuhn Tested-by: Christian Kuhn Reviewed-by: Markus Klein Tested-by: Markus Klein
-
Tim Lochmueller authored
Implement the UX-Team functionility of the FAL IRRE element header via a label_userFunc in the sys_file_reference. Furthermore add a configuration in the ctrl-section of the sys_file_reference TCA to support additional fields in the output of the header. This can be used by any extension. Resolves: #36052 Releases: 6.2 Change-Id: I7770044c11a6c1a1bcb51a3bfc11b85923653196 Reviewed-on: https://review.typo3.org/21916 Reviewed-by: Philipp Gampe Tested-by: Philipp Gampe Reviewed-by: Markus Klein Tested-by: Markus Klein Reviewed-by: Steffen Ritter Tested-by: Steffen Ritter
-
Christian Kuhn authored
The folder structure class construct takes care of permissions of files and folders. The patch adds support for config values fileCreateMask and folderCreateMask. Resolves: #49715 Related: #49162 Releases: 6.2 Change-Id: I9f41ba7f038992ef77cf212229fca524e346431f Reviewed-on: https://review.typo3.org/21971 Reviewed-by: Steffen Ritter Tested-by: Steffen Ritter
-
Sebastian Michaelsen authored
This change introduces a new TCA option to configure 'inline' fields: 'foreign_record_defaults' gives you the possibility to set values in new created records. Usage example: config => array( 'type' => 'inline', 'foreign_table' => 'tt_content', 'foreign_record_defaults' => array( 'CType' => 'image' ), ) That means tt_content elements that are created for this IRRE field will be image content elements by default (and can be set to another type by the editor before saving). The following fields can't be set by this feature because they must stay under system control: uid, pid and t3ver_* and the fields that are configured with the following TCA-ctrl options: crdate, cruser_id, delete, origUid, transOrigDiffSourceField, transOrigPointerField and tstamp Change-Id: I539f9941cc69506590b55a3520f95e38d5e61dd1 Documentation: #46440 Resolves: #46124 Releases: 6.2 Reviewed-on: https://review.typo3.org/18815 Reviewed-by: Oliver Hader Reviewed-by: Christian Kuhn Tested-by: Christian Kuhn
-
Max Roesch authored
Updating the page title in the page tree by double click editing it calls the changes in right order, by first persisting the change and then doing the reload of the content area. Resolves: #49706 Releases: 6.2, 6.1, 6.0 Change-Id: Id108659f1a8bd7a4ecd003337b0782d4fe7d3b68 Reviewed-on: https://review.typo3.org/21947 Reviewed-by: Steffen Ritter Tested-by: Steffen Ritter
-
Christian Kuhn authored
* The pi1 script still lives as dummy file since the addPItoST43 registration fails otherwise. * modfunc1 and modfunc2 class files still live as dummy files as the sub-sub module handling in core fails otherwise. Change-Id: I21b92a07e7ff83cd1dd3f12b0e15bef7f84691e9 Resolves: #47852 Related: #47756 Releases: 6.2 Reviewed-on: https://review.typo3.org/20442 Reviewed-by: Christian Kuhn Tested-by: Christian Kuhn Reviewed-by: Wouter Wolters Tested-by: Wouter Wolters
-
Alexander Schnitzler authored
Currently there is a problem with updating flexform values right as there is no check if an existing value in the db has actually been deleted. This e.g. is a problem when it comes to saving switchable controller actions (Extbase) in the flexform. Old actions that may not be present any longer have to be removed manually. As there is currently no overall solution to this issue there should at least be a hook to adjust the old flexform data right before it is merged with the new one. Releases: 6.2 Resolves: #49699 Change-Id: Ic93ffd7782b4d049070c6bd9ab760a01008242d6 Reviewed-on: https://review.typo3.org/21929 Reviewed-by: Wouter Wolters Tested-by: Wouter Wolters Reviewed-by: Anja Leichsenring Tested-by: Anja Leichsenring
-
Christian Kuhn authored
Enable the check boxes for 'add tables' and 'add fields' in the database analyzer by default. Adding is not risky and can be suggested automatically. Resolves: #49705 Related: #49162 Releases: 6.2 Change-Id: Ib3069a135f4baedc2bebf59ed5c42a72937fb897 Reviewed-on: https://review.typo3.org/21943 Reviewed-by: Wouter Wolters Tested-by: Wouter Wolters Reviewed-by: Anja Leichsenring Tested-by: Anja Leichsenring
-
Felix Kopp authored
In Info module, function "Page TSconfig" the information tree is wrapped with a needless table. Removes the <table>. Brings .nowrap class for broader use. Change-Id: Idfb97b1b0b8251ae41c4fb8aab45788d1e25b865 Resolves: #48976 Releases: 6.2 Reviewed-on: https://review.typo3.org/21298 Reviewed-by: Markus Klein Tested-by: Markus Klein Reviewed-by: Wouter Wolters Tested-by: Wouter Wolters
-
Bart Dubelaar authored
This bugfix fixes the following pagetree issues encountered in a draft workspace: 1. Records moved in draft could not be found 2. Pagetree would crash if a moved page occurs in the rootline of a filtered page. 3. Filtering only looked at live page title not the draft title Change-Id: I49c0082d013303d39c0c259a42f9bb74346ba7c8 Fixes: #39197 Releases: 6.2, 6.1, 6.0 Reviewed-on: https://review.typo3.org/13040 Reviewed-by: Ingo Pfennigstorf Tested-by: Ingo Pfennigstorf Reviewed-by: Stefan Galinski Tested-by: Stefan Galinski
-
Markus Klein authored
Resolves: #49700 Releases: 6.2 Change-Id: I0e77811b733141a3e70a9dba0c203406bc0571a6 Reviewed-on: https://review.typo3.org/21930 Reviewed-by: Christian Kuhn Tested-by: Christian Kuhn Reviewed-by: Wouter Wolters Tested-by: Wouter Wolters
-
Felix Kopp authored
TypoScript workbench can be found within WEB > Template. Technically "Template" was spread among several extensions. Those extensions are now merged into one single extension. Nothing is changed in menu/module/naming/interface. Resolves: #49270 Releases: 6.2 Change-Id: I636d28034e363f4ed22871309a0643fec719d30e Reviewed-on: https://review.typo3.org/21554 Reviewed-by: Wouter Wolters Tested-by: Wouter Wolters Reviewed-by: Christian Kuhn Tested-by: Christian Kuhn
-
Christian Kuhn authored
Change factory configuration to include settings for saltedpasswords and rsaauth so they are loaded by default if installation is completed. PhpPass is used as default salt algorithm since this is a better than salted md5 and has no additional system depencies. Resolves: #49694 Related: #49162 Releases: 6.2 Change-Id: Ib01628dc2cb80082e8dbd3a5f6c1f24cc5aae589 Reviewed-on: https://review.typo3.org/21924 Reviewed-by: Susanne Moog Tested-by: Susanne Moog Reviewed-by: Georg Ringer Tested-by: Georg Ringer
-
Stefan Galinski authored
In order to test this you are needing a non-FAL TCA file reference field. Just reference something here, remove the reference in the filesystem again and reload the TCA of the record. An exception will be thrown, because the file isn't available anymore. Fixes: #49009 Releases: 6.2, 6.1, 6.0 Change-Id: I6eccb3ef77de703551a64f52ab3904cead517c8a Reviewed-on: https://review.typo3.org/21328 Reviewed-by: Markus Klein Reviewed-by: Alexander Opitz Reviewed-by: Ingo Pfennigstorf Tested-by: Ingo Pfennigstorf Tested-by: Markus Klein
-
Christian Kuhn authored
travis suddenly shows a failed APC test on PHP 5.3. We have had issue with the stability of APC tests before, there are some race conditions in APC. For now we just skip the failing test on PHP 5.3 Resolves: #49682 Releases: 6.2 Change-Id: If52b3a823589d6dc83b52323b8ae57a0227571c9 Reviewed-on: https://review.typo3.org/21913 Reviewed-by: Steffen Ritter Reviewed-by: Wouter Wolters Tested-by: Wouter Wolters
-
Till Busch authored
* Prevent output-buffering * Add Content-Length header Fixes: #41718 Releases: 6.2, 6.1, 6.0 Change-Id: I8a1a33dc4337a5947bafbad980b73343be637da7 Reviewed-on: https://review.typo3.org/15508 Reviewed-by: Steffen Ritter Tested-by: Steffen Ritter
-
Stefan Galinski authored
The RTE upgrade wizard fails, because it uses a non-existing field name as the table and writes wrong image paths back into the RTE content. Also the migration directory should equal the already available migration directory of the FAL upgrade wizards. You can test the issue by adding an image to a RTE field in a 4.7 instance and try to migrate to 6.1 afterwards. Fixes: #47998 Releases: 6.2, 6.1 Change-Id: Ie6d3947f475e80ac36eb5ba43f258b5215e19928 Reviewed-on: https://review.typo3.org/20560 Reviewed-by: Francois Suter Tested-by: Francois Suter Reviewed-by: Alexander Opitz Reviewed-by: Ingo Pfennigstorf Reviewed-by: Marcus Schwemer Tested-by: Marcus Schwemer Reviewed-by: Stefan Galinski Tested-by: Stefan Galinski
-
Thomas Layh authored
When searching/filtering in the page tree for an alias, you don't get any results. Search only works with id and page title. Extend the query to search for the alias, if it is configured in the user ts config (options.pageTree.searchInAlias) Change-Id: I40e6ad7b8f2f02cf63820f423830e11f13058621 Resolves: #32960 Releases: 6.2 Reviewed-on: https://review.typo3.org/9084 Reviewed-by: Sebastian Michaelsen Tested-by: Sebastian Michaelsen Reviewed-by: Philipp Gampe Tested-by: Philipp Gampe
-
- Jul 04, 2013
-
-
Ingo Pfennigstorf authored
In future versions the usage of f:translate key and f:translate id will both be possible, so the comment about a deprecation is removed. Change-Id: I71a2fc1e9abec6b26c8b3848dd31e234fc056699 Fixes: #49670 Releases: 6.2, 6.1, 6.0 Reviewed-on: https://review.typo3.org/21896 Reviewed-by: Christian Kuhn Tested-by: Christian Kuhn Reviewed-by: Anja Leichsenring Tested-by: Anja Leichsenring
-
Markus Guenther authored
This patch adds an entry to NEWS.txt for the following TYPO3 extbase patch: - Backport recursive and allowing empty validation from Flow https://review.typo3.org/#/c/21428/ Releases: 6.2 Resolves: #49669 Change-Id: I658245e34e3d2b6e638111c5d4a5e0242bdcc6e2 Reviewed-on: https://review.typo3.org/21885 Reviewed-by: Christian Kuhn Tested-by: Christian Kuhn Reviewed-by: Anja Leichsenring Tested-by: Anja Leichsenring
-
Steffen Müller authored
Resolves: #49661 Releases: 6.2 Change-Id: I2013fb9d05cb7f9699825ecaf154075792461ed1 Reviewed-on: https://review.typo3.org/21876 Reviewed-by: Markus Klein Tested-by: Markus Klein Reviewed-by: Christian Kuhn Tested-by: Christian Kuhn
-
Andreas Wolf authored
The recursive file listing, introduced as part of the public API in the fix for #43249, is currently broken. One problem is that the file information retrieval is incomplete: The filename of files in subfolders also contains the path to this file from the current folder, while the identifier is missing that information. The identifier is thus wrong and the filename contains too much information (more than the filename). Additionally, the method getDirectoryItemList() returns the file list with the filenames as key, which will fail when a file name exists twice in different folders. Therefore, this patch changes the keys to numeric values when a recursive folder list is requested. Change-Id: Iaebd862327d2dfc849044236474f6da2444cd4f5 Resolves: #44910 Releases: 6.1, 6.0 Reviewed-on: https://review.typo3.org/17881 Reviewed-by: Steffen Ritter Tested-by: Steffen Ritter
-
Stefan Galinski authored
Since the "all language" elements are displayed in each language (introduced in 4.7), the language view of the page module is not really usable anymore. If you have activated the mod.web_layout.defLangBinding setting in the Page TS configuration "all language" elements are not displayed anymore. Also you cannot overwrite "all language" elements in an easy way inside another languages and overwritten elements are displayed together with their "all language" default element inside a column. Furthermore the sorting order is sometimes broken on non-default languages if the "all language" element is rendered inside the column. The patch fixes all this issues in the languages view by reverting the changes introduced the 4.7 branch just for the languages view. The columns view works like it was intented with the fix from the 4.7 branch (it still has the same flaws as the languages view, but this issues can be fixed with another changeset). Fixes: #42768 Fixes: #42771 Releases: 6.2, 6.1, 6.0 Change-Id: Ibd222c3980ebcc7a5f273d85b3d99d6938291e9e Reviewed-on: https://review.typo3.org/21498 Reviewed-by: Ingo Pfennigstorf Tested-by: Ingo Pfennigstorf Reviewed-by: Markus Klein Tested-by: Markus Klein
-
Alexander Schnitzler authored
This change enables recursive validation by backporting the TYPO3.Flow validation API. Also the validators allow empty values now. This is a breaking change if you expected the previous behavior. In order to make a property required you now need to add the NotEmptyValidator explicitly! This change also changes the validators required return type for the default property mapper before 6.1. Before this change the isValid method had to return a boolean value. Now this is not necessary anymore, because only the errors added by the validator are checked. Releases: 6.2 Resolves: #6893 Resolves: #34838 Change-Id: I9622a5c3a09689a7db6e80df361b8f6fec671c83 Reviewed-on: https://review.typo3.org/21428 Reviewed-by: Marc Bastian Heinrichs Tested-by: Marc Bastian Heinrichs Reviewed-by: Markus Günther Tested-by: Markus Günther Reviewed-by: Anja Leichsenring Tested-by: Anja Leichsenring
-
Markus Klein authored
Resolves: #49663 Releases: 6.2 Change-Id: Ia4bcec1e1446fa639f9fed5ef67f96146786cfaf Reviewed-on: https://review.typo3.org/21878 Reviewed-by: Susanne Moog Tested-by: Susanne Moog Reviewed-by: Wouter Wolters Tested-by: Wouter Wolters
-
Steffen Müller authored
PSR-3 expects Logger->log() to throw Psr\Log\InvalidArgumentException when an invalid log level was given. Resolves: #48876 Releases: 6.2 Change-Id: I89637e72acdce1b1a9e56b838b632d6b486dcae9 Reviewed-on: https://review.typo3.org/21847 Reviewed-by: Markus Klein Tested-by: Markus Klein
-
Steffen Müller authored
In PSR-3, severity levels for log() can be given as a string. If a string is given, it gets converted to the corresponding constant of LogLevel. Resolves: #48881 Releases: 6.2 Change-Id: I8d10d10b947a20bac483f7d3775a2d2fd7be52f6 Reviewed-on: https://review.typo3.org/21815 Reviewed-by: Wouter Wolters Tested-by: Wouter Wolters Reviewed-by: Christian Kuhn Tested-by: Christian Kuhn
-
Benjamin Mack authored
Previously Backend modules could be configured via a conf.php file that had $MCONF and $MLANG variables. Additionally, a Extbase extension could add more configuration via another API method. However, the building of the module list (ModuleLoader) and the internal rendering for ExtJS (ModuleMenuView) is quite tricky and hard to override. The public API call ExtensionManagementUtility::addModule() has another parameter now to ship additional configuration that will override $MCONF from conf.php, or even replace that information completely, so conf.php will be obsolete. This is a prerequisite for overriding the configuration "navigationComponentId" to allow the page tree in other areas than the web module. Additionally, if the new option "inheritNavigationComponentFromMainModule" is set to FALSE (TRUE if not set), then e.g. a web_* module can have the page tree disabled. Resolves: #49643 Releases: 6.2 Change-Id: I9790e5e40cbc350925d817846d75ab27ec065255 Reviewed-on: https://review.typo3.org/21850 Reviewed-by: Wouter Wolters Tested-by: Wouter Wolters Reviewed-by: Felix Kopp Tested-by: Felix Kopp
-