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

Implement replace file in server side

This commit is contained in:
Chocobozzz 2023-07-19 16:02:49 +02:00
parent c6867725fb
commit 12dc3a942a
No known key found for this signature in database
GPG key ID: 583A612D890159BE
55 changed files with 1547 additions and 325 deletions

View file

@ -64,6 +64,7 @@ export const serverFilterHookObject = {
'filter:api.video.pre-import-torrent.accept.result': true,
'filter:api.video.post-import-url.accept.result': true,
'filter:api.video.post-import-torrent.accept.result': true,
'filter:api.video.update-file.accept.result': true,
// Filter the result of the accept comment (thread or reply) functions
// If the functions return false then the user cannot post its comment
'filter:api.video-thread.create.accept.result': true,
@ -155,6 +156,9 @@ export const serverActionHookObject = {
// Fired when a local video is viewed
'action:api.video.viewed': true,
// Fired when a local video file has been replaced by a new one
'action:api.video.file-updated': true,
// Fired when a video channel is created
'action:api.video-channel.created': true,
// Fired when a video channel is updated