Commit Graph

188 Commits

Author SHA1 Message Date
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
Andrew Godwin
ecd9357611 Merge pull request #81 from Lukasa/normative
MUST is preferable to SHOULD
2016-03-10 11:51:08 -08:00
Andrew Godwin
d80444a329 Merge pull request #83 from Lukasa/typo-fix
Stylistic changes.
2016-03-10 11:50:38 -08:00
Andrew Godwin
1bf8532175 Merge pull request #84 from Lukasa/valid-extensions
Clearly you're allowing more extensions.
2016-03-10 11:33:00 -08:00
Cory Benfield
b296fee4c7 Be a bit clearer about guaranteed ordering. 2016-03-10 09:57:33 +00:00
Cory Benfield
e65230b677 Down with RFC 2616 2016-03-10 09:44:48 +00:00
Cory Benfield
c4b1798020 The HTTP specs are quite clear. 2016-03-10 09:43:05 +00:00
Cory Benfield
ce0433f438 MUST is preferable to SHOULD 2016-03-10 09:35:17 +00:00
Cory Benfield
1bb48108fd Stylistic changes 2016-03-10 09:34:29 +00:00
Cory Benfield
69d60a60c5 Clearly you're allowing more extensions. 2016-03-10 09:25:02 +00:00
Andrew Godwin
930d71039e Update docs version 2016-03-06 13:34:58 -08:00
Andrew Godwin
d26e04a56b Fix note formatting 2016-03-06 13:34:23 -08:00
Andrew Godwin
8e978459a9 Add reference 2016-03-06 12:20:11 -08:00
Andrew Godwin
a0dff726b2 Rework getting started section to do groups after basic sending. 2016-03-06 11:28:52 -08:00
Andrew Godwin
44568dab5b Oops on package name. 2016-03-02 17:12:18 -08:00
Andrew Godwin
05e0f739d5 Deployment docs tweak 2016-03-02 17:11:24 -08:00
Andrew Godwin
54dc80e9a5 Typo fix in ordering page. 2016-02-28 22:13:44 -08:00
Andrew Godwin
d0a9279939 Bit more inshort tweaking 2016-02-28 22:11:41 -08:00
Andrew Godwin
00dd9615ff Update inshort a little. 2016-02-28 22:10:02 -08:00
Andrew Godwin
cdde27b55a Releasing 0.9.3 2016-02-28 22:06:25 -08:00
Andrew Godwin
b18975e607 Really lay into DatabaseChannelLayer in an impolite way. 2016-02-28 21:46:45 -08:00
Andrew Godwin
500f0fdeb7 Couple of bits more ordering docs 2016-02-23 19:36:34 -08:00
Andrew Godwin
69186ef7b7 Replace linearize with the more useful enforce_ordering. 2016-02-24 00:40:38 +00:00
Andrew Godwin
2a1c15d3c2 Couple of errors in the In Short doc. 2016-02-22 14:13:00 +00:00
Andrew Godwin
2b486b0ef0 Fix broken bits in docs. 2016-02-22 14:10:24 +00:00
Andrew Godwin
f04dcee7f7 "In short" and "WSGI to ASGI" doc sections 2016-02-22 14:07:48 +00:00
Andrew Godwin
3b8feb5b96 Update deployment docs 2016-02-21 13:06:33 +00:00
Andrew Godwin
be1498768f HTTP Long Poll finishing off 2016-02-14 19:22:46 +00:00
Andrew Godwin
899e180c21 Start updating docs to reflect new interaction pattern 2016-02-10 18:39:34 +00:00
George Brocklehurst
85bb8c98d2
Docs: Update encode/decode methods in example.
`encode` is now `channel_encode`, and `decode` is now `channel_decode`.
2016-02-07 10:19:21 -05:00
George Brocklehurst
88d3379e31
Docs: reply_channel is a property of message
Update an example where `reply_channel` was a global, and contained the
channel name rather than a channel objects.
2016-02-07 10:12:45 -05:00
Andrew Godwin
5cd2cbdfee Add test suite for ASGI handlers 2016-02-05 15:53:01 -08:00
Andrew Godwin
17e9824f71 Update database channel backend to pass conformance 2016-02-05 14:16:20 -08:00
Andrew Godwin
5df99c9cfd Fix some incorrect backend layer references 2016-01-17 14:31:04 -08:00
Andrew Godwin
717eb0a100 Added the "flush" extension to ASGI, and clarified group expiry 2016-01-17 14:21:45 -08:00
Philippe Ombredanne
8f9d40b659 Fixed minor doc typo. 2016-01-10 13:03:19 +01:00
Andrew Godwin
355bf87782 Merge pull request #61 from Lukasa/asgi-push
Draft proposal for Server Push messages
2016-01-05 09:56:13 -08:00
Cory Benfield
894041a3c0 New approach to server push. 2016-01-05 11:41:57 +00:00
Andrew Godwin
a8d09c2644 Embarassingly managed to remove the only name expansion. 2016-01-04 18:24:24 -08:00
Cory Benfield
4ea7b26c65 Draft proposal for Server Push messages 2016-01-03 09:48:08 +00:00
Andrew Godwin
93b2229b2b HTTP body spec fixes 2016-01-02 22:59:09 -08:00
Andrew Godwin
7f5c3d25b6 Remove redundant msgpack question (redis backend now uses it) 2016-01-02 22:43:41 -08:00
Andrew Godwin
46ea90e095 Spec tweaks 2016-01-02 22:42:40 -08:00
Andrew Godwin
4ed1d73789 Remove redundant sentence 2016-01-02 18:50:59 -08:00
Andrew Godwin
3dec8e09b3 Update backends docs, remove old message standards 2016-01-02 18:30:52 -08:00
Andrew Godwin
3d5c399a41 Update header spec to exclude underscores. 2016-01-02 18:10:08 -08:00
Andrew Godwin
836f6be43a Make runserver work using daphne 2016-01-02 17:53:53 -08:00
Andrew Godwin
b9464ca149 Start making channels work to ASGI spec. 2016-01-02 10:17:45 -08:00
Andrew Godwin
e78f75288d Stats extension, application abstraction notes for ASGI 2015-12-24 22:58:13 +00:00
Andrew Godwin
6a5907ff59 ASGI spec updates 2015-12-23 18:04:18 +00:00
Andrew Godwin
3cf5e6149e ASGI draft todo tweak 2015-12-23 15:45:08 +00:00
Andrew Godwin
daa8d1aca1 More work on the ASGI spec; pruning out some things. 2015-12-23 15:32:16 +00:00
Andrew Godwin
31ee80757e Big ASGI disclaimer. 2015-12-22 16:59:19 +00:00
Andrew Godwin
3bcfea0421 Start on some kind of general spec. 2015-12-22 16:57:37 +00:00
NiiEquity
44b10836e0 Update concepts.rst
Correct the repetition of "channels"
2015-12-21 15:03:55 +00:00
Andrew Godwin
03c9c90f4c Clarify WSGI in integration plan 2015-12-18 22:44:33 +00:00
Andrew Godwin
ecb2e4c22b Remove old note 2015-12-18 21:34:47 +00:00
Andrew Godwin
76ca034e63 Update message standards doc 2015-12-18 21:23:09 +00:00
Arne Schauf
84e78ea503 fix 2 typos in integration plan docs 2015-12-17 14:42:31 +01:00
Andrew Godwin
5461c2db03 Add first draft of integration plan 2015-12-17 00:40:29 +00:00
Andrew Godwin
a6073157f4 Fixed #47: Wrong import path for redis backend in docs 2015-12-15 19:56:49 +00:00
Andrew Godwin
dfcbf7bd24 Merge pull request #41 from paurullan/master
add question about messagepack in faq from request #37
2015-12-14 09:27:27 -08:00
Reinout van Rees
ff45689c46 Changed three "these/those" into explicit names
The original version was unclear to me. It sounded like Go channels were the ones that are network-transparent even though we mean to say that Django's are.

So I simply removed these/those and used "Go channels" and "Django channels" explicitly. (But *do* check whether I got it right! :-) )
2015-12-14 14:26:37 +01:00
Pau Ruŀlan
ccad3d8e2f add question about messagepack in faq from request #37 2015-12-14 10:29:10 +01:00
Martin Pajuste
eafb3c728d Fix some typos 2015-12-12 00:18:57 +02:00
Yehonatan Daniv
0cf2a13234 Fixed typo 2015-12-06 17:47:23 +02:00
Andrew Godwin
b6f38910de Working mixed-mode HTTP/WebSocket server! 2015-12-02 12:54:52 -08:00
Andrew Godwin
bf9a423211 Twisted HTTP interface now serves basic requests 2015-12-02 12:38:02 -08:00
Andrew Godwin
17e42a85fb Merge pull request #26 from maikhoepfel/patch-1
Wording changes to docs
2015-11-20 13:07:18 -08:00
Maik Hoepfel
2ff6388ef2 Changes after PR review 2015-11-19 14:50:23 +01:00
Andrew Godwin
9222676bf7 Change status_code to status in http.response 2015-11-07 05:32:11 -08:00
Maik Hoepfel
50cb6d13d8 Wording changes to docs
I eagerly read through the (excellent, thanks!) documentation for channels, and had to re-read one or two sentences. So being a good citizen, I'm suggesting a few fixes here and there.
2015-11-07 12:46:28 +01:00
Andrew Godwin
a41516fa6b Make Redis backend shardable 2015-11-06 08:00:15 -08:00
Andrew Godwin
5106c7822c Remove path_info from request message format 2015-11-06 13:39:48 +01:00
Arne Schauf
7cd5a02ee9 update some doc about the redis backend 2015-09-17 18:07:15 +02:00