Commit graph

1580 commits

Author SHA1 Message Date
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
Pierre Rudloff
683a19b0fb Remove references to avconv
Most distributions now use ffmpeg instead
2020-06-22 23:26:47 +02:00
Pierre Rudloff
7a2c7b42fb Remove Windows test config file
We don't have a Windows CI anymore
2020-06-22 23:22:42 +02:00
Pierre Rudloff
f90a08e89c Stop installing ffmpeg and phantomjs with Composer
It is convenient but this a the job of the OS package manager
2020-06-22 23:21:22 +02:00
Pierre Rudloff
a518e3b7b3 Create release package cleanly from a temporary folder (#279) 2020-06-22 23:15:31 +02:00
Pierre Rudloff
72e5e68274 Remove obsolete routes 2020-06-22 22:25:32 +02:00
Pierre Rudloff
251fbe48ca Add generator meta with the current version 2020-06-21 15:51:28 +02:00
Pierre Rudloff
ea2d0bf1d4 Merge branch 'feature/library' into develop 2020-06-21 15:12:48 +02:00
Pierre Rudloff
d4b3a82ebb Remove obsolete Composer config 2020-06-21 15:12:28 +02:00
Pierre Rudloff
5c2823e3f1 Move Video class to a separate library
+ improve error handling
+ youtube-dl update
2020-06-21 15:12:03 +02:00
Pierre Rudloff
7d94271a49 Remove support for launching Heroku locally
This is untested and probably broken
2020-06-20 14:25:27 +02:00
Pierre Rudloff
62dac1e5bb Move youtube-dl, ffmpeg and phantomsjs to dev dependencies (fixes #280) 2020-06-20 14:20:31 +02:00
Pierre Rudloff
672a1a9754 Disable debug mode if dev dependencies are not installed 2020-06-20 14:14:38 +02:00
Pierre Rudloff
359615d0ed grumphp update
To provide Composer 2 compatibility
2020-06-20 13:49:01 +02:00
Pierre Rudloff
f028db6b1e "composer check-platform-reqs" on CI 2020-06-20 13:44:40 +02:00
Pierre Rudloff
a79c89aea7 fixup! Add fallback to bestvideo and worstvideo (fixes #288) 2020-06-20 13:39:35 +02:00
Pierre Rudloff
29756cf290 Add fallback to bestvideo and worstvideo (fixes #288) 2020-06-20 13:34:46 +02:00
Pierre Rudloff
4ef7a93dce Escape error message
Because of the "Maybe you have characters before an opening <?php tag?" error
2020-06-08 23:49:59 +02:00
Pierre Rudloff
190238ab96 No reason to hide "git describe" output 2020-06-08 23:42:55 +02:00
Pierre Rudloff
e777f51490 Dependencies update
symfony/finder should be a production dependency
2020-05-28 00:57:02 +02:00
Pierre Rudloff
ad77d029d3 fixup! Detect locales automatically 2020-05-28 00:33:07 +02:00
holoitsme
2c28cf95c8
Added Italian translation (#285) 2020-05-28 00:27:18 +02:00
Pierre Rudloff
cb20f4e51d Detect locales automatically 2020-05-28 00:22:30 +02:00
Pierre Rudloff
1d95ba7b57 Fix stream: ask detection (see #283) 2020-05-23 16:21:46 +02:00
Pierre Rudloff
689264cb35 Fix typo 2020-05-15 21:18:01 +02:00
Pierre Rudloff
c30b0a4049 Remove unused classes 2020-05-14 14:11:22 +02:00
Pierre Rudloff
4f226fd25b Merge branch 'master' into develop 2020-05-14 14:10:51 +02:00
Pierre Rudloff
0197554681 Fix typo 2020-05-14 14:10:38 +02:00
Pierre Rudloff
80434fcc27 Don't include phpstan in the release package 2020-05-14 12:48:06 +02:00
Pierre Rudloff
4d17c8af8f Merge tag '2.3.0' into develop
Fall back to "best" for audio conversion when "bestaudio" is not available
Check if mod_deflate is enabled
Fixed an issue when converting a file with an UTF-8 filename
Better catching of early errors
Fixed support for websites that require a valid referrer (thanks @0x6470)
Updated youtube-dl to 2020.05.08
Various dependencies update
2020-05-14 12:40:18 +02:00
Pierre Rudloff
c136534723 Merge branch 'release-2.3.0' 2020-05-14 12:40:03 +02:00
Pierre Rudloff
5051602174 grumphp should be a dev dependency 2020-05-14 12:38:58 +02:00
Pierre Rudloff
1e9c9e96c5 Fix stream tests 2020-05-14 12:02:13 +02:00
Pierre Rudloff
7b5e7cb6d9 Disable IDN conversion 2020-05-14 11:55:30 +02:00
Pierre Rudloff
338ecd8b17 Less strict Vimeo domain detection because it keeps changing 2020-05-14 11:15:44 +02:00
0x6470
8f7601edd8
Fix xHamster support, fixes #264 (#276)
* Fix xhamster support

* Send http headers properly

* added spaces

* convert stdObject to array for comparison

Co-authored-by: Pierre Rudloff <contact@rudloff.pro>
2020-05-14 10:59:59 +02:00