diff options
author | Florian CUNY <poslovitch@bentobox.world> | 2021-10-26 16:42:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-26 16:42:10 +0200 |
commit | 754b6f5f41bdc40aaaeefdb3c351666c305abe20 (patch) | |
tree | d36c8081f3137f1e2c9763879f71d41aa9a3efc1 /shared/models/server/custom-config.model.ts | |
parent | 615836dbd4f48fc563551446529fa9d3b14dc329 (diff) | |
download | PeerTube-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 'shared/models/server/custom-config.model.ts')
-rw-r--r-- | shared/models/server/custom-config.model.ts | 4 |
1 files changed, 4 insertions, 0 deletions
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 { | |||
85 | videoQuotaDaily: number | 85 | videoQuotaDaily: number |
86 | } | 86 | } |
87 | 87 | ||
88 | videoChannels: { | ||
89 | maxPerUser: number | ||
90 | } | ||
91 | |||
88 | transcoding: { | 92 | transcoding: { |
89 | enabled: boolean | 93 | enabled: boolean |
90 | 94 | ||