Commit Graph

683 Commits

Author SHA1 Message Date
Andrew Godwin
57ed7747f7 Handle slight ordering not being set 2017-01-26 10:47:54 -08:00
Andrew Godwin
a1a1ace23d Remove slight ordering from generics docs 2017-01-26 10:44:08 -08:00
Andrew Godwin
1d1101f7a9 Fixed #509: Docs for enforce_ordering now mirror post-1.0 2017-01-26 10:42:48 -08:00
Andrew Godwin
1a56ae8eb7 Sort imports correctly. 2017-01-25 17:04:06 -08:00
Andrew Godwin
ef755e4c9d Remove optional multiplexer arg in generics docs 2017-01-25 17:03:09 -08:00
Andrew Godwin
9ae27cb835 Fixed #462: Don't actually close DB connections during tests 2017-01-25 16:59:35 -08:00
Andrew Godwin
9942c59851 Fixed #505: Add classifiers to setup.py 2017-01-24 09:57:38 -08:00
Andrew Godwin
db8a4570c3 Fixed #477: Only re-save session if it's not empty 2017-01-24 09:57:38 -08:00
Malyshev Artem
5c74ee587e Installable benchmark package. (#501)
* Make benchmark installable module.

* Use passed url in the Benchmarker constructor.

* Correct percentile output.

* Import reactor globally.

Since it used in the benchmarker.
2017-01-23 22:04:42 -08:00
Lars Kreisz
1542343392 Fix typo (#500) 2017-01-23 12:00:05 -08:00
Andrew Godwin
891eaf0051 Talk about URL routing/views in getting started (refs #92) 2017-01-23 10:13:36 -08:00
Gary Reynolds
f4d38ef778 Remove unnecessary profane word in the documentation (#499) 2017-01-22 23:32:04 -08:00
Andrew Godwin
e07389eadb Fixed #496: Update readme to remove beta info 2017-01-22 11:05:19 -08:00
Leon Koole
044c422cdd Remove unnecessary http_session_user import (#493) 2017-01-20 17:23:21 -08:00
Joseph Ryan
1e2cd8ec76 Fix for session shenanigans with WebsocketDemultiplexer (#486)
* Fix for session shenanigans with WebsocketDemultiplexer

Session data was getting lost in the demux due to the session getting
saved after only the first connect/disconnect consumer was run.

* fix for flake8

* flake8 again

flake8 again
2017-01-17 16:20:08 -08:00
Malyshev Artem
335cd1625e Correct benchmark test for recent channels version. (#487)
* Ignore Emacs backups.

* Do not override default websocket.connect handler.

Channels specification 1.0 requires that websocket.connect handler
returns meaningful message with {'accept': True} at least.

* Add rabbitmq channel layer settings.

* Add benchmark requirements in separate file.

* Add RabbitMQ infrastructure part.

* Adapt benchmark README for new docker layout.

* Adapt fabric deploy for new settings module.
2017-01-17 12:25:08 -08:00
Andrew Godwin
fd30bff5de Fixed #483: HttpResponse takes "status", not "status_code" 2017-01-13 09:32:41 -08:00
Andrew Godwin
811d017dc9 Releasing 1.0.2 2017-01-12 10:12:09 -08:00
Andrew Godwin
c9e6472ca7 Update changelogs for 1.0.2 and web in general 2017-01-12 10:09:36 -08:00
Andrew Godwin
05b5fa5216 Fixed #482: Group_names not updated right in base classes. 2017-01-12 10:09:36 -08:00
Krukov D
37da462411 User friendly way to close websocket with code (via CloseException) (#468)
* User friendly way to close websocket with status

* More generic way  to close(whatever) connection by exception

* Fix import ordering for exceptions (isort)
2017-01-12 10:02:30 -08:00
Andrew Godwin
2ced4ee2e9 Remove consumer_finished from tests that flushed
No longer needed now messages aren't buffered outside consumers.
2017-01-11 15:40:24 -08:00
Andrew Godwin
69c59ee8b4 Fixed #481: Sends from outside consumers send immediately 2017-01-11 15:35:50 -08:00
Bartek Ogryczak
ee4aa9b292 more consistent metrics (#473)
* more consistent metrics

More consistent metrics, in particular for consumers such as Graphite, CloudWatch etc. you don't want aggregated numbers per second, you want number since previous call. Since we don't want to track all the clients, total since start is the next best thing, because it can be easily calculated by the metrics consumer `count_since_last = pervious_count - current_count`

* changing 'queue_depth' to 'messages_pending', also making 'messages' plurar for 'max_age' to keep it consitent
2017-01-11 11:49:59 -08:00
Andrew Godwin
6bfaaf23d1 Add connect-accept into Websocket CBC example (#479) 2017-01-11 11:38:21 -08:00
Krukov D
b84713b20e Remove unicode literals (#476) 2017-01-11 10:03:03 -08:00
Adam Johnson
08f0a0934c Use HTTPS in changelog (#472)
security ++
2017-01-10 10:05:23 -08:00
Andrew Godwin
2650505eab Releasing 1.0.1 2017-01-09 22:10:18 -08:00
Krukov D
8a93dfc401 Accept Connection at WebsocketConsumer (#467)
* Added accept at default behavior for websocket generic cbv and pass message instead of dict

* Fix flake8

* Use HttpClient Instead of Client

* Fix lsort
2017-01-09 10:08:00 -08:00
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