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' --- shared/extra-utils/server/config-command.ts | 3 +++ 1 file changed, 3 insertions(+) (limited to 'shared/extra-utils/server') diff --git a/shared/extra-utils/server/config-command.ts b/shared/extra-utils/server/config-command.ts index 51d04fa63..2746e9ac4 100644 --- a/shared/extra-utils/server/config-command.ts +++ b/shared/extra-utils/server/config-command.ts @@ -220,6 +220,9 @@ export class ConfigCommand extends AbstractCommand { videoQuota: 5242881, videoQuotaDaily: 318742 }, + videoChannels: { + maxPerUser: 20 + }, transcoding: { enabled: true, allowAdditionalExtensions: true, -- cgit v1.2.3