Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gestioCOF
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 76
    • Issues 76
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 16
    • Merge requests 16
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Klub Dev ENSKlub Dev ENS
  • gestioCOF
  • Merge requests
  • !220

Aureplop/clean channels

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Aurélien Delobelle requested to merge aureplop/clean_channels into master Apr 09, 2017
  • Overview 1
  • Commits 3
  • Pipelines 0
  • Changes 2

General

  • Relative packages to websockets (channels, asgiref, daphne, asgi-redis) are updated to their last official release.
  • channels doesn't come from a fork anymore. Instead we define new DjangoJsonWebsocketConsumer, which subclasses JsonWebsocketConsumer from channels, and which uses DjangoJSONEncoder to encode message as json.
  • Defines PermConsumerMixin which handles permission checks on connection to a consumer.

KPsul websocket

  • Check if connecting users to this consumer have the kfet.is_team permission.
  • Clean code of useless elements in this consumer.

Fixes #67.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: aureplop/clean_channels