1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-04 02:09:37 +02:00

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
This commit is contained in:
Wicklow 2023-04-07 08:09:54 +00:00 committed by GitHub
parent 9258e9a4a3
commit b302c80dc0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
18 changed files with 145 additions and 18 deletions

View file

@ -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
}
}
}