This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
User-agent: * | |
# Only allow URLs generated with RealURL | |
Disallow: /*?id=* | |
Disallow: /*&id=* | |
# L=0 is the default language | |
Disallow: /*?L=0* | |
Disallow: /*&L=0* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Version 3.0.0 | |
* | |
* process.env constants are set via webpack (https://gist.github.com/oliverthiele/6298902d5192aa86f24682a3afbd0d9f) | |
*/ | |
const assetsUrl = process.env.TYPO3_ASSETS_URL; | |
const revision = process.env.SVG_REVISION; | |
export function localStorageSVGs() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict' | |
// Imports | |
const {VueLoaderPlugin} = require("vue-loader"); | |
const fs = require('fs'); | |
const path = require('path'); | |
const autoprefixer = require('autoprefixer'); | |
const CopyWebpackPlugin = require("copy-webpack-plugin"); | |
const MiniCssExtractPlugin = require("mini-css-extract-plugin"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
### Before executing this script make a system update: | |
# $> apt update; apt --assume-yes dist-upgrade; apt --assume-yes autoremove; | |
# $> reboot | |
# VirtualBox does not work with ipv6, so you have to disable it before running this script: | |
# $> sudo sysctl -w net.ipv6.conf.all.disable_ipv6=1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* A special action which is called if the originally intended action could | |
* not be called, for example if the arguments were not valid. | |
* | |
* The default implementation sets a flash message, request errors and forwards back | |
* to the originating action. This is suitable for most actions dealing with form input. | |
* | |
* We clear the page cache by default on an error as well, as we need to make sure the | |
* data is re-evaluated when the user changes something. | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{namespace b=OliverThiele\OtBootstrap3\ViewHelpers} | |
<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" data-namespace-typo3-fluid="true"> | |
<f:spaceless> | |
$END$ | |
<f:render section="Content" /> | |
</f:spaceless> | |
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/php -q | |
<?php | |
/** | |
* Truncates all TYPO3 cf_% and cache_% database tables | |
*/ | |
function fetchArray($in) { | |
if(is_file($in)) { | |
return include $in; | |
} else { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
return array( | |
// ... | |
'SYS' => array( | |
'caching' => array( | |
'cacheConfigurations' => array( | |
'cf_cache_hash' => array( | |
'backend' => 'TYPO3\\CMS\\Core\\Cache\\Backend\\RedisBackend', | |
'options' => array( | |
'database' => 10, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
UPDATE tt_content SET CType='textmedia' WHERE tt_content.CType='text'; | |
UPDATE tt_content SET CType='textmedia' WHERE tt_content.CType='textpic'; | |
UPDATE tt_content SET CType='textmedia' WHERE tt_content.CType='images'; | |
UPDATE tt_content LEFT JOIN sys_file_reference ON sys_file_reference.uid_foreign=tt_content.uid AND sys_file_reference.tablenames='tt_content' AND sys_file_reference.fieldname='image' SET tt_content.CType='textmedia', tt_content.assets=tt_content.image, tt_content.image=0, sys_file_reference.fieldname='assets' WHERE tt_content.CType='textpic' OR tt_content.CType='image'; | |
UPDATE be_groups SET explicit_allowdeny=CONCAT(explicit_allowdeny,',tt_content:CType:textmedia:ALLOW') WHERE (explicit_allowdeny LIKE '%tt\\_content:CType:textpic:ALLOW%' OR explicit_allowdeny LIKE '%tt\\_content:CType:image:ALLOW%' OR explicit_allowdeny LIKE '%tt\\_content:CType:text:ALLOW%') AND explicit_allowdeny NOT LIKE '%tt\\_content:CType:textmedia:ALLOW%'; | |
UPDATE be_groups SET explicit_allowdeny=CONCAT(explicit_allowdeny |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
version=$1; | |
major="${version:0:1}" | |
wget get.typo3.org/$1 -O typo3_src-${1}.tar.gz | |
wget get.typo3.org/${major}/tar.gz.sig -O typo3_src-${1}.tar.gz.sig | |
wget -qO- https://get.typo3.org/KEYS | gpg --import | |
gpg --verify typo3_src-${version}.tar.gz.sig typo3_src-${version}.tar.gz |
NewerOlder