Commit Graph

262 Commits

Author SHA1 Message Date
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
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
Faris Chebib
ff9cdb7113 updated example and made decorators py3-ready 2015-09-10 16:57:57 -06:00
Faris Chebib
f4cb5864e1 Merge branch 'master' of github.com:andrewgodwin/channels into doc-update 2015-09-10 15:35:48 -06:00
Andrew Godwin
4a8bae272b Update docs to recommend doing routing not in settings 2015-09-10 16:34:28 -05:00
Andrew Godwin
655213eff9 0.8 2015-09-10 16:01:18 -05:00
Faris Chebib
73d50a4695 updated typo in docs example 2015-09-10 14:46:24 -06:00
Faris Chebib
0e456b3125 Merge branch 'master' of github.com:andrewgodwin/channels into doc-update 2015-09-10 12:21:46 -06:00
Andrew Godwin
d563f7748c Linearize docs 2015-09-10 13:20:58 -05:00
Andrew Godwin
27f54ad23b Rework getting started 2015-09-10 13:08:09 -05:00
Faris Chebib
d4de42d3b2 Group ref on keepalive 2015-09-10 12:04:52 -06:00
Faris Chebib
275bfdf1e5 Group ref on keepalive 2015-09-10 12:04:01 -06:00
Faris Chebib
bd6f61de98 updated getting started to include Group ref 2015-09-10 12:00:47 -06:00
Faris Chebib
19130ebb05 updated concepts and added six to reqs 2015-09-10 11:54:51 -06:00
Faris Chebib
15d29a0230 added external link to golang example 2015-09-10 11:30:35 -06:00
Faris Chebib
814aa64e77 updated docs, updated gitignore 2015-09-10 11:04:16 -06:00
Andrew Godwin
eed6e5e607 Don't waffle about ordering guarantees 2015-09-09 22:07:52 -05:00
Andrew Godwin
e042da5bc1 Add a bit of in-memory docs 2015-09-09 22:07:30 -05:00
Andrew Godwin
2dd7f589eb Lowercase request GET/POST etc. 2015-09-09 21:25:36 -05:00
Andrew Godwin
70caf7d171 Rename channels and change message format docs 2015-09-09 21:21:43 -05:00
Andrew Godwin
041ea3fa5c Added some FAQs 2015-09-09 13:57:52 -05:00
Andrew Godwin
39bead9de9 Remove useless import from doc example 2015-09-08 18:45:59 -05:00
Andrew Godwin
bbe0d14fc4 Remove more old @consumer decoators from docs 2015-09-08 18:32:25 -05:00
Andrew Godwin
056082325f Improve doc linking a little. 2015-09-08 18:20:18 -05:00
Andrew Godwin
d4c7f2db20 Update concepts doc to not use decorators 2015-09-08 16:03:33 -05:00
Andrew Godwin
48d6f63fb2 Change to consumers taking a single "message" argument 2015-09-08 01:04:36 -05:00
Andrew Godwin
832809ca25 Stop using @consumer, move to explicit routing 2015-09-03 00:07:30 -07:00
Andrew Godwin
15b54b4887 Update bad example code 2015-09-02 00:09:01 -07:00