Module Import alias ImportFrom alias ImportFrom alias alias ImportFrom alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias Import alias ImportFrom alias Import alias ImportFrom alias FunctionDef arguments args NameParam defaults Str body Expr Str Assign NameStore Call NameLoad NameLoad Str Str Assign NameStore BinOpMod Str TupleLoad NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body TryExcept body While NameLoad body If Call AttributeLoad NameLoad attr BinOpAdd NameLoad Str Str Num body Break Return NameLoad handlers ExceptHandler body Print Str Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr BinOpAdd NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str If NameLoad body If Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad Num Expr Call NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot NameLoad body Expr Call NameLoad NameLoad Dict Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad TryExcept body Expr AttributeLoad NameLoad attr handlers ExceptHandler body Return ListLoad TryExcept body If UnaryOpNot Call NameLoad NameLoad Str NameLoad body Return NameLoad Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad For NameStore SubscriptLoad Call AttributeLoad NameLoad attr Index Num body Expr Call AttributeLoad NameLoad attr Dict Str Str AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler body Pass Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str TryExcept body Assign NameStore Call NameLoad Call NameLoad Str Return SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Str handlers ExceptHandler body Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str TryExcept body Assign NameStore Call NameLoad Call NameLoad Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad Assign SubscriptStore NameLoad Index NameLoad Dict Str Str Str Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call NameLoad Call NameLoad Str NameLoad handlers ExceptHandler body Print Str Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad Call NameLoad Str If Call NameLoad NameLoad NameLoad body Delete SubscriptDel SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Str Index NameLoad Expr Call NameLoad Call NameLoad Str NameLoad Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad Call NameLoad Str If CompareNotIn NameLoad Call AttributeLoad SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Str attr body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Call NameLoad Str If CompareIn NameLoad Call AttributeLoad NameLoad attr body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad Call NameLoad Str If CompareEq SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Str Index Str NameLoad body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If Call NameLoad NameLoad body If Call NameLoad NameLoad NameLoad body Assign NameStore Call NameLoad Call NameLoad Str If Call NameLoad NameLoad NameLoad body Expr Call NameLoad NameLoad NameLoad Delete SubscriptDel SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Str Index NameLoad Expr Call NameLoad Call NameLoad Str NameLoad Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If Call NameLoad NameLoad NameLoad body Assign NameStore Call NameLoad Call NameLoad Str Delete SubscriptDel NameLoad Index NameLoad Expr Call NameLoad Call NameLoad Str NameLoad Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If BoolOpAnd Call NameLoad NameLoad Call NameLoad NameLoad NameLoad body Assign NameStore Call NameLoad Call NameLoad Str For NameStore NameLoad body Delete SubscriptDel SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Str Index NameLoad Expr Call NameLoad Call NameLoad Str NameLoad Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If Call NameLoad NameLoad body Assign NameStore Call NameLoad Call NameLoad Str For NameStore NameLoad body Assign SubscriptStore SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Str Index NameLoad Dict Str Str ListLoad ListLoad Expr Call NameLoad Call NameLoad Str NameLoad Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Assign NameStore BinOpAdd BinOpAdd NameLoad Str Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad Call NameLoad Str If CompareIn NameLoad Call AttributeLoad NameLoad attr body Return Call NameLoad NameLoad Assign SubscriptStore NameLoad Index NameLoad Dict Assign SubscriptStore SubscriptLoad NameLoad Index NameLoad Index Str Dict Assign SubscriptStore SubscriptLoad NameLoad Index NameLoad Index Str Dict Str Str Str NameLoad NameLoad Call AttributeLoad NameLoad attr Expr Call NameLoad Call NameLoad Str NameLoad Expr Call NameLoad NameLoad NameLoad NameLoad Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Call NameLoad Str Assign NameStore ListLoad For NameStore Call AttributeLoad NameLoad attr body If CompareIn NameLoad Call AttributeLoad SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Str attr body Expr Call AttributeLoad NameLoad attr Call NameLoad keyword NameLoad keyword SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Str Index Str keyword SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Str Index Str keyword Call NameLoad SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Str Index Str keyword ListComp Call NameLoad keyword NameLoad keyword Call NameLoad NameLoad comprehension NameStore Call AttributeLoad SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Str attr UnaryOpNot CompareEq NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults kwarg body Expr Str FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Call NameLoad Str For NameStore Call AttributeLoad NameLoad attr body If CompareIn NameLoad Call AttributeLoad SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Str attr body TryExcept body Assign NameStore SubscriptLoad SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Str Index NameLoad Index Str handlers ExceptHandler body Assign NameStore ListLoad If NameLoad body Expr Call AttributeLoad SubscriptLoad NameLoad Index Str attr Dict NameLoad Dict Str NameLoad Assign SubscriptStore SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Str Index NameLoad Index Str ListLoad Expr Call NameLoad Call NameLoad Str NameLoad Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Str If NameLoad body Assign SubscriptStore NameLoad Index Str BinOpAdd SubscriptLoad NameLoad Index Str NameLoad Return NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad Call NameLoad Str Assign NameStore Dict Str Str Str Str ListComp Call NameLoad keyword NameLoad keyword SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Str keyword SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Str comprehension NameStore Call AttributeLoad NameLoad attr UnaryOpNot CompareEq NameLoad Call NameLoad NameLoad ListLoad Call NameLoad NameLoad Call NameLoad SubscriptLoad NameLoad Index Str Return Call AttributeLoad NameLoad attr decorator_list If CompareNotIn Str Call AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index Str NameLoad If CompareNotIn Str Call AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index Str NameLoad If BoolOpAnd CompareIn Str Call AttributeLoad NameLoad attr CompareIn Str Call AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad NameLoad Index Str orelse Assign SubscriptStore NameLoad Index Str NameLoad Assign NameStore Call NameLoad If BoolOpAnd AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str body Assign NameStore Num While BoolOpAnd UnaryOpNot SubscriptLoad NameLoad Index Str CompareLt NameLoad AttributeLoad NameLoad attr body If SubscriptLoad NameLoad Index Str body If NameLoad body Expr Call NameLoad SubscriptLoad NameLoad Index Str NameLoad AugAssignAdd NameStore Num Assign NameStore Call NameLoad Assign NameStore Call NameLoad NameLoad If UnaryOpNot CompareEq NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Break If CompareEq SubscriptLoad NameLoad Index Str Str body Break If UnaryOpNot SubscriptLoad NameLoad Index Str body Expr Call NameLoad AttributeLoad NameLoad attr orelse Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return Call NameLoad NameLoad keyword Str keyword Num decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str TryExcept body If UnaryOpNot Call NameLoad NameLoad NameLoad body Return Call NameLoad NameLoad If Call NameLoad NameLoad body Assign NameStore Call NameLoad Call NameLoad Str For NameStore Call AttributeLoad SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Str attr body Expr Call AttributeLoad SubscriptLoad SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Str Index NameLoad Index Str attr Call NameLoad keyword NameLoad keyword NameLoad keyword Call NameLoad Str keyword Call NameLoad Str keyword NameLoad Expr Call NameLoad Call NameLoad Str NameLoad handlers ExceptHandler body Assign NameStore Call AttributeLoad NameLoad attr Dict Str Str Str Dict Str Call NameLoad Call AttributeLoad NameLoad attr Return Call NameLoad NameLoad keyword Str keyword Num Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call NameLoad NameLoad NameLoad Return Call NameLoad Call AttributeLoad Call NameLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Call NameLoad Str Delete SubscriptDel NameLoad Index NameLoad Expr Call NameLoad Call NameLoad Str NameLoad Return Call NameLoad Call AttributeLoad NameLoad attr Dict Str Str keyword Str keyword Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str TryExcept body Assign NameStore NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Call NameLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str handlers ExceptHandler body Print Str Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Dict Str Str Str Dict Str Call NameLoad Call AttributeLoad NameLoad attr Return Call NameLoad NameLoad keyword Str keyword Num TryExcept body Expr Call NameLoad NameLoad SubscriptLoad NameLoad Index Str If CompareEq SubscriptLoad NameLoad Index Str Str body Return Call NameLoad NameLoad SubscriptLoad NameLoad Index Str If CompareEq SubscriptLoad NameLoad Index Str Str body Return Call NameLoad NameLoad If CompareEq SubscriptLoad NameLoad Index Str Str body Return Call NameLoad NameLoad keyword NameLoad keyword SubscriptLoad NameLoad Index Str keyword NameLoad If CompareEq SubscriptLoad NameLoad Index Str Str body Return Call NameLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str NameLoad NameLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str If CompareEq SubscriptLoad NameLoad Index Str Str body Return Call NameLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str NameLoad If CompareEq SubscriptLoad NameLoad Index Str Str body Return Call NameLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str NameLoad If CompareEq SubscriptLoad NameLoad Index Str Str body Return Call NameLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str NameLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str If CompareEq SubscriptLoad NameLoad Index Str Str body Return Call NameLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str NameLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str If CompareEq SubscriptLoad NameLoad Index Str Str body Return Call NameLoad NameLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str handlers ExceptHandler body Print Str Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Dict Str Str Str Dict Str Call NameLoad Call AttributeLoad NameLoad attr Return Call NameLoad NameLoad keyword Str keyword Num Return Call NameLoad Call AttributeLoad NameLoad attr Dict Str Str Str Dict Str Str keyword Str keyword Num decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body While NameLoad body TryExcept body Expr Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad Call NameLoad Str For NameStore Call AttributeLoad NameLoad attr body Assign NameStore BinOpSub Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Str If CompareGt AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Delete SubscriptDel NameLoad Index NameLoad Expr Call NameLoad Call NameLoad Str NameLoad handlers ExceptHandler body Print Str Call AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults vararg kwarg body If UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad Call NameLoad attr Pass Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If UnaryOpNot CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Str Str body Return If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore Call AttributeLoad NameLoad attr Dict Str Str Str Str Assign NameStore Call NameLoad keyword Str Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad If CompareEq AttributeLoad NameLoad attr Str body Return Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return decorator_list decorator_list
N/A N/A json time sleep django.http HttpResponse HttpRequest treeio.core.conf settings N/A threading datetime datetime time strftime hashlib md5 N/A sys django.core.cache cache N/A cPickle django.contrib.messages.storage default_storage get_key N/A N/A postfix N/A N/A N/A 
    Return key for memcached
    :param postfix: postfix key
    :type postfix: basestring
     N/A domain N/A getattr settings CURRENT_DOMAIN default N/A key N/A treeio_%s_chat_%s N/A domain postfix N/A key N/A create_lock N/A N/A key N/A N/A N/A N/A N/A True N/A N/A N/A N/A cache add N/A key _lock 1 10 N/A N/A N/A True N/A N/A N/A N/A Error:  N/A N/A sys exc_info N/A False N/A delete_lock N/A N/A key N/A N/A N/A N/A N/A cache delete N/A key _lock N/A set_memcached N/A N/A key obj lock N/A True N/A N/A 
    Serialization object and add his in memcached
     N/A lock N/A N/A N/A create_lock key N/A N/A N/A N/A cache set key N/A N/A cPickle dumps obj 2592000 N/A N/A delete_lock key N/A N/A N/A N/A cache set key N/A N/A cPickle dumps obj 2592000 N/A get_memcached N/A N/A key N/A N/A N/A 
    Return deserialize object from memcached
     N/A data N/A N/A cache get key N/A N/A data N/A N/A N/A set_memcached key N/A N/A obj N/A N/A cPickle loads N/A N/A cache get key N/A obj N/A get_notifications N/A N/A user N/A N/A N/A 
    Return list notifications
    :param user: object user
     N/A notifications N/A N/A N/A N/A N/A user id N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A getattr settings HARDTREE_ALLOW_GRITTER_NOTIFICATIONS False N/A N/A notifications N/A request N/A HttpRequest N/A N/A request user user N/A storage N/A default_storage request N/A msg N/A N/A N/A storage _get N/A 0 N/A N/A N/A N/A notifications append N/A message tags N/A msg message N/A N/A msg _get_tags N/A N/A N/A storage _store None N/A N/A N/A N/A N/A notifications N/A get_user_profile N/A N/A user N/A N/A N/A 
    return user profile
     N/A N/A N/A listeners N/A get_memcached N/A get_key listeners N/A N/A N/A listeners N/A user N/A profile N/A N/A N/A N/A user N/A update_user N/A N/A user location N/A N/A N/A 
    update location and the last time request Users
    :param user: object user
    :param location: location user on site
    :type location: basestring
     N/A N/A N/A listeners N/A get_memcached N/A get_key listeners N/A _user_profile N/A str N/A user profile N/A _user N/A str user N/A N/A listeners N/A _user N/A datetime locations profile N/A N/A datetime now location _user_profile N/A N/A set_memcached N/A get_key listeners listeners N/A N/A N/A N/A Error:  N/A N/A sys exc_info N/A remove_user N/A N/A id user N/A N/A N/A 
    Remove user from conference
    :param id: ID conference
    :type id: basestring
    :type user: basestring
     N/A conferences N/A get_memcached N/A get_key conferences N/A N/A verification_user id user N/A N/A N/A N/A N/A conferences N/A id N/A users N/A user N/A N/A set_memcached N/A get_key conferences conferences N/A N/A get_new_message_for_user user N/A verification_user N/A N/A id user N/A N/A N/A 
    Verification user in conference
    return True if the user is present in conference, else return False
    :param id: ID conference
    :type id: basestring
    :type user: basestring
     N/A conferences N/A get_memcached N/A get_key conferences N/A N/A user N/A N/A N/A N/A conferences N/A id N/A users keys N/A N/A False N/A True N/A checking_conference N/A N/A id_conference N/A N/A N/A 
    Checking for the existence of the conference
    :param id_conference: ID conference
    :type id_conference: basestring
     N/A conferences N/A get_memcached N/A get_key conferences N/A N/A id_conference N/A N/A conferences keys N/A N/A True N/A False N/A is_owner_user N/A N/A id user N/A N/A N/A 
    Checks whether user is owner of conferences
    :param id: ID conference
    :type id: basestring
    :type user: basestring
     N/A conferences N/A get_memcached N/A get_key conferences N/A N/A N/A N/A N/A conferences N/A id N/A info N/A creator user N/A N/A True N/A False N/A exit_from_conference N/A N/A id user N/A N/A N/A 
    Remove user from conference if user exited from conference
    :param id: ID conference
    :type id: basestring
    :type user: basestring
     N/A N/A checking_conference id N/A N/A N/A verification_user id user N/A N/A conferences N/A get_memcached N/A get_key conferences N/A N/A is_owner_user id user N/A N/A N/A delete_conference id user N/A N/A N/A N/A conferences N/A id N/A users N/A user N/A N/A set_memcached N/A get_key conferences conferences N/A N/A get_new_message_for_user user N/A delete_conference N/A N/A id user N/A N/A N/A 
    Delete conference (if user is owner conference)
    :param id: ID conference
    :type id: basestring
    :type user: basestring
     N/A N/A is_owner_user id user N/A N/A conferences N/A get_memcached N/A get_key conferences N/A N/A conferences N/A id N/A N/A set_memcached N/A get_key conferences conferences N/A N/A get_new_message_for_user user N/A remove_users_in_conference N/A N/A id user users N/A N/A N/A 
    Remove users from conference (if user is owner conference)
    :param id: ID conference
    :type id: basestring
    :type user: basestring
    :type users: baselist
    :param users: List of users to remove from conferences
     N/A N/A N/A checking_conference id N/A is_owner_user id user N/A N/A conferences N/A get_memcached N/A get_key conferences N/A val users N/A N/A N/A N/A N/A conferences N/A id N/A users N/A val N/A N/A set_memcached N/A get_key conferences conferences N/A N/A get_new_message_for_user user N/A add_users_in_conference N/A N/A id user users N/A N/A N/A 
    Add users in conference (if user is owner conference)
    :param id: ID conference
    :type id: basestring
    :type user: basestring
    :type users: baselist
    :param users: List of users to add in conference
     N/A N/A checking_conference id N/A N/A conferences N/A get_memcached N/A get_key conferences N/A val users N/A N/A N/A N/A N/A conferences N/A id N/A users N/A val N/A messages locations N/A N/A N/A N/A set_memcached N/A get_key conferences conferences N/A N/A get_new_message_for_user user N/A create_conference N/A N/A user users title N/A N/A N/A 
    Create conference
    :type user: basestring
    :type users: baselist
    :param users: List of users to add in conference
    :type title: basestring
     N/A id N/A md5 N/A N/A N/A id update N/A str N/A N/A datetime now N/A id N/A N/A user _ N/A N/A id hexdigest N/A N/A N/A users append user N/A conferences N/A get_memcached N/A get_key conferences N/A N/A id N/A N/A conferences keys N/A N/A N/A get_new_message_for_user user N/A N/A conferences N/A id N/A N/A N/A N/A conferences N/A id N/A users N/A N/A N/A N/A conferences N/A id N/A info N/A creator title creation_date user title N/A N/A datetime now N/A N/A set_memcached N/A get_key conferences conferences N/A N/A add_users_in_conference id user users N/A N/A get_new_message_for_user user N/A get_active_conferences N/A N/A user N/A N/A N/A 
    get_active_conferences(user) -> list active conferences
    Return active conferences
    :type user: basestring
    :return: list
     N/A conferences N/A get_memcached N/A get_key conferences N/A list_conferences N/A N/A key N/A N/A conferences keys N/A N/A N/A user N/A N/A N/A N/A conferences N/A key N/A users keys N/A N/A N/A N/A list_conferences append N/A dict id key title N/A N/A N/A conferences N/A key N/A info N/A title creator N/A N/A N/A conferences N/A key N/A info N/A creator creation_date N/A str N/A N/A N/A conferences N/A key N/A info N/A creation_date users N/A N/A dict username username profile N/A get_user_profile username N/A username N/A N/A N/A N/A conferences N/A key N/A users keys N/A N/A username user N/A list_conferences N/A get_new_message_for_user N/A N/A user N/A kwargs N/A N/A 
    get_new_message_for_user(user, **kwargs) -> HTTPResponse(json(new_data))
    Return HTTP response to new data
    :type user: basestring
     __update_data N/A N/A _data N/A N/A N/A conferences N/A get_memcached N/A get_key conferences N/A key N/A N/A conferences keys N/A N/A N/A user N/A N/A N/A N/A conferences N/A key N/A users keys N/A N/A N/A N/A msg N/A N/A N/A N/A conferences N/A key N/A users N/A user N/A messages N/A N/A N/A N/A msg N/A N/A msg N/A N/A N/A N/A N/A _data N/A new_data append N/A key N/A messages msg N/A N/A N/A N/A N/A conferences N/A key N/A users N/A user N/A messages N/A N/A N/A set_memcached N/A get_key conferences conferences N/A notifications N/A get_notifications N/A kwargs N/A user_obj N/A notifications N/A N/A N/A _data N/A notifications N/A N/A _data N/A notifications notifications N/A _data N/A __get_new_data N/A N/A N/A N/A N/A listeners N/A get_memcached N/A get_key listeners N/A _new_data N/A users new_data conferences notifications N/A N/A dict name key location N/A N/A listeners N/A key N/A locations profile N/A N/A listeners N/A key N/A profile N/A key N/A N/A listeners keys N/A N/A key N/A str user N/A N/A get_active_conferences user N/A get_notifications N/A kwargs N/A user_obj N/A N/A N/A _new_data copy N/A N/A N/A flag N/A N/A kwargs keys N/A N/A N/A kwargs N/A flag None N/A N/A long_polling N/A N/A kwargs keys N/A N/A N/A kwargs N/A long_polling False N/A N/A N/A user_obj N/A N/A kwargs keys N/A location N/A N/A kwargs keys N/A N/A _location N/A kwargs N/A location N/A N/A N/A kwargs N/A user_obj None N/A data N/A __get_new_data N/A N/A N/A settings CHAT_LONG_POLLING N/A kwargs N/A long_polling N/A N/A out_time 0 N/A N/A N/A N/A data N/A new_data N/A out_time N/A settings CHAT_TIMEOUT N/A N/A N/A kwargs N/A user_obj N/A N/A _location N/A N/A N/A update_user N/A kwargs N/A user_obj _location N/A out_time 1 N/A _temp_data N/A __get_new_data N/A _temp_data N/A __update_data _temp_data N/A N/A N/A _temp_data data N/A N/A data N/A N/A _temp_data copy N/A N/A N/A N/A kwargs N/A flag connect N/A N/A N/A N/A N/A _temp_data N/A new_data N/A N/A N/A sleep N/A settings CHAT_TIME_SLEEP_NEWDATA N/A N/A data N/A N/A _temp_data copy N/A data N/A N/A json dumps data N/A N/A HttpResponse data content_type application/json status 200 N/A add_new_message N/A N/A id user user_profile text N/A N/A N/A 
    Add new message
    :param id: ID conference
    :type id: basestring
    :type user: basestring
    :type user_profile: basestring
    :type text: basestring
     N/A N/A N/A N/A N/A verification_user id user N/A N/A N/A get_new_message_for_user user N/A N/A checking_conference id N/A N/A conferences N/A get_memcached N/A get_key conferences N/A key N/A N/A N/A N/A conferences N/A id N/A users keys N/A N/A N/A N/A N/A N/A N/A N/A conferences N/A id N/A users N/A key N/A messages append N/A dict user user text text time N/A strftime %H:%M:%S date N/A strftime %Y-%m-%d profile user_profile N/A N/A set_memcached N/A get_key conferences conferences N/A N/A N/A N/A data N/A N/A json dumps N/A cmd data Error N/A msg N/A str N/A N/A sys exc_info N/A N/A HttpResponse data content_type application/json status 200 N/A N/A get_new_message_for_user user N/A connect N/A N/A user location N/A N/A N/A N/A update_user user location N/A N/A get_new_message_for_user N/A N/A N/A str user lower location location long_polling False user_obj user N/A disconnect N/A N/A user N/A N/A N/A listeners N/A get_memcached N/A get_key listeners N/A N/A listeners N/A user N/A N/A set_memcached N/A get_key listeners listeners N/A N/A HttpResponse N/A N/A json dumps N/A cmd Disconnect content_type application/json status 200 N/A cmd N/A N/A message user N/A N/A N/A 
    Handler AJAX query
    :param user: object user
    :param message: content POST
    :type message: basedict
     N/A N/A N/A user_obj user N/A user_profile N/A str N/A user profile N/A user N/A N/A N/A str user lower N/A data N/A N/A json loads N/A message N/A json N/A N/A N/A N/A error:  N/A N/A sys exc_info N/A data N/A N/A json dumps N/A cmd data Error N/A msg N/A str N/A N/A sys exc_info N/A N/A HttpResponse data content_type application/json status 200 N/A N/A N/A N/A update_user user_obj N/A data N/A location N/A N/A N/A data N/A cmd Connect N/A N/A N/A connect user_obj N/A data N/A location N/A N/A N/A data N/A cmd Disconnect N/A N/A N/A disconnect user N/A N/A N/A data N/A cmd Get N/A N/A N/A get_new_message_for_user user user_obj user_obj location N/A data N/A location long_polling True N/A N/A N/A data N/A cmd Message N/A N/A N/A add_new_message N/A N/A data N/A data N/A id user user_profile N/A N/A data N/A data N/A text N/A N/A N/A data N/A cmd Exit N/A N/A N/A exit_from_conference N/A N/A data N/A data N/A id user N/A N/A N/A data N/A cmd Delete N/A N/A N/A delete_conference N/A N/A data N/A data N/A id user N/A N/A N/A data N/A cmd Remove N/A N/A N/A remove_users_in_conference N/A N/A data N/A data N/A id user N/A N/A data N/A data N/A users N/A N/A N/A data N/A cmd Add N/A N/A N/A add_users_in_conference N/A N/A data N/A data N/A id user N/A N/A data N/A data N/A users N/A N/A N/A data N/A cmd Create N/A N/A N/A create_conference user N/A N/A data N/A data N/A users N/A N/A data N/A data N/A title N/A N/A N/A N/A Error:  N/A N/A sys exc_info N/A data N/A N/A json dumps N/A cmd data Error N/A msg N/A str N/A N/A sys exc_info N/A N/A HttpResponse data content_type application/json status 200 N/A N/A HttpResponse N/A N/A json dumps N/A cmd data Error N/A msg unknown command content_type application/json status 200 N/A Search_Inactive_Users N/A N/A threading Thread N/A N/A 
    Delete inactive users
     __init__ N/A N/A self N/A N/A N/A N/A N/A N/A threading Thread __init__ self N/A run N/A N/A self N/A N/A N/A True N/A N/A N/A N/A N/A sleep N/A settings CHAT_TIME_SLEEP_THREAD N/A listeners N/A get_memcached N/A get_key listeners N/A user N/A N/A listeners keys N/A N/A time N/A N/A N/A datetime now N/A N/A listeners N/A user N/A datetime N/A N/A N/A time seconds N/A settings CHAT_TIMEOUT N/A N/A N/A listeners N/A user N/A N/A set_memcached N/A get_key listeners listeners N/A N/A N/A N/A error:  N/A N/A sys exc_info N/A N/A ChatAjaxMiddleware N/A object N/A __init__ N/A N/A self N/A args kwargs N/A N/A N/A N/A settings HARDTREE_CRON_DISABLED N/A N/A N/A N/A N/A Search_Inactive_Users start N/A N/A N/A N/A N/A super ChatAjaxMiddleware self __init__ args kwargs N/A process_request N/A N/A self request N/A N/A N/A N/A N/A N/A N/A request META N/A PATH_INFO /chat N/A N/A N/A N/A N/A N/A N/A request user is_authenticated N/A N/A data N/A N/A json dumps N/A cmd data Error User is not authenticated N/A response N/A HttpResponse content_type application/json N/A N/A N/A response write data N/A response N/A N/A N/A request method POST N/A N/A N/A cmd N/A request POST N/A request user N/A N/A N/A