TYPO3 Forge: Issueshttp://forge.typo3.org/http://forge.typo3.org/themes/typo3_forge/favicon/favicon.png?17058661692022-04-30T13:38:15ZTYPO3 Forge
Redmine TYPO3 Core - Feature #97524 (Rejected): Make it possible to run UPDATE sql statements within ext_...http://forge.typo3.org/issues/975242022-04-30T13:38:15ZSimon Schaufelberger
<p>SqlReader can currently only read INSERT and CREATE TABLE statements, but not UPDATE statements from ext_tables_static+adt.sql.</p>
<p>SchemaMigrator can currently only run INSERT and CREATE TABLE statements, but not UPDATE statements.</p>
<p>The extension static_info_tables_* therefor need an own solution to update existing company records and add translations. Both, the static_info_tables_* extensions could profit from this feature but also the TYPO3 testing framework which also doesn't support run the UPDATE statements and therefor functional tests which read translated country names can't be tested like translated country names in fluid templates for example.</p>
<p>See: <a class="external" href="https://github.com/TYPO3/testing-framework/issues/359">https://github.com/TYPO3/testing-framework/issues/359</a> and <a class="external" href="https://github.com/TYPO3/testing-framework/blob/d03dbaf10c680b74439fdb18ada31853bcda02b5/Classes/Core/Testbase.php#L765-L766">https://github.com/TYPO3/testing-framework/blob/d03dbaf10c680b74439fdb18ada31853bcda02b5/Classes/Core/Testbase.php#L765-L766</a></p> TYPO3 Core - Task #97386 (Rejected): Make expireTimeInMinutes in SessionService in install tool o...http://forge.typo3.org/issues/973862022-04-14T22:55:25ZSimon Schaufelberger
<p>On my local development environment I want to overwrite the session timeout of the install tool as it is really annoying to constantly login again if I'm not actively in th install tool for more than 15 minutes. By making the variable protected, I can XCLASS the SessionService and only overwrite the timeout without overwriting every method where it is used.</p> TYPO3 Core - Bug #90300 (Rejected): Make JsonResponse public APIhttp://forge.typo3.org/issues/903002020-02-02T22:33:22ZSimon Schaufelberger
<p>At the moment the class \TYPO3\CMS\Core\Http\JsonResponse is marked as internal. Why not make it public?</p> TYPO3 Core - Feature #71247 (Rejected): Add (Flash)Message after extension update with inline htmlhttp://forge.typo3.org/issues/712472015-11-02T15:11:09ZSimon Schaufelberger
<p>I have written my own slot for the extension manager after installation of an extension like this:</p>
<p>ext_localconf.php<br /><pre>
/** @var \TYPO3\CMS\Extbase\SignalSlot\Dispatcher $signalSlotDispatcher */
$signalSlotDispatcher = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(TYPO3\CMS\Extbase\SignalSlot\Dispatcher::class);
$signalSlotDispatcher->connect(
'TYPO3\CMS\Extensionmanager\Utility\InstallUtility',
'afterExtensionInstall',
'Vendor\Website\Utility\InstallUtility',
'addFlashMessageAfterExtensionInstall'
);
</pre></p>
<p>ext:website/Classes/Utility/InstallUtility.php<br /><pre>
<?php
namespace Vendor\Website\Utility;
use TYPO3\CMS\Core\Messaging\AbstractMessage;
use TYPO3\CMS\Core\Messaging\FlashMessage;
use TYPO3\CMS\Core\Messaging\FlashMessageService;
use TYPO3\CMS\Core\SingletonInterface;
use TYPO3\CMS\Core\Utility\GeneralUtility;
/**
* Extension Manager Install Utility
*/
class InstallUtility implements SingletonInterface {
/**
* @var FlashMessageService
*/
protected $flashMessageService;
/**
* @param FlashMessageService $flashMessageService
*/
public function injectFlashMessageService(FlashMessageService $flashMessageService) {
$this->flashMessageService = $flashMessageService;
}
/**
* @param $extensionKey
* @throws \TYPO3\CMS\Core\Exception
*/
public function addFlashMessageAfterExtensionInstall($extensionKey) {
$flashMessageQueue = $this->flashMessageService->getMessageQueueByIdentifier('extbase.flashmessages.tx_extensionmanager_tools_extensionmanagerextensionmanager');
$messageBody = 'extension installed: '.$extensionKey;
/* @var FlashMessage $flashMessage */
$flashMessage = GeneralUtility::makeInstance(
FlashMessage::class, $messageBody, '', AbstractMessage::OK, TRUE
);
$flashMessageQueue->enqueue($flashMessage);
}
}
</pre></p>
<p>I would love to add some HTML in the $messageBody but that gets htmlspechialchared.</p>
<p>Inspired by sgalinski's TypoScript Plugin for PhpStorm it would like so show an message like this:</p>
<pre>
Thank you for using xxx plugin from xxx
You are using version 1.x now.
You can get the latest information about this release on our website(link).
If you think you found a bug, please report it in our issue tracker(link).
Also don't hesitate to inform us about new feature wishes(link).
</pre>
<p>I would like to add a screenshot from phpstorm but I can't. Once the message is hidden, you cannot show it anymore even with down- and upgrade.</p>
<p><strong>Possible solution</strong><br />Fetch information from TER (sponsor links, documentation link, issue tracker) or make it possible to set it in an extension somehow maybe in ext_emconf.php</p> TYPO3 Core - Feature #71112 (Rejected): Add placeholder attribute to TCAhttp://forge.typo3.org/issues/711122015-10-29T00:49:39ZSimon Schaufelberger
<p>Adding a placeholder attribute to the FormEngine would improve user experience by giving the editor some hints about possible values</p>
<p>Example:<br /><pre>
'background_color' => array(
'label' => 'label',
'config' => array(
'type' => 'input',
'eval' => 'trim',
'placeholder' => '#0000ff'
),
),
</pre></p>
<p>would result in:</p>
<pre>
<input name="background_color" placeholder="#0000ff" />
</pre> TYPO3 Core - Feature #66525 (Closed): IconUtility->skinImg source does not allow EXT prefixhttp://forge.typo3.org/issues/665252015-04-21T22:35:24ZSimon Schaufelberger
<p>pageTSConfig:</p>
<p>wizardItems.[group].elements.[name].icon is defined as image resource. It is possible to either set it via PHP like here: <a class="external" href="http://docs.typo3.org/typo3cms/CoreApiReference/ApiOverview/Examples/ContentElementWizard/Index.html">http://docs.typo3.org/typo3cms/CoreApiReference/ApiOverview/Examples/ContentElementWizard/Index.html</a> with ExtensionManagementUtility::extRelPath or make the path relative with ../../typo3conf/ext/myextension but using EXT:myextension is not working.</p>
<p>Example which <strong>should</strong> work:</p>
<pre>
mod.wizards {
newContentElement.wizardItems {
special {
elements {
worldmap {
icon = EXT:contentelements/Resources/Public/Images/worldmap.gif
...
}
}
show = *
}
}
}
</pre> TYPO3 Core - Feature #57468 (Rejected): minify html output morehttp://forge.typo3.org/issues/574682014-03-31T21:39:40ZSimon Schaufelberger
<p>since there are tools like firebug and so on, nobody needs "beautiful" html output.</p>
<p>In the html output there are still too many empty lines. Remove them!</p> TYPO3 Core - Bug #41394 (Rejected): centering typo3 backend login boxhttp://forge.typo3.org/issues/413942012-09-26T18:32:05ZSimon Schaufelberger
<p>currently the backend login box is shifted to the left which does not look nice.</p> TYPO3 Core - Bug #41050 (Closed): core itself calls deprecated method deprecationLogForOldExtCach...http://forge.typo3.org/issues/410502012-09-18T20:36:13ZSimon Schaufelberger
<p>see:<br />typo3\sysext\cms\tslib\index_ts.php</p>
<p>line 65</p>
<p>... and fills the deprecation log which the core itself should NOT do.</p> TYPO3 Core - Feature #33077 (Rejected): make separator in "path" in search results configureablehttp://forge.typo3.org/issues/330772012-01-09T23:45:08ZSimon Schaufelberger
<p>at the moment the path is hardcoded to be separated with "/" which looks quite ugly. I would be much happier if you can change that to look more like a breadcrum with > or so.</p> TYPO3 Core - Feature #32964 (Rejected): Check for not existing static templates before removing themhttp://forge.typo3.org/issues/329642012-01-04T13:46:22ZSimon Schaufelberger
<p>Often times there is the problem that a team works together on a project and another person jumps in. Now he checks out the main repository but does not have all submodules. He changes the index typoscript template where all static templates from the extensions are included and since he does not have all of them locally, he removed some without any notice. Then the project is broken.</p>
<p>Before saving the typoscript template, there should be a check if the static templates in the list do really exist and if not, a flash message should be shown that a static template has been removed.</p>
<p>This does affect ALL TYPO3 versions of course and should be backported until 4.5!!!</p> TYPO3 Core - Bug #30259 (Closed): List view not loading data on pid 0 after switch from page modulhttp://forge.typo3.org/issues/302592011-09-24T18:07:15ZSimon Schaufelberger
<p>After i logged into TYPO3, i am going to the page modul and select the pid 0 in the page tree. On the main frame i now see the message:<br />"Please click the page title in the page tree to the left to edit page content." <br />which is ok.<br />I now switch to the list modul and expect to see all the data on pid 0 but i see nothing (empty right frame).</p>
<p>This is only reproduceable if you switch from the page modul to the list modul. If you go straight to the list modul, i see the data on pid 0.</p>
<p>You can even go to the list modul (see the data), then to the page modul (see the message in the box) and back to the list modul and you will see nothing again.</p>
<p>This happens in latest trunk of TYPO3 4.6 as well in older versions, maybe even until TYPO3 4.3</p>
<p>In TYPO3 4.2 it was working.</p> TYPO3 Core - Bug #29410 (Rejected): Indexed Search shows only results matching to groups of FE Userhttp://forge.typo3.org/issues/294102011-09-01T10:50:27ZSimon Schaufelberger
<p>If a user is loged in in FE and uses the indexed search he only receives results which match<br />to his group settings. If not all public pages where indexed also with exactly his group settings<br />the user receives less results than a non-logged in user.</p>
<p>As an loged-in user I would expect to get the same or MORE results than a user which is not logged in.</p>
<p>Steps to reproduce:</p>
<p>1. browse through some pages so that the pages gets indexed as non logged in user<br />2. Search for a word as non logged in user, remember the number of results.<br />3. Login in frontend<br />4. Search the same word you used in step 2</p>
<p>The results of the both searches may differ but don't need to.</p>
<p>It would be better if FE users after login receive all public search results (0,-1) plus results only for their group settings.</p>
<p>testet with 4.4 but might also apply to 4.5</p> TYPO3 Core - Feature #27508 (Rejected): Get value from cookiehttp://forge.typo3.org/issues/275082011-06-17T10:33:05ZSimon Schaufelberger
<p>At the moment the only possibilty to get a value from a cookie is this:<br /><pre>
lib.files = TEXT
lib.files {
data = global:HTTP_COOKIE_VARS|files
}
</pre><br />where files is the cookie name.<br />The problem with this? It does NOT work if "register_long_arrays" in php.ini is off and by the way:<br /><strong>This feature has been DEPRECATED as of PHP 5.3.0. Relying on this feature is highly discouraged.</strong><br />from: <a class="external" href="http://php.net/manual/en/ini.core.php">http://php.net/manual/en/ini.core.php</a></p>
<p>I would like to create a patch for the core which does the following:</p>
<p>add a new item to "function getData" in class.tslib_content.php for example:<br /><pre>
case 'cookie' :
$retVal = $this->getCookie($key);
break;
</pre><br />and then a function which basically does this (of course with more error checking)<br /><pre>
function getCookie($key) {
return $_COOKIE[$key];
}
</pre></p>
<p>any comments on that or shall i commit to gerrit already?</p> TYPO3 Core - Bug #25962 (Closed): Versioning with context menu is visible if workspaces are enabledhttp://forge.typo3.org/issues/259622011-04-14T14:13:59ZSimon Schaufelberger
<p>I have versioning and workspaces installed. When installing workspaces, the versioning module in the left frame disappears but the entry in the context menu in the right corner when editing a page is still there. A bug?</p>