Showing results 1551 to 1561 of 1561

Feature
New Orphaned Extbase

#55508 Implement CSRF Protection in Extbase URI builder and request handler

  • The Extbase URI builder should be able to add tokens for specific actions to the URI (if configured)
  • The request handling should check for correct tokens (if configured)

This story should be done if time is left from other task of this workpackage

Author Helmut Hummel
Created 01/31/14, 13:25
Updated 01/24/18, 20:02
Bug
New Orphaned Import/Export (T3D) TYPO3 CMS 7

#72962 Avoid garbage upon failed import

When importing a large page structure any exception which could possibly get thrown will result in an abort of the import. All records which got inserted into the database until then could end up on a wrong page, link to wrong elements, etc. as relations between records are only updated after all records got inserted. The same is true for an import which got aborted because of a PHP script timeout.

This bugfix resolves the problem by introduction DB transactions via the DatabaseConnection class. In the case of a failed import all statements are rolled back and newly created files will get removed.

Author Bernhard Kraft
Created 01/27/16, 12:47
Updated 01/17/18, 15:40
Feature
Accepted Orphaned Backend JavaScript

#70923 TCA: Show proper error message if validation is failing

in TCA you can define validation rules for example the range. More here:

In case of an error, don’t just frame the field with a red border but also say, what is the error.

Author Simon Schaufelberger
Created 10/21/15, 19:04
Updated 12/06/17, 13:21
Feature
New Orphaned Extbase

#81114 Missing bitwise operations in Extbase QueryBuilder

So far this was implemented on a low-lewel in task #75563, but still not available in Extbase.

Should be possible to do something like:

$query = $this->createQuery();

$query->matching(
     $query->bitAnd('category', $category)
);

$query->execute();
Author Viktor Livakivskyi
Created 05/02/17, 18:33
Updated 05/02/17, 18:33
Bug
New Orphaned Extbase TYPO3 CMS 7

#78546 CollectionValidator is not automatically assigned to ObjectStorage parameters of an action

Consider the following action:

/**
 * @param \Vendor\Ext\Domain\Model\MyModel $myModel
 * @param \TYPO3\CMS\Extbase\Persistence\ObjectStorage<\Vendor\Ext\Domain\Model\MyModel>    $myModelList
 */
public function objectStorageAction($myModel, $myModelList)

Validation of first argument is executed, also due to recursive validation sub-properties are validated too, including validation of ObjectStorages and elements inside of them.

Validation of second argument is not executed, and so no validation of elements is performed.

This can be fixed with annotation:

@validate $myModelList Collection(elementType=\Vendor\Ext\Domain\Model\MyModel)

But would be much more convenient, if ExtBase could detect it from @param definition.

Author Viktor Livakivskyi
Created 11/02/16, 14:38
Updated 11/02/16, 14:38
Feature
New Orphaned Security

#77740 User-specific detailled per-table action permissions (create,delete,edit)

TYPO3 allows to restrict which actions may be taken on pages content: show, edit, delete, new, editcontent – see https://docs.typo3.org/typo3cms/TSconfigReference/latest/PageTsconfig/TCEmain/Index.html#permissions-actions

I would like to see this to be configurable for all tables individually, so that I can restrict creating new and deleting existing records of table tx_example_mailtemplate to a certain group of users while allowing all users to edit them.

Author Christian Weiske
Created 09/01/16, 11:00
Updated 09/01/16, 12:29
Bug
New Orphaned Extbase TYPO3 CMS 6.2

#61628 PropertyMappingConfiguration for ObjectStorages / Arrays

Hi,

i want to create different type of objects from fluid within a form. Within the initializeCreateAction() i do this here:

$propertyMappingConfiguration->forProperty('newsletters.*')->allowAllProperties();         

$propertyMappingConfiguration->forProperty('newsletters.*')->setTypeConverterOption('TYPO3\CMS\Extbase\Property\TypeConverter\PersistentObjectConverter',\TYPO3\CMS\Extbase\Property\TypeConverter\PersistentObjectConverter::CONFIGURATION_OVERRIDE_TARGET_TYPE_ALLOWED,TRUE);

In the view i write this code:

<f:for each="{newsletters}" as="newsletter">
            <f:form.hidden property="newsletters.{newsletter.listId}.__type" value="{newsletter.type}" />
            <f:form.checkbox id="newsletter-{newsletter.listId}" property="newsletters.{newsletter.listId}.listId" value="{newsletter.listId}" />
            <label for="newsletter-{newsletter.listId}">Sign up to our newsletter?</label>
        </f:for>

The Problem is, that the propertyMapping wildcard doesnt work for arrays!?

Author André Wuttig
Created 09/16/14, 11:13
Updated 11/19/15, 09:13
Bug
New Orphaned Extbase TYPO3 CMS 6.2

#59822 Same action called on property mapping errors with view.pluginNamespace

With plugin.tx_<myext>.view.pluginNamespace one can have all plugins of an extension share the same prefix for form data, e.g. for having multiple plugins affect the same object.

However, if property mapping errors occur in this setup, all plugins show the same output (of the last plugin).

This error occurs due to the internal argument __referrer having the same prefix for all plugins, thus the last one prevails and all actions are redirected to this referring request.

Author Mathias Brodala
Created 06/23/14, 17:17
Updated 10/28/15, 12:42
Feature
New Orphaned Backend User Interface

#52114 Expand "do not search" to subpages

The do not search function in page settings is a quite useful thing. Especially if you want to hide pages from search and googlesitemap xml rendering.

But there´s one thing that makes it quite unhandy on large pagetrees. You cannot expand it to child pages. You can go with the list module, but even this is much efford if you want to hide 200 pages.

An equivalent usage to the access function would be a great benefit from an editors POV.

Cheers

David

Author d.ros no-lastname-given
Assigned to Mathias Schreiber
Created 09/18/13, 15:41
Updated 06/16/15, 09:49
Feature
New Orphaned File Abstraction Layer (FAL)

#65397 Make available metadata edition when uploading file

After uploading files in filelist module, I have to refresh page to be able to edit metadata (same for other actions). It will be nice to have access to these actions without page refreshing.

Author David Lemaitre
Created 02/27/15, 15:10
Updated 06/12/15, 17:18
Feature
New Orphaned File Abstraction Layer (FAL)

#65797 TCA: Allow context-based filtering by File Storage in FAL IRRE relations

Currently, when configuring the TCA for a FAL relation, you can specify which file types are allowed and available in the element browser when selecting the file. It would be awesome to be able to also scope a particular TCA context to a subset of all available FAL storages.

FYI: References below are from TYPO3 6.2.11 release

For example, in the helper method

\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::getFileFieldTCAConfig

we currently have parameters for

$allowedFileExtensions
Would it be possible to add something like these?:
$allowedFileStorages
and
$disallowedFileStorages

I spent a little time on this, and it appears filtering on the DataHandler / saving side can be relatively straightforward, by adding a new filtering class in $config[‘filter’].

The trickier part is dealing with the element browser. The configuration interface available in $config[‘foreign_selector_fieldTcaOverride’] (typo3/sysext/core/Classes/Utility/ExtensionManagementUtility.php:508) appears designed to support filtering only by the single facet (‘elementBrowserAllowed’ => [list of file extensions]). The config interface problem can be worked around, perhaps, but I ran into really mucky territory when looking at ways to leverage the filtering information to limit tree scope when rendering the element browser in TYPO3\CMS\Recordlist\Browser\ElementBrowser::main_file (sysext/recordlist/Classes/Browser/ElementBrowser.php:1376).

Anyone have any ideas? This would be a great feature, and it seems unusual that it’s not in place already.

Author Gabe Blair
Created 03/18/15, 02:14
Updated 03/18/15, 02:14

Showing results 1551 to 1561 of 1561