Commit Graph

242 Commits

Author SHA1 Message Date
Andrew Godwin
577dfa1eee Final update of demultiplexer/databinding docs interaction 2017-01-08 18:06:31 -08:00
Andrew Godwin
cba54f9749 Fix up new demultiplexer/databinding interactions 2017-01-08 18:05:51 -08:00
Andrew Godwin
5a539659a3 Start fleshing out 1.0 release notes 2017-01-08 18:05:50 -08:00
raphael.boucher
33dbc4a184 Replace multiplexer with class demultiplexer
Update documentation
Ensure send is not available on demultiplexed consumer classes
Data binding needs fixing
2017-01-08 18:05:50 -08:00
raphael.boucher
21b08b01b8 Add demultiplexer for class-based consumers (#383)
Avoid coupling between the demultiplexer and consumers.
2017-01-08 18:05:50 -08:00
Simon Willison
de391c8680 Updated copyright to 2017 (#461) 2017-01-05 15:50:54 -08:00
Fabian Schaffert
cc9401f82c WebsocketBinding.group_names() is a classmethod (#460)
Child classes of WebsocketBinding must overwrite it as a classmethod, not as an
instance method.
2017-01-05 13:26:06 -08:00
Eric Holscher
7f38ee42e4 Fix rst syntax (#444) 2016-12-04 18:44:31 -08:00
Eric Holscher
f11071e802 Fix headers in docs (#441)
This fixes the headers so there is a hierarchy on all of them don't show in the TOC at the same level.
2016-12-04 18:43:15 -08:00
Carlton Gibson
dac6e9454d Add missing "do" to Concepts > Next Steps (#440)
One thing channels do not **do**, however, ...
2016-12-01 17:51:08 -08:00
Daniel Musketa
43b23dc295 Fixed minor typos in docs/. (#439)
* Fixed typo in docs/inshort.rst.

* Fixed typo in docs/asgi.rst.
2016-11-29 10:39:01 -08:00
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
Andrew Godwin
2e1cda8aad Clarify "out of the box" 2016-11-17 17:39:01 -08:00
Andrew Godwin
0a4cbb5fcf Slight grammar tweaks 2016-11-06 14:17:03 +00:00
Andrew Godwin
1212fd45f1 Update ASGI spec from receive_many to receive 2016-11-06 14:16:36 +00:00
Fabien Schwob
8682e83fd1 Updating Channels status regarding inclusion into django core (#424)
* Updating Channels status regarding django inclusion

* Removing the page regarding Cross-Compatibility and the references to it.
2016-11-06 15:15:31 +01:00
Iacopo Spalletti
1d93037bb7 Minor typos (#427) 2016-11-05 13:48:14 +01:00
Tobias Kunze
82f7ff21df Add closing response codes (#426)
Added both to spec and implementation. Regards #414.
2016-11-05 13:39:44 +01:00
Krukov D
e24bc17bbf Documentation of Client/HttpClient and data binding unit tests (#417)
* Added as_route documentation

* Added documentation for client

* Improve tests for binding

* Changes for client docs

* Fix docs indentations at client part

* Added missed imports

* Small fixes and refs

* Fix typos

* Fix errors and typos.
2016-10-31 11:42:10 +00:00
Andrew Godwin
c16de0e1e3 Remove last reference to more_body 2016-10-26 09:16:09 -07:00
Maik Hoepfel
b9d2f534c4 Fix formatting for generics docs (#403)
The paragraph was lacking the double colon to treat the http_user example code as a code block.
2016-10-18 10:07:56 -07:00
MartinArroyo
12ca598d6b Adds 'exclude' option to data binding (#400) 2016-10-16 22:58:02 -07:00
Andrew Godwin
09b2a12be1 Change to accept being part of send/close 2016-10-05 15:59:55 -07:00
Andrew Godwin
5d697c9308 Fix release note depth 2016-10-05 15:39:44 -07:00
Andrew Godwin
1cc2a28fcb Fix releases TOC link 2016-10-05 15:38:50 -07:00
Andrew Godwin
0b8b199212 Add release note section 2016-10-05 15:06:41 -07:00
Andrew Godwin
db0d2975a0 Remove middleware approach, change to simpler one 2016-10-05 12:06:34 -07:00
Andrew Godwin
dcfaf4122b Work in progress towards accepting websockets explicitly 2016-10-05 10:45:51 -07:00
Andrew Godwin
1be6dd5b71 Update docs to mention where to run JS console 2016-10-03 16:39:08 -07:00
Andrew Godwin
58cc3c845d Onopen timing fixes in docs 2016-09-15 10:23:59 -07:00
benny daon
8e84c0ce87 reply and response are confusing (#361)
I'm not sure I got it right, but based on the attribute name, `response` belong to the HTTP domain and `reply` to the channel domain.
2016-09-14 05:57:23 +01:00
qwitwa
d1590afdcb Fix typo in code in models section (#319)
Changed channel_session['room'] inside websockets consumer function to message.channel_session['room']
2016-09-12 11:59:46 +01:00
Andrew Godwin
9618440e6d Fix generics docs 2016-09-11 11:00:45 +01:00
Naveen Yadav
5e0add6bbb sessions and users doc updated (#354) 2016-09-11 10:58:06 +01:00
Andrew Godwin
b46c511b13 Clarify where overall tasks live 2016-09-09 14:47:34 +01:00
Andrew Godwin
b27384933f Move ChannelsTasks wiki content into the docs 2016-09-09 14:46:55 +01:00
Andrew Godwin
6a17caad5b I really need to stop indenting unordered lists 2016-09-09 14:22:53 +01:00
Andrew Godwin
971d3fc8d0 Django-ification 2016-09-09 13:29:12 +01:00
Daniel Quinn
a96c6fe9c3 Added a " to close the line (#339)
You may also want to make use of:

```
.. code:: python
```

instead of just `::`.  Sphinx will then do the colour highlighting for you and may have helped catch this.

Ooh, and also, it wasn't immediately obvious to me here that `include` is imported from `from channels.routing`.  You may want to add that to the code sample.
2016-09-07 12:20:58 +01:00
Steven Davidson
a23810e0fa Update ASGI draft spec: http.disconnect gains a path key (#326) 2016-08-30 09:09:04 -07:00
Krukov D
0f579608a3 Added django-channels-panel to the list of projects (#325) 2016-08-29 10:37:19 -07:00
Sam Bolgert
7de6ff17d6 Fixed #251: Add docs for testing Generic Consumers (#323) 2016-08-27 13:08:31 -07:00
Peter Schmidt
860da6e241 Testing Docs: Update import from Channel -> Group (#307) 2016-08-24 14:50:38 -07:00
Andrew Godwin
3e2444b9b9 Clarify tasks better 2016-08-23 20:13:20 -07:00
Andrew Godwin
3cc6f744a6 Add contributing page to docs 2016-08-23 20:06:56 -07:00
Luke Hodkinson
9a7317f583 Add a link to django-cq. (#310)
* Use a mixin for common test-case code. This way we can have both
a regular channels test-case, and a transaction test-case, too.

* Adding a reference to django-cq.
2016-08-23 19:47:29 -07:00
Emett Speer
7d85dec8fa Updates to data binding docs (#283) 2016-08-02 17:33:07 -07:00
Raja Simon
04a1296222 Add beatserver to community projects (#275) 2016-07-28 19:26:47 +01:00
Andrew Godwin
174430c817 fields update for binding 2016-07-22 21:36:41 -04:00
Andrew Godwin
9f6ea22eff Add twisted/asyncio extensions to ASGI 2016-07-22 15:12:16 -04:00