Skip to content

Commit

Permalink
Merge pull request #1 from rolandschuetz/FEATURE/UpdateNeos3
Browse files Browse the repository at this point in the history
Updated to Neos 3.x
  • Loading branch information
dimaip authored Aug 14, 2017
2 parents b36fd2d + 276cf4f commit 5076f8e
Show file tree
Hide file tree
Showing 5 changed files with 79 additions and 11 deletions.
6 changes: 3 additions & 3 deletions Classes/Dimaip/TwitterHelper/Eel/TwitterHelper.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?php
namespace Dimaip\TwitterHelper\Eel;

use TYPO3\Eel\ProtectedContextAwareInterface;
use TYPO3\TYPO3CR\Domain\Model\NodeInterface;
use TYPO3\Flow\Annotations as Flow;
use Neos\Eel\ProtectedContextAwareInterface;
use Neos\ContentRepository\Domain\Model\NodeInterface;
use Neos\Flow\Annotations as Flow;

/**
* Eel helper as a wrapper around Twitter API
Expand Down
9 changes: 5 additions & 4 deletions Configuration/Settings.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
TYPO3:
TypoScript:

Neos:
Fusion:
defaultContext:
Twitter: 'Dimaip\TwitterHelper\Eel\TwitterHelper'
Twitter: Dimaip\TwitterHelper\Eel\TwitterHelper
Neos:
typoScript:
fusion:
autoInclude:
Dimaip.TwitterHelper: true
Dimaip:
Expand Down
Binary file added Resources/Private/.DS_Store
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
prototype(Dimaip.TwitterHelper:Timeline) < prototype(TYPO3.TypoScript:Collection) {
prototype(Dimaip.TwitterHelper:Timeline) < prototype(Neos.Fusion:Collection) {
@context.user = 'dimaip'
@context.count = 10
collection = ${Twitter.getRequest('statuses/user_timeline', 'screen_name=' + user + '&count=' + count)}
Expand All @@ -11,7 +11,7 @@ prototype(Dimaip.TwitterHelper:Timeline) < prototype(TYPO3.TypoScript:Collection
}
}

prototype(Dimaip.TwitterHelper:Tweet) < prototype(TYPO3.TypoScript:Template) {
prototype(Dimaip.TwitterHelper:Tweet) < prototype(Neos.Neos:Template) {
templatePath = 'resource://Dimaip.TwitterHelper/Private/Templates/Tweet.html'
tweet = ${tweet}
}
71 changes: 69 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,73 @@
"extra": {
"neos": {
"package-key": "Dimaip.TwitterHelper"
}
},
"applied-flow-migrations": [
"TYPO3.FLOW3-201201261636",
"TYPO3.Fluid-201205031303",
"TYPO3.FLOW3-201205292145",
"TYPO3.FLOW3-201206271128",
"TYPO3.FLOW3-201209201112",
"TYPO3.Flow-201209251426",
"TYPO3.Flow-201211151101",
"TYPO3.Flow-201212051340",
"TYPO3.TypoScript-130516234520",
"TYPO3.TypoScript-130516235550",
"TYPO3.TYPO3CR-130523180140",
"TYPO3.Flow-201310031523",
"TYPO3.Flow-201405111147",
"TYPO3.Neos-201407061038",
"TYPO3.Neos-201409071922",
"TYPO3.TYPO3CR-140911160326",
"TYPO3.Neos-201410010000",
"TYPO3.TYPO3CR-141101082142",
"TYPO3.Neos-20141113115300",
"TYPO3.Fluid-20141113120800",
"TYPO3.Flow-20141113121400",
"TYPO3.Fluid-20141121091700",
"TYPO3.Neos-20141218134700",
"TYPO3.Fluid-20150214130800",
"TYPO3.Neos-20150303231600",
"TYPO3.TYPO3CR-20150510103823",
"TYPO3.Flow-20151113161300",
"TYPO3.Form-20160601101500",
"TYPO3.Flow-20161115140400",
"TYPO3.Flow-20161115140430",
"Neos.Flow-20161124204700",
"Neos.Flow-20161124204701",
"Neos.Twitter.Bootstrap-20161124204912",
"Neos.Form-20161124205254",
"Neos.Flow-20161124224015",
"Neos.Party-20161124225257",
"Neos.Eel-20161124230101",
"Neos.Setup-20161124230842",
"Neos.Imagine-20161124231742",
"Neos.Media-20161124233100",
"Neos.Neos-20161125002322",
"Neos.ContentRepository-20161125012000",
"Neos.Fusion-20161125013710",
"Neos.Setup-20161125014759",
"Neos.Fusion-20161125104701",
"Neos.Neos-20161125104802",
"Neos.Neos-20161125122412",
"Neos.Flow-20161125124112",
"TYPO3.FluidAdaptor-20161130112935",
"Neos.Fusion-20161201202543",
"Neos.Neos-20161201222211",
"Neos.Fusion-20161202215034",
"Neos.ContentRepository.Search-20161210231100",
"Neos.Fusion-20161219092345",
"Neos.ContentRepository-20161219093512",
"Neos.Media-20161219094126",
"Neos.Neos-20161219094403",
"Neos.Neos-20161219122512",
"Neos.Fusion-20161219130100",
"Neos.Neos-20161220163741",
"Neos.Neos-20170115114620",
"Neos.Fusion-20170120013047",
"Neos.Flow-20170125103800",
"Neos.Seo-20170127154600",
"Neos.Flow-20170127183102"
]
}
}
}

0 comments on commit 5076f8e

Please sign in to comment.