Commit Graph

1021 Commits

Author SHA1 Message Date
Raphael Michel
61ed32d500 Fix #55 -- Optionally parse X-Forwarded-For header 2016-11-05 11:45:48 +01:00
Andrew Godwin
bc33763907 Redirecting questions to the mailing list 2016-11-04 17:24:21 +01:00
Sean Mc Allister
f9f799f75f Merge branch 'master' into ticket_10 2016-11-04 14:40:40 +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
Andrew Godwin
3c8c21b352 Merge pull request #54 from indevgr/access-log-buffering
Access log buffering
2016-10-25 09:16:23 -07:00
Stratos Moros
bd0530d147 make access log line buffered
fixes #53
2016-10-25 15:43:44 +03:00
Stratos Moros
cd8b709ce8 fix variable name 2016-10-25 15:43:38 +03:00
Yatish Bathini
291405afeb Issue#393: Clear session modified flag on enforce_ordering session save (#402) 2016-10-21 11:59:45 -07:00
Sean Mc Allister
e38c7541da Merge remote-tracking branch 'upstream/master' into ticket_10 2016-10-21 17:51:52 +02: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
5f6f14a8d1 Merge pull request #51 from mcallistersean/issue/50
log full uri for http response
2016-10-11 13:21:07 -07:00
Sean Mc Allister
3e2370b5f1 log full uri for http response 2016-10-11 17:09:34 +02:00
Andrew Godwin
b537bed180 Make accept silently pass if already accepted 2016-10-05 16:00:11 -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
8c637ff728 Fix default verbosity 2016-10-05 14:46:54 -07:00
Andrew Godwin
685f3aed1e Switch to new explicit WebSocket acceptance 2016-10-05 13:45:12 -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
Andrew Godwin
1bdf2a7518 Merge pull request #48 from adamchainz/setup.py
Tidy up setup.py a bit
2016-09-22 14:30:40 -07:00
Adam Chainz
5a5fd08633 Tidy up setup.py a bit
* Remove unused import 'sys'
* Github is HTTPS
* Add some trove classifiers based upon Django's
2016-09-22 22:28:55 +01:00
Andrew Godwin
6df13290b2 Merge pull request #47 from Krukov/fix-285-channels-issue
Catching error at receive_many form channel layer
2016-09-22 14:27:20 -07:00
Andrew Godwin
bfce80a062 Merge pull request #45 from Krukov/patch-add-verbosity
Verbosity
2016-09-22 14:23:25 -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
Andrew Godwin
a83d2f41bd Merge pull request #46 from adamchainz/readthedocs.io
Convert readthedocs links for their .org -> .io migration for hosted projects
2016-09-22 14:04:36 -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
Krukov Dima
790c482cb6 Catching error at receive_many form channel layer 2016-09-21 18:24:05 +00:00
Krukov Dima
cf096bab5c Logging to the python standard library 2016-09-21 18:12:35 +00:00
Adam Chainz
bcaf1de155 Convert readthedocs links for their .org -> .io migration for hosted projects
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-21 08:43:24 +01:00
Krukov Dima
0844061296 Add verbosity to log twisted log 2016-09-16 20:36:31 +00:00
Krukov Dima
c6270e7e4e Pep8 2016-09-16 20:34:20 +00:00