Commit Graph

5 Commits

Author SHA1 Message Date
Sam Bolgert
3dddefa845 Delay Protocol Server (#401)
* Add Delay Protocol Server

Add a process that listens to a specific channel
and delays incoming messages by a given time.

* Add custom django command rundelay
* Add test suite
* Implements #115

* Add channels.delay app

* Add AppConfig

* Move rundelay command to channels.delay app

* Refactor DelayedMessage into model

Move login into a database backed model.
* Update Worker
* Add migration

* Add delay docs page

* Add to TOC

* Fix import sorting

* Add ASGI spec document for Delay Protocol

* Update channels.delay doc with new channel name
* remove interval docs

* Refactor Delay to use milliseconds instead of seconds

Use milliseconds as the default unit. Gives more control to developers.

* Remove interval logic from DelayedMessage
* Remove interval tests
* Tweak test logic to use milliseconds
2016-11-24 10:54:03 -08:00
Tim Watts
4a09cec2d4 Test runserver (#214)
* Add tests for runserver and runworker management commands

* Fix flake8 and isort errors

* Refactor mocking, add comments to tests

* rm unneeded vargs
2016-06-29 11:26:21 -07:00
Andrew Godwin
0e3c742a80 Introduce ChannelTestCase to make testing easier 2016-04-04 03:34:05 +02:00
ekmartin
4469b55d96 Fix pep8 errors using the Django core's flake8 preset 2015-11-09 13:00:00 +01:00
ekmartin
351a18ba07 Add tox and run tests for python 2.7/3.5 and Django 1.6-1.8 2015-11-09 12:58:59 +01:00