37 Jahre - 2 Kinder
Erstkontakt 2006
seit 2010 hauptberuflich
37 Jahre - 2 Kinder
Erstkontakt 2006
seit 2010 hauptberuflich
Minor Release!
Security!
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processDatamapClass'][]
= \Code711\Code711Housekeeping\Hooks\DatamapPostProcess::class;
class DatamapPostProcess
{
if ($table == 'my_table' && ($status == 'new' || $status == 'update')) {
$newid = $id;
if ($status == 'new') {
$newid = $pObj->substNEWwithIDs[$id];
}
$updateService = GeneralUtility::makeInstance(UpdateService::class);
$updateService->updateProject((int)$newid, $pObj->datamap[$table][$id]);
}
}
services:
Code711\Code711Housekeeping\Command\UpdateVersionsCommand:
tags:
- name: 'console.command'
command: 'housekeeping:update'
description: 'update versions'
schedulable: true
protected function execute(InputInterface $input, OutputInterface $output): int
{
[...]
$updateService = GeneralUtility::makeInstance(UpdateService::class);
while ($row = $stmt->fetchAssociative()) {
$updateService->updateProject($row['uid'], $row);
}
[...]
}
Dashboard und Projektpflege
$client = new \GuzzleHttp\Client();
$res = $client->request(
'get',
$project['url'] . 'api/v1/version',
['auth' => [$apiUser, $apiPw]]
);
$client = new \GuzzleHttp\Client();
$res = $client->get(
'https://get.typo3.org/v1/api/major/'.$version.'/release/latest'
);
Projekt X
Eigenes Widget für Dashboard konfigurieren
Optional: API Extension nutzen