aboutsummaryrefslogtreecommitdiffhomepage
path: root/config
diff options
context:
space:
mode:
authorFlorian CUNY <poslovitch@bentobox.world>2021-10-26 16:42:10 +0200
committerGitHub <noreply@github.com>2021-10-26 16:42:10 +0200
commit754b6f5f41bdc40aaaeefdb3c351666c305abe20 (patch)
treed36c8081f3137f1e2c9763879f71d41aa9a3efc1 /config
parent615836dbd4f48fc563551446529fa9d3b14dc329 (diff)
downloadPeerTube-754b6f5f41bdc40aaaeefdb3c351666c305abe20.tar.gz
PeerTube-754b6f5f41bdc40aaaeefdb3c351666c305abe20.tar.zst
PeerTube-754b6f5f41bdc40aaaeefdb3c351666c305abe20.zip
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'
Diffstat (limited to 'config')
-rw-r--r--config/default.yaml3
-rw-r--r--config/production.yaml.example3
2 files changed, 6 insertions, 0 deletions
diff --git a/config/default.yaml b/config/default.yaml
index f545382c8..cf9d69a62 100644
--- a/config/default.yaml
+++ b/config/default.yaml
@@ -296,6 +296,9 @@ user:
296 video_quota: -1 296 video_quota: -1
297 video_quota_daily: -1 297 video_quota_daily: -1
298 298
299video_channels:
300 max_per_user: 20 # Allows each user to create up to 20 video channels.
301
299# If enabled, the video will be transcoded to mp4 (x264) with `faststart` flag 302# If enabled, the video will be transcoded to mp4 (x264) with `faststart` flag
300# In addition, if some resolutions are enabled the mp4 video file will be transcoded to these new resolutions 303# In addition, if some resolutions are enabled the mp4 video file will be transcoded to these new resolutions
301# Please, do not disable transcoding since many uploaded videos will not work 304# Please, do not disable transcoding since many uploaded videos will not work
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:
306 video_quota: -1 306 video_quota: -1
307 video_quota_daily: -1 307 video_quota_daily: -1
308 308
309video_channels:
310 max_per_user: 20 # Allows each user to create up to 20 video channels.
311
309# If enabled, the video will be transcoded to mp4 (x264) with `faststart` flag 312# If enabled, the video will be transcoded to mp4 (x264) with `faststart` flag
310# In addition, if some resolutions are enabled the mp4 video file will be transcoded to these new resolutions 313# In addition, if some resolutions are enabled the mp4 video file will be transcoded to these new resolutions
311# Please, do not disable transcoding since many uploaded videos will not work 314# Please, do not disable transcoding since many uploaded videos will not work