├── .gitignore ├── .travis.yml ├── LICENSE.txt ├── MANIFEST.in ├── README.md ├── TODO.txt ├── docs ├── Makefile ├── _static │ ├── websocket-nodejs.png │ └── websocket4redis.png ├── api.rst ├── changelog.rst ├── conf.py ├── credits.rst ├── debugging.rst ├── heartbeats.rst ├── index.rst ├── installation.rst ├── introduction.rst ├── requirements.txt ├── running.rst ├── testing.rst └── usage.rst ├── examples ├── .coveragerc ├── chatserver │ ├── __init__.py │ ├── fixtures │ │ └── data.json │ ├── models.py │ ├── settings.py │ ├── templates │ │ ├── broadcast_chat.html │ │ ├── chat_base.html │ │ ├── group_chat.html │ │ ├── registration │ │ │ └── login.html │ │ └── user_chat.html │ ├── templatetags │ │ ├── __init__.py │ │ └── tutorial_tags.py │ ├── tests │ │ ├── __init__.py │ │ ├── denied_channels.py │ │ ├── settings.py │ │ └── test_chatclient.py │ ├── urls.py │ └── views.py ├── manage.py ├── requirements.txt ├── uwsgi-emperor.ini.sample ├── uwsgi.ini.sample ├── wsgi.py ├── wsgi_django.py └── wsgi_websocket.py ├── setup.py ├── stress-tests ├── test_uwsgi_gevent.py ├── test_uwsgi_threads.py ├── wsgi_django.py └── wsgi_websocket.py └── ws4redis ├── __init__.py ├── _compat.py ├── context_processors.py ├── django_runserver.py ├── exceptions.py ├── models.py ├── publisher.py ├── redis_store.py ├── settings.py ├── static └── js │ └── ws4redis.js ├── subscriber.py ├── utf8validator.py ├── uwsgi_runserver.py ├── websocket.py └── wsgi_server.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrief/django-websocket-redis/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrief/django-websocket-redis/HEAD/.travis.yml -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrief/django-websocket-redis/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /MANIFEST.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrief/django-websocket-redis/HEAD/MANIFEST.in -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrief/django-websocket-redis/HEAD/README.md -------------------------------------------------------------------------------- /TODO.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrief/django-websocket-redis/HEAD/TODO.txt -------------------------------------------------------------------------------- /docs/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrief/django-websocket-redis/HEAD/docs/Makefile -------------------------------------------------------------------------------- /docs/_static/websocket-nodejs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrief/django-websocket-redis/HEAD/docs/_static/websocket-nodejs.png -------------------------------------------------------------------------------- /docs/_static/websocket4redis.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrief/django-websocket-redis/HEAD/docs/_static/websocket4redis.png -------------------------------------------------------------------------------- /docs/api.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrief/django-websocket-redis/HEAD/docs/api.rst -------------------------------------------------------------------------------- /docs/changelog.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrief/django-websocket-redis/HEAD/docs/changelog.rst -------------------------------------------------------------------------------- /docs/conf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrief/django-websocket-redis/HEAD/docs/conf.py -------------------------------------------------------------------------------- /docs/credits.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrief/django-websocket-redis/HEAD/docs/credits.rst -------------------------------------------------------------------------------- /docs/debugging.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrief/django-websocket-redis/HEAD/docs/debugging.rst -------------------------------------------------------------------------------- /docs/heartbeats.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrief/django-websocket-redis/HEAD/docs/heartbeats.rst -------------------------------------------------------------------------------- /docs/index.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrief/django-websocket-redis/HEAD/docs/index.rst -------------------------------------------------------------------------------- /docs/installation.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrief/django-websocket-redis/HEAD/docs/installation.rst -------------------------------------------------------------------------------- /docs/introduction.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrief/django-websocket-redis/HEAD/docs/introduction.rst -------------------------------------------------------------------------------- /docs/requirements.txt: -------------------------------------------------------------------------------- 1 | django 2 | -------------------------------------------------------------------------------- /docs/running.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrief/django-websocket-redis/HEAD/docs/running.rst -------------------------------------------------------------------------------- /docs/testing.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrief/django-websocket-redis/HEAD/docs/testing.rst -------------------------------------------------------------------------------- /docs/usage.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrief/django-websocket-redis/HEAD/docs/usage.rst -------------------------------------------------------------------------------- /examples/.coveragerc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrief/django-websocket-redis/HEAD/examples/.coveragerc -------------------------------------------------------------------------------- /examples/chatserver/__init__.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | -------------------------------------------------------------------------------- /examples/chatserver/fixtures/data.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrief/django-websocket-redis/HEAD/examples/chatserver/fixtures/data.json -------------------------------------------------------------------------------- /examples/chatserver/models.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | -------------------------------------------------------------------------------- /examples/chatserver/settings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrief/django-websocket-redis/HEAD/examples/chatserver/settings.py -------------------------------------------------------------------------------- /examples/chatserver/templates/broadcast_chat.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrief/django-websocket-redis/HEAD/examples/chatserver/templates/broadcast_chat.html -------------------------------------------------------------------------------- /examples/chatserver/templates/chat_base.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrief/django-websocket-redis/HEAD/examples/chatserver/templates/chat_base.html -------------------------------------------------------------------------------- /examples/chatserver/templates/group_chat.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrief/django-websocket-redis/HEAD/examples/chatserver/templates/group_chat.html -------------------------------------------------------------------------------- /examples/chatserver/templates/registration/login.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrief/django-websocket-redis/HEAD/examples/chatserver/templates/registration/login.html -------------------------------------------------------------------------------- /examples/chatserver/templates/user_chat.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrief/django-websocket-redis/HEAD/examples/chatserver/templates/user_chat.html -------------------------------------------------------------------------------- /examples/chatserver/templatetags/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/chatserver/templatetags/tutorial_tags.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrief/django-websocket-redis/HEAD/examples/chatserver/templatetags/tutorial_tags.py -------------------------------------------------------------------------------- /examples/chatserver/tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/chatserver/tests/denied_channels.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrief/django-websocket-redis/HEAD/examples/chatserver/tests/denied_channels.py -------------------------------------------------------------------------------- /examples/chatserver/tests/settings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrief/django-websocket-redis/HEAD/examples/chatserver/tests/settings.py -------------------------------------------------------------------------------- /examples/chatserver/tests/test_chatclient.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrief/django-websocket-redis/HEAD/examples/chatserver/tests/test_chatclient.py -------------------------------------------------------------------------------- /examples/chatserver/urls.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrief/django-websocket-redis/HEAD/examples/chatserver/urls.py -------------------------------------------------------------------------------- /examples/chatserver/views.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrief/django-websocket-redis/HEAD/examples/chatserver/views.py -------------------------------------------------------------------------------- /examples/manage.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrief/django-websocket-redis/HEAD/examples/manage.py -------------------------------------------------------------------------------- /examples/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrief/django-websocket-redis/HEAD/examples/requirements.txt -------------------------------------------------------------------------------- /examples/uwsgi-emperor.ini.sample: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrief/django-websocket-redis/HEAD/examples/uwsgi-emperor.ini.sample -------------------------------------------------------------------------------- /examples/uwsgi.ini.sample: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrief/django-websocket-redis/HEAD/examples/uwsgi.ini.sample -------------------------------------------------------------------------------- /examples/wsgi.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrief/django-websocket-redis/HEAD/examples/wsgi.py -------------------------------------------------------------------------------- /examples/wsgi_django.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrief/django-websocket-redis/HEAD/examples/wsgi_django.py -------------------------------------------------------------------------------- /examples/wsgi_websocket.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrief/django-websocket-redis/HEAD/examples/wsgi_websocket.py -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrief/django-websocket-redis/HEAD/setup.py -------------------------------------------------------------------------------- /stress-tests/test_uwsgi_gevent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrief/django-websocket-redis/HEAD/stress-tests/test_uwsgi_gevent.py -------------------------------------------------------------------------------- /stress-tests/test_uwsgi_threads.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrief/django-websocket-redis/HEAD/stress-tests/test_uwsgi_threads.py -------------------------------------------------------------------------------- /stress-tests/wsgi_django.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrief/django-websocket-redis/HEAD/stress-tests/wsgi_django.py -------------------------------------------------------------------------------- /stress-tests/wsgi_websocket.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrief/django-websocket-redis/HEAD/stress-tests/wsgi_websocket.py -------------------------------------------------------------------------------- /ws4redis/__init__.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | __version__ = '0.6.0' 3 | -------------------------------------------------------------------------------- /ws4redis/_compat.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrief/django-websocket-redis/HEAD/ws4redis/_compat.py -------------------------------------------------------------------------------- /ws4redis/context_processors.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrief/django-websocket-redis/HEAD/ws4redis/context_processors.py -------------------------------------------------------------------------------- /ws4redis/django_runserver.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrief/django-websocket-redis/HEAD/ws4redis/django_runserver.py -------------------------------------------------------------------------------- /ws4redis/exceptions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrief/django-websocket-redis/HEAD/ws4redis/exceptions.py -------------------------------------------------------------------------------- /ws4redis/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrief/django-websocket-redis/HEAD/ws4redis/models.py -------------------------------------------------------------------------------- /ws4redis/publisher.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrief/django-websocket-redis/HEAD/ws4redis/publisher.py -------------------------------------------------------------------------------- /ws4redis/redis_store.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrief/django-websocket-redis/HEAD/ws4redis/redis_store.py -------------------------------------------------------------------------------- /ws4redis/settings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrief/django-websocket-redis/HEAD/ws4redis/settings.py -------------------------------------------------------------------------------- /ws4redis/static/js/ws4redis.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrief/django-websocket-redis/HEAD/ws4redis/static/js/ws4redis.js -------------------------------------------------------------------------------- /ws4redis/subscriber.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrief/django-websocket-redis/HEAD/ws4redis/subscriber.py -------------------------------------------------------------------------------- /ws4redis/utf8validator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrief/django-websocket-redis/HEAD/ws4redis/utf8validator.py -------------------------------------------------------------------------------- /ws4redis/uwsgi_runserver.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrief/django-websocket-redis/HEAD/ws4redis/uwsgi_runserver.py -------------------------------------------------------------------------------- /ws4redis/websocket.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrief/django-websocket-redis/HEAD/ws4redis/websocket.py -------------------------------------------------------------------------------- /ws4redis/wsgi_server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrief/django-websocket-redis/HEAD/ws4redis/wsgi_server.py --------------------------------------------------------------------------------