1
0
mirror of https://github.com/Rudloff/alltube.git synced 2024-06-26 07:29:06 +02:00
Commit Graph

166 Commits

Author SHA1 Message Date
Pierre Rudloff
f8c8935b4c Use ffmpeg instead of rtmpdump 2017-12-23 15:14:43 +01:00
Pierre Rudloff
25ae2493b7 Force HLS format for M3U tests 2017-12-10 18:47:42 +01:00
Pierre Rudloff
d581621f1b Throw an exception when a popen stream is not created correctly 2017-12-05 20:50:05 +01:00
Pierre Rudloff
47789f8f8d Check that PlaylistArchiveStream::stream_read returns a string 2017-12-05 19:42:52 +01:00
Pierre Rudloff
8cb3eb7208 Ignore unused parameters in test 2017-12-05 15:44:00 +01:00
Pierre Rudloff
6b73026194 Fix cookie settings in tests 2017-12-05 15:43:35 +01:00
Pierre Rudloff
3f325ddaae Missing property 2017-11-12 16:39:56 +01:00
Pierre Rudloff
1b5e99403f Basic testEnv test 2017-11-11 23:00:53 +01:00
Pierre Rudloff
c07322e160 Remove buggy test (the video is not available anymore) 2017-11-11 22:50:54 +01:00
Pierre Rudloff
0027250de7 testTestLocale fails on Windows 2017-11-11 22:48:11 +01:00
Pierre Rudloff
3ffdec9ca1 Run testTestLocale on Travis 2017-11-11 22:39:41 +01:00
Pierre Rudloff
2432a06c1b Make tests run on Windows (fixes #137)
Use AppVeyor to run tests
2017-11-11 17:48:05 +01:00
Pierre Rudloff
fd2a4d8745 Add an option to set the MP3 bitrate when converting (fixes #113) 2017-11-10 23:50:17 +01:00
Pierre Rudloff
bdcbf19cee Lint 2017-11-10 12:20:08 +01:00
Pierre Rudloff
8848a8dbf3 Improve LocaleMiddlewareTest
Add a way to unset the current locale
2017-11-10 12:18:20 +01:00
Pierre Rudloff
c994f8ac9a Add missing assertions to testGetInstanceWithEmptyFile 2017-11-10 11:47:23 +01:00
Pierre Rudloff
0a2971399b Lint 2017-10-29 23:21:13 +01:00
Pierre Rudloff
2e80129c63 Don't override parent property 2017-10-26 11:02:14 +02:00
Pierre Rudloff
6e8efd1b82 Fix LocaleManager test 2017-10-26 10:55:29 +02:00
Pierre Rudloff
d14b1458a1 Update phpunit to 6.4 2017-10-26 10:48:09 +02:00
Pierre Rudloff
b0c4963ac8 Don't use anonymous functions
Added some missing doc
2017-10-02 20:31:56 +02:00
Pierre Rudloff
b92cf21d09 Skip testTestLocale 2017-08-21 20:50:44 +02:00
Pierre Rudloff
6337d2f936 Skip testVideoWithoutTitle because of a Travis error 2017-08-21 20:38:33 +02:00
Pierre Rudloff
4ee72d1629 Lint 2017-05-31 00:57:39 +02:00
Pierre Rudloff
788e6e93b1 Fake LocaleManager session in test 2017-05-31 00:56:53 +02:00
Pierre Rudloff
0a66dce2b8 More test coverage
Run youtube-dl with --restrict-filenames in order to avoid issues when testing against different locales
2017-05-31 00:48:50 +02:00
Pierre Rudloff
419110f764 Fix FrontController tests 2017-05-31 00:07:34 +02:00
Pierre Rudloff
4aba4d5bfd Remove tests with getenv() since it does not seem to be reliable across different testing environments 2017-05-30 23:59:15 +02:00
Pierre Rudloff
3ead8dd458 Undeclared properties 2017-05-30 23:49:38 +02:00
Pierre Rudloff
433a580d64 Fix LocaleMiddleware tests 2017-05-30 23:41:26 +02:00
Pierre Rudloff
e64bb9b9f5 Fix tests 2017-05-29 22:09:33 +02:00
Pierre Rudloff
ac4bca35a3 Lint 2017-05-29 21:13:10 +02:00
Pierre Rudloff
68b2cca899 Detect user locale 2017-05-29 21:11:59 +02:00
Pierre Rudloff
77fe2cb101 Lint 2017-05-19 14:31:41 +02:00
Pierre Rudloff
f9203706f7 Cleanup root folder (fixes #110) 2017-05-15 07:25:14 +02:00
Pierre Rudloff
879a37820d Remove useless arguments 2017-05-05 00:16:16 +02:00
Pierre Rudloff
fa67520c09 Undefined property 2017-05-05 00:08:43 +02:00
Pierre Rudloff
d7927fc442 Download Tar archives from playlists 2017-05-04 23:52:30 +02:00
Pierre Rudloff
e46d8544ed Use a more reliable URL for RTMP tests 2017-05-04 23:28:29 +02:00
Pierre Rudloff
29c432c159 Lint 2017-04-26 01:00:07 +02:00
Pierre Rudloff
ea8e26c649 Tests for ViewFactory 2017-04-26 00:59:30 +02:00
Pierre Rudloff
0e7aaea9fc Move Smarty view creation to ViewFactory class 2017-04-26 00:50:19 +02:00
Pierre Rudloff
4d104c852f Lint 2017-04-26 00:10:00 +02:00
Pierre Rudloff
db5f653e2d Refactor stream tests 2017-04-26 00:08:35 +02:00
Pierre Rudloff
a5252393de Refactor FrontControllerTest 2017-04-25 23:49:13 +02:00
Pierre Rudloff
71978e54e2 Unused variable 2017-04-25 21:49:19 +02:00
Pierre Rudloff
7428b334de Smal fixes with playlists 2017-04-25 11:05:49 +02:00
Pierre Rudloff
43cbd4f6fe Cleanup playlists 2017-04-25 02:20:15 +02:00
Pierre Rudloff
c153fd8264 Test common functions with every URL provider 2017-04-25 00:48:10 +02:00
Pierre Rudloff
b4be0ead6a Lint 2017-04-25 00:41:49 +02:00
Pierre Rudloff
e6bbe54474 New remux feature (fixes #103) 2017-04-25 00:40:24 +02:00
Pierre Rudloff
b80b9c7b2e Remove dependency on curl (fixes #105)
avconv/ffmpeg now downloads the video directly when converting
2017-04-24 19:16:38 +02:00
Pierre Rudloff
33694dd0f4 Lint 2017-04-24 18:45:13 +02:00
Pierre Rudloff
fb3834296a Make RTMP videos work in stream mode (fixes #104) 2017-04-24 18:31:14 +02:00
Pierre Rudloff
d2ad962f6f Use cleaner way to create custom config everywhere 2017-04-24 18:19:21 +02:00
Pierre Rudloff
e4f061e6c3 Allow empty config filename (= default) 2017-04-24 17:56:07 +02:00
Pierre Rudloff
2a31951217 Use test config for controller tests 2017-04-24 17:49:13 +02:00
Pierre Rudloff
194bdbed77 Replace testVideoWithUnconvertedAudio test because soundcloud.com triggers some weird SSL error on Travis (fixes #101) 2017-04-02 22:03:30 +02:00
Pierre Rudloff
4958f59a67 Lint 2017-03-19 12:28:54 +01:00
Pierre Rudloff
2ebea7749b Fix redirect when no format is specified 2017-03-19 12:27:08 +01:00
Pierre Rudloff
cb01839e6e Lint 2017-01-16 18:54:03 +01:00
Pierre Rudloff
985364c047 Unused variable 2017-01-16 18:51:42 +01:00
Pierre Rudloff
d62f69fb7c Missing properties 2017-01-16 18:47:49 +01:00
Pierre Rudloff
7cab8f69c3 Remove obsolete parameters 2017-01-16 18:45:33 +01:00
Pierre Rudloff
31efed8bc9 Apply fixes from StyleCI 2017-01-16 16:31:20 +00:00
Pierre Rudloff
16e1f9d6db Test controller 2017-01-16 17:19:19 +01:00
Pierre Rudloff
ec250b0d05 Cleaner way to get canonical URL 2017-01-16 14:26:12 +01:00
Pierre Rudloff
4ab7b2d369 Merge branch 'develop' of github.com:Rudloff/alltube into develop 2017-01-16 13:48:26 +01:00
Pierre Rudloff
b7f9e9570d Function name should be in camel case 2017-01-16 13:47:39 +01:00
Pierre Rudloff
d709e7c9a9 Apply fixes from StyleCI 2017-01-16 11:23:43 +00:00
Pierre Rudloff
929123c08e Easier way to create a mock request for tests 2017-01-16 12:21:38 +01:00
Pierre Rudloff
4e1c1ca953 Add a stream parameter in config (fixes #24 and #39) 2017-01-16 12:02:21 +01:00
Pierre Rudloff
d96a1e4867 Fix M3U tests 2017-01-16 11:23:47 +01:00
Pierre Rudloff
8e6c33c260 Merge branch 'develop' into feature/stream
Conflicts:
	composer.lock
2017-01-16 11:06:39 +01:00
Pierre Rudloff
3a1d0c4bc7 Lint 2017-01-10 23:39:58 +01:00
Pierre Rudloff
9f112c15b9 Add an uglyUrls option that disables URL rewriting (fixes #88) 2017-01-10 23:37:29 +01:00
Pierre Rudloff
dd539c57f8 Simplify test data provider 2017-01-02 23:08:51 +01:00
Pierre Rudloff
ef366dc6d1 Add tests for getM3uStream() 2016-12-27 00:36:30 +01:00
Pierre Rudloff
b730b51b21 Fix M3U test 2016-12-27 00:18:31 +01:00
Pierre Rudloff
f27bb3bbb9 Merge branch 'develop' into feature/stream 2016-12-27 00:02:27 +01:00
Pierre Rudloff
5aad3abc5d Display error when trying to convert a M3U8 file (fixes #83) 2016-12-27 00:01:42 +01:00
Pierre Rudloff
edf10eed35 Merge branch 'develop' into feature/stream 2016-12-26 15:58:46 +01:00
Pierre Rudloff
0ba030a981 Lint 2016-12-26 15:58:36 +01:00
Pierre Rudloff
e54df9b531 Merge branch 'develop' into feature/stream 2016-12-26 15:56:09 +01:00
Pierre Rudloff
c4fe897041 Missing doc 2016-12-26 15:55:55 +01:00
Pierre Rudloff
3f96adb255 Lint 2016-12-26 15:53:03 +01:00
Pierre Rudloff
28a8addbf1 Experimental support for M3U streams 2016-12-26 15:50:26 +01:00
Pierre Rudloff
c490a3f092 Add some missing tests 2016-12-26 14:04:18 +01:00
Pierre Rudloff
d4f5f93c2d Lint 2016-12-05 13:12:27 +01:00
Pierre Rudloff
57a0424b6f Applied fixes from StyleCI 2016-10-20 21:03:13 +00:00
Pierre Rudloff
e34b01f2c4 Add support for password protected videos 2016-10-20 23:01:31 +02:00
Pierre Rudloff
18a15a7484 Applied fixes from StyleCI 2016-10-18 08:45:54 +00:00
Pierre Rudloff
85fb3a54cd Test for exceptions when creating config 2016-10-18 10:45:16 +02:00
Pierre Rudloff
13c3366e9d Applied fixes from StyleCI 2016-09-07 22:28:28 +00:00
Pierre Rudloff
6df1eccb9e Missing docs 2016-09-06 00:36:47 +02:00
Pierre Rudloff
96a98ae846 Don't concatenate in function declaration 2016-08-19 01:13:51 +02:00
Pierre Rudloff
1400f3e86a Use separate config file for tests 2016-08-19 01:07:51 +02:00
Pierre Rudloff
25ec184d5e Fix buggy test 2016-08-01 18:42:08 +02:00
Pierre Rudloff
d414e67d31 Cleanup doc 2016-08-01 13:29:13 +02:00
Pierre Rudloff
7ac7f2ec92 Test video not available anymore 2016-08-01 12:21:05 +02:00