Compare commits
2 commits
d3497cf06b
...
db69b0d781
Author | SHA1 | Date | |
---|---|---|---|
Daniel Siepmann | db69b0d781 | ||
Daniel Siepmann | 063fd1d98f |
|
@ -18,17 +18,6 @@ class UriProcessor extends AbstractProcessor implements ProcessorInterface
|
|||
}
|
||||
}
|
||||
|
||||
class LCTimeProcessor extends AbstractProcessor implements ProcessorInterface
|
||||
{
|
||||
public function processLogRecord(LogRecord $logRecord)
|
||||
{
|
||||
$logRecord->addData([
|
||||
'LC_TIME' => setlocale(LC_TIME, 0),
|
||||
]);
|
||||
return $logRecord;
|
||||
}
|
||||
}
|
||||
|
||||
$GLOBALS['TYPO3_CONF_VARS']['LOG']['das']['writerConfiguration'] = [
|
||||
\TYPO3\CMS\Core\Log\LogLevel::DEBUG => [
|
||||
\TYPO3\CMS\Core\Log\Writer\FileWriter::class => [
|
||||
|
@ -36,3 +25,23 @@ $GLOBALS['TYPO3_CONF_VARS']['LOG']['das']['writerConfiguration'] = [
|
|||
],
|
||||
],
|
||||
];
|
||||
$GLOBALS['TYPO3_CONF_VARS']['LOG']['writerConfiguration'] = [
|
||||
\TYPO3\CMS\Core\Log\LogLevel::WARNING => [
|
||||
\TYPO3\CMS\Core\Log\Writer\FileWriter::class => [
|
||||
'logFileInfix' => 'warn',
|
||||
],
|
||||
],
|
||||
];
|
||||
$GLOBALS['TYPO3_CONF_VARS']['LOG']['processorConfiguration'] = [
|
||||
\TYPO3\CMS\Core\Log\LogLevel::DEBUG => [
|
||||
\Codappix\CdxLogging\UriProcessor::class => [
|
||||
],
|
||||
],
|
||||
];
|
||||
$GLOBALS['TYPO3_CONF_VARS']['LOG']['TYPO3']['CMS']['deprecations']['writerConfiguration'] = [
|
||||
\TYPO3\CMS\Core\Log\LogLevel::NOTICE => [
|
||||
\TYPO3\CMS\Core\Log\Writer\FileWriter::class => [
|
||||
'logFileInfix' => 'deprecation',
|
||||
],
|
||||
],
|
||||
];
|
||||
|
|
|
@ -16,11 +16,11 @@ let
|
|||
|
||||
colorscheme-smyckblue = pkgs.vimUtils.buildVimPlugin rec {
|
||||
pname = "colorscheme-smyckblue";
|
||||
version = "1.4.0";
|
||||
version = "1.5.0";
|
||||
src = pkgs.fetchgit {
|
||||
url = "https://git.daniel-siepmann.de/danielsiepmann/vim-${pname}.git";
|
||||
rev = "v${version}";
|
||||
sha256 = "VII7O/0GT6iw8n3WQqH62a++0kNiKQwH6Qmsarxmoks=";
|
||||
sha256 = "vpvKImO4C2dp5dMdUeNaXdpSVJ8ZqErMHlmAJFr4lNw=";
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -325,6 +325,7 @@ in {
|
|||
markdown
|
||||
nix
|
||||
php
|
||||
phpdoc
|
||||
rst
|
||||
scss
|
||||
sql
|
||||
|
|
|
@ -4,7 +4,9 @@ augroup typo3
|
|||
autocmd BufWritePost **/sites/**/*.yaml :silent !rm */**/cache/**/sites-configuration.php
|
||||
autocmd BufWritePost **/local_packages/**/Sites/**/*.yaml :silent !rm */**/cache/**/sites-configuration.php
|
||||
autocmd BufWritePost **/Configuration/RequestMiddlewares.php :silent !rm */**/cache/**/middlewares_*
|
||||
autocmd BufWritePost **/Configuration/Backend/Routes.php :silent !rm */**/cache/**/BackendRoutesFromPackages_*
|
||||
autocmd BufWritePost **/Configuration/Backend/Routes.php :silent !rm */**/cache/**/BackendRoutesFromPackages_* */**/cache/**/BackendRoutes_*
|
||||
autocmd BufWritePost **/Configuration/Backend/Modules.php :silent !rm */**/cache/**/BackendModules*
|
||||
autocmd BufWritePost **/Configuration/Icons.php :silent !rm */**/cache/**/Icons_*
|
||||
autocmd BufWritePost **/Configuration/Services.yaml,**/Configuration/Services/*.yaml,**/Configuration/Services.php :silent !rm */**/cache/**/DependencyInjectionContainer_*
|
||||
|
||||
" Extbase
|
||||
|
@ -17,13 +19,13 @@ augroup typo3
|
|||
autocmd BufWritePost **/Configuration/TCA/** :silent !rm */**/cache*/**/tca_base_*
|
||||
autocmd BufWritePost **/*.xlf :silent !rm */**/cache/**/l10n/*
|
||||
autocmd BufWritePost **/*.yml,**/*.yaml :silent !rm */**/cache/**/yamlsettings_form*
|
||||
" Performance issues for typoscript, keep an eye
|
||||
" Disable for now as cache flushing is slow.
|
||||
" One can reload without browser cache in order to get changes applied.
|
||||
" autocmd BufWritePost *.tsconfig,*.typoscript,*.ts,*/TypoScript/*.ts,*/TypoScript/*.txt :silent !rm -rf */**/var/**/pages/*
|
||||
" autocmd BufWritePost *.tsconfig,*.typoscript,*.ts,*/TypoScript/*.ts,*/TypoScript/*.txt :silent !rm -rf */**/var/**/pagesection/*
|
||||
" autocmd BufWritePost *.tsconfig,*.typoscript,*.ts,*/TypoScript/*.ts,*/TypoScript/*.txt :silent !rm -rf */**/var/**/cache_pages/*
|
||||
" autocmd BufWritePost *.tsconfig,*.typoscript,*.ts,*/TypoScript/*.ts,*/TypoScript/*.txt :silent !rm -rf */**/var/**/cache_pagesection/*
|
||||
autocmd BufWritePost *.typoscript :silent !rm -rf */**/cache/**/typoscript/constant*
|
||||
autocmd BufWritePost *.typoscript :silent !rm -rf */**/cache/**/typoscript/ext-*
|
||||
autocmd BufWritePost *.typoscript :silent !rm -rf */**/cache/**/typoscript/globals-*
|
||||
autocmd BufWritePost *.typoscript :silent !rm -rf */**/cache/**/typoscript/setup-*
|
||||
autocmd BufWritePost *.typoscript :silent !rm -rf */**/cache/**/typoscript/sys-template-*
|
||||
autocmd BufWritePost *.tsconfig :silent !rm -rf */**/cache/**/typoscript/pagetsconfig-*
|
||||
|
||||
" ext:news
|
||||
autocmd BufWritePost **/Classes/Domain/Model/News.php :silent !rm -rf */**/var/cache/code/news/*
|
||||
|
@ -31,9 +33,5 @@ augroup typo3
|
|||
" Also update ftdetect/typoscript.vim for detection of Typoscript
|
||||
" autocmd BufWritePost *.tsconfig,*.typoscript,*.ts,*/TypoScript/*.ts,*/TypoScript/*.txt :redraw!
|
||||
|
||||
" Fix draw issue after potential error message in tmux environment
|
||||
" => Should fix output instead of forcing redraw, just workaround.
|
||||
" autocmd BufWritePost **/*.xlf,**/*.yml,**/*.yaml,**/ext_localconf.php,**/ext_tables.php,**/TCA/**,**/*.php :redraw!
|
||||
|
||||
autocmd BufEnter,BufRead **/de.*.xlf :setlocal spelllang=de
|
||||
augroup END
|
||||
|
|
|
@ -1,57 +0,0 @@
|
|||
snippet file Insert Fluid Template File with Namespace
|
||||
<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers"
|
||||
data-namespace-typo3-fluid="true"
|
||||
>
|
||||
${0}
|
||||
</html>
|
||||
snippet falias
|
||||
<f:alias map="${1}">
|
||||
${0}
|
||||
</f:alias>
|
||||
snippet ftrans
|
||||
{f:translate(id: '${1}')}
|
||||
snippet fdebug
|
||||
<f:debug>${1:{_all}}</f:debug>${2}
|
||||
snippet fcomment
|
||||
<f:comment>
|
||||
${0}
|
||||
</f:comment>
|
||||
snippet finput
|
||||
<f:form.${1:textfield} property="${2}" />
|
||||
snippet fselect
|
||||
<f:form.select name="${1:name}" options="${2:{variable}}" />${3}
|
||||
snippet furiresource
|
||||
{f:uri.resource(path: '${1}')}
|
||||
snippet fsubmit
|
||||
<f:form.submit value="${1:value}" />${3}
|
||||
snippet fform
|
||||
<f:form action="${1}">
|
||||
${2}
|
||||
</f:form>
|
||||
snippet fif
|
||||
<f:if condition="${1}">
|
||||
<f:then>
|
||||
${2}
|
||||
</f:then>
|
||||
<f:else>
|
||||
${3}
|
||||
</f:else>
|
||||
</f:if>
|
||||
snippet ffor
|
||||
<f:for each="${1}" as="${2}">
|
||||
${3}
|
||||
</f:for>
|
||||
snippet flayout
|
||||
{f:layout(name: '${0}')}
|
||||
snippet frender
|
||||
{f:render(${1:section}: '${0}', arguments: _all)}
|
||||
snippet fcobject
|
||||
{f:cObject(typoscriptObjectPath: '${0}', ${1:data: ''})}
|
||||
snippet fsection
|
||||
<f:section name="${1}">
|
||||
${2}
|
||||
</f:section>
|
||||
snippet import
|
||||
{namespace ${1}=${2:TYPO3\Fluid}\ViewHelpers}
|
||||
snippet cdata
|
||||
<![CDATA[$0]]>
|
|
@ -15,3 +15,62 @@ snippet script
|
|||
<script type="text/javascript">
|
||||
${0}
|
||||
</script>
|
||||
snippet file Insert Fluid Template File with Namespace
|
||||
<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers"
|
||||
data-namespace-typo3-fluid="true"
|
||||
>
|
||||
${0}
|
||||
</html>
|
||||
snippet falias
|
||||
<f:alias map="${1}">
|
||||
${0}
|
||||
</f:alias>
|
||||
snippet ftrans
|
||||
{f:translate(id: '${1}')}
|
||||
snippet fdebug
|
||||
<f:debug>${1:{_all}}</f:debug>${2}
|
||||
snippet fcomment
|
||||
<f:comment>
|
||||
${0}
|
||||
</f:comment>
|
||||
snippet finput
|
||||
<f:form.${1:textfield} property="${2}" />
|
||||
snippet fselect
|
||||
<f:form.select name="${1:name}" options="${2:{variable}}" />${3}
|
||||
snippet furiresource
|
||||
{f:uri.resource(path: '${1}')}
|
||||
snippet fsubmit
|
||||
<f:form.submit value="${1:value}" />${3}
|
||||
snippet fform
|
||||
<f:form action="${1}">
|
||||
${2}
|
||||
</f:form>
|
||||
snippet fif
|
||||
<f:if condition="${1}">
|
||||
<f:then>
|
||||
${2}
|
||||
</f:then>
|
||||
<f:else>
|
||||
${3}
|
||||
</f:else>
|
||||
</f:if>
|
||||
snippet ffor
|
||||
<f:for each="${1}" as="${2}">
|
||||
${3}
|
||||
</f:for>
|
||||
snippet flayout
|
||||
{f:layout(name: '${0}')}
|
||||
snippet frender
|
||||
{f:render(${1:section}: '${0}', arguments: _all)}
|
||||
snippet fcobject
|
||||
{f:cObject(typoscriptObjectPath: '${0}', ${1:data: ''})}
|
||||
snippet fsection
|
||||
<f:section name="${1}">
|
||||
${2}
|
||||
</f:section>
|
||||
snippet import
|
||||
{namespace ${1}=${2:TYPO3\Fluid}\ViewHelpers}
|
||||
snippet cdata
|
||||
<![CDATA[$0]]>
|
||||
snippet ftrans
|
||||
{f:translate(id: '${1}')}
|
||||
|
|
BIN
projects/.ignore
BIN
projects/.ignore
Binary file not shown.
Loading…
Reference in a new issue