Commit Graph

1175 Commits

Author SHA1 Message Date
Pierre Rudloff 076241dedf build(yarn): 2.0.1 release 2019-04-28 15:59:03 +02:00
Pierre Rudloff b61287523d refactor: StreamInterface::close() should not return anything 2019-04-28 15:57:21 +02:00
Pierre Rudloff 5e9768e0e7 fix: Validate config only after the options have been set
To avoid an exception when default options are not valid but the new options are.
2019-04-28 15:52:01 +02:00
Pierre Rudloff 5456cb5506 Merge branch 'master' into develop 2019-04-28 15:19:21 +02:00
Pierre Rudloff 40943b6c84 Stop using Surge to host the documentation 2019-04-28 15:19:04 +02:00
Pierre Rudloff 4d88c1770d Merge tag '2.0.0' into develop
Most of the classes have been refactored to be easier to maintain
Library usage now works differently (see https://github.com/Rudloff/alltube-example-project)
Various download bug fixes
Accessibility improvements (thanks to @hiwelo)
Fixed tests running on CI
Updated youtube-dl to 2019.04.24
2019-04-28 14:43:05 +02:00
Pierre Rudloff 033e363c93 Merge branch 'release/2.0.0' 2019-04-28 14:39:03 +02:00
Pierre Rudloff 6a126d7939 build(yarn): 2.0.0 release 2019-04-28 14:38:55 +02:00
Pierre Rudloff 79ed3d2629 Merge branch 'master' into develop 2019-04-28 14:03:55 +02:00
Pierre Rudloff b91fe78dcd feat: Make streaming optional when stream mode is enabled
Closes #218
2019-04-28 00:36:14 +02:00
Pierre Rudloff 9313bc2230 test: Fix YoutubeStreamTest 2019-04-26 20:58:52 +02:00
Pierre Rudloff 756ff36653 fix: Wrong variable name 2019-04-26 20:38:14 +02:00
Pierre Rudloff f952f15851 build(composer): Upgrade youtube-dl to 2019.04.24
Fixes #219
2019-04-26 20:37:27 +02:00
Pierre Rudloff 8f46166a9d fix: Wrong controller 2019-04-26 20:34:34 +02:00
Pierre Rudloff a1b401c148 refactor: Use less confusing variable names in YoutubeStream 2019-04-22 21:55:45 +02:00
Pierre Rudloff 7bf2510dd2 test(phpunit): Better tests for streams 2019-04-22 21:53:04 +02:00
Pierre Rudloff d30614668b test(phpunit): Fix wrong @expectedException 2019-04-22 21:13:57 +02:00
Pierre Rudloff 84e9e86d28 style(styleci): Lint 2019-04-22 21:08:36 +02:00
Pierre Rudloff b7bcc24320 fix: Wrong variable name 2019-04-22 21:07:36 +02:00
Pierre Rudloff e13404903b refactor: Move exceptions and streams to seperate namespaces 2019-04-22 21:06:05 +02:00
Pierre Rudloff 1a6ff90eac feat: Split Youtube downloads in smaller chunks
Fixes #217
2019-04-22 20:20:04 +02:00
Pierre Rudloff bba2087a55 style(styleci): Lint 2019-04-22 17:04:59 +02:00
Pierre Rudloff 1387d836dc refactor: New Session class
So that session is shared between classes and does not get overwritten
2019-04-22 17:03:54 +02:00
Pierre Rudloff 25f33bba56 refactor: Split FrontController into multiple classes
Closes #177
2019-04-22 16:51:48 +02:00
Pierre Rudloff 196d0b1338 Merge branch 'develop' of github.com:Rudloff/alltube into develop 2019-04-22 15:32:29 +02:00
Pierre Rudloff 1df06f7c22 refactor: Use route names that make more sense 2019-04-22 15:31:51 +02:00
Pierre Rudloff 660f322edd build(composer): Upgrade slim/slim to 3.12.1 2019-04-22 15:02:34 +02:00
Pierre Rudloff 790677d13f build(composer): Dependencies update
symfony/yaml, symfony/var-dumper, symfony/process, squizlabs/php_codesniffer
2019-04-22 15:01:53 +02:00
Pierre Rudloff 3b43018b29 docs: Missing docblocks 2019-04-22 00:05:53 +02:00
Pierre Rudloff 5bae668652 test(phpunit): Fix tests that use convert mode 2019-04-21 23:27:36 +02:00
Pierre Rudloff 1edd623c7f fix: Enforce convert mode
So it can't be used by adding "&audio=on" manually
2019-04-21 23:16:27 +02:00
Pierre Rudloff 70475f83d4 feat: Add a way to convert an entire playlist
Closes #194
2019-04-21 22:56:43 +02:00
Pierre Rudloff 4db519c2ef fixup! fix: Don't use the $url property 2019-04-21 22:40:54 +02:00
Pierre Rudloff 97a7830196 refactor: Reuse Video::getHttpResponse() where possible 2019-04-21 22:38:27 +02:00
Pierre Rudloff e93ab7ed13 feat: Use ZIP files for playlist archives
It is more widely supported and could be later used for #194
2019-04-21 22:34:45 +02:00
Pierre Rudloff 226f1b8380 fix: Don't use the $url property
It is not reliable
2019-04-21 22:20:05 +02:00
Pierre Rudloff ebed2cea88 refactor: Avoid varible name conflict 2019-04-21 22:19:44 +02:00
Pierre Rudloff 3ca84e144e refactor: We don't need this check anymore 2019-04-21 21:36:14 +02:00
Pierre Rudloff 61cb73dc59 refactor: Fix some types and unused variables 2019-04-21 19:51:16 +02:00
Pierre Rudloff d4e8e32cd6 test(phpunit): Disable testSetOptionsWithoutUpdate() on AppVeyor 2019-04-21 19:28:58 +02:00
Pierre Rudloff 28b99861c2 test(phpunit): Fix ConfigTest on Windows 2019-04-21 19:14:23 +02:00
Pierre Rudloff dc4eafe33f docs: Document magic properties 2019-04-21 19:10:37 +02:00
Pierre Rudloff 4fa604eec3 test(phpunit): Fix ConfigTest setup 2019-04-21 18:56:08 +02:00
Pierre Rudloff 51eaf192b1 refactor: Don't mix static and dynamic methods 2019-04-21 18:53:23 +02:00
Pierre Rudloff 06a631c892 fixup! refactor: New Video class 2019-04-21 18:35:24 +02:00
Pierre Rudloff 4c9af8ad1d refactor: New Video class
The news class provides a cleaner object-oriented logic

BREAKING CHANGE: The VideoDownload class has been removed and the Config constructor is now private
2019-04-21 18:30:02 +02:00
Pierre Rudloff feb8998188 fixup! Typo 2019-04-21 09:21:24 +02:00
Pierre Rudloff 3077872517 Typo 2019-04-21 01:05:19 +02:00
Pierre Rudloff ece51117e6 We don't need to do that anymore 2019-04-21 01:05:12 +02:00
Pierre Rudloff 586f20adb4 style(styleci): Lint 2019-04-21 00:58:04 +02:00