Commit Graph

576 Commits

Author SHA1 Message Date
Andrew Godwin
62d4782dbd First version of binding code 2016-07-14 23:15:57 -07:00
Andrew Godwin
af606ff895 Fixed #244: .close() on Websocket generic consumers 2016-07-13 17:19:39 -07:00
Andrew Godwin
27d064328a Releasing 0.16.1 2016-07-12 15:13:05 -07:00
Andrew Godwin
e7a354e03c Fixed #148: Close database connections when consumers finish. 2016-07-12 15:01:19 -07:00
Andrew Godwin
a05f7d5a96 Fixed #160: _read_started set to False on request
This allows read_post_and_files to work.
2016-07-12 14:40:19 -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
d37f9d1ab3 Add null consumer for websocket.receive too. 2016-07-06 12:10:17 -07:00
Andrew Godwin
be127611e5 Implement default websocket.connect consumer. 2016-07-06 11:55:45 -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
Vikalp Jain
b9519d112d Fix issue with calling super setUp while test cases (#231) 2016-07-01 09:06:56 -07:00
Andrew Godwin
efcf08d768 Releasing 0.15.1 2016-06-29 14:54:01 -07:00
Andrew Godwin
92012fbc27 Fixed #87: Don't drop headers and status on empty streaming responses 2016-06-29 12:20:47 -07:00
Tim Watts
4a09cec2d4 Test runserver (#214)
* Add tests for runserver and runworker management commands

* Fix flake8 and isort errors

* Refactor mocking, add comments to tests

* rm unneeded vargs
2016-06-29 11:26:21 -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
Vikalp Jain
98c9db3ba5 Update setup.py (#218)
Update daphne version in setup.py
2016-06-22 13:37:32 -07:00
Vikalp Jain
2e3e39cd6c Update handler.py (#217)
Remove unnecessary comment
2016-06-22 13:01:39 -07:00
Andrew Godwin
ade39b218c Add release makefile 2016-06-22 10:05:57 -07:00
Andrew Godwin
a9daf0dfbb Releasing 0.15.0 2016-06-22 09:48:03 -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
274feeb42f Releasing 0.14.3 2016-06-21 08:26:56 -07:00
Andrew Godwin
d8ae2784d8 Note in ASGI about query path 2016-06-21 08:22:57 -07:00
Andrew Godwin
69f6791a15 Fix test to match new spec. 2016-06-21 08:22:14 -07:00
Andrew Godwin
6ea6dc6576 Fixed #210: Plus double-decoded for query string 2016-06-21 08:04:16 -07:00
Steve Steiner
405e5b3b26 Update channels test readme (#212)
* Add documentation on how to build and run benchmark.

* Update README.rst with instructions for running against local server

* Add requirements.txt referenced in new instructions

* Updated port to 80 for Docker test as daphne serves on that port
2016-06-17 17:18:09 +01:00
Scott Burns
b481c1b533 Add basic community page (#213) 2016-06-17 16:18:56 +01:00
Andrew Godwin
94d4c00807 Add some more dict methods to Message 2016-06-17 12:50:25 +01:00
Andrew Godwin
66c4b0cb67 Releasing 0.14.2 2016-06-16 11:46:50 +01:00
Andrew Godwin
6fe841337d Fix missing import 2016-06-16 11:45:08 +01:00
Andrew Godwin
773f1332ee Fix import earliness for auth model 2016-06-16 11:42:08 +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
68ce1964c8 Releasing 0.14.1 2016-06-10 05:42:29 +00:00
Andrew Godwin
4a42ae9529 ? IS QUESTION MARK 2016-06-09 20:50:33 +00:00
Krukov D
e31e326f10 Added unicode_literals from future at tests/base (#203) 2016-06-09 12:41:25 -07: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
thewayiam
6eaee8f522 #188: add/discard message.reply_channel on generic group_send (#189) 2016-06-02 16:52:35 -07:00
Krukov D
f8debafbd3 Added path parameter to the HttpClient.send method (#193) 2016-06-02 16:25:55 -07:00
Krukov D
c4f016b9c2 Fix for apply_routes: wrap routes in list, if it is not so (#192) 2016-06-02 16:25:39 -07:00
Krukov D
2874a0972c Using logger.error instead of logger.exception (#191) 2016-06-02 16:25:26 -07:00
Tim Watts
56104e7fc6 Tests for file and streaming response handling inside Django (#185)
* add first streaming and file response tests

* iterate over response and not streaming content directly

* add coverage for FileResponse and StreamingHttpResponse

* added tests for headers, json responses, and redirect responses

* rm print statement

* skip failing stringio test
2016-06-01 09:47:50 -07:00
Andrew Godwin
38641d8522 Fixed #182: Close response once we're done with it 2016-05-31 19:04:12 +00:00