Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
Merge branch 'release/0.4.3'
Browse files Browse the repository at this point in the history
  • Loading branch information
Rudloff committed Dec 9, 2015
2 parents 3f06b82 + 96aa843 commit cda6b27
Show file tree
Hide file tree
Showing 9 changed files with 111 additions and 28 deletions.
1 change: 1 addition & 0 deletions .dockerignore
15 changes: 15 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
FROM php:apache
RUN apt-get update
RUN apt-get install -y libicu-dev xz-utils git zlib1g-dev python npm nodejs-legacy
RUN docker-php-ext-install mbstring
RUN docker-php-ext-install intl
RUN docker-php-ext-install zip
RUN npm install -g bower grunt-cli
RUN a2enmod rewrite
COPY php.ini /usr/local/etc/php/
COPY . /var/www/html/
RUN curl -sS https://getcomposer.org/installer | php
RUN php composer.phar install
RUN npm install
RUN bower --allow-root install
RUN grunt
2 changes: 1 addition & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ module.exports = function (grunt) {
options: {
archive: 'alltube-release.zip'
},
src: ['*.php', '!config.yml', 'dist/**', 'fonts/**', '.htaccess', 'img/**', 'js/**', 'LICENSE', 'README.md', 'robots.txt', 'sitemap.xml', 'templates/**', 'templates_c/', 'vendor/**', 'classes/**', 'controllers/**', 'bower_components/**']
src: ['*.php', '!config.yml', 'dist/**', 'fonts/**', '.htaccess', 'img/**', 'js/**', 'LICENSE', 'README.md', 'robots.txt', 'sitemap.xml', 'templates/**', 'templates_c/', 'vendor/**', 'classes/**', 'controllers/**', 'bower_components/**', '!vendor/ffmpeg/**', '!vendor/bin/ffmpeg']
}
}
}
Expand Down
10 changes: 5 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@
"type": "project",
"require": {
"smarty/smarty": "~3.1",
"rg3/youtube-dl": "~2015.11.13",
"rg3/youtube-dl": "2015.12.06",
"slim/slim": "~2.6.2",
"slim/views": "~0.1.3",
"rudloff/smarty-plugin-noscheme": "~0.1.0",
"symfony/yaml": "~2.7.6",
"symfony/yaml": "~3.0.0",
"ffmpeg/ffmpeg": "~2.8.2"
},
"require-dev": {
"symfony/var-dumper": "~2.7.6"
"symfony/var-dumper": "~3.0.0"
},
"extra": {
"paas": {
Expand All @@ -28,11 +28,11 @@
"type": "package",
"package": {
"name": "rg3/youtube-dl",
"version": "2015.11.13",
"version": "2015.12.06",
"source": {
"url": "https://github.com/rg3/youtube-dl.git",
"type": "git",
"reference": "2015.11.13"
"reference": "2015.12.06"
}
}
},
Expand Down
106 changes: 86 additions & 20 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file added composer.phar
Binary file not shown.
2 changes: 1 addition & 1 deletion controllers/FrontController.php
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ static function redirect()
$app->redirect($video['url']);
} catch (\Exception $e) {
$app->response->headers->set('Content-Type', 'text/plain');
echo $e->getMessage();
echo $e->getMessage().PHP_EOL;
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "alltube",
"version": "0.4.2",
"version": "0.4.3",
"dependencies": {
"grunt": "~0.4.5",
"grunt-cli": "~0.1.13",
Expand Down
1 change: 1 addition & 0 deletions php.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
date.timezone = UTC

0 comments on commit cda6b27

Please sign in to comment.