zulip/zerver/management/commands
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
..
__init__.py [manual] Rename Django app from zephyr to zerver. 2013-08-06 07:39:36 -04:00
add_users_to_streams.py [manual] Rename Django app from zephyr to zerver. 2013-08-06 07:39:36 -04:00
bankrupt_users.py Add a messages/flags POST api call to change a message's flags 2013-08-20 16:19:07 -04:00
bulk_change_user_name.py [manual] Rename Django app from zephyr to zerver. 2013-08-06 07:39:36 -04:00
change_user_email.py [manual] Rename Django app from zephyr to zerver. 2013-08-06 07:39:36 -04:00
check_apns_tokens.py Clean up some unused imports. 2013-11-04 11:51:17 -05:00
check_redis.py [manual] Rename Django app from zephyr to zerver. 2013-08-06 07:39:36 -04:00
checkconfig.py Update installation instructions to include configuring the app. 2013-11-13 12:02:50 -05:00
create_realm.py Set default streams to engineering,social when creating realms. 2013-11-25 14:00:28 -05:00
create_stream.py Rename create-stream to create_stream to match other management commands. 2013-10-31 15:29:50 -04:00
create_user.py [manual] Rename Django app from zephyr to zerver. 2013-08-06 07:39:36 -04:00
deactivate_user.py Rename do_[rd]activate to do_[rd]activate_user. 2013-11-16 11:35:26 -05:00
deliver_email.py Revise day1/day2 emails. 2013-12-02 11:15:13 -05:00
dump_messages.py Enable absolute imports for non-third-party code where it was omitted previously 2013-10-25 14:13:30 -04:00
email-mirror.py Update style of client strings. 2013-12-09 11:47:52 -05:00
enqueue_digest_emails.py Rename: queue_digest_emails -> enqueue_digest_emails. 2013-11-04 10:20:59 -05:00
enqueue_file.py Add enqueue_file management command. 2013-10-30 16:47:16 -04:00
expunge_db.py [manual] Rename Django app from zephyr to zerver. 2013-08-06 07:39:36 -04:00
expunge_logs.py Use os.path directly rather than sometimes importing it separately. 2013-10-28 15:44:13 -04:00
fill_memcached_caches.py [manual] Rename Django app from zephyr to zerver. 2013-08-06 07:39:36 -04:00
generate_invite_links.py generate_invite_links: work for open realms too. 2013-09-20 10:00:10 -04:00
gravatar_to_user_avatar.py Clean up some unused imports. 2013-11-04 11:51:17 -05:00
import_realm_filters.py [manual] Add a manage.py command to import realm filters 2013-12-11 14:39:10 -05:00
initialize_enterprise_db.py Build internal bots in the zulip.com domain. 2013-11-14 11:16:16 -05:00
knight.py Clean up some unused imports. 2013-11-04 11:51:17 -05:00
logout_all_users.py [manual] Rename Django app from zephyr to zerver. 2013-08-06 07:39:36 -04:00
print_email_delivery_backlog.py fixup supervisor oops related to postmaster config 2013-11-13 17:15:55 -05:00
process_queue.py Refuse to run a queue processor if USING_RABBITMQ is False 2013-10-28 14:30:53 -04:00
purge_queue.py Clean up some unused imports. 2013-11-04 11:51:17 -05:00
query_ldap.py Tool to test LDAP functionality 2013-11-25 17:44:47 -05:00
rate_limit.py [manual] Rename Django app from zephyr to zerver. 2013-08-06 07:39:36 -04:00
realm_alias.py [schema] Allow a realm to have aliases for multiple other domains 2013-11-13 14:17:43 -05:00
realm_emoji.py Clean up some unused imports. 2013-11-04 11:51:17 -05:00
realm_filters.py Add a management command to set realm filters. 2013-12-11 14:39:10 -05:00
remove_users_from_stream.py [manual] Rename Django app from zephyr to zerver. 2013-08-06 07:39:36 -04:00
rename_stream.py Rename rename-stream to rename_stream to match other management commands. 2013-10-31 15:29:50 -04:00
runtornado.py Disconnect handlers if the client closes a connection. 2013-12-12 16:52:25 -05:00
send_stats.py Move send_stats management command back to zerver/ 2013-11-12 15:50:08 -05:00
set_default_streams.py Set default streams to engineering,social when creating realms. 2013-11-25 14:00:28 -05:00
set_message_flags.py Clean up some unused imports. 2013-11-04 11:51:17 -05:00
show_admins.py Add show_admins management command. 2013-11-02 11:37:27 -04:00
sync_ldap_user_data.py Management command to update names from the LDAP database 2013-11-25 17:44:47 -05:00
update_permissions.py Fix some remaining references to zephyr. 2013-08-07 10:00:08 -04:00