From b302c80dc0d9ba8eabef9ef6576efe36afc57584 Mon Sep 17 00:00:00 2001 From: Wicklow <123956049+wickloww@users.noreply.github.com> Date: Fri, 7 Apr 2023 08:09:54 +0000 Subject: feature/ability to disable video history by default (#5728) * draft: ability to disable video history by default * Update configuration and add tests * Updated code based on review comments * Add tests on registration and video quota * Remove required video quotas in query * Fix tests --- config/default.yaml | 4 ++++ config/production.yaml.example | 6 +++++- 2 files changed, 9 insertions(+), 1 deletion(-) (limited to 'config') diff --git a/config/default.yaml b/config/default.yaml index db014cc87..dfa43a0aa 100644 --- a/config/default.yaml +++ b/config/default.yaml @@ -408,6 +408,10 @@ signup: blacklist: [] user: + history: + videos: + # Enable or disable video history by default for new users. + enabled: true # Default value of maximum video bytes the user can upload (does not take into account transcoded files) # Byte format is supported ("1GB" etc) # -1 == unlimited diff --git a/config/production.yaml.example b/config/production.yaml.example index 9cb8add1f..744a14e91 100644 --- a/config/production.yaml.example +++ b/config/production.yaml.example @@ -417,7 +417,11 @@ signup: whitelist: [] blacklist: [] -user: +user: + history: + videos: + # Enable or disable video history by default for new users. + enabled: true # Default value of maximum video bytes the user can upload (does not take into account transcoded files) # Byte format is supported ("1GB" etc) # -1 == unlimited -- cgit v1.2.3