Commit graph

1478 commits

Author SHA1 Message Date
Pierre Rudloff
5d550a100d Disable coverage in phpunit
It causes an error on Travis and it is not used anymore
2021-02-02 00:27:24 +01:00
Pierre Rudloff
077bb4762e Merge branch 'master' into develop 2021-02-01 21:27:07 +01:00
prog-it
03d6a59b26
Russian translation (#341) 2021-02-01 21:26:23 +01:00
Pierre Rudloff
05311ac7b6 Add return types 2020-12-17 22:49:21 +01:00
Pierre Rudloff
f2785bca03 Clear Smarty compiled templates before controller tests
In order to avoid permission errors
2020-12-17 22:30:19 +01:00
Pierre Rudloff
9921b6210f Merge tag '3.0.0-beta5' into develop
Composer 2 compatibility
Updated youtube-dl to 2020.11.12
Make sure locale is always set, even on first request
2020-12-17 20:07:44 +01:00
Pierre Rudloff
c9aa41d206 Merge branch 'release-3.0.0-beta5' 2020-12-17 20:06:09 +01:00
Éric Gaspar
a5bda1d35e
Fix small typos (#333)
* Fix small typos

- *Fix cap on YouTube, AllTube...*

* Fix YouTube cap
2020-12-05 15:00:46 +01:00
Pierre Rudloff
f2bef49ad6 fixup! Make sure locale is always set, even on first request 2020-11-21 14:38:37 +01:00
Pierre Rudloff
f184bda59b Make sure locale is always set, even on first request 2020-11-21 14:20:01 +01:00
Pierre Rudloff
05959b17f0 Upgrade grumphp to 1.1
In order to improve output in CI
2020-11-16 23:31:18 +01:00
Pierre Rudloff
b5a585443a fixup! The youtube-dl repository is back 2020-11-16 23:28:36 +01:00
Pierre Rudloff
81e42057f9 Upgrade composer-dangling-locked-deps to 0.2.1
To fix Composer 2 compatibility
2020-11-16 23:21:32 +01:00
Pierre Rudloff
a800a058fa The youtube-dl repository is back 2020-11-16 20:48:03 +01:00
Pierre Rudloff
2d1d69a1f1 Refactor some Robo code 2020-11-16 20:45:49 +01:00
Tripp Sanders
bd2b72721f
Remove an extra S (#328)
* Remove an extra s

* Remove a few extra S’s
2020-11-08 19:53:42 +01:00
Pierre Rudloff
c844d3bf74 Merge tag '3.0.0-beta4' into develop
Fixed the CSP because it was breaking downloads on Chrome (#327)
Upgraded youtube-dl to 2020.11.01.1 (#326)
2020-11-04 23:08:02 +01:00
Pierre Rudloff
f6d3a72c31 Merge branch 'release/3.0.0-beta4' 2020-11-04 23:05:51 +01:00
Pierre Rudloff
c0b2acf33e Don't restrict forms in CSP (#327) 2020-11-04 23:03:39 +01:00
Pierre Rudloff
17422d8485 Upgrade youtube-dl to 2020.11.01.1 (fixes #326) 2020-11-02 21:09:27 +01:00
Pierre Rudloff
b9c860f824 Merge branch 'master' into develop 2020-10-28 22:20:48 +01:00
Pierre Rudloff
f4a9528b56 Explicitely require PHP >= 7.3 2020-10-28 22:17:27 +01:00
Pierre Rudloff
02df3d219a Merge tag '3.0.0-beta3' into develop
We now temporarily get youtube-dl from PyPI (because their GitHub repository is not available anymore)
Upgraded alltube-library to 0.1.1
The bookmarklet is now correctly generated when AllTube is behind a reverse proxy
The bookmarklet is now compatible with ugly URLs
2020-10-28 21:58:44 +01:00
Pierre Rudloff
ac6cd1dbb7 Merge branch 'release-3.0.0-beta3' 2020-10-28 21:56:24 +01:00
Pierre Rudloff
c15f1e6bba Use a stable release of alltube-library 2020-10-27 23:33:00 +01:00
Pierre Rudloff
e330adec76 Get youtube-dl from PyPI (fixes #323) 2020-10-27 23:18:59 +01:00
Pierre Rudloff
7ad0040f60 Move container creation to a new App class 2020-10-22 23:11:29 +02:00
Pierre Rudloff
3d2b518cb4 Create a test container that we can use in any test 2020-10-22 22:48:47 +02:00
Pierre Rudloff
d83774ae7d Cleaner way to get the domain 2020-10-22 21:40:20 +02:00
Pierre Rudloff
e1d7ad44e0 Make the bookmarklet compatible with ugly URLs 2020-10-22 01:36:00 +02:00
Pierre Rudloff
d97b824a44 Cleaner way to build ugly URLs 2020-10-22 01:26:17 +02:00
Pierre Rudloff
7d856c61fb Cleaner way to build the redirect 2020-10-22 01:13:25 +02:00
Pierre Rudloff
7dead957f0 Fix bookmarklet behind a reverse proxy 2020-10-22 00:45:41 +02:00
Pierre Rudloff
6bb577bcce Use default view variables 2020-10-22 00:45:09 +02:00
Pierre Rudloff
110bfc9ff1 Cleaner way to build the canonical URL 2020-10-22 00:28:36 +02:00
Pierre Rudloff
68f2255fa0 Lint 2020-10-21 23:07:12 +02:00
Pierre Rudloff
342b8c4a42 Use secure session cookies (fixes #321) 2020-10-21 23:04:29 +02:00
Pierre Rudloff
de8c5e5dc7 Convert SessionManager to a factory class 2020-10-21 22:48:05 +02:00
Pierre Rudloff
5b0ee7651b Remove Config dependency on LocaleManager 2020-10-21 22:38:09 +02:00
Pierre Rudloff
5c75dc2bb0 Update locale template 2020-10-21 22:31:28 +02:00
Pierre Rudloff
21964f84ba Fix middleware order
So the base path is changed before other middlewares use it
2020-10-20 23:49:23 +02:00
Pierre Rudloff
e9cee39673 Allow manifest in CSP 2020-10-20 23:32:16 +02:00
Pierre Rudloff
0a220d4d8e Move factory classes to a subfolder 2020-10-20 23:29:50 +02:00
Pierre Rudloff
123a6c5ad9 Move middleware to a subfolder 2020-10-20 23:17:22 +02:00
Pierre Rudloff
496ac212e2 Set Link header in PHP so it can work in a subfolder 2020-10-20 23:10:33 +02:00
Pierre Rudloff
bd61320cfc Lint 2020-10-20 22:34:53 +02:00
Pierre Rudloff
e06a96b5d2 Merge branch 'master' into develop 2020-10-20 01:26:56 +02:00
Pierre Rudloff
9a12a2d13b Don't install open-sans in vendor 2020-10-20 01:24:36 +02:00
Pierre Rudloff
4bcf9566ad Improve CSP 2020-10-20 00:57:26 +02:00
Pierre Rudloff
3407e4fcdd Merge tag '3.0.0-beta2' into develop
Changes since the latest beta:

Classes have been reorganized in order to simplify PSR-4 loading
youtube-dl and ffmpeg commands are now logged when debug mode is enabled
The Config and LocaleManager classes now use a factory pattern instead of a singleton
404 and 405 error pages now have the same style as the other pages
The new "defaultAudio" option allows converting to audio by default (thanks to @bellington3)
The Heroku build now uses Python 3 (thanks to @telegrambotdev)
The app now supports the container Heroku stack (thanks to @telegrambotdev)
The new "convertSeek" option allows disabling seeking when converting to audio (thanks to @bellington3)
Exceptions are now logged
AllTube can now run correctly behind a reverse proxy with a custom path or port (thanks to @bellington3)
2020-10-20 00:49:22 +02:00