server/posts/upload: Add youtube-dl functionality

allows for video-based posts to be created by using youtube-dl
on the server. Access is controlled with the 'uploads:use_downloader'
permission.
This commit is contained in:
Shyam Sunder
2020-04-02 16:17:26 -04:00
parent 08e62ec885
commit 99a69333e6
12 changed files with 116 additions and 18 deletions

View File

@ -135,6 +135,7 @@ privileges:
'snapshots:list': power
'uploads:create': regular
'uploads:use_downloader': power
## ONLY SET THESE IF DEPLOYING OUTSIDE OF DOCKER
#debug: 0 # generate server logs?