- Jun 06, 2014
-
-
Helmut Hummel authored
Suddenly build failures occurred on travis which seem to be related to ReflectionClass::newInstanceWithoutConstructor which is used by PHPUnit 4.1.* when available. Downgrade to PHPUnit 3.7.* to have a green build again as the failures are totally unrelated to our code. Change-Id: I6c3c200d5eda372e92ee0fd4c39e7fe79183ecab Reviewed-on: https://review.typo3.org/30616 Reviewed-by: Helmut Hummel Tested-by: Helmut Hummel
-
Mathias Brodala authored
Due to using array_pop instead of array_shift the last line of the command description is dropped instead of the first. Use array_shift instead to get the full description annotated for the command method. Resolves: #59324 Releases: 6.2, 6.1, 4.7 Change-Id: I4d7c320b0ef334adbd15997d15d8e7a56d5739c1 Reviewed-on: https://review.typo3.org/30612 Reviewed-by: Helmut Hummel Tested-by: Helmut Hummel Reviewed-by: Anja Leichsenring Tested-by: Anja Leichsenring
-
Jan-Erik Revsbech authored
When running TYPO3 behind a reverse proxy, which also handles SSL, the setting reverseProxySSL should check if the site is requested from one of the reverse proxies in order to determine whether the site is using SSL. It incorrectly does this check via getIndpEnv('REMOTE_ADDR') which has already translated the proxy IP to the end-users IP, thus always returning FALSE. Resolves: #37467 Release: 6.2, 6.1 Change-Id: I95615b0fea94e0ef0222e958e4e0bba5e6e9f60a Reviewed-on: https://review.typo3.org/30581 Reviewed-by: Wouter Wolters Reviewed-by: Mattias Nilsson Tested-by: Mattias Nilsson Reviewed-by: Jan-Erik Revsbech Tested-by: Jan-Erik Revsbech Reviewed-by: Markus Klein Tested-by: Markus Klein
-
Alexander Stehlik authored
Emit postFileCreate and postFileSetContents signals and add provide the original folder in the postFileMove and the postFolderMove signals. Resolves: #59294 Releases: 6.2 Change-Id: Ia4096b38671f3312a1488587972d4883368de05c Reviewed-on: https://review.typo3.org/30525 Reviewed-by: Frans Saris Tested-by: Frans Saris Reviewed-by: Markus Klein Tested-by: Markus Klein
-
- Jun 05, 2014
-
-
Alexander Stehlik authored
The maxitems value for a group field defaults to 1 instead of 100000 so that it is consistent with the TCA reference and the validation in the DataHandler. Resolves: #55731 Releases: 6.2 Change-Id: I517e45a9227ab9d971a9e7bc4410498319192517 Reviewed-on: https://review.typo3.org/27378 Reviewed-by: Xavier Perseguers Tested-by: Xavier Perseguers Reviewed-by: Wouter Wolters Tested-by: Wouter Wolters
-
Markus Klein authored
The current check does not properly consider the override values. If a override is set, then its value has to be taken. The current check only considered overrides which had boolean value TRUE. Resolves: #58339 Releases: 6.2, 6.1 Change-Id: Ib714432044c6a88fc92dcb8f36a4e37eb3412378 Reviewed-on: https://review.typo3.org/29730 Reviewed-by: Gerrit Mohrmann Tested-by: Gerrit Mohrmann Reviewed-by: Stefan Neufeind Reviewed-by: Wouter Wolters Tested-by: Wouter Wolters
-
Stefan Rotsch authored
On changing the stage of a workspace version, an accordant dialog is shown with recipients to be informed about this action. However, disabled backend users are shown in this dialog as well. Resolves: #54925 Releases: 6.2 Change-Id: Iefae9e35e9c680783769260e8c3e38180bde5703 Reviewed-on: https://review.typo3.org/26773 Reviewed-by: Oliver Hader Tested-by: Oliver Hader Reviewed-by: Wouter Wolters Tested-by: Wouter Wolters
-
Frans Saris authored
For custom content elements with image these are shown as thumbs in the list module but not in the page module. This patch also renders the images when present just like the bodytext. Resolves: #59375 Releases: 6.2 Change-Id: If39e8b22af6144e5d6990a741559bd7574ee5e09 Reviewed-on: https://review.typo3.org/30598 Reviewed-by: Markus Klein Tested-by: Markus Klein Reviewed-by: Wouter Wolters Tested-by: Wouter Wolters
-
Fabien Udriot authored
Change-Id: I13d428c7b8a3964e8c376ad2c8d2a4af8c0059f1 Releases: 6.2 Resolves: #59374 Reviewed-on: https://review.typo3.org/30596 Reviewed-by: Wouter Wolters Tested-by: Wouter Wolters
-
Stefano Kowalke authored
This aligns the description of the command line options. Resolves: #59372 Releases: 6.2 Change-Id: I474f8415d3ed62d583553f915edc3caa8189a803 Reviewed-on: https://review.typo3.org/30594 Reviewed-by: Wouter Wolters Tested-by: Wouter Wolters Reviewed-by: Markus Klein Tested-by: Markus Klein
-
Robert Vock authored
Logoff sets user property to an empty string instead of NULL. This leads to a PHP Warning in PHP 5.4 Change-Id: Ib0e1a31dbf2fd3fcbcf1e7afd972b53d60c3ab5d Resolves: #59364 Releases: 6.2, 6.1 Reviewed-on: https://review.typo3.org/30588 Reviewed-by: Markus Klein Tested-by: Markus Klein Reviewed-by: Wouter Wolters Tested-by: Wouter Wolters
-
Christian Zenker authored
$this->sWArr is not defined SearchController. Fix this to use the correct $this->searchWords variable. Change-Id: Iba888f1a47dcc0952ffbbb1e3bb4413435c2a95e Resolves: #59277 Releases: 6.2, 6.1 Reviewed-on: https://review.typo3.org/30512 Reviewed-by: Alexander Opitz Reviewed-by: Christian Zenker Tested-by: Christian Zenker Reviewed-by: Markus Klein Tested-by: Markus Klein
-
Markus Klein authored
Content elements from hidden pages are no longer shown in previews. Fix this by checking with a strong comparison in enableFields() whether the $show_hidden parameter is set to the default value. Fixes: #58148 Related: #57814 Releases: 6.2 Change-Id: I2e20db88a513adb1a4d7599591fd3affdb60f209 Reviewed-on: https://review.typo3.org/30212 Tested-by: Dirk Klimpel Reviewed-by: Mario Rimann Reviewed-by: David Hoeckele Reviewed-by: Marc Bastian Heinrichs Tested-by: Marc Bastian Heinrichs
-
- Jun 04, 2014
-
-
Helmut Hummel authored
* Allow HTTP_HOST access for all unit tests * Remove allow all in data provider The latter implicitly caused a global allow, as PHPUint parses all data providers before any test is run, thus setting globals there will cause them to be preserved (and restored when backup globals is true). Releases: 6.2, 6.1, 6.0 Resolves: #59343 Change-Id: I646294bb472027e22d6edc0622068698fe9a88fc Reviewed-on: https://review.typo3.org/30560 Reviewed-by: Marc Bastian Heinrichs Tested-by: Marc Bastian Heinrichs Reviewed-by: Markus Klein Tested-by: Markus Klein
-
Frans Saris authored
To make it possible for an editor to find the real location of a used file, the storage and folder are added to the ElementInformation view of a file and folder. Resolves: #57798 Releases: 6.2 Change-Id: I7c8104809bad49a6df1ec625cf3463a96526ede2 Reviewed-on: https://review.typo3.org/30558 Reviewed-by: Einar Gislason Tested-by: Einar Gislason Reviewed-by: Markus Klein Tested-by: Markus Klein
-
- Jun 03, 2014
-
-
Frans Saris authored
The irre elements of FAL items have an info icon which shows some details info about the file_reference. But this is not the info an editor is looking for he wants the file info. This patch changes the link behind the info icon for FAL items so it shows the file info. Resolves: #57302 Resolves: #57832 Releases: 6.2 Change-Id: I3c4b867ceb5bc05e1cb62525450102784793fadc Reviewed-on: https://review.typo3.org/29651 Reviewed-by: Stefan Froemken Tested-by: Stefan Froemken Reviewed-by: Sebastian Fischer Tested-by: Nico de Haen Reviewed-by: Wouter Wolters Tested-by: Wouter Wolters
-
Markus Klein authored
A wrong formula is used to calculate the pointer for the pages. This patch also introduces a central function for calculating the pointer to a page. Resolves: #55320 Releases: 6.2 Change-Id: Ia4eec61f4f87b52d0d5e940e542998f9f82aa140 Reviewed-on: https://review.typo3.org/29949 Reviewed-by: Marcin Sągol Tested-by: Marcin Sągol Tested-by: Tymoteusz Motylewski Reviewed-by: Wouter Wolters Tested-by: Wouter Wolters
-
Wouter Wolters authored
Replace old logo with the new logo. Resolves: #59321 Releases: 6.2 Change-Id: I1b4386e0ee614096b4033f00d9fe9136d11a63c7 Reviewed-on: https://review.typo3.org/30548 Reviewed-by: Wouter Wolters Tested-by: Wouter Wolters
-
Markus Klein authored
Ensure the DataHandler::log() function does return integers in all cases as denoted in the doc header. Resolves: #59185 Releases: 6.2, 6.1, 6.0 Change-Id: I2a6aa0415b7cc19f10b4a290e43bd20065e6c9e1 Reviewed-on: https://review.typo3.org/30479 Reviewed-by: Stefan Neufeind Tested-by: Stefan Neufeind Reviewed-by: Wouter Wolters Tested-by: Wouter Wolters
-
Marc Bastian Heinrichs authored
On creating exports the file hash and size is used from the sys_file table. Since this could be not up-to-date in real live projects, those files fail to be imported. To prevent this, use the correct data for the export and show an error to the user. Resolves: #58761 Releases: 6.2 Change-Id: I7aacc6f00c52bc01c753af4ee32202a9219c02a1 Reviewed-on: https://review.typo3.org/30061 Reviewed-by: Bernd Niehues Tested-by: Bernd Niehues Reviewed-by: Wouter Wolters Tested-by: Wouter Wolters
-
Marc Bastian Heinrichs authored
A folder to be created could change the name by sanitizing. So the name of the created folder could differ from the requested name. For adding the image the returned folder object should be used. To avoid that sanitized ones should be created over and over again a mapping is buffered. Resolves: #58682 Releases: 6.2 Change-Id: Ia3443c36c6dda8531c8791c221d2a835b25b10b2 Reviewed-on: https://review.typo3.org/29984 Reviewed-by: Bernd Niehues Tested-by: Bernd Niehues Reviewed-by: Wouter Wolters Tested-by: Wouter Wolters
-
Markus Klein authored
This is a regression fix for #55983, which introduced additional urlencoding for title, class, ... Remove the encoding again. Resolves: #59199 Releases: 6.2 Change-Id: I28650676f4ae0b74256a770af12054750027cbfa Reviewed-on: https://review.typo3.org/30483 Reviewed-by: Markus Bucher Tested-by: Markus Bucher Reviewed-by: Tymoteusz Motylewski Tested-by: Tymoteusz Motylewski Reviewed-by: Wouter Wolters Tested-by: Wouter Wolters
-
Markus Klein authored
RTE feature "userlinks" generates a wrong JS function name due to the automatic replacement during the namespace conversion. Revert this line to use the correct JS function name. Resolves: #59302 Releases: 6.2, 6.1, 6.0 Change-Id: Ia6b51e7e1b1dfa0e618106f4f039bd0774464a97 Reviewed-on: https://review.typo3.org/30531 Reviewed-by: Alexander Opitz Tested-by: Alexander Opitz Reviewed-by: Wouter Wolters Tested-by: Wouter Wolters
-
Nils Blattner authored
ResourceFactory fails to detect files in symlinked scenarios, because the path is not canonicalized before file existence is checked. Solution is to canonicalize it and check then. Resolves: #59303 Releases: 6.2 Change-Id: I4fd763f7076e909f2163af79ed2b7f8642da8ed7 Reviewed-on: https://review.typo3.org/30532 Reviewed-by: Markus Klein Tested-by: Markus Klein
-
Francois Suter authored
For select-type fields displayed as two side-by-side selectors which are registered as "requestUpdate" fields, the form submission happens before the value is copied to the left-hand selector. The form is thus saved without value. Full description in the bug report, which also contains a test extension and steps to reproduce. Resolves: #58755 Releases: 6.2 Change-Id: Ie94def723537202287655c650cee7dfa09815f4f Reviewed-on: https://review.typo3.org/30044 Reviewed-by: Peter Foerger Reviewed-by: Fabien Udriot Tested-by: Fabien Udriot Reviewed-by: Tomas Norre Mikkelsen Reviewed-by: Lorenz Ulrich Tested-by: Lorenz Ulrich Reviewed-by: Markus Klein Tested-by: Markus Klein
-
- Jun 02, 2014
-
-
Markus Klein authored
The setting for maxitems in the TCA of be_users and be_groups for FAL permissions are wrong. Fix the value to match the number of available options. Resolves: #59263 Releases: 6.2 Change-Id: Ib38aab8bbd1f5fe9287ff0523139f88520f27e37 Reviewed-on: https://review.typo3.org/30518 Reviewed-by: Frans Saris Reviewed-by: Alexander Opitz Tested-by: Alexander Opitz Reviewed-by: Helmut Hummel Tested-by: Helmut Hummel
-
Helmut Hummel authored
ObjectAccess->getPropertyPath() does not work with ObjectStorage and numerical indexes, but it should be because without it form fluid fields cannot be properly handled as the value is always null. Fixing fetching objects from ObjectStorage by index will also enable shorter access of single objects in Fluid. Imagine you want to render the first image in your template. Previously you had to write this: <f:for each="{object.images}" as="image" iteration="iterator"> <f:if condition="{iterator.isFirst}"> <f:image image="{image}" alt="" width="50"/> </f:if> </f:for> Now you can just write: <f:image image="{object.images.0}" alt="" width="50"/> Resolves: #37126 Related: #37000 Releases: 6.2 Change-Id: I45122bd145b5a179ad3e9e3894520f9a614906c8 Reviewed-on: https://review.typo3.org/29923 Reviewed-by: Markus Klein Reviewed-by: Anja Leichsenring Tested-by: Anja Leichsenring Reviewed-by: Fabien Udriot Reviewed-by: Tymoteusz Motylewski Tested-by: Tymoteusz Motylewski Reviewed-by: Georg Ringer Tested-by: Georg Ringer
-
- Jun 01, 2014
-
-
Helmut Hummel authored
The AbstractUserAuthentication::checkAuthentication() method calls the logoff() method on every failed login attempt. Since a logoff also causes a removal of the cookie, any (anonymous) session data will be left unaccessible. Keep the cookie when session data is present. Releases: 6.2 Resolves: #58713 Change-Id: I744456f62197a7278635d8564d4883564d954dd2 Reviewed-on: https://review.typo3.org/30485 Reviewed-by: Helmut Hummel Tested-by: Helmut Hummel Reviewed-by: Wouter Wolters Reviewed-by: Stefan Neufeind Reviewed-by: Markus Klein Tested-by: Markus Klein
-
- May 30, 2014
-
-
Frans Saris authored
TCEforms is not wrapped in a div when dividers2tabs is disabled and a inline-element form element is present. As a result there is no background image/color shown. This changes removes the check as the wrap is also needed when inline-elements are present. Resolves: #59163 Releases: 6.2 Change-Id: I8772fce0d99bacdf18692308c700c02c0a0defcf Reviewed-on: https://review.typo3.org/30461 Reviewed-by: Wouter Wolters Tested-by: Wouter Wolters Reviewed-by: Kay Strobach Tested-by: Kay Strobach Reviewed-by: Frans Saris Tested-by: Frans Saris
-
- May 29, 2014
-
-
Markus Klein authored
This is not possible in PHP 5.3. Resolves: #59203 Releases: 6.2 Change-Id: I108578f7635c50493a3b5d7a7fc81c021805abf8 Reviewed-on: https://review.typo3.org/30489 Reviewed-by: Markus Klein Tested-by: Markus Klein
-
Sebastian Michaelsen authored
The title of a flexform element is cropped to maximum length of 30 characters. Instead it should obey the maximum title length in the user settings. Resolves: #58910 Releases: 6.2, 6.1 Change-Id: I28c6fc94b2d492217479bf014ff8f67463b4e98f Reviewed-on: https://review.typo3.org/30242 Reviewed-by: Wouter Wolters Tested-by: Wouter Wolters
-
Goran Medakovic authored
Fixes: #58485 Releases: 6.2 Change-Id: I9c3243b2cca9edb89d262a4d3f9cde17b906d440 Reviewed-on: https://review.typo3.org/30118 Reviewed-by: Markus Klein Tested-by: Markus Klein Reviewed-by: Tymoteusz Motylewski Reviewed-by: Wouter Wolters Tested-by: Wouter Wolters
-
Sebastian Michaelsen authored
It's common sense to use self:: where possible because it's quicker and makes code better understandable. This change fixes 2 violations in \TYPO3\CMS\Core\Utility\GeneralUtility Releases: 6.2 Resolves: #59001 Change-Id: Ie56a6697186426e3ff082b1694572c885c8420f5 Reviewed-on: https://review.typo3.org/30257 Reviewed-by: Christian Kuhn Reviewed-by: Markus Klein Tested-by: Markus Klein Reviewed-by: Wouter Wolters Tested-by: Wouter Wolters
-
Markus Klein authored
When setting up a new TYPO3 installation, TYPO3 should redirect to the install tool, when accessing the frontend or backend. This redirect fails since introduction of the trustedHostsPattern since no configuration is available at this point, while the request itself is a BE or FE request, which will be denied in this case. Solution is to set the REQUEST_TYPE to INSTALL before doing the redirect to install tool so that creating the redirect is allowed. Resolves: #59087 Releases: 6.2, 6.1 Change-Id: I31bcbc20fa1c9bca0d6bf2b940bf26b9affe893b Reviewed-on: https://review.typo3.org/30376 Reviewed-by: Stefan Neufeind Tested-by: Stefan Neufeind Reviewed-by: Wouter Wolters Tested-by: Wouter Wolters
-
Markus Klein authored
ext_emconf.php may lack the dependencies array. This will cause a PHP warning in a foreach loop. Fix this by checking for the type first. Resolves: #58640 Releases: 6.2 Change-Id: Ifb04268e04f5349282f895f6b3d7354dbc45affc Reviewed-on: https://review.typo3.org/29947 Reviewed-by: Christian Kuhn Reviewed-by: Xavier Perseguers Tested-by: Xavier Perseguers Reviewed-by: Anja Leichsenring Tested-by: Anja Leichsenring
-
Markus Klein authored
Resolves: #58756 Releases: 6.2 Change-Id: Ide09c7792e9b24afe480230893cac18570ce4f19 Reviewed-on: https://review.typo3.org/30069 Reviewed-by: Markus Klein Tested-by: Markus Klein
-
- May 28, 2014
-
-
Michael Schams authored
This patch corrects a minor typo in module: Web -> About TYPO3 CMS. It currently reads "TYPO3 CMS is a enterprise-class...", but it should read: "...is an enterprise..." ("an" with a "n"). Resolves: #59187 Releases: 6.2 Change-Id: I4e77e54dded08ef4cbdd484d81660a1e39241986 Reviewed-on: https://review.typo3.org/30476 Reviewed-by: Markus Klein Tested-by: Markus Klein
-
David Greiner authored
If localizing a parent-child structure, usually the language of the parent element shall be applied to related child records as well as new child records. Due to a missing array segment, the accordant section in the the InlineElement source code never was processed. Resolves: #57063 Releases: 6.2, 6.1 Change-Id: I7e563044f9889538f9b8171f71f7685722db8266 Reviewed-on: https://review.typo3.org/30448 Reviewed-by: Markus Klein Reviewed-by: David Greiner Reviewed-by: Wouter Wolters Reviewed-by: Oliver Hader Tested-by: Oliver Hader
-
Frans Saris authored
With the cleanup of the backend styles a padding of the pallete header got missing. This patch adds this padding just like the other headers in the TCEforms. Resolves: #59160 Releases: 6.2 Change-Id: I25ca0ccb0bbd7f4f6d014e12f1cebe1b12050718 Reviewed-on: https://review.typo3.org/30458 Reviewed-by: Georg Ringer Tested-by: Georg Ringer
-
- May 26, 2014
-
-
Nicole Cordes authored
Due to patch https://review.typo3.org/#/c/30305/ the string comparison on colPos fails and new content elements are always stored on pid 0. This patch corrects the check for an integer colPos type by setting the unused variable to NULL. Resolves: #59059 Releases: 6.2, 6.1, 6.0, 4.7, 4.5 Change-Id: Iecd7f0cacf5c9315d882eebeb3893bcfa63ae7eb Reviewed-on: https://review.typo3.org/30389 Reviewed-by: Fabien Udriot Tested-by: Fabien Udriot Reviewed-by: Alexander Opitz Tested-by: Alexander Opitz Reviewed-by: Markus Klein Tested-by: Markus Klein
-