Commit graph

64 commits

Author SHA1 Message Date
Pierre Rudloff
aabcee25f0 Custom fatal error handler 2019-11-27 23:49:01 +01:00
Pierre Rudloff
a5bd827d21 Switch to symfony/translation for translations (#250) 2019-11-27 23:15:49 +01:00
Pierre Rudloff
0b1ce90f47 New debug option 2019-11-27 21:41:15 +01:00
Pierre Rudloff
3e9a934f87 fix: fix /watch route 2019-10-19 22:06:30 +02:00
Pierre Rudloff
44bf858c35 style(phpcs): Switch to PSR-12
https://www.php-fig.org/psr/psr-12/
2019-10-03 21:24:12 +02:00
Pierre Rudloff
8f46166a9d fix: Wrong controller 2019-04-26 20:34:34 +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
1df06f7c22 refactor: Use route names that make more sense 2019-04-22 15:31:51 +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
586f20adb4 style(styleci): Lint 2019-04-21 00:58:04 +02:00
Pierre Rudloff
f9bf3b8d47 refactor: Use a StreamInterface for PlaylistArchiveStream
It is much cleaner
2019-04-21 00:35:43 +02:00
Pierre Rudloff
b8b6180609 feat: Allow Youtube-like URLs
Fixes #184
2018-08-04 15:47:22 +02:00
Pierre Rudloff
74505cea57 feat: JSON API 2018-03-20 12:02:21 +01:00
Pierre Rudloff
04fe43a1ca style: Declare imported classes at the top of the file 2018-02-05 17:16:41 +01:00
Pierre Rudloff
2cfe90bd2d Display error when Smarty throws an exception (fixes #130) 2017-10-02 21:08:37 +02:00
Pierre Rudloff
3e13be702e Display an error if php-intl is not installed (fixes #120) 2017-10-02 20:53:12 +02:00
Pierre Rudloff
b4dd0aeb29 Basic locale switcher 2017-05-30 22:21:27 +02:00
Pierre Rudloff
68b2cca899 Detect user locale 2017-05-29 21:11:59 +02:00
Pierre Rudloff
de8c4525d9 New fr_FR locale 2017-05-29 19:28:42 +02:00
Pierre Rudloff
3fff849ea8 Merge branch 'master' of https://github.com/tony199555/alltube into feature/gettext
Conflicts:
	composer.json
	composer.lock
	templates/index.tpl
	templates/video.tpl
2017-05-29 19:01:20 +02:00
Unknown
e8d989a9f2 Fix syntax by styleci 2017-05-26 15:04:33 -07:00
Unknown
508c32e797 Use correct local code 2017-05-26 14:59:30 -07:00
Unknown
404935be05 Possible fix recommend by Rudloff 2017-05-26 11:38:34 -07:00
Pierre Rudloff
d7927fc442 Download Tar archives from playlists 2017-05-04 23:52:30 +02:00
Pierre Rudloff
0e7aaea9fc Move Smarty view creation to ViewFactory class 2017-04-26 00:50:19 +02:00
Pierre Rudloff
8aee9054a8 Allow custom cookie array in controller 2017-04-25 23:04:59 +02:00
Pierre Rudloff
5e09d8adc7 Remove JSON output as we don't use it anymore 2017-01-16 16:03:31 +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
d4f5f93c2d Lint 2016-12-05 13:12:27 +01:00
Pierre Rudloff
2d0860e42f Undefined variable 2016-10-26 17:16:17 +02:00
Pierre Rudloff
e34b01f2c4 Add support for password protected videos 2016-10-20 23:01:31 +02:00
Pierre Rudloff
7746d7d26a addSlimPlugins is deprecated 2016-10-10 21:34:38 +02:00
Pierre Rudloff
13c3366e9d Applied fixes from StyleCI 2016-09-07 22:28:28 +00:00
Pierre Rudloff
954c0e0f19 Lint 2016-08-01 18:04:44 +02:00
Pierre Rudloff
064a5de3c0 Cleanup useless doc 2016-08-01 14:07:56 +02:00
Pierre Rudloff
c9d413136b Redirect index.php to root (fixes #60) 2016-07-27 02:19:29 +02:00
Pierre Rudloff
3074595b51 Don't use global variables 2016-07-22 14:43:50 +02:00
Pierre Rudloff
06282c1aa4 Redirect empty video page to index 2016-06-09 21:15:44 +02:00
Pierre Rudloff
aba0243fd2 Cleaner error handling 2016-05-01 01:25:08 +02:00
Pierre Rudloff
ed7018c957 Use <select> for format list 2016-04-10 21:42:38 +02:00
Pierre Rudloff
1bdfcbeb09 rudloff/smarty-plugin-noscheme update
rudloff/smarty-plugin-noscheme autoload
2016-04-09 02:42:46 +02:00
Pierre Rudloff
11e8243443 Don't use static functions 2016-04-08 19:06:41 +02:00
Pierre Rudloff
7eef219128 noscheme on all URL 2016-04-06 13:19:27 +02:00
Pierre Rudloff
81f32c3e61 Use Slim 3.3 (fixes #49) 2016-03-30 01:39:47 +02:00
Pierre Rudloff
5249df52e6 YAML config file 2015-10-31 15:42:36 +01:00
Pierre Rudloff
51432dc53e Use Slim for everything 2015-10-31 11:48:14 +01:00
Pierre Rudloff
78670d73a5 Clean URLs for HTTPS 2015-10-31 11:35:18 +01:00