Commit Graph

654 Commits

Author SHA1 Message Date
Andrew Godwin
827fcd25b1 Releasing 1.0.0 2017-01-08 18:37:03 -08:00
Andrew Godwin
c0ba284bbb Fix import ordering 2017-01-08 18:33:31 -08:00
Andrew Godwin
a781834779 Remove release notes TOC 2017-01-08 18:33:21 -08:00
Andrew Godwin
ec0b124c6e Flesh out release notes 2017-01-08 18:29:58 -08:00
Andrew Godwin
aa3af5031c Fix bad asserts in runserver endpoint tests 2017-01-08 18:18:00 -08:00
Andrew Godwin
8ed7a2d3a2 Remove unused imports 2017-01-08 18:11:44 -08:00
Sean Mc Allister
d9bff34428 build endpoint description strings from runserver arguments before ca… (#434)
* build endpoint description strings from runserver arguments before calling dpahne server

* Update Daphne requirement
2017-01-08 18:10:56 -08:00
Andrew Godwin
577dfa1eee Final update of demultiplexer/databinding docs interaction 2017-01-08 18:06:31 -08:00
Andrew Godwin
cba54f9749 Fix up new demultiplexer/databinding interactions 2017-01-08 18:05:51 -08:00
Andrew Godwin
5a539659a3 Start fleshing out 1.0 release notes 2017-01-08 18:05:50 -08:00
raphael.boucher
33dbc4a184 Replace multiplexer with class demultiplexer
Update documentation
Ensure send is not available on demultiplexed consumer classes
Data binding needs fixing
2017-01-08 18:05:50 -08:00
raphael.boucher
21b08b01b8 Add demultiplexer for class-based consumers (#383)
Avoid coupling between the demultiplexer and consumers.
2017-01-08 18:05:50 -08:00
Muslu YÜKSEKTEPE
28666f26cf Correct spelling mistakes (#464)
line 73:
sudo apt-get install fabric
2017-01-08 13:22:50 -08:00
Simon Willison
de391c8680 Updated copyright to 2017 (#461) 2017-01-05 15:50:54 -08:00
Fabian Schaffert
cc9401f82c WebsocketBinding.group_names() is a classmethod (#460)
Child classes of WebsocketBinding must overwrite it as a classmethod, not as an
instance method.
2017-01-05 13:26:06 -08:00
Leon Koole
ca4c9cd4e0 Fix URLs of load testing graphs (#459) 2017-01-05 07:53:45 -08:00
Artem Skoretskiy
387c73fa27 Fixed import to resolve RemovedInDjango20Warning (#457)
* Fixed import to resolve RemovedInDjango20Warning

That resolves: "RemovedInDjango20Warning: Importing from django.core.urlresolvers is deprecated in favor of django.urls."

* Fixed syntax error

Fixed indent

* Updated import order
2017-01-02 08:14:34 -08:00
scryver
7230708f6f Update utils.py (#455)
Name that thing should not use a metaclass to name a thing.
2016-12-30 09:44:03 +00:00
Drew French
f4c9b02ae3 Valid cookie serialization for the test HTTPClient (#453)
* valid cookie serialization

* Added set cookie test

* delimiter fix

* more cases

* quote fix

* cleanup

* fix

* lint cleanup

* more lint clean up
2016-12-22 22:46:09 +00:00
AlexejStukov
cb0a9bef4b Use save's update_fields in serialize_data (#448)
* pass save's kwargs to serialize

So it can access update_fields

* added short explanation

* added missing kwargs

* use update_fields to filter fields to serialize

* save kwargs on self

* get signal_kwargs from self

* whitespace

* just save signal_kwargs on self+removed left over kwargs
2016-12-16 20:00:11 +00:00
Andrew Godwin
54705915de Make formatting in management tests consistent 2016-12-10 11:57:28 -08:00
Andrew Godwin
3d2426e7b4 Fix root_path in runserver tests 2016-12-10 11:55:49 -08:00
Andrew Godwin
5a38171fc7 Fix #449: root_path was ending up as None 2016-12-10 11:48:11 -08:00
Andrew Godwin
b52e2e06d7 Add 0.17.3 to changelog 2016-12-05 10:41:15 -08:00
Eric Holscher
7f38ee42e4 Fix rst syntax (#444) 2016-12-04 18:44:31 -08:00
Eric Holscher
f11071e802 Fix headers in docs (#441)
This fixes the headers so there is a hierarchy on all of them don't show in the TOC at the same level.
2016-12-04 18:43:15 -08:00
Carlton Gibson
dac6e9454d Add missing "do" to Concepts > Next Steps (#440)
One thing channels do not **do**, however, ...
2016-12-01 17:51:08 -08:00
Robert Roskam
920dd74fa4 Added in a Summary of Results Section (#438)
* Starting reporting write up.

* Added in charts

* Added in images to report

* Cleaned up comments

* Added in clarifications about the testing

* Added in clarification

* Added date

* Added in subdir with same content

* Added in supervisor configs

* updated the readme

* Update and rename README.rst to README.md

* Update README.md

* Added in version info.

* Changes to root info

* Update README.md

* Update README.md

* Cleaned up presentation

* Update README.rst

* Updated images

* Updated images and content

* Added in summary
2016-11-29 12:29:21 -08:00
Daniel Musketa
43b23dc295 Fixed minor typos in docs/. (#439)
* Fixed typo in docs/inshort.rst.

* Fixed typo in docs/asgi.rst.
2016-11-29 10:39:01 -08:00
Robert Roskam
ce65de323c Updated channels loadtesting results (#437)
* Starting reporting write up.

* Added in charts

* Added in images to report

* Cleaned up comments

* Added in clarifications about the testing

* Added in clarification

* Added date

* Added in subdir with same content

* Added in supervisor configs

* updated the readme

* Update and rename README.rst to README.md

* Update README.md

* Added in version info.

* Changes to root info

* Update README.md

* Update README.md

* Cleaned up presentation

* Update README.rst

* Updated images

* Updated images and content
2016-11-27 10:12:50 -08:00
Sam Bolgert
3dddefa845 Delay Protocol Server (#401)
* Add Delay Protocol Server

Add a process that listens to a specific channel
and delays incoming messages by a given time.

* Add custom django command rundelay
* Add test suite
* Implements #115

* Add channels.delay app

* Add AppConfig

* Move rundelay command to channels.delay app

* Refactor DelayedMessage into model

Move login into a database backed model.
* Update Worker
* Add migration

* Add delay docs page

* Add to TOC

* Fix import sorting

* Add ASGI spec document for Delay Protocol

* Update channels.delay doc with new channel name
* remove interval docs

* Refactor Delay to use milliseconds instead of seconds

Use milliseconds as the default unit. Gives more control to developers.

* Remove interval logic from DelayedMessage
* Remove interval tests
* Tweak test logic to use milliseconds
2016-11-24 10:54:03 -08:00
Jan Boysen
fdc80cb269 runserver should respect FORCE_SCRIPT_NAME setting (#435)
* Pass FORCE_SCRIPT_NAME to Daphne server when set

FORCE_SCRIPT_NAME seems not to be honored any more with build-in runserver after activating channels app.
The normal behavior of Django is the FORCE_SCRIPT_NAME is used as prefix when set while generating URLs so its possible to
create a path prefix and determine different Django installations based on the path rather than hostname without having to prefix all paths in urls.py.

* Only strip script_name from path if it starts with it

* make tests happy again after setting kwarg root_path
2016-11-18 06:26:16 -08:00
Andrew Godwin
2e1cda8aad Clarify "out of the box" 2016-11-17 17:39:01 -08:00
Andrew Godwin
0a4cbb5fcf Slight grammar tweaks 2016-11-06 14:17:03 +00:00
Andrew Godwin
1212fd45f1 Update ASGI spec from receive_many to receive 2016-11-06 14:16:36 +00:00
Fabien Schwob
8682e83fd1 Updating Channels status regarding inclusion into django core (#424)
* Updating Channels status regarding django inclusion

* Removing the page regarding Cross-Compatibility and the references to it.
2016-11-06 15:15:31 +01:00
Paul
6c471ef915 Benchmark script never completed on Docker (#211) (#428)
* Do not generate new fingerprint when connection fails

* Do not try to print latencies when all connections failed

* Update asgi_redis and channels versions in Dockerfile
2016-11-05 15:16:27 +01:00
Iacopo Spalletti
1d93037bb7 Minor typos (#427) 2016-11-05 13:48:14 +01:00
Tobias Kunze
82f7ff21df Add closing response codes (#426)
Added both to spec and implementation. Regards #414.
2016-11-05 13:39:44 +01:00
Paul
f4f45dbb9f Sort imports and make Travis run isort (#425)
* Sort imports

* Make Travis run isort
2016-11-05 12:08:38 +01:00
Andrew Godwin
bc33763907 Redirecting questions to the mailing list 2016-11-04 17:24:21 +01:00
Andrew Godwin
c5f047a245 Fix test to look for SERVER_PORT 2016-11-02 08:17:44 +00:00
Andrew Godwin
6d8d3214e6 Fixed #422: No SERVER_PORT in request.META causes errors 2016-11-02 08:15:06 +00:00
Krukov D
e24bc17bbf Documentation of Client/HttpClient and data binding unit tests (#417)
* Added as_route documentation

* Added documentation for client

* Improve tests for binding

* Changes for client docs

* Fix docs indentations at client part

* Added missed imports

* Small fixes and refs

* Fix typos

* Fix errors and typos.
2016-10-31 11:42:10 +00:00
Andrew Godwin
c16de0e1e3 Remove last reference to more_body 2016-10-26 09:16:09 -07:00
Yatish Bathini
291405afeb Issue#393: Clear session modified flag on enforce_ordering session save (#402) 2016-10-21 11:59:45 -07:00
AlexejStukov
4f517bb9fc check accept fields = '__all__' in serialize_data (#404) 2016-10-19 09:25:34 -07:00
Maik Hoepfel
b9d2f534c4 Fix formatting for generics docs (#403)
The paragraph was lacking the double colon to treat the http_user example code as a code block.
2016-10-18 10:07:56 -07:00
MartinArroyo
12ca598d6b Adds 'exclude' option to data binding (#400) 2016-10-16 22:58:02 -07:00
Jeremy Spencer
51561273ae Fix for issue 398. Converts channels.binding.websockets.WebsocketBinding.fields to list before comparing to ['__all__'] to ensure most common data structures do not cause unexpected failures (i.e. ('__all__',), '__all__') (#399) 2016-10-14 18:54:46 -07:00