- Oct 15, 2013
-
-
TYPO3 Release Team authored
Change-Id: I51679493e369c2410095c11abc7bc21eb863c346 Reviewed-on: https://review.typo3.org/24813 Reviewed-by: TYPO3 Release Team Tested-by: TYPO3 Release Team
-
Steffen Ritter authored
The frontend should show translated file metadata. Since translation is not the concern of a file abstraction layer and the FAL does not know about frontend language settings this concern has to be decoupled. For that purpose the MetaDataRepository has been extended with an signal which is fired before the metadata-record is returned. In Frontend-Context a Slot is registered which passes that record through the according functionality in \TYPO3\CMS\Frontend\Page\PageRepository::getRecordOverlay so that a clean language and workspace overlay happen according to the settings of TSFE. Releases: 6.2 Resolves: #52818 Change-Id: I7b7791abd63d2a69480ed31861c63de1585a569c Reviewed-on: https://review.typo3.org/24766 Reviewed-by: Frans Saris Tested-by: Frans Saris Reviewed-by: Fabien Udriot Reviewed-by: Francois Suter Tested-by: Francois Suter Reviewed-by: Ernesto Baschny Tested-by: Ernesto Baschny
-
Ingo Renner authored
When using an IP condition, support using keyword "devIP" to compare the current Request IP against the devIpMask setting. Usage: [IP = devIP] page.20 = TEXT page.20.value = Hello Developer! [end] Fixes: #50092 Documentation: #52827 Releases: 6.2 Change-Id: I6b9128a9ac23b8d24ec1874dbe477503b20b58b8 Reviewed-on: https://review.typo3.org/24754 Reviewed-by: Ernesto Baschny Reviewed-by: Gaëtan MARMASSE Tested-by: Gaëtan MARMASSE Reviewed-by: Paul Rohrbeck Tested-by: Paul Rohrbeck Reviewed-by: Dmitry Dulepov Tested-by: Dmitry Dulepov Reviewed-by: Oliver Hader
-
Oliver Hader authored
The "all workspaces" tab currently is only available for admin users. However, there's no need to disallow regular editors to use this feature as well - access will be granted to workspaces that have been defined for each particular user or group. Besides that, actions from the "all workspaces" view need to be handled in a special way since there is no correct BE_USER->workspace value assigned in that case, but working with versioned records requires to have a correct scope defined. Change-Id: I89bfee3ad0b2ce1a5f3c12a1bd91342472b12d3d Resolves: #50223 Releases: 6.2 Reviewed-on: https://review.typo3.org/22445 Reviewed-by: Oliver Hader Tested-by: Oliver Hader
-
Xavier Perseguers authored
Fixes: #52849 Releases: 6.2 Change-Id: I1308ffec460b7d4a61456564721206c7e99d5a99 Reviewed-on: https://review.typo3.org/24795 Reviewed-by: Wouter Wolters Reviewed-by: Philipp Gampe Tested-by: Philipp Gampe Reviewed-by: Thomas Maroschik Tested-by: Thomas Maroschik
-
Oliver Hader authored
This reverts commit bedddf2e Reason for reverting the mentioned commit: Fatal error: Call to undefined method TYPO3\CMS\Core\Resource\File::getAlternative() Related: #47709 Releases: 6.2 Change-Id: Ie0ed98b2315bedf4475d25e92a3842972e85b7bf Reviewed-on: https://review.typo3.org/24809 Reviewed-by: Oliver Hader Tested-by: Oliver Hader
-
Tomita Militaru authored
Set curl option for NTLM authentication and a configuration entry in the install tool. Resolves: #14730 Releases: 6.2 Change-Id: I9a5bac36e2280eca893c2da4e39b4c4f701b7f2b Reviewed-on: https://review.typo3.org/23510 Reviewed-by: Wouter Wolters Reviewed-by: Philipp Gampe Reviewed-by: Dmitry Dulepov Reviewed-by: Kay Strobach Tested-by: Kay Strobach Reviewed-by: Christian Kuhn Tested-by: Christian Kuhn
-
Steffen Ritter authored
In order to display high resolution icons to according displays the SpriteManager must be enabled to support this. This patch adds support for that. It generates a second sprite with double sized icons and uses background-size CSS3 property. As this sprite is a separate file it does not affect performance on non high Resolution Displays. High Resolution displays directly load the second file - which indeed is 4 times the size. For generating the high resolution sprite all icons which are not available as @x2-variant are scaled with gd-library functionality. Change-Id: Id606f0c2900d57bb46869829d5f0939f29e9db08 Resolves: #49667 Documentation: #52853 Releases: 6.2 Reviewed-on: https://review.typo3.org/21887 Reviewed-by: Christian Kuhn Reviewed-by: Markus Klein Tested-by: Markus Klein Tested-by: Christian Kuhn Reviewed-by: Steffen Ritter Tested-by: Steffen Ritter
-
Sascha Egerer authored
* Fixed a major bug in Enumeration in the isValid function to prevent PHP typeloose comparison hell and added Tests * Added a CoreTypeInterface that can be used in the extbase data mapper to map properties to new core types like the enumeration Resolves: #52762 Releases: 6.2 Change-Id: I966c64ae8a82d13bdcb47c41917da98c48f0b475 Reviewed-on: https://review.typo3.org/24708 Reviewed-by: Marc Bastian Heinrichs Tested-by: Marc Bastian Heinrichs Reviewed-by: Sascha Egerer Reviewed-by: Stefan Neufeind Reviewed-by: Thomas Maroschik Tested-by: Thomas Maroschik
-
Steffen Ritter authored
File-Metadata has been configured to be translatable. In List-Module we are used to also see the translated records. To help editors this possibility is introduced to the file list to. Based on the fact that for a file all listed properties would be the same than in every language, a different implementation has been used. The icons and the formatting is prelimary and subject to be changed by the usability team. Resolves: #52817 Releases: 6.2 Change-Id: I0016b8c9fe543d3bab3e77dc37ae7bb67acc97b0 Reviewed-on: https://review.typo3.org/24752 Reviewed-by: Ernesto Baschny Tested-by: Ernesto Baschny Reviewed-by: Wouter Wolters Reviewed-by: Fabien Udriot Tested-by: Fabien Udriot Reviewed-by: Xavier Perseguers Tested-by: Xavier Perseguers
-
Xavier Perseguers authored
Fixes: #52850 Releases: 6.2 Change-Id: I8e04e2fb9cf30a6692b450f076a0016a55f31f29 Reviewed-on: https://review.typo3.org/24796 Reviewed-by: Xavier Perseguers Tested-by: Xavier Perseguers
-
Fabien Udriot authored
The Core provides advanced metadata for File within a Core extension "filemetadata". The extension is not activated by default but can be when advanced metadata are needed. The main benefit is to have unified metadata in TYPO3. As a result, third-party extensions can build upon a common base preventing segmentation. Change-Id: I2e7ce7ac0d072f296b11dfa2189d32e5539f9994 Releases: 6.2 Resolves: #52719 Documentation: #52769 Reviewed-on: https://review.typo3.org/24715 Reviewed-by: Jigal van Hemert Tested-by: Jigal van Hemert Reviewed-by: Steffen Ritter Tested-by: Steffen Ritter
-
Thomas Maroschik authored
The current composer type of system extensions is "typo3cms-framework". In the composer installer for TYPO3 CMS the composer type of extensions is "typo3-cms-extension". In order to align our composer type with the community defined it is changed to "typo3-cms-framework". Resolves: #52831 Releases: 6.2 Change-Id: I1f43a60bd4cf59b47163123b57c8ba09e35e6526 Reviewed-on: https://review.typo3.org/24780 Reviewed-by: Sebastian Fischer Reviewed-by: Christian Kuhn Tested-by: Christian Kuhn
-
Thomas Maroschik authored
Most extensions that already provide a composer.json file have a requirement against composer/installers. Our Package Manager tries to resolve that dependency and files. As the composer/installers package is not required for an extension to work it is ignored until the Extensionmanager can handle composer packages natively. Resolves: #52767 Releases: 6.2 Change-Id: Ia6c57f6006958aadea759cd583f2dce7716be389 Reviewed-on: https://review.typo3.org/24785 Tested-by: Claus Due Reviewed-by: Sebastian Fischer Reviewed-by: Fabien Udriot Tested-by: Fabien Udriot Reviewed-by: Thomas Maroschik Tested-by: Thomas Maroschik
-
Thomas Maroschik authored
The PackageStates.php file migration from LocalConfiguration.php happens transparently upon the first call of the install tool. If the file LocalConfiguration.php is not available yet, like during installation from a blank package this step fails. This patch introduces some more checks that check if typo3conf and LocalConfiguration.php are present before the migration of PackageStates kicks in. Resolves: #52847 Releases: 6.2 Change-Id: I5dede4123ad1474c0493c85d96350fd6cfdc04c4 Reviewed-on: https://review.typo3.org/24793 Reviewed-by: Markus Klein Tested-by: Markus Klein Reviewed-by: Thomas Maroschik Tested-by: Thomas Maroschik
-
Thomas Maroschik authored
The Package Manager created the package base paths by itself. This could lead to errors if directory creation is forbidden on the PATH_site level. This fix disables the folder creation and removes the folder from package base paths if the folder is not available. Fixes: #52814 Releases: 6.2 Change-Id: I67acad6101ca54dd4c45604bcfc91da490fdc43a Reviewed-on: https://review.typo3.org/24779 Reviewed-by: Markus Klein Tested-by: Markus Klein Reviewed-by: Thomas Maroschik Tested-by: Thomas Maroschik
-
Oliver Hader authored
On moving existing folders inside another existing folder in the file-module, the following exception is thrown: 1314085991: uid of Storage has to be numeric. The reason is obvious, since the submitted storage key contains the storage object instead of the UID of the storage. Change-Id: Ia6f6af5252880a7bde8a537bc9e343c392eadbf5 Fixes: #52845 Releases: 6.0, 6.1, 6.2 Reviewed-on: https://review.typo3.org/24792 Reviewed-by: Xavier Perseguers Reviewed-by: Frans Saris Tested-by: Frans Saris Reviewed-by: Wouter Wolters Reviewed-by: Stefan Neufeind Tested-by: Stefan Neufeind
-
Nicole Cordes authored
This patch enables the visibility of all databases the user has access to but disables the non empty ones from being chosen. Resolves: #52585 Releases: 6.2 Change-Id: Ic8b527c5d256e46b99f79c35d236809ce015cbef Reviewed-on: https://review.typo3.org/24668 Reviewed-by: Nicole Cordes Tested-by: Nicole Cordes Reviewed-by: Thorsten Kahler Tested-by: Thorsten Kahler Reviewed-by: Alexander Opitz Tested-by: Alexander Opitz Reviewed-by: Stefan Neufeind Tested-by: Stefan Neufeind
-
Stefan Neufeind authored
Those libraries are used through the core but should not be referenced/used from outside (for example foreign extensions) as files may be renamed or removed without further notice. Change-Id: Ifea45d74a19e0cd6cbc1bb555ae40fd8f9ad8cde Resolves: #52844 Releases: 6.2 Reviewed-on: https://review.typo3.org/24791 Reviewed-by: Stefan Neufeind Tested-by: Stefan Neufeind
-
Steffen Ritter authored
This patch adds SQL and TCA to sys_file_metadata allowing the table to be localized. In addition IRRE for sys_file_references is slightly reconfigured and the - already prepared - repository is adapted to only return live records in default language. Resolves: #52816 Releases: 6.2 Change-Id: Ia5fbb1423f7ab2f73f58d9671a50a3c379e9e1f3 Reviewed-on: https://review.typo3.org/24751 Reviewed-by: Fabien Udriot Tested-by: Fabien Udriot Reviewed-by: Ernesto Baschny Tested-by: Ernesto Baschny
-
Helmut Hummel authored
The calculation of PATH_site in TYPO3 does not take the real location of the directory into account but respects the settings of the webserver. To avoid issues especially on Windows systems, we need to remove the realpath call also from the unit test bootstrap. Releases: 6.2 Resolves: #52842 Change-Id: I4c5067e227aece444d4d9480b7ff758262c0996e Reviewed-on: https://review.typo3.org/24790 Reviewed-by: Nicole Cordes Tested-by: Nicole Cordes Reviewed-by: Helmut Hummel Tested-by: Helmut Hummel
-
Ernesto Baschny authored
The loop that scans for packages should skip those whose key is not valid, in order to avoid an exception later down the road. Resolves: #52779 Releases: 6.2 Change-Id: Ic9903b7d69fd6c9b9581e85d2f6ea1222ebb8885 Reviewed-on: https://review.typo3.org/24728 Reviewed-by: Christian Kuhn Tested-by: Christian Kuhn Reviewed-by: Thomas Maroschik Tested-by: Thomas Maroschik
-
Xavier Perseguers authored
A few jQuery libraries and plugins are used by multiple system extensions and should be centralized to prevent duplicates and be usable by other extensions as well. Resolves: #52442 Releases: 6.2 Change-Id: I4c931b82c348c22fc8da9c4ccee5b1b323bc114b Reviewed-on: https://review.typo3.org/24233 Reviewed-by: Stefan Neufeind Tested-by: Stefan Neufeind Reviewed-by: Fabien Udriot Reviewed-by: Markus Klein Tested-by: Markus Klein
-
Frans Saris authored
In order to ease migration from DAM we need to be able to get File Objects based on its selected categories. This patch extends the file collection type to create collection based on sys_category. Resolves: #51580 Releases: 6.2 Change-Id: Ic8dfe39bae8977924b6cf90fb8d6284dd60d84c8 Reviewed-on: https://review.typo3.org/24575 Reviewed-by: Francois Suter Tested-by: Francois Suter Reviewed-by: Steffen Ritter Tested-by: Steffen Ritter
-
Thomas Maroschik authored
Fluid FormViewHelper adds some hidden fields that contain information about the current controller. When the form is submitted and contains a validation error the errorAction int the ActionController is hit. This one builds a refering request object from the hidden fields without a vendor name, as this one is not passed from the FormViewHelper. The request object tries to guess the controller name but guesses a non namespaced classes name as the vendor name is not given. To get further information about the class methods the class name gets autoloaded and creates a wrong classes cache entry as the autoloader cannot detect if a extension has namespaced or non namespaced classes from the outside. This patch introduces a hidden vendor name field in the Fluid FormViewHelper. Fixes: #52823 Releases: 6.2, 6.1, 6.0 Change-Id: I0a82cf2ee07ce293eda0b9f50d3cac7b2a513f15 Reviewed-on: https://review.typo3.org/24787 Reviewed-by: Stefan Neufeind Tested-by: Stefan Neufeind
-
Stefan Neufeind authored
Allows defining of task-groups and groups tasks in scheduler-list by those groups. Tasks inside a hidden group are neither automatically executed nor displayed in the scheduler module. Task-groups feature a description field that can hold additional information and is displayed below the group name in the scheduler list. Change-Id: I445cf9296ab03e9e0e9e3a35ba5a6aa66ad23f13 Resolves: #52695 Releases: 6.2 Reviewed-on: https://review.typo3.org/24608 Reviewed-by: Xavier Perseguers Tested-by: Xavier Perseguers Reviewed-by: Georg Ringer Tested-by: Markus Klein Reviewed-by: Markus Klein
-
Steffen Ritter authored
The FILES ContentObject always renders all files. If you access the media field of a page you probably only want to render the first attached file. This patch adds begin and maxItems as properties to TypoScript. Releases: 6.2 Resolves: #52632 Documentation: #52742 Change-Id: I9755571d5a1a692fbd4b5ea2b3ef82cc99fa2cc1 Reviewed-on: https://review.typo3.org/24558 Reviewed-by: Stefan Neufeind Tested-by: Stefan Neufeind Reviewed-by: Francois Suter Tested-by: Francois Suter
-
Nicole Cordes authored
Show extension keys in the lists as well. Resolves: #52782 Releases: 6.2 Change-Id: Idf3d4e4eb1595866de4196c3d71b65619b2031d3 Reviewed-on: https://review.typo3.org/24731 Reviewed-by: Xavier Perseguers Tested-by: Xavier Perseguers Reviewed-by: Nicole Cordes Tested-by: Nicole Cordes Reviewed-by: Wouter Wolters Tested-by: Wouter Wolters
-
Philipp Gampe authored
Allows to pass relative paths to INCLUDE_TYPOSCRIPT if the inclusion is called recursively from a file. Those paths start with ./ or ../ The ./ is needed to distinguish them from paths relative to PATH_SITE. Adds a new utility function to PathUtility that does the actual resolving. The utility function ships with a unit test. This allows simple nested TypoScript templates that can be moved or copied without the need to adapt all includes. Relative paths will also remain unchanged between loading/saving. Besides this the patch now also keeps "optional properties" given in an include-tag for FILE unchanged. So far this only worked for DIR. Resolves: #52018 Documentation: #52832 Releases: 6.2 Change-Id: Icfb828152076ad285bd145f55f2aabcea89c50d0 Reviewed-on: https://review.typo3.org/23842 Reviewed-by: Philipp Gampe Tested-by: Philipp Gampe
-
Frans Saris authored
FolderBasedFileCollection::loadContents() has to check if the folder is initialised prior to loading the contents to prevent fatal errors. Fixes: #50802 Releases: 6.2, 6.1, 6.0 Change-Id: If3ce06cff13595da49abbb6aa99c891969aea692 Reviewed-on: https://review.typo3.org/22829 Reviewed-by: Jigal van Hemert Tested-by: Jigal van Hemert Reviewed-by: Markus Klein Tested-by: Markus Klein
-
Steffen Ritter authored
The original patch missed commas at the ends of TCA definition due to a missing git add before pushing the rebase. Releases: 6.2 Resolves: #52718 Change-Id: Iee04d3592eae3e0b8ea679dbcd065de4016d01dd Reviewed-on: https://review.typo3.org/24778 Reviewed-by: Steffen Ritter Tested-by: Steffen Ritter
-
Fabien Udriot authored
The change set is a first step for improving the Category restriction for a BE User. The patch brings an additional field in BE User Group / User where category mount points can be defined. A security aspect is also introduced for controlling what mount points are going to be displayed in the tree widget in TCEforms. Security check related to Data Handler will be provided in another patch. Change-Id: Ie817e03f21ecbc8423e4d4c2c081bb99324be2d2 Releases: 6.2 Resolves: #52718 Reviewed-on: https://review.typo3.org/24618 Reviewed-by: Steffen Ritter Tested-by: Steffen Ritter
-
Oliver Hader authored
The workspace backend module uses \TYPO3\CMS\Extbase\Object\ObjectManagerException instead of \TYPO3\CMS\Extbase\Object\ObjectManager. Change-Id: Ieb30ed6cd3e8d33de7270800044b0eeebf83be90 Fixes: #52824 Releases: 6.0, 6.1, 6.2 Reviewed-on: https://review.typo3.org/24756 Reviewed-by: Wouter Wolters Reviewed-by: Oliver Hader Tested-by: Oliver Hader
-
Oliver Hader authored
The workspace module only can be extended by overriding PHP and JavaScript components. This feature aims to integrate a possibility to extend the definition and behaviour of displayed columns in the workspace module. Change-Id: I8ba18c8e35bfc09a5a34becaa66b6543ad73ee01 Resolves: #50219 Releases: 6.2 Reviewed-on: https://review.typo3.org/22444 Reviewed-by: Oliver Hader Tested-by: Oliver Hader
-
Oliver Hader authored
Backend layouts are currently stored in the database as regular records. Since extension cannot ship their specific backend layout definitions, data providers become handy in providing the accordant information taken from e.g. static files in the file system. Data providers can be registered like shown in the follow and need to be implement DataProviderInterface of the namespace TYPO3\CMS\Backend\View\BackendLayout: $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS'] ['BackendLayoutDataProvider'][$_EXTKEY] = 'Classname'; A DataProviderContext object is used to transport submitted data (e.g. table or field name) to the accordant data providers. Change-Id: I2e3d39e720c6d1bffa9a586148f0eea4cab0210e Resolves: #37208 Documentation: #52809 Releases: 6.2 Reviewed-on: https://review.typo3.org/11804 Reviewed-by: Oliver Hader Tested-by: Oliver Hader
-
Jigal van Hemert authored
Since PHP 5.5.0 the use of the /e modifier is deprecated in preg_replace. Use callback function instead. Also change comments to CGL format. Change-Id: I44f12e8bfa1c976e494dae847cc6c53d15ed7c2d Fixes: #52771 Releases: 6.0, 6.1, 6.2 Reviewed-on: https://review.typo3.org/24723 Reviewed-by: Stefan Neufeind Tested-by: Stefan Neufeind Reviewed-by: Markus Klein Tested-by: Markus Klein
-
- Oct 14, 2013
-
-
Sascha Egerer authored
A non-existent constant was used which ends up in an fatal error. Resolves: #52551 Releases: 6.2 Change-Id: I2af59dfdbca0f5451e605b2aa99b1843ecd67bf7 Reviewed-on: https://review.typo3.org/24753 Reviewed-by: Wouter Wolters Tested-by: Wouter Wolters
-
Frans Saris authored
Removed the add/edit wizards in default TCA column configuration for the SYS.defaultCategorizedTables. Resolves: #52699 Releases: 6.2 Change-Id: I7b08115c0ab0b2e2d58968a398d03e018bda3d78 Reviewed-on: https://review.typo3.org/24663 Reviewed-by: Francois Suter Tested-by: Francois Suter Reviewed-by: Wouter Wolters Tested-by: Wouter Wolters
-
Christian Kuhn authored
Some FormProtection tests rely on an instantiated BE_USER object. The patch takes care of proper mocking in this case and removes the BE_USER instantiation from unit test bootstrap. Change-Id: I85005db863bab10ccd61eb910153733b82e2b65e Resolves: #52819 Releases: 6.2 Reviewed-on: https://review.typo3.org/24750 Reviewed-by: Wouter Wolters Tested-by: Wouter Wolters Reviewed-by: Christian Kuhn Tested-by: Christian Kuhn
-
Christian Kuhn authored
BackendUtility::viewOnClick() provides a hook to manipulate the generated URL. ext:workspaces uses this. The patch adapts a viewOnClick() test to unset possible registered hooks and prevents unrelated code from messing with the test. Change-Id: I4977575446bf898224583010ae7a2d34e145e147 Resolves: #52813 Releases: 6.2 Reviewed-on: https://review.typo3.org/24748 Reviewed-by: Wouter Wolters Tested-by: Wouter Wolters Reviewed-by: Christian Kuhn Tested-by: Christian Kuhn
-