Skip to content

Commit

Permalink
[RELEASE] 2.0.0 Compatible with TYPO3 8.7
Browse files Browse the repository at this point in the history
  • Loading branch information
adudtkowski committed Jun 15, 2017
1 parent 78a0d7e commit 31d25b9
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 9 deletions.
6 changes: 2 additions & 4 deletions Classes/Controller/YoutubeDataController.php
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ public function listAction() {
// this line converts the json string which is returned into a php object
$data = json_decode($data);
if(!empty($data->error)){

//Errorcode API
$errorCode = $data->error->code;
$errorCodeLanguage = \TYPO3\CMS\Extbase\Utility\LocalizationUtility::translate('tx_csyoutubedata_error_code', 'cs_youtube_data');
Expand All @@ -106,11 +105,10 @@ public function listAction() {
$errorReasonLanguage = \TYPO3\CMS\Extbase\Utility\LocalizationUtility::translate('tx_csyoutubedata_error_reason', 'cs_youtube_data');

//Error Link
$errorLinkLanguage = \TYPO3\CMS\Extbase\Utility\LocalizationUtility::translate('tx_csyoutubedata_error_link', 'cs_youtube_data');
$errorLink = '<a href="https://developers.google.com/youtube/v3/docs/errors" target="_blank">'.$errorLinkLanguage.'</a>';
$errorLink = 'https://developers.google.com/youtube/v3/docs/errors';

$messageTitle = \TYPO3\CMS\Extbase\Utility\LocalizationUtility::translate('tx_csyoutubedata_error', 'cs_youtube_data');
$messageBody = $errorCodeLanguage.$errorCode.'<br />'.$errorMessageLanguage.$errorMessage.'<br />'.$errorReasonLanguage.$reason.'<br />'.$errorLink;
$messageBody = $errorCodeLanguage.$errorCode.' | '.$errorMessageLanguage.$errorMessage.' | '.$errorReasonLanguage.$reason.' | '.$errorLink;

$this->addFlashMessage(
$messageBody,
Expand Down
2 changes: 1 addition & 1 deletion Resources/Private/Templates/YoutubeData/List.html
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
xmlns:f="http://typo3.org/ns/fluid/ViewHelpers">

<f:section name="Main">
<f:flashMessages renderMode="div" />
<f:flashMessages />
<f:if condition="{videos}">
<f:for each="{videos}" as="video" iteration="i">
<f:if condition="{i.isFirst}">
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"clickstorm",
"YouTube"
],
"version": "1.0.6",
"version": "2.0.0",
"dist": {
"url": "https://github.com/clickstorm/cs_youtube_data.git",
"type": "git"
Expand All @@ -20,7 +20,7 @@
"cs_youtube_data": "*"
},
"require": {
"typo3/cms": ">=6.2.6"
"typo3/cms": ">=8.7.0"
},
"autoload": {
"psr-4": {
Expand Down
4 changes: 2 additions & 2 deletions ext_emconf.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@
'uploadfolder' => '0',
'createDirs' => '',
'clearCacheOnLoad' => 0,
'version' => '1.0.6',
'version' => '2.0.0',
'constraints' => array(
'depends' => array(
'typo3' => '6.2.6-8.7.99',
'typo3' => '8.7.0-8.7.99',
),
'conflicts' => array(
),
Expand Down

1 comment on commit 31d25b9

@NamelessCoder
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • NamelessCoder\GizzleGitPlugins\GizzlePlugins\ClonePlugin:000000004289efa500000000171ee2af:
    • 0: Executing Git clone command: /usr/bin/git clone --depth 1 --single-branch --branch '2.0.0' 'https://github.com/clickstorm/cs_youtube_data.git' /tmp/31d25b9bcd98d026460561ee268e4adefd97bb35/cs_youtube_data
    • NamelessCoder\TYPO3RepositoryGizzle\GizzlePlugins\ExtensionRepositoryReleasePlugin:000000004289efa300000000171ee2af:
      • resultCode: 10504
      • resultMessages:
        • 0: Please note that it might take a while (up to an hour) until your extension and the documentation appear on TYPO3.org.
        • version: 2.0.0

Please sign in to comment.