MCPcopy Create free account

hub / github.com/tiny-pilot/tinypilot / functions

Functions758 in github.com/tiny-pilot/tinypilot

↓ 2 callersMethod_processHighPriorityEvent
(mouseInfo)
app/static/js/mouse.js:137
↓ 2 callersMethod_processLowPriorityEvent
(mouseInfo)
app/static/js/mouse.js:144
↓ 2 callersFunction_required_auth_level_decorator
(required_auth_level)
app/api.py:50
↓ 2 callersFunction_user_from_strings
Reinstates a User object from string values (e.g., as of the DB).
app/auth.py:78
↓ 2 callersMethodas_dict
(self)
app/update/settings.py:76
↓ 2 callersFunctionc
()
app/static/third-party/socket.io/4.7.1/socket.io.min.js:6
↓ 2 callersFunctioncreateSession
(callbacks)
app/static/third-party/janus-gateway/1.3.2/janus.js:963
↓ 2 callersFunctiond
(t,e)
app/static/third-party/socket.io/4.7.1/socket.io.min.js:6
↓ 2 callersMethoddebug_sensitive
(self, message, *args, **kws)
app/log.py:57
↓ 2 callersFunctiondisableUserAuthentication
* Disable user authentication and clean up all users. * * This is used to revert the system state for subsequent testing. * * @param {Page} page -
e2e/change-password.spec.js:74
↓ 2 callersFunctiondistancePx
(touchInfo1, touchInfo2)
app/static/js/touch.js:120
↓ 2 callersFunctioneventHandler
()
app/static/third-party/janus-gateway/1.3.2/janus.js:690
↓ 2 callersMethodgetAllPressedKeys
* @returns {string[]} An unordered array of canonical key codes.
app/static/js/keyboardstate.js:86
↓ 2 callersFunctiongetBitrate
(handleId, mid)
app/static/third-party/janus-gateway/1.3.2/janus.js:3004
↓ 2 callersFunctiongetLocalTracks
(handleId)
app/static/third-party/janus-gateway/1.3.2/janus.js:2768
↓ 2 callersFunctiongetRemoteTracks
(handleId)
app/static/third-party/janus-gateway/1.3.2/janus.js:2795
↓ 2 callersFunctionmouseClickEvent
(target, touchPosition, buttons)
app/static/js/touch.js:80
↓ 2 callersFunctionnormalizeWheelDelta
* Normalize mouse wheel delta to a value that's consistent across browsers. * Different browsers use different values for the delta, so we reduce it
app/static/js/mouse.js:194
↓ 2 callersFunctiono
(t)
app/static/third-party/webrtc-adapter/8.2.3/adapter.min.js:34
↓ 2 callersFunctionprepareWebrtcPeer
(handleId, callbacks)
app/static/third-party/janus-gateway/1.3.2/janus.js:2141
↓ 2 callersFunctionredactSensitiveData
(logText)
app/static/js/logs.js:20
↓ 2 callersFunctionreplaceTracks
(handleId, callbacks)
app/static/third-party/janus-gateway/1.3.2/janus.js:2296
↓ 2 callersMethodrun
Method to be run in sub-process.
app/execute.py:32
↓ 2 callersFunctionsendData
(handleId, callbacks)
app/static/third-party/janus-gateway/1.3.2/janus.js:1730
↓ 2 callersFunctionsendDtmf
(handleId, callbacks)
app/static/third-party/janus-gateway/1.3.2/janus.js:1766
↓ 2 callersFunctionsendMessage
(handleId, callbacks)
app/static/third-party/janus-gateway/1.3.2/janus.js:1485
↓ 2 callersFunctionsendTrickleCandidate
(handleId, candidate)
app/static/third-party/janus-gateway/1.3.2/janus.js:1627
↓ 2 callersFunctionsetBitrate
(handleId, mid, bitrate)
app/static/third-party/janus-gateway/1.3.2/janus.js:3093
↓ 2 callersFunctionsetKeystrokeHistoryStatus
(isEnabled)
app/static/js/app.js:223
↓ 2 callersMethodset_streaming_mode
Stores the preferred streaming mode. Args: streaming_mode: `StreamingMode` value.
app/db/settings.py:55
↓ 2 callersFunctionsetupUserAuthentication
* Enable user authentication and create test users with specified roles. * * @param {Page} page - A Playwright Page object representing an authentic
e2e/change-password.spec.js:18
↓ 2 callersMethodtrackStatus
(overlayElement, isShown)
app/static/js/overlays.js:13
↓ 2 callersFunctionunbindWebSocket
()
app/static/third-party/janus-gateway/1.3.2/janus.js:1217
↓ 2 callersFunctionunixTime
()
app/static/js/app.js:62
↓ 2 callersFunctionx
(t,e)
app/static/third-party/socket.io/4.7.1/socket.io.min.js:6
↓ 2 callersFunctiony
(t,e)
app/static/third-party/socket.io/4.7.1/socket.io.min.js:6
↓ 1 callersFunctionAt
(t,e)
app/static/third-party/socket.io/4.7.1/socket.io.min.js:6
↓ 1 callersFunctionE
(t)
app/static/third-party/socket.io/4.7.1/socket.io.min.js:6
↓ 1 callersFunctionEt
(e,n)
app/static/third-party/socket.io/4.7.1/socket.io.min.js:6
↓ 1 callersFunctionL
(t,e)
app/static/third-party/socket.io/4.7.1/socket.io.min.js:6
↓ 1 callersFunctionOt
(e,n)
app/static/third-party/socket.io/4.7.1/socket.io.min.js:6
↓ 1 callersFunction_cache_flask_db
(flask_db)
app/db_connection.py:47
↓ 1 callersFunction_count_modifiers
(keystroke)
app/js_to_hid.py:209
↓ 1 callersFunction_create
Generate and save a secret key file with a file permission of 600. Args: None Returns: A string of 32 random bytes suitable
app/secret_key.py:66
↓ 1 callersMethod_fixInternalModifierStates
* Fixes the internal modifiers’ state according to the information in the key * event. The internal state may have gotten out of sync in case the m
app/static/js/keyboardstate.js:59
↓ 1 callersFunction_from_file
(settings_file)
app/update/settings.py:152
↓ 1 callersFunction_get
Get and validate the currently saved secret key from the filesystem. Args: None Returns: A string of 32 bytes. Raises:
app/secret_key.py:39
↓ 1 callersFunction_get_credentials_last_changed
Returns a timestamp or None if there is no logged-in user.
app/session.py:139
↓ 1 callersFunction_get_default_edid
()
app/video_service.py:28
↓ 1 callersFunction_get_project_metadata
(project_name)
app/license_notice.py:319
↓ 1 callersMethod_isInTimeoutWindow
()
app/static/js/mouse.js:179
↓ 1 callersFunction_is_debug
()
app/version.py:43
↓ 1 callersFunction_is_standalone_mode
()
app/views.py:101
↓ 1 callersFunction_is_update_process_running
()
app/update/status.py:38
↓ 1 callersFunction_login_redirect_query
()
app/views.py:105
↓ 1 callersFunction_make_plaintext_response
(text)
app/license_notice.py:326
↓ 1 callersFunction_make_redirect_response
(license_url)
app/license_notice.py:339
↓ 1 callersFunction_map_keycode
(keystroke)
app/js_to_hid.py:192
↓ 1 callersFunction_map_modifier_keys
(keystroke)
app/js_to_hid.py:166
↓ 1 callersFunction_merge_message_with_defaults
(message)
app/request_parsers/keystroke.py:61
↓ 1 callersFunction_parse_button_state
(buttons)
app/request_parsers/mouse_event.py:95
↓ 1 callersFunction_parse_code
(code)
app/request_parsers/keystroke.py:84
↓ 1 callersFunction_parse_h264_stun_port
(port)
app/request_parsers/video_settings.py:114
↓ 1 callersFunction_parse_h264_stun_server
(server)
app/request_parsers/video_settings.py:97
↓ 1 callersFunction_read_file
(license_path)
app/license_notice.py:334
↓ 1 callersFunction_read_legacy
()
app/update/result_store.py:59
↓ 1 callersFunction_read_migrations
Reads database migration SQL scripts from disk. Returns: A list of SQL scripts as strings, in the order they should be applied to
app/db/store.py:141
↓ 1 callersFunction_remove_if_exists
(file_path)
app/atomic_file.py:46
↓ 1 callersFunction_restart_janus
Restarts Janus in a best-effort manner. It also updates the Janus configuration (based on the settings file) before restarting. In case
app/video_service.py:75
↓ 1 callersFunction_restart_ustreamer
Restarts uStreamer in a best-effort manner. In case the restart invocation failed, it ignores (but logs) the error.
app/video_service.py:57
↓ 1 callersFunction_scale_mouse_coordinates
(relative_x, relative_y)
app/hid/mouse.py:20
↓ 1 callersMethod_startTimeoutWindow
()
app/static/js/mouse.js:164
↓ 1 callersFunction_t
(t)
app/static/third-party/socket.io/4.7.1/socket.io.min.js:6
↓ 1 callersFunction_to_file
Writes a Settings object to a file, excluding any default values.
app/update/settings.py:156
↓ 1 callersFunction_translate_vertical_wheel_delta
(vertical_wheel_delta)
app/hid/mouse.py:29
↓ 1 callersFunction_wait_for_process_exit
(target_process)
app/execute.py:90
↓ 1 callersMethodassertFileContainsData
(self, path, data_expected)
app/atomic_file_test.py:35
↓ 1 callersFunctioncommand
(command_name)
app/cli/registry.py:4
↓ 1 callersFunctioncreateAnswer
(handleId, callbacks)
app/static/third-party/janus-gateway/1.3.2/janus.js:2233
↓ 1 callersFunctioncreateHandle
(callbacks)
app/static/third-party/janus-gateway/1.3.2/janus.js:1285
↓ 1 callersFunctioncreateIceServerUrls
* @param {string} stunServer * @param {number} stunPort * @returns {Object[]} - Array of URL objects according to https://developer.mozilla.org/en-U
app/static/js/webrtc-video.js:204
↓ 1 callersFunctioncreateOffer
(handleId, callbacks)
app/static/third-party/janus-gateway/1.3.2/janus.js:2188
↓ 1 callersFunctioncreatePeerconnectionIfNeeded
(handleId, callbacks)
app/static/third-party/janus-gateway/1.3.2/janus.js:1884
↓ 1 callersFunctiondelayMs
(date1, date2)
app/static/js/touch.js:126
↓ 1 callersMethoddelete_all
(self)
app/db/users.py:65
↓ 1 callersFunctiondestroySession
(callbacks)
app/static/third-party/janus-gateway/1.3.2/janus.js:1162
↓ 1 callersFunctionf
(e)
app/static/third-party/webrtc-adapter/8.2.3/adapter.min.js:34
↓ 1 callersFunctiongetCsrfTokenElement
(doc)
app/static/js/controllers.js:5
↓ 1 callersFunctiongetInfo
(callbacks)
app/static/third-party/janus-gateway/1.3.2/janus.js:1109
↓ 1 callersFunctiongetMaxBitrates
(simulcastMaxBitrates)
app/static/third-party/janus-gateway/1.3.2/janus.js:648
↓ 1 callersMethodget_all
(self)
app/db/users.py:77
↓ 1 callersFunctionget_network_interfaces
Get a list of physical network interface names. Excludes loopback and virtual interfaces. A device is considered "physical" if /sys/class/net
app/network.py:38
↓ 1 callersFunctionget_new_logs
Determine the newly appended logs. Args: prev_logs: A string of the previously captured logs. next_logs: A string of the subseque
app/update_logs.py:48
↓ 1 callersMethodget_password_hash
(self, username)
app/db/users.py:83
↓ 1 callersFunctionget_username
Returns the username of the currently logged-in user. Returns: A username as a string or None if there is no logged-in user.
app/session.py:148
↓ 1 callersFunctionh
(t)
app/static/third-party/socket.io/4.7.1/socket.io.min.js:6
↓ 1 callersFunctionhandleEvent
(json, skipTimeout)
app/static/third-party/janus-gateway/1.3.2/janus.js:725
↓ 1 callersMethodhasOverlays
()
app/static/js/overlays.js:9
↓ 1 callersFunctioninspect_interface
Gathers information about a network interface. This method relies on the JSON output of the `ip` command. If the interface is available, the
app/network.py:76
↓ 1 callersFunctionisDoubleClick
* Checks whether two consecutive touches are intended to be a double click * (double tap). This is true if both touches occur within a short time spa
app/static/js/touch.js:100
← previousnext →101–200 of 758, ranked by callers