Commit Graph

1022 Commits

Author SHA1 Message Date
Thomas Steen Rasmussen
0871c35c86 only encode header keys, not values; only decode value when instance of bytes 2017-10-12 12:57:44 +02:00
Thomas Steen Rasmussen
189459a521 fix check for x-forwarded-for header for WS connections 2017-10-12 12:57:44 +02:00
Thomas Steen Rasmussen
d2c74c6d27 pull latest changes from django:master 2017-10-12 12:55:50 +02:00
Tom Kazimiers
fa3d9b140d Docs: fix typos in "getting started" text and example (minor) (#756)
A period sign is added and a syntax error in one of the examples is
fixed.
2017-09-28 11:11:22 -07:00
japrogramer
32da46f51d Fixed #748: Test client now handles headers as lists not dict 2017-09-26 22:55:14 -07:00
Andrew Godwin
07053bebcc Releasing 1.1.8 2017-09-15 10:19:57 -07:00
Andrew Godwin
46484cdf39 Reverting recent JS changes as they are not stable. 2017-09-15 10:17:28 -07:00
Andrew Godwin
e559d9a2b9 Add missing 1.1.7 release notes 2017-09-15 10:15:57 -07:00
Daniel
ab89f52302 Daphne deployment doc updates 2017-09-15 10:08:49 -07:00
Andrew Godwin
29c269ead7 Releasing 1.1.7 2017-09-14 10:35:40 -07:00
Flavio Curella
65150d16a7 recompile js bundles from master (#736) 2017-09-13 10:32:40 -07:00
Flavio Curella
2d4886dfa0 Upgrade reconnecting-websocket (#734)
* fix url in comment

* upgrade reconnecting-websocket
2017-09-12 10:22:43 -07:00
Flavio Curella
3111f3b8ac Fix error code [1006] if protocols is undefined (#735) 2017-09-12 10:22:24 -07:00
Andrew Godwin
f34ca1cd2b Revert "Fixed: some device will get error code [1006] when handshake if protocols is undefined. (#691)"
This reverts commit ed32c71d90.
2017-09-12 09:19:25 -07:00
bmcool
ed32c71d90 Fixed: some device will get error code [1006] when handshake if protocols is undefined. (#691) 2017-09-01 09:47:27 -07:00
Flavio Curella
c0138e8dd9 Pin mock-socket to 6.0.4 (#689)
npm install will install mock-server v6.1.0, which breaks our tests.
2017-09-01 09:46:53 -07:00
Artem Malyshev
be07934deb Merge pull request #721 from MikkelSchubert/patch-1
Add missing import in 'Models' example code
2017-08-14 16:39:03 +03:00
Mikkel Schubert
a2fea85754 Add missing import in 'Models' example code 2017-08-14 15:34:04 +02:00
Artem Malyshev
8c86a29761 Mention hiredis installation option.
See https://github.com/django/asgi_redis/issues/56
2017-08-05 16:02:09 +03:00
Adam Johnson
e3ff3e8635 Travis - test on Trusty (#708)
As per [their blog post](https://blog.travis-ci.com/2017-07-11-trusty-as-default-linux-is-coming) they're making it the new default, best to be ahead of the curve.
2017-07-26 11:59:57 -07:00
Artem Malyshev
d0bb675d05 Merge pull request #705 from koole/patch-1
Channels is comprised of six packages
2017-07-19 04:56:03 -04:00
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