Commit Graph

262 Commits

Author SHA1 Message Date
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
Andrew Godwin
0954829248 A few more docs on polls 2016-07-22 11:14:47 -04:00
Andrew Godwin
91e1daa77c Add code to websocket.disconnect 2016-07-21 11:53:28 -04:00
Tom
adb8685f33 Change content dict in code snippets to correct format 2016-07-20 22:37:02 +01:00
AlexejStukov
c6f104f274 route was missing in import 2016-07-20 18:14:59 +02:00
AlexejStukov
3744bf5e2f Replaced BindingConsumer with Demultiplexer in routing
Seems BindingConsumer was renamed to Demultiplexer but that was forgotten in the routing. Also there was a missing ``/`` in the ``path``
2016-07-20 09:58:54 +02:00
Andrew Godwin
6f7449d8fb More docs updates for multiplexing 2016-07-18 23:34:43 -04:00
Andrew Godwin
4370f043f7 Make group_send/demultiplex encode classmethods 2016-07-18 23:24:28 -04:00
Andrew Godwin
cbe6afff85 Why not rewrite binding into multiplexers on a Monday night? 2016-07-18 23:12:44 -04:00
Andrew Godwin
d9e8fb7032 Docs updates 2016-07-18 22:23:33 -04:00
Andrew Godwin
6fd83f04f8 Add group_channels 2016-07-16 23:04:32 -07:00
Andrew Godwin
af606ff895 Fixed #244: .close() on Websocket generic consumers 2016-07-13 17:19:39 -07:00
Andrew Godwin
2e5826418b Fixed #221: WebSocket class based consumer now has http user support 2016-07-12 14:26:01 -07:00
Andrew Godwin
9cebff05ab Releasing 0.16.0 2016-07-06 12:10:41 -07:00
Andrew Godwin
69168545d4 Update ASGI spec with backpressure instructions 2016-07-06 11:37:10 -07:00
Andrew Godwin
e947e331ce Add groups section of testing doc 2016-07-01 09:39:32 -07:00
Andrew Godwin
5eb3bf848c Provide keyword args as self.kwargs in CBC (ref. #224) 2016-06-27 16:47:36 -07:00
Andrew Godwin
15aa962cd7 Update routing.rst 2016-06-27 10:24:35 -07:00
AlexejStukov
07d1551306 clarified where you can get the keyword arguments (#225)
My initial problem was that i tried to access the keyword arguments in the ctor of the consumer...
2016-06-27 10:24:16 -07:00
Iacopo Spalletti
d3c5cc809a Add django-knocker to community projects (#222) 2016-06-26 09:54:54 -07:00
Andrew Godwin
e890c48f3f Fixed #210: Fix query string to be bytes and not decoded 2016-06-22 09:44:10 -07:00
Andrew Godwin
d8ae2784d8 Note in ASGI about query path 2016-06-21 08:22:57 -07:00
Scott Burns
b481c1b533 Add basic community page (#213) 2016-06-17 16:18:56 +01:00
Andrew Godwin
0fe438a445 Improve decorator support for class based consumers 2016-06-16 11:37:21 +01:00
Tommy Beadle
0fe9d2be2b Avoid NameError in example code. (#208)
'room' is used in the Group initialization but was not defined.
2016-06-14 20:41:03 +01:00
Michael
f8c1a9c688 [docs] Replaced left over CHANNEL_BACKENDS with CHANNEL_LAYERS (#206) 2016-06-13 08:47:39 -07:00
Andrew Godwin
4a42ae9529 ? IS QUESTION MARK 2016-06-09 20:50:33 +00:00
Erick Wilder
c44de7e870 Use current channels version when building the documentation. (#201)
Rationale:
---
It may cause some confusion for the reader of the documentation about
what's the most recent version of the library and if the official documentation
pages are really for the 'latest' version.
2016-06-09 08:42:22 -07:00
Andrew Godwin
08ecffe107 Update ASGI spec with single-reader channel 2016-06-08 23:14:45 +00:00
Andrew Godwin
3c5c09d639 Expand on static file serving doc line. 2016-06-06 05:09:08 +00:00
thewayiam
18d4cc8e6f #196: made worker serve staticfiles if DEBUG=True (#197) 2016-06-05 22:06:37 -07:00
Andrew Godwin
df0ae80bfb Fix send call in concepts doc 2016-05-31 18:34:06 +00:00
Oskar Hahn
e0341e65cd Use window.location.host instead of 127.0.0.1 (#178)
See #176
2016-05-29 17:08:33 -07:00
Thomas Güttler
917ba184bb Typo: "load of" -> "lot of" (#168) 2016-05-25 20:55:13 -07:00
Andrew Godwin
982a47a9df Add generics routing example 2016-05-25 17:56:06 -07:00
Andrew Godwin
49c9b74d6f Docs/flake fixes 2016-05-25 17:52:53 -07:00
Andrew Godwin
bfacee6319 Add class-based consumers 2016-05-25 17:45:56 -07:00
pinguin999
cc9057e90c Split the two files into two code blocks (#167) 2016-05-24 09:19:38 -07:00
pinguin999
c89a6cc9b9 Add pip install comand for asgi_redis (#166) 2016-05-24 09:19:25 -07:00
Andrew Godwin
86a6478193 Add FAQ about sending messages from outside 2016-05-19 00:10:41 -07:00
Andrew Godwin
d1141e47aa Move email and UDP into their own spec docs 2016-05-18 11:34:48 -07:00
Andrew Godwin
3fe99f061c Update spec a bit more 2016-05-18 09:58:26 -07:00
conor
c9497e74dd Remove unused 'Group' import (#149)
Was this supposed to be here? It isn't used until the next section.
2016-05-10 09:07:39 -07:00
Andrew Godwin
619aed9be2 Elaborate a bit more on deployment on PaaSs 2016-05-08 11:09:36 -07:00
Andrew Godwin
175d13c28b Fix up doc links to removed document 2016-05-07 10:53:05 -07:00
Andrew Godwin
dcbab8b2b4 Remove DatabaseLayer and improve deployment docs mentioning it 2016-05-07 10:35:12 -07:00
Andrew Godwin
f346585f7c Change from waffle to 1MB message limit. 2016-05-06 18:41:51 -07:00
Andrew Godwin
feea84f323 Introduce backpressure with ChannelFull 2016-05-05 22:48:12 -07:00
Andrew Godwin
1eb6a530d3 WSGI-ASGI deploy notes 2016-05-04 09:27:01 -07:00
Andrew Godwin
2219546a5d Noun docs changes 2016-05-04 09:20:36 -07:00
Andrew Godwin
ea66b6560b Doc spelling corrections 2016-05-03 18:43:15 -07:00
Andrew Godwin
073cbca16d Fixed #116: Allow configuration of worker listening 2016-04-30 19:11:08 -07:00
Benjamin Bach
c579f27f6d Update to clarify Python Compatibility (#140)
Does this make sense? A fellow team member didn't believe that Channels were Python 3 ready after looking at the docs, so I though it's best to clarify it once and for all, for instance in the FAQ?
2016-04-28 17:13:12 +01:00
Andrew Godwin
6b0845ef22 Update WSGI URL path to match HTTP 2016-04-27 16:27:33 +01:00
Andrew Godwin
7945859bb2 Update ASGI HTTP spec to make all path parts unicode 2016-04-26 13:09:50 +01:00
Andrew Godwin
f974f13a37 Rearrange docs, add cross-compat doc 2016-04-06 22:05:28 -07:00
Andrew Godwin
8fdf268574 Add testing documentation 2016-04-06 11:15:18 -07:00
Andrew Godwin
609adfca8d Fix example with custom channel 2016-04-06 11:15:18 -07:00
Gregor Müllegger
c171cb4346 Fix auth example imports in Gettings Started guide
Removed unused `transfer_user` import and added missing `channel_session_user_from_http` as import.
2016-04-06 08:10:11 -07:00
Gregor Müllegger
e88e0feae9 Fix typo in path to DatabaseChannelLayer
Removed `g` from `datagbase_layer`.
2016-04-06 08:10:01 -07:00
Andrew Godwin
cf52c922e0 Update getting started to not pass messages back directly 2016-04-05 08:17:30 -07:00
Andrew Godwin
e18bfed8f3 Clarify timeout behaviour of block() in asgi 2016-04-04 03:34:05 +02:00
Andrew Godwin
0071ca31c8 More patchinator tweaks. Will do more after 1.0. 2016-04-04 03:34:05 +02:00
Andrew Godwin
bd796cb7e6 More patchinator stuff, but unsure if this is the right approach 2016-04-04 03:34:05 +02:00
Andrew Godwin
5a22412c16 Considerably improve routing code simplicity and shortcircuiting 2016-04-04 03:34:05 +02:00
Arnaud Limbourg
3576267be2 Add paragraph on updating routing.py at that point 2016-04-03 18:32:13 -07:00
Haiko Schol
dfef0c551e Fix typo in paragraph about channel types 2016-04-02 12:14:43 +02:00
Andrew Godwin
6fa258f386 Merge pull request #103 from tclancy/patch-1
Add missing work to concepts.rst
2016-03-29 10:50:07 +01:00
Tom Clancy
1368e865d2 Add missing work to concepts.rst 2016-03-28 14:12:22 -04:00
Andrew Godwin
bee81ee620 Update ASGI spec to add enforced long connection timeouts. 2016-03-28 11:44:40 +01:00
Charlie Hornsby
aad3575749 Remove references to Django project name
Update import paths to match standard Django package structure
2016-03-25 16:42:57 +02:00
Andrew Godwin
acd31a663d Add closed message to request bodies to allow fast failure 2016-03-22 10:15:30 -07:00
Andrew Godwin
8522eb40ca Update single-reader channel names to split on !, not start. 2016-03-21 16:38:23 -07:00
Andrew Godwin
c36a33ab96 Improve wording about regex appending in routing docs 2016-03-20 13:56:42 -03:00
Andrew Godwin
d3da7054b4 Doc typo 2016-03-20 13:55:22 -03:00
Andrew Godwin
841e19da79 Change to a full pattern-based routing system. 2016-03-20 13:48:34 -03:00
Andrew Godwin
a914cfdcb6 Update ASGI spec to make websocket.receive/disconnect include path
This enables much easier routing for applications, and is not a lot
more overhead, all things considered.
2016-03-20 13:48:34 -03:00
David Muller
5671f919df fix typo -- remove extraneous 'and' 2016-03-17 11:31:50 -07:00
Andrew Godwin
5bf19f52f6 Remove status_text from the HTTP response spec. 2016-03-11 10:30:40 -08:00
Andrew Godwin
820e955515 Change ASGI spec regarding headers. 2016-03-11 10:20:17 -08:00
Andrew Godwin
b4c73ae6a5 Merge pull request #82 from Lukasa/guaranteed-ordering
Be a bit clearer about guaranteed ordering.
2016-03-10 11:51:51 -08:00