Commit graph

1465 commits

Author SHA1 Message Date
Pierre Rudloff
15636aa435 Stop using a singleton for LocaleManager (#298) 2020-10-17 22:36:03 +02:00
Pierre Rudloff
f5045b3ae7 Lint 2020-10-17 22:22:17 +02:00
Pierre Rudloff
fc6bf472b2 Stop using deprecated constant 2020-10-17 22:18:58 +02:00
Pierre Rudloff
651c5c3d90 Fix test
We now return a 403 status code when a password is needed
2020-10-17 22:13:28 +02:00
Pierre Rudloff
50ea02cf04 Format should be a string 2020-10-17 22:09:01 +02:00
Pierre Rudloff
7e2afd8221 Stop using a singleton for Config (#298) 2020-10-17 22:07:42 +02:00
Pierre Rudloff
6fc294afbe Use array_merge() instead of +=
To avoid overriding items
2020-10-17 15:09:34 +02:00
bellington3
83863bd66c
Provide config toggle to disable the 'convert seek' function (#311)
* Provide config toggle to disable the 'convert seek' function in the frontend

* Add convertSeek config option to config.example

* Only send from/to if convertSeek is activated
2020-10-17 14:14:36 +02:00
NOOB BOTS
bfdb349a2b
heroku-docker-fix (#318)
* Fixed heroku docker startup

moved to resources folder for clean environment

* added heroku.yml for Docker deployment to heroku

* Update heroku.yml

fixed correct executing path

* Update heroku-docker-start.sh

* Update heroku.yml

Co-authored-by: Pierre Rudloff <contact@rudloff.pro>

Co-authored-by: Pierre Rudloff <contact@rudloff.pro>
2020-10-13 20:37:31 +02:00
Pierre Rudloff
5ee9d457b2 Upgrade youtube-dl to 2020.09 (fixes #300) 2020-10-10 23:05:08 +02:00
NOOB BOTS
79ec6aee09
migrating to python 3 (#312)
* migrating to python 3

python2 is going obsolete soon.so a small change to use python3 in heroku

* changed python version
2020-10-10 13:34:01 +02:00
Pierre Rudloff
8ab2ed838b Upgrade composer-dangling-locked-deps to 0.2 2020-10-09 23:38:23 +02:00
bellington3
2e8350ce1a
Provide config toggle to set 'audio' conversion on as default (#310)
* Provide config toggle to set 'audio' conversion on as default

* Fix git cherry pick mistake

* Update templates/index.tpl

Co-authored-by: Pierre Rudloff <contact@rudloff.pro>

* Add default audio config option to config.example

Co-authored-by: Pierre Rudloff <contact@rudloff.pro>
2020-09-30 00:07:20 +02:00
Pierre Rudloff
f9aab3c404 Lint 2020-09-27 19:56:19 +02:00
Pierre Rudloff
4bd121cda2 Disable timeout for "composer test" 2020-09-27 19:50:12 +02:00
Pierre Rudloff
c1c65c507c Merge branch 'master' into develop 2020-09-27 17:52:51 +02:00
Pierre Rudloff
7f934ae8c9 Add some rules for pull requests 2020-09-27 17:52:27 +02:00
Pierre Rudloff
8d15fbdda2 Lint 2020-09-27 16:06:49 +02:00
Pierre Rudloff
d38b1cd9aa composer-dangling-locked-deps 2020-09-01 12:47:06 +02:00
Pierre Rudloff
3ba720dce0 Get open-sans from Packagist
So we can stop requiring Asset Packagist
2020-07-20 23:04:03 +02:00
Pierre Rudloff
2dcd1239a4 Remove dangling dependencies 2020-07-20 22:33:53 +02:00
Pierre Rudloff
2aac009a1e Fix ControllerTest 2020-07-15 23:38:23 +02:00
Pierre Rudloff
b6b4dad2ec Custom 404 and 405 error pages 2020-07-15 23:17:23 +02:00
Pierre Rudloff
280618bb6b Use a factory to Config and LocaleManager (see #298) 2020-07-15 23:05:41 +02:00
Pierre Rudloff
96a75cbf14 Log youtube-dl and ffmpeg commands (fixes #297) 2020-07-15 22:52:38 +02:00
Pierre Rudloff
7e575e1bb2 composer-normalize 2020-07-05 11:58:50 +02:00
Pierre Rudloff
b02e255cb4 Avoid magic numbers 2020-07-05 11:22:55 +02:00
Pierre Rudloff
32f0a5012c Use security-checker instead of security-advisories
So it can be checked with grumphp
2020-07-05 03:23:14 +02:00
Pierre Rudloff
9d6389b1a7 Remove obsolete locked dependencies 2020-07-05 03:18:40 +02:00
Pierre Rudloff
39f66d4e7e security-advisories update 2020-07-05 02:19:09 +02:00
Pierre Rudloff
cd38be2d81 Merge branch 'feature/robofile-phpstan' into develop 2020-07-02 22:59:23 +02:00
Pierre Rudloff
281acf3068 Don't exclude RoboFile.php from grumphp scans (closes #294) 2020-07-02 22:53:15 +02:00
Pierre Rudloff
2e6413ee9d Merge branch 'master' into develop 2020-07-02 21:57:00 +02:00
Johannes Zellner
2e05989ee3
Add Cloudron installation method (#292)
* Add Cloudron installation method

* Update README.md
2020-07-02 21:56:23 +02:00
Pierre Rudloff
7ecfe8cb87 Use autoload-dev for test classes (fixes #293) 2020-07-01 22:58:26 +02:00
Pierre Rudloff
d127964eff Simplify PSR-4 autoload 2020-07-01 22:52:22 +02:00
Pierre Rudloff
65ccf95437 Merge tag '3.0.0-beta' into develop
This beta contains several breaking changes:

The Video class is now available as a separate Composer package (rudloff/alltube-library)
The release package and Docker image now contain only production dependencies
youtube-dl is now a production dependency
Composer does not install ffmpeg or phantomjs anymore
The "avconv" and "avconvVerbosity" options are now respectively "ffmpeg" and "ffmpegVerbosity"

Other fixes:

Setting the "stream" option to "ask" now works correctly
New locales are automatically detected
New Italian translation (thanks to @holoitsme)
If the "best" format does not exist, it will fall back to "bestvideo"
Composer 2 compatibility
2020-06-23 23:05:08 +02:00
Pierre Rudloff
9c1cb78df6 Merge branch 'release-3.0.0-beta' 2020-06-23 22:56:22 +02:00
Pierre Rudloff
00e1d57ff7 Merge branch 'master' into develop 2020-06-23 01:15:39 +02:00
Pierre Rudloff
440063c3cb We now require PHP 7.2 2020-06-23 01:15:27 +02:00
Pierre Rudloff
a8b9b18949 Remove obsolete documentation 2020-06-23 01:05:44 +02:00
Pierre Rudloff
0d7cbfe590 Remove obsolete docs folder 2020-06-23 00:15:48 +02:00
Pierre Rudloff
9f6b2d41a9 Call check-platform-reqs when building the Docker image
This way we can catch dependency issues earlier
2020-06-23 00:01:55 +02:00
Pierre Rudloff
7d565bfa89 Don't include .git folder in Docker image (fixes #281) 2020-06-22 23:56:18 +02:00
Pierre Rudloff
75d1c08702 Update dependencies for Docker image 2020-06-22 23:51:53 +02:00
Pierre Rudloff
606810e99b Remove gettext extension from Docker image (fixes #290)
And only install production dependencies
2020-06-22 23:44:40 +02:00
Pierre Rudloff
b70a3d0679 Remove obsolete resources 2020-06-22 23:36:43 +02:00
Pierre Rudloff
eb9d64d746 Remove CONVERT option on Heroku as ffmpeg will not be available 2020-06-22 23:33:39 +02:00
Pierre Rudloff
0d5e97d37c Remove obsolete entries from gitignore (fixes #291) 2020-06-22 23:32:23 +02:00
Pierre Rudloff
a02cbdf9cf Merge branch 'develop' of github.com:Rudloff/alltube into develop 2020-06-22 23:31:29 +02:00