Commit Graph

604 Commits

Author SHA1 Message Date
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
Andrew Godwin
df0ae80bfb Fix send call in concepts doc 2016-05-31 18:34:06 +00:00
Andrew Godwin
80a9019cb2 Fix echo endpoint in testproject 2016-05-30 00:18:45 +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
Krukov D
2f3114b21e In-between method for adding decorators in right way + a few tests for generic consumer (#171)
* Corrected doc string for BaseConsumer

* Added get_handler method for Class-base consumers for wrapping by decorators in right way

* Added a few tests for generic consumers
2016-05-29 09:36:29 -07:00
Krukov D
1a09540ca8 Added fail_on_none parameter for Client.consume function (#172) 2016-05-28 18:31:15 -07:00
Thomas Güttler
917ba184bb Typo: "load of" -> "lot of" (#168) 2016-05-25 20:55:13 -07:00
Andrew Godwin
1168ca670e Releasing 0.14.0 2016-05-25 18:00:31 -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
Krukov D
8827063bf2 Remove inherited methods and relative imports (#163)
* Remove inherited methods from HttpClient

* Using relative import in base of tests
2016-05-19 12:19:39 -07:00
Krukov D
05c41e9ad6 More tests utils for happy users (#162)
* Added Client abstraction

* Added apply_routes decorator/contextmanager

* Fix apply routes as decorator

* Separated Http specific client and 'Simple' client

* Remove Clients from ChannelTestCase

* Added cookies and headers management

* Fix wrong reverting

* Fixs for code style

* Added space before inline comment
2016-05-19 11:45: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
Andrew Godwin
32320ec094 Releasing 0.13.1 2016-05-13 10:27:12 -07:00
Sachin Rekhi
363b5a09e9 improve @enforce_ordering to leverage a wait channel to avoid spinlocks (#144)
* improved @enforce_ordering to leverage a wait channel to avoid spinlocks

* addressed pyflake issues

* renamed wait channel to __wait__.<reply channel>

* handled potential ChannelFull exception

* updated sessions unit tests

* updated enforce_ordering tests to reflect new approach of leveraging wait channels

* addressed pyflake issues

* more pyflake fixes

* removed close_on_error handling on enforce_ordering since only worked on websockets
2016-05-12 10:38:06 -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
Anatol Ulrich
2874350a6a pass arguments to get_consumer (#147) 2016-05-09 09:51:51 -07:00
Krukov D
9505906b42 Fix re-inserting, with tests (#146)
* Stopping re-inserting at first success

* Added a few tests for worker running

* Coping routes in channels layers at the ChannelTestCase

* Remake worker test with less mocking
2016-05-08 12:21:58 -07:00