From 754b6f5f41bdc40aaaeefdb3c351666c305abe20 Mon Sep 17 00:00:00 2001 From: Florian CUNY Date: Tue, 26 Oct 2021 16:42:10 +0200 Subject: Made the video channels limit (per user) server-wide configurable (#4491) * Made the video channels limit (per user) server-wide configurable Implements https://github.com/Chocobozzz/PeerTube/issues/3092 Also added a "quota bar" in the account's settings page * Fixed lint errors * Another pass at fixing lint errors * Applied code suggestions * Removed 'video channels quota' --- config/production.yaml.example | 3 +++ 1 file changed, 3 insertions(+) (limited to 'config/production.yaml.example') diff --git a/config/production.yaml.example b/config/production.yaml.example index 2e0d029ce..70993bf57 100644 --- a/config/production.yaml.example +++ b/config/production.yaml.example @@ -306,6 +306,9 @@ user: video_quota: -1 video_quota_daily: -1 +video_channels: + max_per_user: 20 # Allows each user to create up to 20 video channels. + # If enabled, the video will be transcoded to mp4 (x264) with `faststart` flag # In addition, if some resolutions are enabled the mp4 video file will be transcoded to these new resolutions # Please, do not disable transcoding since many uploaded videos will not work -- cgit v1.2.3