1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-05 02:39:33 +02:00

Add history on server side

Add ability to disable, clear and list user videos history
This commit is contained in:
Chocobozzz 2018-12-17 15:52:38 +01:00
parent 583cd0d212
commit 8b9a525a18
No known key found for this signature in database
GPG key ID: 583A612D890159BE
19 changed files with 385 additions and 29 deletions

View file

@ -46,6 +46,10 @@ function isUserWebTorrentEnabledValid (value: any) {
return isBooleanValid(value)
}
function isUserVideosHistoryEnabledValid (value: any) {
return isBooleanValid(value)
}
function isUserAutoPlayVideoValid (value: any) {
return isBooleanValid(value)
}
@ -73,6 +77,7 @@ function isAvatarFile (files: { [ fieldname: string ]: Express.Multer.File[] } |
// ---------------------------------------------------------------------------
export {
isUserVideosHistoryEnabledValid,
isUserBlockedValid,
isUserPasswordValid,
isUserBlockedReasonValid,