Module Expr Str Assign NameStore Str Import alias Import alias Import alias Import alias Import alias ImportFrom alias alias alias ImportFrom alias alias ImportFrom alias alias alias alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Dict Str Str NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr If CompareIsNot NameLoad NameLoad body If Call AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index Str ListLoad Str Str Str Str Str Assign NameStore Str Assign NameStore Str orelse Assign SubscriptStore NameLoad Index Str ListLoad Str Str Str Assign NameStore Str Assign NameStore Str Assign SubscriptStore NameLoad Index Str BinOpMod Str TupleLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr Assign SubscriptStore NameLoad Index Str Call NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr keyword NameLoad Call AttributeLoad NameLoad attr keyword Str decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str Assign NameStore Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str If CompareEq SubscriptLoad NameLoad Index Num Str body Assign NameStore BinOpAdd SubscriptLoad NameLoad Slice Num Num SubscriptLoad NameLoad Slice Num orelse Assign NameStore ListLoad SubscriptLoad NameLoad Index Num NameLoad SubscriptLoad NameLoad Index Num NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Return BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore IfExp CompareIsNot AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore ListComp Call AttributeLoad NameLoad attr NameLoad comprehension NameStore NameLoad Assign NameStore IfExp CompareGt Call NameLoad NameLoad Num SubscriptLoad NameLoad Index Num Str Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Call AttributeLoad NameLoad attr keyword Str decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str Assign NameStore Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore IfExp AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Assign NameStore BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad Return ListComp Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad comprehension NameStore ListLoad BoolOpOr AttributeLoad NameLoad attr Str NameLoad Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Str Assign NameStore TupleLoad Str Dict Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Assign NameStore IfExp CompareGt Call NameLoad NameLoad Num Call AttributeLoad SubscriptLoad NameLoad Index Num attr NameLoad Assign NameStore ListComp Call AttributeLoad NameLoad attr NameLoad comprehension NameStore NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad ListLoad Str Str Str keyword NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr keyword NameLoad Call AttributeLoad NameLoad attr keyword Str decorator_list
N/A N/A Handlers for viewing user client & server operation logs.

  LogHandler: .
 N/A __author__ matt@emailscrubbed.com (Matt Tracy) N/A base64 N/A os N/A stat N/A time N/A logging tornado auth template escape viewfinder.backend.base handler util viewfinder.backend.db db_client schema vf_schema user viewfinder.backend.www.admin admin viewfinder.backend.storage.object_store ObjectStore viewfinder.backend.www.admin data_table UserLogHandler N/A N/A admin AdminHandler N/A N/A User Logs administration panel.  This handler allows administrators
  to view user logs which are stored in S3.
  Logs can currently only be queried using a specified user id.
   get N/A N/A self N/A N/A N/A user_id N/A N/A self get_argument user_id None N/A user_email N/A N/A self get_argument user_email None N/A t_dict N/A user_id user_email user_id user_email N/A N/A N/A t_dict update N/A N/A self PermissionsTemplateDict N/A N/A user_id None N/A N/A N/A N/A user_id isdigit N/A N/A N/A t_dict N/A col_names N/A Date Operation Method Operation ID Attempt # View Link N/A data_source_page user_logs_data N/A template userlogs_table.html N/A N/A N/A t_dict N/A col_names N/A User Name Email User Id N/A data_source_page user_names_data N/A template userlogs_users.html N/A N/A t_dict N/A ajax_src N/A https://%s/admin/%s?%s N/A N/A N/A self request host data_source_page N/A N/A self request query N/A N/A t_dict N/A col_data N/A list N/A N/A t_dict N/A user_email user_email N/A N/A N/A self render template t_dict N/A N/A N/A N/A self render userlogs.html t_dict N/A N/A N/A handler authenticated N/A N/A handler asynchronous datastore True N/A N/A admin require_permission level root N/A UserLogDataHandler N/A N/A data_table AdminDataTableHandler N/A N/A Handles the server-side pagination of user logs stored in S3.
  The list of logs is retrieved from S3 by a key search, the results
  of which are retrieved one page at a time via ajax requests.
  The current page is maintained using a cookie.
   N/A DB_TABLE s3_user_logs _FormatResult N/A N/A self key N/A N/A N/A loginfo N/A N/A key split / N/A N/A N/A loginfo N/A 2 op N/A N/A loginfo N/A N/A loginfo N/A 1 2 N/A loginfo N/A 3 N/A N/A loginfo N/A N/A loginfo N/A 1 None N/A loginfo N/A 2 None N/A url N/A N/A N/A self _log_store GenerateUrl key N/A N/A N/A loginfo append N/A <a href="%s">%s</a> N/A url url N/A loginfo N/A _GetOpLogPrefix N/A N/A self user_id timestamp N/A None N/A N/A N/A %s/ user_id N/A get N/A N/A self N/A N/A N/A user_id N/A N/A self get_argument user_id None N/A key_prefix N/A N/A self _GetOpLogPrefix user_id N/A req N/A N/A self ReadTablePageRequest N/A self DB_TABLE N/A N/A last_key _ N/A N/A N/A req last_key None N/A req last_key N/A None None _OnGetKeys N/A N/A items N/A N/A N/A rows N/A N/A N/A self _FormatResult item N/A item items N/A last_marker N/A N/A N/A len items 0 N/A items N/A -1 N/A N/A N/A self WriteTablePageResponse rows N/A N/A db_client DBKey last_marker None N/A N/A N/A N/A N/A self _log_store ListKeys _OnGetKeys prefix key_prefix marker last_key maxkeys N/A req length N/A N/A N/A handler authenticated N/A N/A handler asynchronous datastore True log_store True N/A N/A admin require_permission level root N/A UserNameDataHandler N/A N/A data_table AdminDataTableHandler N/A N/A Handles the server-side pagination of users queried from the database.
  Users are queried based on their full name and email address.
   N/A DB_TABLE user _FormatResult N/A N/A self user N/A N/A N/A email N/A N/A user email N/A N/A escape url_escape N/A user email - N/A user_url N/A <a href="/admin/user_logs?user_id=%d&user_email=%s">{0}</a> N/A N/A user user_id email N/A N/A N/A N/A user_url format N/A N/A escape utf8 N/A N/A escape xhtml_escape item N/A item N/A N/A N/A user name - email N/A str N/A user user_id N/A get N/A N/A self N/A N/A N/A user_search N/A N/A self get_argument user_id N/A query_string N/A user.name={us} | user.email={us} N/A us user_search N/A req N/A N/A self ReadTablePageRequest N/A self DB_TABLE _OnGetUsers N/A N/A users N/A N/A N/A last_key N/A N/A N/A len users 0 N/A N/A N/A users N/A -1 _GetIndexKey None N/A rows N/A N/A N/A self _FormatResult user N/A user users N/A N/A N/A self WriteTablePageResponse rows last_key N/A N/A N/A N/A N/A user User IndexQuery N/A self _client query_string N/A name user_id email callback _OnGetUsers limit N/A req length start_index_key N/A req last_key N/A N/A N/A handler authenticated N/A N/A handler asynchronous datastore True N/A N/A admin require_permission level root N/A