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
Luke Hodkinson
1673be5b75
Found a bug whereby streaming responses would try to be cached ( #396 )
...
entirely in memory. Was causing views that stream a lot of data
to timeout.
2016-10-11 22:32:45 -07:00
Rock Howard
c419d01ded
added http_timeout as a command line option for runserver ( #387 )
...
* added http_timeout as a comand line option for runserver
* possible improvement for input param management
* explicitly set the default http_timeout in add_argument
2016-10-11 13:25:27 -07:00
Andrew Godwin
09b2a12be1
Change to accept being part of send/close
2016-10-05 15:59:55 -07:00
Andrew Godwin
5d697c9308
Fix release note depth
2016-10-05 15:39:44 -07:00
Andrew Godwin
1cc2a28fcb
Fix releases TOC link
2016-10-05 15:38:50 -07:00
Andrew Godwin
f9ef08b0aa
Flake8 fix
2016-10-05 15:37:55 -07:00
Andrew Godwin
0ed04a9c06
Fix tests for new non-immediate sending
2016-10-05 15:32:37 -07:00
Andrew Godwin
0b8b199212
Add release note section
2016-10-05 15:06:41 -07:00
Andrew Godwin
0826b7997f
Send messages after the end of consumers
2016-10-05 14:49:46 -07:00
Andrew Godwin
db0d2975a0
Remove middleware approach, change to simpler one
2016-10-05 12:06:34 -07:00
Andrew Godwin
0fcb93acc2
Mostly-complete middleware version
2016-10-05 11:42:46 -07:00
Andrew Godwin
dcfaf4122b
Work in progress towards accepting websockets explicitly
2016-10-05 10:45:51 -07:00
Andrew Godwin
1be6dd5b71
Update docs to mention where to run JS console
2016-10-03 16:39:08 -07:00
Andrew Godwin
40316619a1
Making the issue template a bit more generic
2016-10-01 10:43:36 -07:00
Steve Steiner
3531ba6bbd
Add GitHub issue template ( #382 )
...
* Add github issue template to collect version info etc.
* Evened up whitespace
2016-09-30 18:11:20 -07:00
Sam Bolgert
b115f8fa04
Update channel_session decorator to rehydrate http_session ( #348 )
...
* Update channel_session decorator to rehydrate http_session
Update the http_session decorator to write the http session key
to the channel_session when available. This allows the channel_session
decorator to rehydrate the http_session after the initial websocket
connection.
closes #318
* Add persist=True option to http_session
* Add explicit option to store the session key in the channel session
* Update docs
* Add test case
* Add channel_and_http_session decorator
This decorator enables both sessions and maintains
the http_session for the lifetime of the websocket connection.
2016-09-29 11:08:44 -07:00
Carles Barrobés
d4f7125cd5
Fix type for request.META['SERVER_PORT'] ( #378 )
...
Django documentation states that it is a string.
Fixes #366
2016-09-23 11:37:45 -07:00
Adam Chainz
eaaf70e935
Convert readthedocs link for their .org -> .io migration for hosted projects ( #374 )
...
As per [their blog post of the 27th April](https://blog.readthedocs.com/securing-subdomains/ ) ‘Securing subdomains’:
> Starting today, Read the Docs will start hosting projects from subdomains on the domain readthedocs.io, instead of on readthedocs.org. This change addresses some security concerns around site cookies while hosting user generated data on the same domain as our dashboard.
Test Plan: Manually visited all the links I’ve modified.
2016-09-22 14:17:39 -07:00
Benjamin Bach
06fd1f8ada
Add conventional request.META['PATH_INFO'] - fixes benjaoming/django-nyt#27 ( #375 )
2016-09-22 13:57:30 -07:00
Andrew Godwin
58cc3c845d
Onopen timing fixes in docs
2016-09-15 10:23:59 -07:00
benny daon
8e84c0ce87
reply and response are confusing ( #361 )
...
I'm not sure I got it right, but based on the attribute name, `response` belong to the HTTP domain and `reply` to the channel domain.
2016-09-14 05:57:23 +01:00
qwitwa
d1590afdcb
Fix typo in code in models section ( #319 )
...
Changed channel_session['room'] inside websockets consumer function to message.channel_session['room']
2016-09-12 11:59:46 +01:00
Krukov D
5464cba742
Iimprovements for test client ( #352 )
...
* Json encoding only for not string text at HttpClient
* Decode received content if possible
* Check that content received
* Using json kwarg at receive method to decode message text content
* Wrap decorator function at channel_session_user_from_http
* Cleanup
* Arbitrary indent. sorry
2016-09-12 11:28:12 +01:00
Krukov D
075897d910
Inbound tests ( #351 )
...
* Added groups as Binding attr for easy groups_names definition
* Binding: inbound - updating fields that only in fields attribute
* Added tests for inbound part of binding #343
* Fix for flake8 checker
* Revert "Added groups as Binding attr for easy groups_names definition"
This reverts commit 009b4adbee534d4ccbea191ce2523a0edb09d407.
* Using group_names at inbound tests
2016-09-12 11:27:42 +01:00
Michael Angeletti
e176e913d8
Fix URL typo ( #359 )
2016-09-12 11:25:05 +01:00
Krukov D
be14c14783
Add django1.10 to the list of tests env ( #353 )
2016-09-11 11:28:44 +01:00
Andrew Godwin
9618440e6d
Fix generics docs
2016-09-11 11:00:45 +01:00
Naveen Yadav
5e0add6bbb
sessions and users doc updated ( #354 )
2016-09-11 10:58:06 +01:00
Andrew Godwin
b46c511b13
Clarify where overall tasks live
2016-09-09 14:47:34 +01:00
Andrew Godwin
b27384933f
Move ChannelsTasks wiki content into the docs
2016-09-09 14:46:55 +01:00
Andrew Godwin
6a17caad5b
I really need to stop indenting unordered lists
2016-09-09 14:22:53 +01:00
Andrew Godwin
f805096bd5
Crosslink other channels projects
2016-09-09 14:22:23 +01:00
Andrew Godwin
f79ecbff6d
Tidy up main README a bit more
2016-09-09 13:38:38 +01:00
Andrew Godwin
971d3fc8d0
Django-ification
2016-09-09 13:29:12 +01:00
Andrew Godwin
21f0aeaf64
Mention mailing list
2016-09-09 12:59:45 +01:00
Andrew Godwin
67f6638e90
More of a contribution CTA
2016-09-09 12:58:19 +01:00
Andrew Godwin
d7f71be6e1
Fix RST formatting
2016-09-09 12:57:02 +01:00
Andrew Godwin
f21bec56a1
Add maintenance and security README
2016-09-09 12:51:35 +01:00