Without this patch, the index.html contains google analytics at
all times, including for people self-hosting it.
This is a problem for privacy reasons, and only people wanting
to have analytics on their instances should be able to enable
them.
This fixes it by making sure the index.html page is templated
to sideload content from ANALYTICS_CODE_PATH (which itself is
also templated, for convenience).
- Create new class to manager global message. My idea is that this class permit to manage audio or text message.
- Update html to have main content id and inject html in this.
- Create front event to receive startMessage and stopMessage.
- Delete impoted variable not used.