mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-04 10:19:35 +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
|
@ -204,6 +204,11 @@ function customConfig (): CustomConfig {
|
|||
enabled: CONFIG.CONTACT_FORM.ENABLED
|
||||
},
|
||||
user: {
|
||||
history: {
|
||||
videos: {
|
||||
enabled: CONFIG.USER.HISTORY.VIDEOS.ENABLED
|
||||
}
|
||||
},
|
||||
videoQuota: CONFIG.USER.VIDEO_QUOTA,
|
||||
videoQuotaDaily: CONFIG.USER.VIDEO_QUOTA_DAILY
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue