Commit Graph

242 Commits

Author SHA1 Message Date
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
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