[PeerTube] Expose server push notification to plugin
At time of writing, a plugin can't trigger a notification on Peertube UI from the server script.
Usecases :
- an error occured while...
- updating the settings of the plugin
- attempting to transcript a plugin
- transcripting a video in worker
- transcription was sucessful
Currently a user is never warned if a video transcription was successful or not.
Requirements :
- Asynchronous : a notification should reach the user even if he/she browse to another PeerTube page.
- Bonus point : a notification should reach the user even if he/she close the tab, and reopen PeetTube later on.
Suggestions : Peertube message queue could be reused and a new type of -- generic --- message could be exposed.
Currently only a very strict types of message are allowed to went through.