Module ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias identifier Import alias Import alias Import alias Import alias Import alias ImportFrom alias alias alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias alias alias ImportFrom alias ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body If CompareIs NameLoad NameLoad body Return NameLoad TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Call AttributeLoad NameLoad attr keyword NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr body Return NameLoad TryExcept body Return Call AttributeLoad AttributeLoad NameLoad attr attr keyword Call NameLoad NameLoad handlers ExceptHandler type TupleLoad AttributeLoad NameLoad attr NameLoad body Return NameLoad decorator_list Assign NameStore Call NameLoad FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareIn NameLoad NameLoad body Expr Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Delete SubscriptDel NameLoad Index AttributeLoad NameLoad attr decorator_list Assign NameStore Call NameLoad FunctionDef arguments args NameParam defaults body Return BinOpMod Str TupleLoad NameLoad decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list ClassDef bases AttributeLoad AttributeLoad NameLoad attr attr body FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad keyword BinOpMod Str TupleLoad AttributeLoad AttributeLoad NameLoad attr attr Expr Call NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad TryExcept body Assign AttributeStore NameLoad attr AttributeLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr AttributeLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr attr handlers ExceptHandler type NameLoad body Assign AttributeStore NameLoad attr Call NameLoad Num Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return FunctionDef arguments args defaults body Assign AttributeStore NameLoad attr Call NameLoad Num Str Expr Call AttributeLoad NameLoad attr decorator_list Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr BinOpAdd Call AttributeLoad NameLoad attr Num NameLoad Expr Call NameLoad NameLoad keyword Str keyword Str keyword AttributeLoad NameLoad attr keyword Str keyword Str decorator_list FunctionDef arguments args NameParam NameParam defaults body If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Dict Str Str Str SubscriptLoad NameLoad Index Str Str Dict Str Str Str Str Return Assign NameStore Call NameLoad AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Raise Call NameLoad Str Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad If CompareNotEq SubscriptLoad SubscriptLoad NameLoad Index Str Index Str AttributeLoad NameLoad attr body Raise Call NameLoad Str If UnaryOpNot CompareIn Str SubscriptLoad NameLoad Index Str body Raise Call NameLoad Str Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Assign NameStore Call NameLoad NameLoad If CompareIs NameLoad NameLoad body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad If CompareNotEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call NameLoad NameLoad NameLoad Assign NameStore Dict Str Str Str SubscriptLoad NameLoad Index Str Str Dict Str Str Str Str Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Index Str attr Str If CompareIsNot NameLoad NameLoad body Assign NameStore Dict For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad NameLoad If CompareEq Call NameLoad NameLoad Num body Assign SubscriptStore NameLoad Index Str Str If CompareIn Str NameLoad body Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Assign SubscriptStore NameLoad Index Call NameLoad NameLoad NameLoad Assign SubscriptStore SubscriptLoad NameLoad Index Str Index Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad keyword BinOpMod Str TupleLoad AttributeLoad AttributeLoad NameLoad attr attr Expr Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad AttributeLoad NameLoad attr attr IfExp CompareIsNot AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Dict Str Str SubscriptLoad NameLoad Index Str Str If CompareEq SubscriptLoad NameLoad Index Str Str body AugAssignAdd SubscriptStore NameLoad Index Str Str TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad NameLoad keyword Str keyword Str keyword AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword Str handlers ExceptHandler type NameLoad name NameStore body Assign NameStore Dict Str Str Str AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Dict Str Str Str SubscriptLoad NameLoad Index Str Str NameLoad Expr Call NameLoad NameLoad keyword Str keyword Str keyword AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword Str keyword Str keyword Num keyword Call AttributeLoad NameLoad attr NameLoad Return orelse If UnaryOpNot AttributeLoad NameLoad attr body Assign NameStore Dict Str Str Str Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Dict Str Str Str SubscriptLoad NameLoad Index Str Str NameLoad Expr Call NameLoad NameLoad keyword Str keyword Str keyword AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword Str keyword Str keyword Num keyword Call AttributeLoad NameLoad attr NameLoad Return Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Str With Call AttributeLoad NameLoad attr NameStore body Expr Call AttributeLoad NameLoad attr NameLoad Dict Str Str Expr Call AttributeLoad NameLoad attr NameLoad BinOpMult BinOpMult Num Num Num Expr Call AttributeLoad NameLoad attr Expr Call NameLoad NameLoad Expr Call NameLoad Str Call NameLoad keyword SubscriptLoad NameLoad Index Str keyword SubscriptLoad NameLoad Index Str keyword Call NameLoad keyword AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr keyword Str keyword NameLoad keyword Call NameLoad keyword AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword BinOpMod Str TupleLoad AttributeLoad AttributeLoad NameLoad attr attr Expr Call NameLoad NameLoad If CompareIsNot AttributeLoad NameLoad attr NameLoad body Expr Call NameLoad NameLoad keyword Str keyword Str keyword AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword Str keyword Str keyword AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad AttributeLoad NameLoad attr attr orelse Expr Call NameLoad NameLoad Assign NameStore IfExp CompareIsNot AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str Expr Call NameLoad NameLoad keyword Str keyword Str keyword AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad keyword Str Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Expr Call NameLoad NameLoad Assign NameStore SubscriptLoad NameLoad Index Str TryExcept body Assign NameStore Call NameLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Str Assign NameStore Call NameLoad NameLoad NameLoad SubscriptLoad NameLoad Index Str Call NameLoad SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str keyword Call AttributeLoad NameLoad attr Str NameLoad keyword Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Dict Str Str Str Str Str NameLoad handlers ExceptHandler type NameLoad name NameStore body Assign NameStore Dict Str Str Str Call NameLoad NameLoad Assign NameStore SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Dict Str Str NameLoad Call AttributeLoad NameLoad attr Assign NameStore Dict Str Str Str NameLoad SubscriptLoad NameLoad Index Str NameLoad Expr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Expr Call NameLoad NameLoad Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Assign NameStore BinOpSub SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Assign NameStore BinOpSub SubscriptLoad NameLoad Index Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Assign NameStore BinOpSub SubscriptLoad SubscriptLoad NameLoad Index Str Index Str SubscriptLoad NameLoad Index Str AugAssignAdd SubscriptStore NameLoad Index Str BinOpMod Str TupleLoad Call NameLoad NameLoad Call NameLoad NameLoad Call NameLoad NameLoad Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Assign NameStore Call NameLoad NameLoad If CompareIs NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr Dict Str Str Str SubscriptLoad NameLoad Index Str Str SubscriptLoad NameLoad Index Str Expr Call NameLoad NameLoad keyword Str keyword Str keyword AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword Str decorator_list Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Dict Str Str BinOpMod Str TupleLoad AttributeLoad NameLoad attr ListLoad Str Str FunctionDef arguments args defaults body Return NameLoad decorator_list
N/A __future__ absolute_import typing Any django.conf settings django.utils.importlib import_module django.utils timezone django.contrib.sessions.models Session djSession N/A sockjs.tornado N/A tornado.ioloop N/A ujson N/A logging N/A time zerver.models UserProfile get_user_profile_by_id get_client zerver.lib.queue queue_json_publish zerver.lib.actions check_send_message extract_recipients zerver.decorator JsonableError zerver.lib.utils statsd zerver.lib.event_queue get_client_descriptor zerver.middleware record_request_start_data record_request_stop_data record_request_restart_data write_log_line format_timedelta zerver.lib.redis_utils get_redis_client zerver.lib.session_user get_session_user N/A logger N/A N/A logging getLogger zulip.socket N/A djsession_engine N/A import_module N/A settings SESSION_ENGINE get_user_profile N/A N/A session_id N/A N/A N/A N/A session_id None N/A N/A None N/A N/A N/A djsession N/A N/A N/A djSession objects get expire_date__gt N/A N/A timezone now session_key session_id N/A N/A N/A N/A djSession DoesNotExist N/A N/A None N/A N/A N/A N/A N/A N/A UserProfile objects get pk N/A get_session_user djsession N/A N/A N/A N/A N/A UserProfile DoesNotExist KeyError N/A N/A None N/A N/A connections N/A dict get_connection N/A N/A id N/A N/A N/A N/A N/A connections get id N/A register_connection N/A N/A id conn N/A N/A N/A N/A id connections N/A N/A N/A N/A N/A connections N/A id close N/A N/A conn client_id id N/A N/A connections N/A N/A conn client_id conn N/A deregister_connection N/A N/A conn N/A N/A N/A N/A connections N/A N/A conn client_id N/A N/A redis_client N/A get_redis_client req_redis_key N/A N/A req_id N/A N/A N/A N/A socket_req_status:%s N/A req_id N/A SocketAuthError N/A Exception N/A __init__ N/A N/A self msg N/A N/A N/A N/A self msg msg N/A N/A CloseErrorInfo N/A object N/A __init__ N/A N/A self status_code err_msg N/A N/A N/A N/A self status_code status_code N/A N/A self err_msg err_msg N/A N/A SocketConnection N/A N/A N/A sockjs tornado SockJSConnection N/A on_open N/A N/A self info N/A N/A N/A log_data N/A dict extra N/A [transport=%s] N/A N/A N/A self session transport_name N/A N/A record_request_start_data log_data N/A ioloop N/A N/A N/A N/A tornado ioloop IOLoop instance N/A N/A self authenticated False N/A N/A N/A self session user_profile None N/A N/A self close_info None N/A N/A self did_close False N/A N/A N/A N/A self browser_session_id N/A N/A N/A info get_cookie N/A settings SESSION_COOKIE_NAME value N/A N/A self csrf_token N/A N/A N/A info get_cookie N/A settings CSRF_COOKIE_NAME value N/A N/A N/A AttributeError N/A N/A N/A self close_info N/A CloseErrorInfo 403 Initial cookie lacked required values N/A N/A N/A ioloop add_callback N/A self close N/A auth_timeout N/A N/A N/A N/A N/A N/A self close_info N/A CloseErrorInfo 408 Timeout while waiting for authentication N/A N/A N/A self close N/A N/A N/A self timeout_handle N/A N/A ioloop add_timeout N/A N/A N/A time time 10 auth_timeout N/A N/A write_log_line log_data path /socket/open method SOCKET remote_ip N/A info ip email unknown client_name ? N/A authenticate_client N/A N/A self msg N/A N/A N/A N/A self authenticated N/A N/A N/A N/A N/A self session send_message N/A req_id type response N/A msg N/A req_id response N/A result msg error Already authenticated N/A N/A user_profile N/A get_user_profile N/A self browser_session_id N/A N/A user_profile None N/A N/A N/A SocketAuthError Unknown or missing session N/A N/A N/A self session user_profile user_profile N/A N/A N/A N/A msg N/A request N/A csrf_token N/A self csrf_token N/A N/A N/A SocketAuthError CSRF token does not match that in cookie N/A N/A N/A queue_id N/A msg N/A request N/A N/A N/A SocketAuthError Missing 'queue_id' argument N/A queue_id N/A N/A msg N/A request N/A queue_id N/A client N/A get_client_descriptor queue_id N/A N/A client None N/A N/A N/A SocketAuthError N/A Bad event queue id: %s N/A queue_id N/A N/A N/A user_profile id N/A client user_profile_id N/A N/A N/A SocketAuthError N/A You are not the owner of the queue with id '%s' N/A queue_id N/A N/A self authenticated True N/A N/A register_connection queue_id self N/A response N/A req_id type response N/A msg N/A req_id response N/A result msg success N/A status_inquiries N/A N/A N/A msg N/A request get status_inquiries N/A N/A status_inquiries None N/A N/A results N/A N/A inquiry status_inquiries N/A N/A status N/A N/A redis_client hgetall N/A req_redis_key inquiry N/A N/A N/A len status 0 N/A N/A N/A status N/A status not_received N/A N/A response status N/A N/A N/A status N/A response N/A N/A ujson loads N/A status N/A response N/A N/A results N/A N/A str inquiry status N/A N/A N/A response N/A response N/A status_inquiries results N/A N/A N/A N/A self session send_message response N/A ioloop N/A N/A N/A N/A tornado ioloop IOLoop instance N/A N/A N/A ioloop remove_timeout N/A self timeout_handle N/A on_message N/A N/A self msg N/A N/A N/A log_data N/A dict extra N/A [transport=%s N/A N/A N/A self session transport_name N/A N/A record_request_start_data log_data N/A msg N/A N/A ujson loads msg N/A N/A self did_close N/A N/A N/A N/A logger info N/A Received message on already closed socket! transport=%s user=%s client_id=%s N/A N/A N/A self session transport_name N/A N/A N/A N/A self session user_profile None N/A N/A N/A self session user_profile email unknown N/A self client_id N/A N/A N/A N/A self session send_message N/A req_id type N/A msg N/A req_id ack N/A N/A N/A msg N/A type auth N/A N/A N/A log_data N/A extra ] N/A N/A N/A N/A N/A self authenticate_client msg N/A N/A write_log_line log_data path /socket/auth method SOCKET remote_ip N/A N/A N/A self session conn_info ip email N/A N/A N/A self session user_profile email client_name ? N/A N/A N/A SocketAuthError N/A e N/A N/A response N/A result msg error N/A e msg N/A N/A N/A N/A self session send_message N/A req_id type response N/A msg N/A req_id response response N/A N/A write_log_line log_data path /socket/auth method SOCKET remote_ip N/A N/A N/A self session conn_info ip email unknown client_name ? status_code 403 error_content N/A N/A ujson dumps response N/A N/A N/A N/A N/A self authenticated N/A N/A response N/A result msg error Not yet authenticated N/A N/A N/A N/A self session send_message N/A req_id type response N/A msg N/A req_id response response N/A N/A write_log_line log_data path /socket/service_request method SOCKET remote_ip N/A N/A N/A self session conn_info ip email unknown client_name ? status_code 403 error_content N/A N/A ujson dumps response N/A N/A redis_key N/A req_redis_key N/A msg N/A req_id N/A N/A N/A redis_client pipeline pipeline N/A N/A N/A N/A pipeline hmset redis_key N/A status received N/A N/A N/A pipeline expire redis_key N/A N/A 60 60 24 N/A N/A N/A pipeline execute N/A N/A record_request_stop_data log_data N/A N/A queue_json_publish message_sender N/A dict request N/A msg N/A request req_id N/A msg N/A req_id server_meta N/A dict user_id N/A N/A N/A self session user_profile id client_id N/A self client_id return_queue tornado_return log_data log_data request_environ N/A dict REMOTE_ADDR N/A N/A N/A self session conn_info ip fake_message_sender N/A on_close N/A N/A self N/A N/A N/A log_data N/A dict extra N/A [transport=%s] N/A N/A N/A self session transport_name N/A N/A record_request_start_data log_data N/A N/A N/A self close_info None N/A N/A N/A write_log_line log_data path /socket/close method SOCKET remote_ip N/A N/A N/A self session conn_info ip email unknown client_name ? status_code N/A N/A self close_info status_code error_content N/A N/A self close_info err_msg N/A N/A N/A deregister_connection self N/A email N/A N/A N/A N/A self session user_profile None N/A N/A N/A self session user_profile email unknown N/A N/A write_log_line log_data path /socket/close method SOCKET remote_ip N/A N/A N/A self session conn_info ip email email client_name ? N/A N/A self did_close True N/A N/A fake_message_sender N/A N/A event N/A N/A N/A log_data N/A dict N/A N/A record_request_start_data log_data N/A req N/A event N/A request N/A N/A N/A sender N/A get_user_profile_by_id N/A N/A event N/A server_meta N/A user_id N/A client N/A get_client N/A req N/A client N/A msg_id N/A check_send_message sender client N/A req N/A type N/A extract_recipients N/A req N/A to N/A req N/A subject N/A req N/A content local_id N/A N/A req get local_id None sender_queue_id N/A N/A req get queue_id None N/A resp N/A result msg id success msg_id N/A N/A N/A JsonableError N/A e N/A N/A resp N/A result msg error N/A str e N/A server_meta N/A event N/A server_meta N/A N/A N/A server_meta update N/A worker_log_data time_request_finished log_data N/A N/A time time N/A result N/A response req_id server_meta resp N/A event N/A req_id server_meta N/A N/A respond_send_message result N/A respond_send_message N/A N/A data N/A N/A N/A log_data N/A N/A data N/A server_meta N/A log_data N/A N/A record_request_restart_data log_data N/A worker_log_data N/A N/A data N/A server_meta N/A worker_log_data N/A forward_queue_delay N/A N/A worker_log_data N/A time_started N/A log_data N/A time_stopped N/A return_queue_delay N/A N/A log_data N/A time_restarted N/A N/A data N/A server_meta N/A time_request_finished N/A service_time N/A N/A N/A data N/A server_meta N/A time_request_finished N/A worker_log_data N/A time_started N/A N/A log_data N/A extra N/A , queue_delay: %s/%s, service_time: %s] N/A N/A format_timedelta forward_queue_delay N/A format_timedelta return_queue_delay N/A format_timedelta service_time N/A client_id N/A N/A data N/A server_meta N/A client_id N/A connection N/A get_connection client_id N/A N/A connection None N/A N/A N/A N/A logger info N/A Could not find connection to send response to! client_id=%s N/A client_id N/A N/A N/A N/A N/A connection session send_message N/A req_id type response N/A data N/A req_id response N/A data N/A response N/A N/A write_log_line log_data path /socket/service_request method SOCKET remote_ip N/A N/A N/A connection session conn_info ip email N/A N/A N/A connection session user_profile email client_name ? N/A N/A sockjs_router N/A N/A N/A sockjs tornado SockJSRouter SocketConnection /sockjs N/A sockjs_url disabled_transports N/A https://%s/static/third/sockjs/sockjs-0.3.4.js N/A N/A settings EXTERNAL_HOST N/A eventsource htmlfile get_sockjs_router N/A N/A N/A N/A N/A sockjs_router N/A