Commit Graph

790 Commits

Author SHA1 Message Date
Leon Koole
f342265086 Channels is comprised of six packages 2017-07-19 10:48:37 +02:00
Artem Malyshev
8b873e2bd6 Use correct environment markers syntax in the extras_require section.
See https://github.com/pypa/setuptools/issues/1087
2017-07-18 08:23:34 -04:00
Artem Malyshev
26b1c4bfd8 Merge pull request #703 from cropse/cropse-patch-1
Add simple example at faqs.rst
2017-07-18 07:58:04 -04:00
Cropse
ff2f09c3a1 Update faqs.rst 2017-07-17 11:27:45 +08:00
Cropse
60700da0df Update faqs.rst
Add the example of non-Django application.
2017-07-17 11:25:01 +08:00
Artem Malyshev
7aa8e05987 Make maintainer email public. 2017-07-10 21:24:17 +03:00
Andrew Godwin
405007f83e Add Artem to maintenance team 2017-07-09 12:10:53 +01:00
Andrew Godwin
acb3988999 Add json import (fixes #700) 2017-07-05 07:31:30 -07:00
Andrew Godwin
b81bbc662c Update getting started example one more time. 2017-07-04 10:28:53 -07:00
Flavio Curella
a699eec7ee Upgrade package.json to NPM v5 (#688) 2017-07-03 12:11:40 -07:00
Andrew Godwin
a3f4e002ee Fixed #696: Runserver broke with Django 1.10 and below 2017-07-02 17:04:51 -07:00
Andrew Godwin
8cc2842492 Fixed #694: Invalid code example in getting-started 2017-07-02 10:18:50 -07:00
Artem Malyshev
300999770f Avoid parent process connection cleanup in the test suite. (#695)
Fix #614.
2017-07-01 15:59:45 -07:00
Matthew
6990368d6c Add note about Live Server Test Case and SQLite (#692)
By default Django will use SQLite as an in memory database when running tests. This will not work with the Live Server Test Case. Added some notes on how to configure the database so that it is not run in memory.
2017-06-29 10:15:39 -07:00
Andrew Godwin
8e186c1246 Releasing 1.1.6 2017-06-28 00:22:10 -07:00
Luke Murphy
93f2bf1585 Add note about conflicting runserver commands. (#685) 2017-06-27 10:36:46 -07:00
Sergio
26916cccc7 Improve "Persisting Data" example code (#683)
* Improve "Persisting Data" example code

Relates to issue #662.
Please review this commit too. I believe I covered everything appropriately, but any suggestions are welcome.

* Remove extra whitespace

Fixed a small typo in the Getting Started | persisting data section
Improves upon issue #662
2017-06-24 17:14:06 -07:00
Sergio
e6c06861c4 Add reference to run interface servers in docs. (#680)
My mistake, I forgot to make a link to the section before referencing it. Added a link to the "Run Interface Servers" section.
2017-06-22 18:01:10 -07:00
Sergio
1551cb0563 Improve docs consistency on query strings (#681)
Change to room_name parameter and erase references to query strings throughout the documentation tutorial.
2017-06-22 17:53:00 -07:00
Sergio
63b79db352 Link to interface server explanation in concepts (#678)
The docs did not link to the interface server explanation. Relates to issue #677
2017-06-22 10:40:30 -07:00
Sergio
a6a2714a9b Add note on check_accept to testing documentation (#676)
When writing tests, sometimes consumers are expected to reject connections, and while there is a check_accept parameter on send_and_consume, it's not documented. This commit adds a note on the use of the parameter to the docs.
2017-06-21 12:45:07 -07:00
Andrew Godwin
e2444308ff Fixed #672: Need to reset server_cls to hand back to normal Django runserver 2017-06-18 14:42:28 -07:00
Artem Malyshev
54fa7be874 Define TEST_CONFIG for testproject redis layer. (#674) 2017-06-19 05:32:45 +08:00
Andrew Godwin
94b3f3563b Releasing 1.1.5 2017-06-16 10:40:12 +08:00
Andrew Godwin
298aeee5b1 Bump Daphne dependency to a supported version 2017-06-16 10:40:02 +08:00
Andrew Godwin
f912637d73 Releasing 1.1.4 2017-06-15 21:40:43 +08:00
David Sanders
4d524f2d00 Add protocol/server_cls attributes to runserver for extensibility (#661)
Makes it easier to extend the runserver command with custom behaviour.
2017-06-08 15:17:33 +08:00
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