- Mar 22, 2014
-
-
TYPO3 Release Team authored
Change-Id: I3a9e09d95b86395258b32924625ed48e316b236b Reviewed-on: https://review.typo3.org/28626 Reviewed-by: TYPO3 Release Team Tested-by: TYPO3 Release Team
-
Alexander Schnitzler authored
Currently Fluid treats negative integers as false which results in <f:if condition="-9"> rendering else instead of then. When casting integers to boolean using php all integers other than 0 (zero) are casted to true, just 0 results in false. Therefore, casting of BooleanNode::convertToBoolean must be adjusted to act like plain php. This bugfix is a breaking change as people might have deliberately used the wrong behaviour. Releases: 6.2 Resolves: #54243 Resolves: #33597 Change-Id: Iebaa578cf071909610ca0e1abfc9bfaad7459231 Reviewed-on: https://review.typo3.org/26784 Reviewed-by: Oliver Hader Tested-by: Oliver Hader Reviewed-by: Stefan Neufeind Reviewed-by: Nicole Cordes Tested-by: Nicole Cordes
-
Oliver Hader authored
The basic problem with MM (ManyToMany) relations in workspaces is that the intermediate table (MM table) does not have any information about actually being a reference in a particular workspace - there is no "t3ver_wsid" field. Thus, the meaning of a relation needs to be determined from the entities on both sides of the relation. The following is possible: * both sides are live -> valid in live only * exactly one side is versioned -> valid in a workspace only * both sides are versioned -> valid in a workspace only The difficulties now start with versioning one side first and after some time the other side - thus the relation with exactly one version and one live entity needs to be turned into an entry pointing to both versions. Resolves: #57169 Releases: 6.2 Change-Id: Idb043d520c30f15e85d54a016e52690f5f05cedc Reviewed-on: https://review.typo3.org/28624 Reviewed-by: Oliver Hader Tested-by: Oliver Hader
-
Oliver Hader authored
* general -> always use live id as pointer value * create records -> automatically fill placeholder pointers * copy records -> currently leads to problems with sorting * move records -> follow and create child move placeholders * delete records -> forward delete data in copy(!) process * ReferenceIndex needs to hold the most specific relations since the CommandMap handler is based on this information * ReleationHandler is extended for IRRE references to fetch the live default parent pointer automatically (this new behaviour can be disabled by public methods for each RelationHandler instance) * The method version_swap_procBasedOnFieldType of the version DataHandlerHook is completely removed since IRRE records are now referenced using the live default parent pointer value * UserTSconfig property options.workspaces.swapMode is set to "pages" per default - thus, if a page gets published all accordant records on that page are published as well Resolves: #56376 Releases: 6.2 Change-Id: I75248d10b000de73ca623770f07e8c2e89d4cdd8 Reviewed-on: https://review.typo3.org/27774 Reviewed-by: Oliver Hader Tested-by: Oliver Hader
-
Oliver Hader authored
The version preview in the frontend rendering process basically selects only the live versions and then overlays those records with possible versions. Since the MM handling is changed to directly point to the most specific version in that regard (this is an exception to the "always live, overlay then" approach), the versions also need to be selected directly. ContentObjectRenderer uses the method PageRepository::enableFields() which adds an additional SQL WHERE part, like " AND tablename.pid<>-1" to exclude possible versions. Besides that, elements (like sys_catagory) that are stored on the root-level cannot be queried at all which leads to custom code in the end just to perform these queries. This change allows selections on the root-level and disables the "pid<>-1" constraint if the opposite has been defined in the pidInList property. Example: select.pidInList = root,-1 Resolves: #57168 Documentation: #57171 Releases: 6.2 Change-Id: I6fb91f89f70614d59c83d808f07e890833248880 Reviewed-on: https://review.typo3.org/28623 Reviewed-by: Ernesto Baschny Reviewed-by: Oliver Hader Tested-by: Oliver Hader
-
Ernesto Baschny authored
Resolves: #56941 Releases: 6.2 Change-Id: I5dfabf2c5df8c495fbdce30cb170260d2656e6b4 Reviewed-on: https://review.typo3.org/28425 Reviewed-by: Stefan Neufeind Tested-by: Stefan Neufeind Reviewed-by: Nicole Cordes Tested-by: Nicole Cordes
-
Benjamin Mack authored
It's not possible to create a backend selectbox that is mandatory with only 1 item selectable. Releases: 6.2, 6.1 Resolves: #24925 Resolves: #24871 Change-Id: Idaef6475f61c70cd8c3f6074ccd0b0195d90c581 Reviewed-on: https://review.typo3.org/27169 Reviewed-by: Stefan Neufeind Tested-by: Stefan Neufeind
-
- Mar 21, 2014
-
-
Georg Ringer authored
There are 2 icons in the New Element wizard which should not belong there and get the user into a blank page if the user got no access to create page records. - in the toolbar: icon to create a new page - in the wizard: icon to create new page Change-Id: I5ab638f17eebfc740ab64dd57ce655681552f901 Resolves: #56992 Releases: 6.2 Reviewed-on: https://review.typo3.org/28464 Reviewed-by: Georg Ringer Tested-by: Georg Ringer Reviewed-by: Wouter Wolters Reviewed-by: Stefan Neufeind Tested-by: Stefan Neufeind Reviewed-by: Nicole Cordes Tested-by: Nicole Cordes
-
Alexander Stehlik authored
This patch introduces new methods to the FrontendContentAdapterServer that allow the manipulation of the file field migration configuration. It is now possible to add additional (content) types for which the migration should be active and to add custom migration configurations. Releases: 6.2 Resolves: #46067 Documentation: #56365 Change-Id: Ibc23be8a414192c8795d9bb4f09316cf608e240b Reviewed-on: https://review.typo3.org/23360 Reviewed-by: Markus Klein Tested-by: Markus Klein Tested-by: Tom Peters Reviewed-by: Stefan Neufeind Tested-by: Stefan Neufeind
-
Jan Kiesewetter authored
Change-Id: Ia750e9997bb69b00652a6cc30dd3442574c0b97b Resolves: #56007 Releases: 6.2 Reviewed-on: https://review.typo3.org/27642 Reviewed-by: Stefan Neufeind Tested-by: Stefan Neufeind
-
Benjamin Mack authored
Extbase does some simple calls to determine the page ID of the current request, and does not cache it. This costs some mySQL calls, which are unneeded once the current page ID is found. The page ID is now stored in the ConfigurationManager to retrieve with a simple runtime cache. Resolves: #55566 Resolves: #57125 Releases: 6.2 Change-Id: Id5fe4a25591c77ce8a81cefa018a04e803ba7e8a Reviewed-on: https://review.typo3.org/27243 Reviewed-by: Nicole Cordes Tested-by: Nicole Cordes Reviewed-by: Stefan Neufeind Tested-by: Stefan Neufeind
-
Nicole Cordes authored
With a static table name the extension key is not updated which sets a wrong table title for the extension before. This patch resolves table title from configuration with a fallback to table name part and sets group name and extension key. This helps to prevent any conflict between different extensions. Resolves: #23478 Releases: 6.2 Change-Id: I5f33b0a9ab616256f0b328a6d7c793677213531b Reviewed-on: https://review.typo3.org/28510 Reviewed-by: Vladimir Podkovanov Reviewed-by: Wouter Wolters Reviewed-by: Stefan Neufeind Tested-by: Stefan Neufeind
-
Nicole Cordes authored
To support a smooth upgrade from a 6.0 or 6.1 system, we have to reduce the length if the identifier field for the key "identifier". Resolves: #57002 Releases: 6.2 Change-Id: Ic5928ceae1f288cfb3005ad271e493f356679c82 Reviewed-on: https://review.typo3.org/28622 Reviewed-by: Stefan Neufeind Tested-by: Stefan Neufeind
-
Wouter Wolters authored
When deleting the deprecation log file a not styled flash message is shown afterwards. This is fixed by setting renderMode to div. Resolves: #57162 Releases: 6.2 Change-Id: I4ccc3620b008cd765b8fb1d124957e66aee448b5 Reviewed-on: https://review.typo3.org/28620 Reviewed-by: Christian Kuhn Tested-by: Christian Kuhn Reviewed-by: Ernesto Baschny Tested-by: Ernesto Baschny
-
Wouter Wolters authored
Resolves: #57166 Releases: 6.2 Change-Id: I72aa55cff3322bbe46d271758fd04f3aba860ae7 Reviewed-on: https://review.typo3.org/28619 Reviewed-by: Ernesto Baschny Tested-by: Ernesto Baschny Reviewed-by: Philipp Gampe Tested-by: Philipp Gampe Reviewed-by: Christian Kuhn Tested-by: Christian Kuhn
-
Oliver Hader authored
To reduce queries to accordant relations saved in the reference index, add the current workspace that is used. This information will be used later during publishing nested record sets (e.g. for Inline Relational Record Editing). Resolves: #56977 Releases: 6.2 Change-Id: I92851e243581a525bb99fafc9ed656fd613eeb82 Reviewed-on: https://review.typo3.org/28472 Reviewed-by: Wouter Wolters Reviewed-by: Oliver Hader Tested-by: Oliver Hader
-
Eric Chavaillaz authored
When you open the workspace toolbar, the bullets of the list are shown. It should not. Resolves: #57114 Related: #55819 Releases: 6.2 Change-Id: Ia58ddd1cd8005d6e2410c04e28a2a7b2111665c4 Reviewed-on: https://review.typo3.org/28591 Reviewed-by: Ernesto Baschny Tested-by: Ernesto Baschny Reviewed-by: Wouter Wolters Tested-by: Wouter Wolters
-
Pascal Dürsteler authored
As annotated in the files, a refactoring is made to remove duplicated code. Resolves: #57072 Releases: 6.2 Change-Id: Idef2c3c194aa1659603c8b6bcc0a515ccff13a23 Reviewed-on: https://review.typo3.org/28524 Reviewed-by: Christian Kuhn Tested-by: Christian Kuhn Reviewed-by: Helmut Hummel Tested-by: Helmut Hummel
-
Oliver Hader authored
$TCA[<table>]['ctrl']['shadowColumnsForMovePlaceholders'] behaves similar to shadowColumnsForNewPlaceholders but is only used for move placeholders. If shadowColumnsForMovePlaceholders is not defined in particular for a table, but shadowColumnsForNewPlaceholders is defined, then that value is used as a fallback - since that property existed for a longer time already. Resolves: #56994 Documentation: #56749 Releases: 6.2 Change-Id: Icdbd35234efae8162cfb2dc15a2838acd22370b1 Reviewed-on: https://review.typo3.org/28473 Reviewed-by: Oliver Hader Tested-by: Oliver Hader
-
Ernesto Baschny authored
Releases: 6.2 Change-Id: I3278984b1a7aa4ee704b9568f01d3ff3edf94da9 Reviewed-on: https://review.typo3.org/28617 Reviewed-by: Wouter Wolters Reviewed-by: Ernesto Baschny Tested-by: Ernesto Baschny
-
Helmut Hummel authored
To protect the backend from click jacking attacks a HTTP header needs to be sent, which prevents embedding backend pages in an iframe on domains different than the one used to access the backend. All recommended browsers respect this header and prevents the backend page to be shown in an iframe, so we do not need to implement further JavaScript frame busting solutions. Resolves: #54201 Documentation: #57144 Releases: 6.2 Change-Id: Ic83cae4917bb62ff8fe8b55a947ace7dba86d223 Reviewed-on: https://review.typo3.org/28601 Reviewed-by: Christian Kuhn Reviewed-by: Markus Klein Tested-by: Markus Klein Reviewed-by: Wouter Wolters Tested-by: Wouter Wolters Reviewed-by: Ernesto Baschny Tested-by: Ernesto Baschny
-
Helmut Hummel authored
It was previously possible to access the install tool by using a specially crafted URL, which caused the install tool enable file check to fail. As there was no easy solution to solve this issue, we now introduce the need to create a file on first install. So in the installation directory the following must be present: d typo3 f index.php f FIRST_INSTALL After the installation the file will be removed. Resolves: #55387 Releases: 6.2 Change-Id: I583581f18b939ba032950451bab17ac20131683b Reviewed-on: https://review.typo3.org/28612 Reviewed-by: Markus Klein Tested-by: Markus Klein Reviewed-by: Helmut Hummel Tested-by: Helmut Hummel
-
Steffen Ritter authored
The FrontendContentAdapter transforms tt_content and pages records within cObject to the format which they have been stored in in pre 6.x installations, so probably existing legacy TypoScript config can deal with the same data. This patchset introduces an AllConfiguration flag allowing to disable that service. For new installations the service is disabled by default, upgrading installations have the service enabled. Resolves: #54979 Releases: 6.2 Change-Id: I254f5c170c3e6a9f5ee214c0fe0e7a58e080cf34 Reviewed-on: https://review.typo3.org/26807 Reviewed-by: Markus Klein Tested-by: Markus Klein Reviewed-by: Alexander Stehlik Tested-by: Alexander Stehlik Reviewed-by: Stefan Neufeind Reviewed-by: Steffen Ritter Tested-by: Steffen Ritter
-
Ernesto Baschny authored
Resolves: #57126 Related: #55810 Releases: 6.2 Change-Id: Iea0e324b6942ec90a8da387a28ff0e7d926d63f8 Reviewed-on: https://review.typo3.org/28585 Reviewed-by: Marcin Sągol Tested-by: Marcin Sągol Reviewed-by: Pascal Dürsteler Tested-by: Pascal Dürsteler Tested-by: Christian Kuhn Reviewed-by: Markus Klein Tested-by: Markus Klein
-
Christian Kuhn authored
Fix a failing unit test after change c23414d5 Change-Id: I427663a1a528b24a0e63d2fc9ed2a6371902a4f4 Resolves: #57159 Related: #57152 Releases: 6.2 Reviewed-on: https://review.typo3.org/28611 Reviewed-by: Markus Klein Tested-by: Markus Klein Reviewed-by: Philipp Gampe Tested-by: Philipp Gampe
-
Markus Klein authored
* Cleanup code style * Fix code issues like forgotten return values Resolves: #53539 Releases: 6.2 Change-Id: Iec21bbb118d15e46bb464389d6a7bf3661b007a5 Reviewed-on: https://review.typo3.org/25295 Reviewed-by: Christian Kuhn Tested-by: Christian Kuhn Reviewed-by: Pascal Dürsteler Tested-by: Pascal Dürsteler Reviewed-by: Markus Klein Tested-by: Markus Klein
-
Helmut Hummel authored
When file caches are flushed, the cache directory is also deleted. Now when a second request comes in and creates the caches it happens that the cache directory of a given cache is still there for this cache when calling setCache in the SimpleFileBackend, but is deleted by the first request afterwards. Now the cache directory for the second request does not exist and setting cache entries will fail. Mitigate this by immediately recreating the cache directory. Resolves: #57136 Releases: 6.2 Change-Id: I3c4c5c63c6c754447549285d9718798272f9e585 Reviewed-on: https://review.typo3.org/28594 Reviewed-by: Ernesto Baschny Reviewed-by: Thomas Maroschik Reviewed-by: Pascal Dürsteler Reviewed-by: Markus Klein Tested-by: Markus Klein Reviewed-by: Christian Kuhn Tested-by: Christian Kuhn
-
Ernesto Baschny authored
For a first installer the directory structure is empty and the first step will try to create it. We do not need to show these as errors to the user, only if the root directory cannot be written. To achieve this we raise "Warnings" instead (which are not shown in first step). To keep the Folder Structure menu item on the left menu in the Install Tool showing a red badge for non existing directories, we change this to also include Warnings. Resolves: #57152 Releases: 6.2 Change-Id: Idd628ecdf946f9befdb7fefd7a9bb7bccc175c2b Reviewed-on: https://review.typo3.org/28605 Reviewed-by: Christian Kuhn Tested-by: Christian Kuhn Reviewed-by: Wouter Wolters Reviewed-by: Philipp Gampe Tested-by: Philipp Gampe
-
Xavier Perseguers authored
Additional attributes must be concatenated with a leading blank space in order to get valid HTML content. Fixes: #57127 Releases: 6.2 Change-Id: Iac0cf3033af37efd8e1a8efeb777083503166c5c Reviewed-on: https://review.typo3.org/28587 Reviewed-by: Andreas Fernandez Tested-by: Andreas Fernandez Reviewed-by: Eric Chavaillaz Tested-by: Eric Chavaillaz Reviewed-by: Xavier Perseguers Tested-by: Xavier Perseguers
-
Nicole Cordes authored
On empty pages no page content is rendered at all. This patch brings the clipboard back, if it contains elements so you can check those on the empty pages. Besides the drawFooterHook is shown again on empty pages. this isn't set in the core itself and extension authors should be able to choose if the content should be visible on empty pages. Resolves: #57062 Releases: 6.2 Change-Id: Ie7bd6fda730e801b285d7876a1eff39c3ba1eff0 Reviewed-on: https://review.typo3.org/28603 Reviewed-by: Stefan Froemken Tested-by: Stefan Froemken Reviewed-by: Frans Saris Tested-by: Frans Saris
-
Jigal van Hemert authored
The stdWrap property escapeJsValue actually encodes the content and should thus be called encodeForJavaScriptValue. Also the value must be enclosed in quotes to prevent it from being used outside the target context of string values in JavaScript. Releases: 6.2 Resolves: #57107 Documentation: #57108 Change-Id: Id5f850d36a87d71ca80eb58e3359ddacdd5b655e Reviewed-on: https://review.typo3.org/28571 Reviewed-by: Helmut Hummel Tested-by: Helmut Hummel Reviewed-by: Xavier Perseguers Tested-by: Xavier Perseguers
-
Ernesto Baschny authored
This reverts commit 07714455 This new interface is not being used throughout the Core, as this was just the first step of three to complete this functionality. So we revert and postpone this change for the next release. Change-Id: I5dd0e074a0026ff49b1d096ff4fd8926370aba3f Reviewed-on: https://review.typo3.org/28598 Reviewed-by: Ernesto Baschny Tested-by: Ernesto Baschny
-
Helmut Hummel authored
The check if we have class information can be simplified to !empty() Resolves: #57117 Related: #56933 Releases: 6.2 Change-Id: I8532b26142cc39da2b9bcca9880df715da57d59e Reviewed-on: https://review.typo3.org/28596 Reviewed-by: Frans Saris Reviewed-by: Markus Klein Tested-by: Markus Klein Reviewed-by: Stefan Neufeind Reviewed-by: Helmut Hummel Tested-by: Helmut Hummel
-
Francois Suter authored
With the changes introduced by the new cache grouping system, the "Clear all cache" menu item in the clear cache menu has become ambiguous. Labels and tooltips can be improved. Resolves: #57128 Releases: 6.2 Change-Id: I2c723e3581605f7040f8a1cc1598053155ee80a4 Reviewed-on: https://review.typo3.org/28588 Reviewed-by: Xavier Perseguers Tested-by: Xavier Perseguers Reviewed-by: Ludwig Rafelsberger Reviewed-by: Stephan Großberndt Reviewed-by: Jigal van Hemert Tested-by: Jigal van Hemert
-
- Mar 20, 2014
-
-
Markus Klein authored
Resolves: #57117 Related: #56933 Releases: 6.2 Change-Id: Ie305b808b0a9b9e10b5adca4af9e2562cf5123f6 Reviewed-on: https://review.typo3.org/28577 Reviewed-by: Wouter Wolters Reviewed-by: Christian Kuhn Reviewed-by: Helmut Hummel Tested-by: Helmut Hummel
-
Wouter Wolters authored
Resolves: #57124 Related: #55116 Releases: 6.2 Change-Id: I26ce6a340c06f6dfccf255b9b6c9424d9bd70efb Reviewed-on: https://review.typo3.org/28583 Reviewed-by: Ernesto Baschny Tested-by: Ernesto Baschny Reviewed-by: Helmut Hummel Reviewed-by: Christian Kuhn Tested-by: Christian Kuhn
-
Nicole Cordes authored
Install tool shows errors for file and folder permissions on Windows system. As those are writable by default the errors should be turned into information. Resolves: #57118 Releases: 6.2 Change-Id: Idc9f1126916e161bcde1e48c91ada2f9846a9ef9 Reviewed-on: https://review.typo3.org/28579 Reviewed-by: Wouter Wolters Reviewed-by: Xavier Perseguers Reviewed-by: Stefan Neufeind Reviewed-by: Christian Kuhn Tested-by: Christian Kuhn
-
Marc Bastian Heinrichs authored
This patch add functional tests for exporting and importing FlexForm fields of types "group" internal_type "file" and "file_reference" and a field with a soft reference link to a file. Resolves: #56612 Releases: 6.2 Change-Id: Ic66257dab15ec7a2fde522be9f74170eec346877 Reviewed-on: https://review.typo3.org/28466 Reviewed-by: Wouter Wolters Tested-by: Wouter Wolters Reviewed-by: Christian Kuhn Tested-by: Christian Kuhn
-
Marc Bastian Heinrichs authored
According to the fixes for the normal TCA fields of type "group" internal_type "file_reference" in #49538 and #56353, this needs also to be fixed for the FlexForm fields: handle the internal_type file_reference as an db reference to sys_file. Resolves: #56991 Releases: 6.2, 6.1, 6.0 Change-Id: Ie66c86c1bf3f0386d23259d0aee6706564beace3 Reviewed-on: https://review.typo3.org/28465 Reviewed-by: Wouter Wolters Tested-by: Wouter Wolters Reviewed-by: Christian Kuhn Tested-by: Christian Kuhn
-
Xavier Perseguers authored
Resolves: #57119 Releases: 6.2 Change-Id: I9be8b51fd695e2470e22fe084eeec507fd78f6f2 Reviewed-on: https://review.typo3.org/28578 Reviewed-by: Christian Kuhn Tested-by: Christian Kuhn Reviewed-by: Wouter Wolters Tested-by: Wouter Wolters
-