This file contains hidden or 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 | |
namespace Venstre\VenstreDk\TypoScript\FlowQueryOperations; | |
use TYPO3\Eel\FlowQuery\FlowQuery; | |
use TYPO3\Eel\FlowQuery\Operations\AbstractOperation; | |
use TYPO3\Flow\Annotations as Flow; | |
class FlickrOperation extends AbstractOperation { | |
const API_KEY = ''; |
This file contains hidden or 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 | |
use TYPO3\Surf\Domain\Model\Node; | |
use TYPO3\Surf\Domain\Model\SimpleWorkflow; | |
$application = new \TYPO3\Surf\Application\TYPO3\Flow(); | |
$application->setOption('repositoryUrl', '[email protected]:acme/acme.git'); | |
$application->setOption('localPackagePath', FLOW_PATH_DATA . 'Checkout' . DIRECTORY_SEPARATOR . $deployment->getName() . DIRECTORY_SEPARATOR . 'Live' . DIRECTORY_SEPARATOR); | |
$application->setOption('composerCommandPath', 'composer'); | |
$application->setOption('transferMethod', 'rsync'); | |
$application->setOption('rsyncFlags', '--recursive --times --perms --links --delete'); | |
$application->setOption('packageMethod', 'git'); |
This file contains hidden or 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
/Build/** | |
!/Build/Surf** | |
/Configuration/** | |
!/Configuration/**.yaml | |
/Data/ | |
/Web/ | |
/bin/ | |
/Readme.txt | |
/Upgrading.txt | |
/flow |
This file contains hidden or 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 | |
namespace Acme\Acme\TypoScript; | |
use TYPO3\Flow\Annotations as Flow; | |
use TYPO3\Neos\Domain\Exception; | |
use TYPO3\Neos\Service\LinkingService; | |
use TYPO3\TYPO3CR\Domain\Model\NodeInterface; | |
use TYPO3\TypoScript\TypoScriptObjects\AbstractTypoScriptObject; | |
/** |
This file contains hidden or 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 | |
use TYPO3\Surf\Domain\Model\Node; | |
use TYPO3\Surf\Domain\Model\SimpleWorkflow; | |
$application = new \TYPO3\Surf\Application\TYPO3\Flow(); | |
$application->setOption('repositoryUrl', '[email protected]:Distributions/Acme'); | |
$application->setOption('localPackagePath', FLOW_PATH_DATA . 'Checkout' . DIRECTORY_SEPARATOR . $deployment->getName() . DIRECTORY_SEPARATOR . 'Latest' . DIRECTORY_SEPARATOR); | |
$application->setOption('composerCommandPath', 'composer'); | |
$application->setOption('transferMethod', 'rsync'); | |
$application->setOption('rsyncFlags', '--recursive --times --perms --links --delete'); |
This file contains hidden or 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
git config --global url."https://git.typo3.org".insteadOf git://git.typo3.org |
This file contains hidden or 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
/Build/** | |
!/Build/Surf** | |
/Configuration/**/Settings.yaml.example | |
/Configuration/Settings.yaml | |
/Configuration/**/*.php | |
/Configuration/*.php | |
/Configuration/README | |
/Configuration/Testing | |
/Data/ |
This file contains hidden or 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
$workflow->defineTask('typo3.surf:shell:clearRedisCaches', | |
'typo3.surf:shell', | |
array('command' => 'cd {releasePath} && FLOW_CONTEXT=Production/Live ./flow cache:flushone TYPO3_TypoScript_Content && FLOW_CONTEXT=Production/Live ./flow cache:flushone Flow_Mvc_Routing_Resolve && FLOW_CONTEXT=Production/Live ./flow cache:flushone Flow_Mvc_Routing_Route') | |
); | |
$workflow->beforeStage('switch', array('typo3.surf:shell:clearRedisCaches'), $application); |
This file contains hidden or 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
root { | |
rss { | |
position = 'before format' | |
condition = ${request.parentRequest.uri.path == '/rss.xml'} | |
renderPath = '/rss' | |
} | |
@cache { | |
entryIdentifier { | |
path = ${request.parentRequest.uri.path} | |
} |
This file contains hidden or 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 | |
namespace Acme\Package\TypoScript\FlowQueryOperations; | |
use TYPO3\Eel\FlowQuery\FlowQuery; | |
use TYPO3\Eel\FlowQuery\Operations\AbstractOperation; | |
use TYPO3\Flow\Annotations as Flow; | |
class MediaOperation extends AbstractOperation { | |
/** |