General
- Relative packages to websockets (
channels,asgiref,daphne,asgi-redis) are updated to their last official release. -
channelsdoesn't come from a fork anymore. Instead we define newDjangoJsonWebsocketConsumer, which subclassesJsonWebsocketConsumerfromchannels, and which usesDjangoJSONEncoderto encode message asjson. - Defines
PermConsumerMixinwhich handles permission checks on connection to a consumer.
KPsul websocket
- Check if connecting users to this consumer have the
kfet.is_teampermission. - Clean code of useless elements in this consumer.
Fixes #67.