Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/tiny-pilot/tinypilot
/ functions
Functions
758 in github.com/tiny-pilot/tinypilot
⨍
Functions
758
◇
Types & classes
153
↳
Endpoints
113
↓ 2 callers
Method
_processHighPriorityEvent
(mouseInfo)
app/static/js/mouse.js:137
↓ 2 callers
Method
_processLowPriorityEvent
(mouseInfo)
app/static/js/mouse.js:144
↓ 2 callers
Function
_required_auth_level_decorator
(required_auth_level)
app/api.py:50
↓ 2 callers
Function
_user_from_strings
Reinstates a User object from string values (e.g., as of the DB).
app/auth.py:78
↓ 2 callers
Method
as_dict
(self)
app/update/settings.py:76
↓ 2 callers
Function
c
()
app/static/third-party/socket.io/4.7.1/socket.io.min.js:6
↓ 2 callers
Function
createSession
(callbacks)
app/static/third-party/janus-gateway/1.3.2/janus.js:963
↓ 2 callers
Function
d
(t,e)
app/static/third-party/socket.io/4.7.1/socket.io.min.js:6
↓ 2 callers
Method
debug_sensitive
(self, message, *args, **kws)
app/log.py:57
↓ 2 callers
Function
disableUserAuthentication
* 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 callers
Function
distancePx
(touchInfo1, touchInfo2)
app/static/js/touch.js:120
↓ 2 callers
Function
eventHandler
()
app/static/third-party/janus-gateway/1.3.2/janus.js:690
↓ 2 callers
Method
getAllPressedKeys
* @returns {string[]} An unordered array of canonical key codes.
app/static/js/keyboardstate.js:86
↓ 2 callers
Function
getBitrate
(handleId, mid)
app/static/third-party/janus-gateway/1.3.2/janus.js:3004
↓ 2 callers
Function
getLocalTracks
(handleId)
app/static/third-party/janus-gateway/1.3.2/janus.js:2768
↓ 2 callers
Function
getRemoteTracks
(handleId)
app/static/third-party/janus-gateway/1.3.2/janus.js:2795
↓ 2 callers
Function
mouseClickEvent
(target, touchPosition, buttons)
app/static/js/touch.js:80
↓ 2 callers
Function
normalizeWheelDelta
* 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 callers
Function
o
(t)
app/static/third-party/webrtc-adapter/8.2.3/adapter.min.js:34
↓ 2 callers
Function
prepareWebrtcPeer
(handleId, callbacks)
app/static/third-party/janus-gateway/1.3.2/janus.js:2141
↓ 2 callers
Function
redactSensitiveData
(logText)
app/static/js/logs.js:20
↓ 2 callers
Function
replaceTracks
(handleId, callbacks)
app/static/third-party/janus-gateway/1.3.2/janus.js:2296
↓ 2 callers
Method
run
Method to be run in sub-process.
app/execute.py:32
↓ 2 callers
Function
sendData
(handleId, callbacks)
app/static/third-party/janus-gateway/1.3.2/janus.js:1730
↓ 2 callers
Function
sendDtmf
(handleId, callbacks)
app/static/third-party/janus-gateway/1.3.2/janus.js:1766
↓ 2 callers
Function
sendMessage
(handleId, callbacks)
app/static/third-party/janus-gateway/1.3.2/janus.js:1485
↓ 2 callers
Function
sendTrickleCandidate
(handleId, candidate)
app/static/third-party/janus-gateway/1.3.2/janus.js:1627
↓ 2 callers
Function
setBitrate
(handleId, mid, bitrate)
app/static/third-party/janus-gateway/1.3.2/janus.js:3093
↓ 2 callers
Function
setKeystrokeHistoryStatus
(isEnabled)
app/static/js/app.js:223
↓ 2 callers
Method
set_streaming_mode
Stores the preferred streaming mode. Args: streaming_mode: `StreamingMode` value.
app/db/settings.py:55
↓ 2 callers
Function
setupUserAuthentication
* 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 callers
Method
trackStatus
(overlayElement, isShown)
app/static/js/overlays.js:13
↓ 2 callers
Function
unbindWebSocket
()
app/static/third-party/janus-gateway/1.3.2/janus.js:1217
↓ 2 callers
Function
unixTime
()
app/static/js/app.js:62
↓ 2 callers
Function
x
(t,e)
app/static/third-party/socket.io/4.7.1/socket.io.min.js:6
↓ 2 callers
Function
y
(t,e)
app/static/third-party/socket.io/4.7.1/socket.io.min.js:6
↓ 1 callers
Function
At
(t,e)
app/static/third-party/socket.io/4.7.1/socket.io.min.js:6
↓ 1 callers
Function
E
(t)
app/static/third-party/socket.io/4.7.1/socket.io.min.js:6
↓ 1 callers
Function
Et
(e,n)
app/static/third-party/socket.io/4.7.1/socket.io.min.js:6
↓ 1 callers
Function
L
(t,e)
app/static/third-party/socket.io/4.7.1/socket.io.min.js:6
↓ 1 callers
Function
Ot
(e,n)
app/static/third-party/socket.io/4.7.1/socket.io.min.js:6
↓ 1 callers
Function
_cache_flask_db
(flask_db)
app/db_connection.py:47
↓ 1 callers
Function
_count_modifiers
(keystroke)
app/js_to_hid.py:209
↓ 1 callers
Function
_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 callers
Method
_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 callers
Function
_from_file
(settings_file)
app/update/settings.py:152
↓ 1 callers
Function
_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 callers
Function
_get_credentials_last_changed
Returns a timestamp or None if there is no logged-in user.
app/session.py:139
↓ 1 callers
Function
_get_default_edid
()
app/video_service.py:28
↓ 1 callers
Function
_get_project_metadata
(project_name)
app/license_notice.py:319
↓ 1 callers
Method
_isInTimeoutWindow
()
app/static/js/mouse.js:179
↓ 1 callers
Function
_is_debug
()
app/version.py:43
↓ 1 callers
Function
_is_standalone_mode
()
app/views.py:101
↓ 1 callers
Function
_is_update_process_running
()
app/update/status.py:38
↓ 1 callers
Function
_login_redirect_query
()
app/views.py:105
↓ 1 callers
Function
_make_plaintext_response
(text)
app/license_notice.py:326
↓ 1 callers
Function
_make_redirect_response
(license_url)
app/license_notice.py:339
↓ 1 callers
Function
_map_keycode
(keystroke)
app/js_to_hid.py:192
↓ 1 callers
Function
_map_modifier_keys
(keystroke)
app/js_to_hid.py:166
↓ 1 callers
Function
_merge_message_with_defaults
(message)
app/request_parsers/keystroke.py:61
↓ 1 callers
Function
_parse_button_state
(buttons)
app/request_parsers/mouse_event.py:95
↓ 1 callers
Function
_parse_code
(code)
app/request_parsers/keystroke.py:84
↓ 1 callers
Function
_parse_h264_stun_port
(port)
app/request_parsers/video_settings.py:114
↓ 1 callers
Function
_parse_h264_stun_server
(server)
app/request_parsers/video_settings.py:97
↓ 1 callers
Function
_read_file
(license_path)
app/license_notice.py:334
↓ 1 callers
Function
_read_legacy
()
app/update/result_store.py:59
↓ 1 callers
Function
_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 callers
Function
_remove_if_exists
(file_path)
app/atomic_file.py:46
↓ 1 callers
Function
_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 callers
Function
_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 callers
Function
_scale_mouse_coordinates
(relative_x, relative_y)
app/hid/mouse.py:20
↓ 1 callers
Method
_startTimeoutWindow
()
app/static/js/mouse.js:164
↓ 1 callers
Function
_t
(t)
app/static/third-party/socket.io/4.7.1/socket.io.min.js:6
↓ 1 callers
Function
_to_file
Writes a Settings object to a file, excluding any default values.
app/update/settings.py:156
↓ 1 callers
Function
_translate_vertical_wheel_delta
(vertical_wheel_delta)
app/hid/mouse.py:29
↓ 1 callers
Function
_wait_for_process_exit
(target_process)
app/execute.py:90
↓ 1 callers
Method
assertFileContainsData
(self, path, data_expected)
app/atomic_file_test.py:35
↓ 1 callers
Function
command
(command_name)
app/cli/registry.py:4
↓ 1 callers
Function
createAnswer
(handleId, callbacks)
app/static/third-party/janus-gateway/1.3.2/janus.js:2233
↓ 1 callers
Function
createHandle
(callbacks)
app/static/third-party/janus-gateway/1.3.2/janus.js:1285
↓ 1 callers
Function
createIceServerUrls
* @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 callers
Function
createOffer
(handleId, callbacks)
app/static/third-party/janus-gateway/1.3.2/janus.js:2188
↓ 1 callers
Function
createPeerconnectionIfNeeded
(handleId, callbacks)
app/static/third-party/janus-gateway/1.3.2/janus.js:1884
↓ 1 callers
Function
delayMs
(date1, date2)
app/static/js/touch.js:126
↓ 1 callers
Method
delete_all
(self)
app/db/users.py:65
↓ 1 callers
Function
destroySession
(callbacks)
app/static/third-party/janus-gateway/1.3.2/janus.js:1162
↓ 1 callers
Function
f
(e)
app/static/third-party/webrtc-adapter/8.2.3/adapter.min.js:34
↓ 1 callers
Function
getCsrfTokenElement
(doc)
app/static/js/controllers.js:5
↓ 1 callers
Function
getInfo
(callbacks)
app/static/third-party/janus-gateway/1.3.2/janus.js:1109
↓ 1 callers
Function
getMaxBitrates
(simulcastMaxBitrates)
app/static/third-party/janus-gateway/1.3.2/janus.js:648
↓ 1 callers
Method
get_all
(self)
app/db/users.py:77
↓ 1 callers
Function
get_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 callers
Function
get_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 callers
Method
get_password_hash
(self, username)
app/db/users.py:83
↓ 1 callers
Function
get_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 callers
Function
h
(t)
app/static/third-party/socket.io/4.7.1/socket.io.min.js:6
↓ 1 callers
Function
handleEvent
(json, skipTimeout)
app/static/third-party/janus-gateway/1.3.2/janus.js:725
↓ 1 callers
Method
hasOverlays
()
app/static/js/overlays.js:9
↓ 1 callers
Function
inspect_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 callers
Function
isDoubleClick
* 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
← previous
next →
101–200 of 758, ranked by callers