Commit a8969815 authored by Stefan Busemann's avatar Stefan Busemann

[FEATURE] Add project configuration extension

parent 0ce9433a
Pipeline #5239 failed with stages
in 13 seconds
get.typo3.org documentation
==========================
.. toctree::
:maxdepth: 3
UserProfile
UserRegistration
https://get.typo3.org/
---------------------
This site is mainly for downloading TYPO3 cms via browser and it provides API for version information
====================== ============== ==============================
Contac Funktion email
====================== ============== ==============================
Benni Mack Product Owner benni@typo3.org
Thomas Löffler Team Leader thomas.loeffler@typo3.org
Stefan Busemann Developer stefan.busemann@typo3.org
===================== ============== ==============================
<svg xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" stroke-miterlimit="1.414" viewBox="0 0 64 64" width="64" height="64">
<path fill="#ff8700" fill-rule="nonzero" d="M46.37 42.73c-.84.247-1.51.34-2.39.34-7.205 0-17.784-25.177-17.784-33.556 0-3.085.73-4.114 1.76-4.997-8.817 1.03-19.397 4.265-22.78 8.378C4.446 13.925 4 15.54 4 17.6c0 13.08 13.962 42.76 23.81 42.76 4.558 0 12.24-7.49 18.56-17.633m-4.6-39.09c9.113 0 18.23 1.47 18.23 6.613 0 10.434-6.617 23.08-9.995 23.08-6.027 0-13.522-16.76-13.522-25.14 0-3.82 1.47-4.552 5.288-4.552"/>
</svg>
{
"name": "t3o/t3oget",
"type": "typo3-cms-extension",
"description": "Base extension for project get.typo3.org layout and specific functions",
"homepage": "https://get.typo3.org",
"license": [
"GPL-2.0+"
],
"keywords": [
"TYPO3 CMS"
],
"autoload": {
"psr-4": {
}
},
"version": "0.1.0"
}
<?php
/************************************************************************
* Extension Manager/Repository config file for ext "t3omy".
************************************************************************/
$EM_CONF[$_EXTKEY] = [
'title' => 'layout for get.typo3.org',
'description' => 'Base extension for project my.typo3.org condfiguration, userprofile and specific functions',
'category' => 'extension',
'constraints' => [
'depends' => [
'typo3' => '8.7.0-8.99.99',
't3olayout' => '0.1.0-',
],
'conflicts' => [],
],
'autoload' => [
'psr-4' => [],
],
'state' => 'alpha',
'uploadfolder' => 0,
'createDirs' => '',
'clearCacheOnLoad' => 1,
'author' => 'Stefan Busemann',
'author_email' => 'stefan.busemann@typo3.org',
'author_company' => 'typo3',
'version' => '0.0.1',
];
<?php
if (!defined('TYPO3_MODE')) {
die('Access denied.');
}
<?php
if (!defined('TYPO3_MODE')) {
die('Access denied.');
}
$iconRegistry = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Core\Imaging\IconRegistry::class);
$iconRegistry->registerIcon(
'default-icon',
\TYPO3\CMS\Core\Imaging\IconProvider\BitmapIconProvider::class,
['source' => 'EXT:t3omy/Resources/Public/Icons/Extension.svg']
);
/**
* Static TypoScript
*/
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile(
$_EXTKEY,
'Configuration/TypoScript',
'Main settings for get.typo3.org'
);
[applicationContext = Production/Live]
config.additionalHeaders {
10.header = X-Powered-By: nothing
20.header = Content-Security-Policy: default-src 'self' *.typo3.org; script-src 'unsafe-inline' *.typo3.org; font-src 'self' fonts.googleapis.com fonts.gstatic.com; style-src 'self' 'unsafe-inline' fonts.googleapis.com; img-src 'self' data: *.typo3.org www.gravatar.com
30.header = X-Content-Security-Policy: default-src 'self' *.typo3.org; script-src 'unsafe-inline' *.typo3.org; font-src 'self' fonts.googleapis.com fonts.gstatic.com; style-src 'self' 'unsafe-inline' fonts.googleapis.com; img-src 'self' data: *.typo3.org www.gravatar.com
40.header = X-Webkit-CSP: default-src 'self' *.typo3.org; script-src 'unsafe-inline' *.typo3.org; font-src 'self' fonts.googleapis.com fonts.gstatic.com; style-src 'self' 'unsafe-inline' fonts.googleapis.com; img-src 'self' data: *.typo3.org www.gravatar.com
}
[end]
#### Set piwik tracking code for get.typo3.org
page {
headerData {
1501157682 = TEXT
1501157682.value (
<!-- Piwik -->
<script type="text/javascript">
var _paq = _paq || [];
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="//piwik.typo3.org/";
_paq.push(['setTrackerUrl', u+'piwik.php']);
_paq.push(['setSiteId', 'XXXXX']);
_paq.push(['setVisitorCookieTimeout', '2592000']);
_paq.push(['setSessionCookieTimeout', '0']);
_paq.push(['setDoNotTrack', true]);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
})();
</script>
<!-- End Piwik Code -->
)
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment