David Sanders
4450e0607d
HTTP/2 support is currently available in Daphne ( #663 )
2017-06-08 07:56:06 +08:00
ElRoberto538
4e8b02955c
Added new argument to runserver to set autobahn handshake timeout ( #652 )
...
Allows setting the new option introduced in Daphne.
2017-06-05 10:17:27 -07:00
Andrew Godwin
cd34f650a5
Fix WWW header paragraph in spec
2017-05-31 10:00:08 -07:00
Andrew Godwin
b6a115e431
Sort imports in message.py
2017-05-30 10:10:06 -07:00
Andrew Godwin
93d75f242c
Remove unused imports
2017-05-30 00:18:27 -07:00
Andrew Godwin
16612ec126
Remove JS tests from CI for now
2017-05-30 00:11:34 -07:00
Andrew Godwin
e5c91a1299
Remove worker group tests for now as they do not account for threading
2017-05-30 00:07:05 -07:00
Andrew Godwin
601056f712
Fix sigterm handler test
2017-05-29 11:39:15 -07:00
Andrew Godwin
34a047a6ff
Fixed #643 : Add retry and limit to PendingMessageStore.
...
This won't fix all backlog issues, but will be sufficient to smooth
over bumps.
2017-05-29 11:07:49 -07:00
AlexejStukov
f2b39c33e6
fixed WorkerGroup's sigterm_handler ( #649 )
2017-05-29 10:42:51 -07:00
Andrew Godwin
7cd4fb2b42
Clarify receive blocking behaviour
2017-05-26 17:11:15 -07:00
Stephen McDonald
863e298923
Fixed typo ( #641 )
2017-05-25 00:40:18 -07:00
Steindór
4c2b8da463
Javascript syntax highlighting for documentation ( #636 )
2017-05-19 14:49:14 -07:00
Maik Hoepfel
50f0b98d43
Two minor spec changes ( #625 )
...
* Remove mention of fixed reply channel name
Per the recent changes, the reply channel name is now at the discretion
of the server.
* Clarification on bytes/text values being empty
This commit clarifies that the bytes/text values need to be non-empty
(so not None/'') for them to be treated as present.
* HTTP Response headers are optional
During discussion with Andrew, we noted that they are optional, and that
that makes good sense. So this commit updates the spec to reflect
reality.
2017-04-28 14:44:05 -07:00
Thomas Steen Rasmussen
004b34c67d
Decode utf-8 QUERY_STRING when relevant ( #623 )
...
Fixes #622 .
2017-04-27 17:36:16 -07:00
Andrew Godwin
364d1e45b4
Remove last websocket.send enforcing references
2017-04-25 13:43:34 -07:00
Krukov D
fa413af053
Improvements for test client ( #613 )
...
* Tests for httpclient sending content
* Testing ordered consumers
* Added docs
* Added testing for ordering
* Added GET params at HttpClient
* Remove blank line
* Fix py3 bites
* Test Client now support ChannelSocketException
* Fix flake and isort
* Conflict resolution
2017-04-18 20:18:28 -07:00
Krukov D
b7ea0b9287
Rename HTTPClient to WSClient ( #609 )
...
This is what it was actually intended as. HTTP testing methods may follow later.
2017-04-17 09:21:10 -07:00
Krukov D
a0cbccfebc
Remove encode/decode overhead at binding ( #611 )
2017-04-16 09:45:29 -07:00
Krukov D
585c093352
Remove unnecessary line ( #610 )
2017-04-16 09:27:56 -07:00
Artem Malyshev
5e96e3c176
Mention RabbitMQ layer in the docs. ( #608 )
2017-04-14 17:42:19 -07:00
Artem Malyshev
5445d317fd
Provide TEST_CONFIG alias. ( #604 )
...
Allows (well, forces) a different channel layer configuration in testing.
2017-04-12 14:51:41 -07:00
Artem Malyshev
5648da5d34
Provide a way to disable static files serving in the live server test case. ( #603 )
...
This allows it to be turned off (it's on by default)
2017-04-12 14:01:25 -07:00
Sachin Rekhi
31cd68c89b
Delay server will now requeue messages for later when gets ChannelFull exception ( #600 )
...
It re-delays them for one second each time rather than dropping them.
2017-04-11 10:25:56 +01:00
Artem Malyshev
db1b3ba951
Add ChannelLiveServerTestCase ( #497 )
...
Adds a new test case base class that fires up a live Daphne server and workers for the test case to use, like Django's LiveServerTestCase.
2017-04-11 10:17:47 +01:00
Daniel Hepper
7383280776
Added a decorator that checks origin headers ( #593 )
...
Adds a new allowed_hosts_only decorator and extensible base class to allow for checking the incoming Origin header on WebSocket requests, using the Django `ALLOWED_HOSTS` setting by default.
2017-04-07 15:05:34 +02:00
Asif Saifuddin Auvi
4063ac03ed
Added 1.11 to tox ( #596 )
2017-04-07 12:06:34 +02:00
Asif Saifuddin Auvi
9266521f94
Added django 1.11 to travis matrix ( #597 )
2017-04-07 12:06:26 +02:00
Andrew Godwin
5f7e76141c
Actually releasing 1.1.3
2017-04-07 04:35:37 +01:00
Andrew Godwin
64e0470b76
Releasing 1.1.3
2017-04-05 15:00:07 +02:00
Andrew Godwin
0e637e09a4
Add start of IRC client spec draft
2017-04-05 14:59:40 +02:00
Andrew Godwin
fe18d43064
Remove unused import
2017-04-05 13:07:32 +02:00
Andrew Godwin
ceeacdbfc3
Add explicit checks for asgi library versions
...
Refs daphne/#105
2017-04-05 12:56:43 +02:00
Artem Malyshev
c1f801a20e
Improve docs. ( #589 )
2017-04-05 12:41:30 +02:00
Andrew Godwin
627b97c317
Fixed #588 : enforce_ordering failed to wait on process-specific chans
2017-04-03 13:01:20 +02:00
Andrew Godwin
ba54268c19
Releasing 1.1.2
2017-04-01 15:38:38 +01:00
Mike Barkas
de65a41b54
Issue-579: Fix sentence grammar in documentation. ( #580 )
2017-03-28 14:00:53 -07:00
Mike Barkas
38bc238788
Issue-443: Adding session decorators to reference documentation. ( #578 )
2017-03-28 14:00:26 -07:00
Andrew Godwin
28ace41edf
Fixed #577 : Use scheme key from ASGI request message
2017-03-28 13:37:33 -07:00
Andrew Godwin
476d1500c6
Switch from MD5 to SHA-1 to work under FIPS-140-2
2017-03-28 11:38:05 -07:00
Andrew Godwin
294e60504e
Add capacity note about process-local channels.
2017-03-28 10:08:23 -07:00
Andrew Godwin
bbff928152
Update ASGI spec with new process-local channels definition
2017-03-27 19:05:16 -07:00
Matt Magin
df22aa792c
Fixed missing keyword argument in testing documentation ( #574 )
2017-03-27 11:43:14 -07:00
Andrew Godwin
1c5074d128
Specs should be very precise.
2017-03-27 10:06:38 -07:00
Andrew Godwin
a9062e5d28
Further clarify accept flow
2017-03-27 09:59:42 -07:00
Andrew Godwin
cf788a3d7d
Allow accept to be False
2017-03-27 09:54:30 -07:00
Flavio Curella
0f0c74daaa
Expose WebSocketBridge.socket
( #572 )
...
* made `WebSocketBridge._socket` public
We can provide a convenient way to hook custom behavior (such as debugging) by making the underlying `ReconnectingWebSocket` instance publicly available.
Also removed the undocumented `onopen` constructor option.
* recompile js
2017-03-24 15:33:55 -07:00
Erwin Junge
613153cbc6
Allow runworker to be used without staticfiles ( #569 )
...
* Allow runworker to be used without staticfiles
* Split too long line
* Reset binding_classes at start of runworker tests
2017-03-23 16:32:51 -07:00
Flavio Curella
10398780a3
Allow relative url in WebsocketBridge.connect()
( #567 )
...
* Add support for relative urls in javascript wrapper
* recompile static file
* add js smoke test for relative urls
* update docs to show relative urls
2017-03-23 16:30:28 -07:00
Erwin Junge
4323a64e33
Add python 3.6 checks ( #571 )
...
* Add python 3.6 checking to tox
* Add python 3.6 checking to travis
2017-03-23 14:14:15 -07:00