Commit Graph

252 Commits

Author SHA1 Message Date
Lars Kreisz
1542343392 Fix typo (#500) 2017-01-23 12:00:05 -08:00
Andrew Godwin
891eaf0051 Talk about URL routing/views in getting started (refs #92) 2017-01-23 10:13:36 -08:00
Gary Reynolds
f4d38ef778 Remove unnecessary profane word in the documentation (#499) 2017-01-22 23:32:04 -08:00
Leon Koole
044c422cdd Remove unnecessary http_session_user import (#493) 2017-01-20 17:23:21 -08:00
Andrew Godwin
c9e6472ca7 Update changelogs for 1.0.2 and web in general 2017-01-12 10:09:36 -08:00
Bartek Ogryczak
ee4aa9b292 more consistent metrics (#473)
* more consistent metrics

More consistent metrics, in particular for consumers such as Graphite, CloudWatch etc. you don't want aggregated numbers per second, you want number since previous call. Since we don't want to track all the clients, total since start is the next best thing, because it can be easily calculated by the metrics consumer `count_since_last = pervious_count - current_count`

* changing 'queue_depth' to 'messages_pending', also making 'messages' plurar for 'max_age' to keep it consitent
2017-01-11 11:49:59 -08:00
Andrew Godwin
6bfaaf23d1 Add connect-accept into Websocket CBC example (#479) 2017-01-11 11:38:21 -08:00
Andrew Godwin
827fcd25b1 Releasing 1.0.0 2017-01-08 18:37:03 -08:00
Andrew Godwin
a781834779 Remove release notes TOC 2017-01-08 18:33:21 -08:00
Andrew Godwin
ec0b124c6e Flesh out release notes 2017-01-08 18:29:58 -08:00
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