zulip/zerver
Tim Abbott b8579c6848 Disconnect handlers if the client closes a connection.
Tested using the following procedure (run-dev.py won't pass through
the client connect closing)

tabbott@monastery:~/zulip$ curl http://localhost:9991/api/v1/register  -u email:key  -d 'event_types=["message"]'
{"msg":"","max_message_id":2259,"last_event_id":-1,"result":"success","queue_id":"1386884005:0"}
tabbott@monastery:~/zulip$ curl -G http://localhost:9993/api/v1/events  -u email:key -d "last_event_id=0" -d "queue_id=1386884005:0"
(then hit ctrl-C)

(imported from commit 3c4f3d5caac97b3de53da994ff9cd9ef67b2b9ea)
2013-12-12 16:52:25 -05:00
..
fixtures Use non-ASCII characters in Freshdesk tests, to catch encoding bugs. 2013-11-15 12:28:30 -05:00
lib Disconnect handlers if the client closes a connection. 2013-12-12 16:52:25 -05:00
management Disconnect handlers if the client closes a connection. 2013-12-12 16:52:25 -05:00
migrations [schema] Modify device token to support both iOS and Android 2013-12-11 15:37:47 -05:00
templatetags Add a custom template filter for formatting displaying lists of items in emails. 2013-10-25 19:11:40 -04:00
tests/frontend Remove unused message_tour.js. 2013-12-12 11:47:09 -05:00
views Remove legacy /api/v1/update_pointer endpoint. 2013-12-12 10:31:05 -05:00
worker Update style of client strings. 2013-12-09 11:47:52 -05:00
__init__.py [manual] Rename Django app from zephyr to zerver. 2013-08-06 07:39:36 -04:00
context_processors.py Fix documentation for email gateway on Zulip Enterprise. 2013-12-04 16:39:39 -05:00
decorator.py Improve comments for remaining legacy API endpoints. 2013-12-12 10:31:05 -05:00
exceptions.py Enable absolute imports for non-third-party code where it was omitted previously 2013-10-25 14:13:30 -04:00
filters.py Add api_key to filtered variables. 2013-12-12 10:31:03 -05:00
finders.py [manual] Move our deployment scripts to scripts/. 2013-10-28 10:54:48 -04:00
forms.py Add admin API endpoint for creating users. 2013-12-10 13:21:33 -05:00
handlers.py Remove old email error reporting handler 2013-11-13 16:22:21 -05:00
middleware.py Finish event handlers when disconnecting from an event queue. 2013-12-12 16:52:25 -05:00
models.py [schema] Modify device token to support both iOS and Android 2013-12-11 15:37:47 -05:00
openid.py [manual] Rename Django app from zephyr to zerver. 2013-08-06 07:39:36 -04:00
retention_policy.py [manual] Rename Django app from zephyr to zerver. 2013-08-06 07:39:36 -04:00
static_header.txt Change Humbug => Zulip in text/comments. 2013-08-07 10:00:07 -04:00
storage.py Enable absolute imports for non-third-party code where it was omitted previously 2013-10-25 14:13:30 -04:00
tests.py Remove legacy /api/v1/update_pointer endpoint. 2013-12-12 10:31:05 -05:00
tornado_callbacks.py Send push notifications more aggresively 2013-11-27 18:00:31 -05:00
tornadoviews.py Finish event handlers when disconnecting from an event queue. 2013-12-12 16:52:25 -05:00