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:
parent
9258e9a4a3
commit
b302c80dc0
18 changed files with 145 additions and 18 deletions
|
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue