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 --- shared/models/server/custom-config.model.ts | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'shared/models') diff --git a/shared/models/server/custom-config.model.ts b/shared/models/server/custom-config.model.ts index 846bf6159..6ffe3a676 100644 --- a/shared/models/server/custom-config.model.ts +++ b/shared/models/server/custom-config.model.ts @@ -97,6 +97,11 @@ export interface CustomConfig { } user: { + history: { + videos: { + enabled: boolean + } + } videoQuota: number videoQuotaDaily: number } @@ -229,4 +234,5 @@ export interface CustomConfig { isDefaultSearch: boolean } } + } -- cgit v1.2.3