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/models/server/custom-config.model.ts | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'shared/models/server/custom-config.model.ts') diff --git a/shared/models/server/custom-config.model.ts b/shared/models/server/custom-config.model.ts index 75d04423a..322fbb797 100644 --- a/shared/models/server/custom-config.model.ts +++ b/shared/models/server/custom-config.model.ts @@ -85,6 +85,10 @@ export interface CustomConfig { videoQuotaDaily: number } + videoChannels: { + maxPerUser: number + } + transcoding: { enabled: boolean -- cgit v1.2.3