kfet.open

kfet.open app
- Base data (raw_open, last_update...) is stored and shared through cache system.
- 2 websockets groups: one for team users, one for other users.
- UI is initialized and kept up-to-date with WS.
- raw_open and force_close can be updated with standard HTTP requests.
  At this time, there isn't any restriction on raw_open view. Common sense tell us
  to change this behavior.

Misc
- Clean channels routing.
- 'PermConsumerMixin': user who sent the message is available as argument in
connection_groups method, which returns groups to which the user should be
appended on websocket connection (and discarded on disconnection).
- New kfet.utils module: should be used for mixins, whatever is useful and not concerns
the kfet app.
- Clean JS dependencies.
This commit is contained in:
Aurélien Delobelle 2017-06-21 07:08:28 +02:00
parent 2381af92e3
commit b8110c11a4
37 changed files with 852 additions and 404 deletions

View file

@ -14,12 +14,12 @@ unicodecsv==0.14.1
icalendar==3.10
django-bootstrap-form==3.2.1
asgiref==1.1.1
daphne==1.2.0
daphne==1.3.0
asgi-redis==1.3.0
statistics==1.0.3.5
future==0.15.2
django-widget-tweaks==1.4.1
git+https://git.eleves.ens.fr/cof-geek/django_custommail.git#egg=django_custommail
ldap3
channels==1.1.3
channels==1.1.5
python-dateutil