MCPcopy Create free account

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

Functions758 in github.com/tiny-pilot/tinypilot

↓ 1 callersFunctionisIgnoredKeystroke
(code)
app/static/js/app.js:34
↓ 1 callersFunctionisRightClick
* Checks whether two simultaneous touches are intended to be a right click * (context click). This is true if both touches appear close to each other
app/static/js/touch.js:114
↓ 1 callersFunctionisTrickleEnabled
(trickle)
app/static/third-party/janus-gateway/1.3.2/janus.js:3198
↓ 1 callersFunctionlocateToggle
(page, cssSelector)
e2e/change-password.spec.js:6
↓ 1 callersFunctionlogout
()
app/static/js/controllers.js:291
↓ 1 callersFunctionmain
()
app/main.py:123
↓ 1 callersFunctionmain
()
app/cli/main.py:17
↓ 1 callersFunctiononKeyUp
* @param {KeyboardEvent} evt - https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent
app/static/js/app.js:199
↓ 1 callersMethodonKeyUp
* @param {KeyboardEvent} evt - https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent
app/static/js/keyboardstate.js:46
↓ 1 callersFunctiononUnbindError
()
app/static/third-party/janus-gateway/1.3.2/janus.js:1238
↓ 1 callersFunctionprocessJsonResponse
* Processes response from the backend API. * @param {Object} response - An object as returned by `fetch` * @returns {Promise<Object>} * Success
app/static/js/controllers.js:31
↓ 1 callersFunctionread
Read the TinyPilot update logs. Args: None Returns: A string consisting of the stdout and stderr output from the rea
app/update_logs.py:21
↓ 1 callersFunctionreadClipboardContents
* Read the contents of the clipboard. To do this, create a new browser tab with * an <input> element, simulate hitting Control+V to paste into the <i
e2e/debug-logs.spec.js:11
↓ 1 callersMethodread_result_file
(self, result_filename)
app/update/result_store_test.py:206
↓ 1 callersFunctionrecalculateMouseEventThrottle
( currentThrottle, lastRtt, lastWriteSucceeded )
app/static/js/app.js:42
↓ 1 callersFunctionrelease_keys
(keyboard_path)
app/hid/keyboard.py:21
↓ 1 callersFunctionsendKeystroke
(socket, keystroke)
app/static/js/keystrokes.js:2
↓ 1 callersFunctionsendMouseEvent
( buttons, relativeX, relativeY, verticalWheelDelta, horizontalWheelDelta )
app/static/js/app.js:162
↓ 1 callersFunctionsendSDP
(handleId, callbacks)
app/static/third-party/janus-gateway/1.3.2/janus.js:2270
↓ 1 callersFunctionsend_keystroke
(keyboard_path, keystroke)
app/hid/keyboard.py:4
↓ 1 callersFunctionshowError
* @see `DialogFailedEvent` for parameter `errorInfo`
app/static/js/app.js:24
↓ 1 callersFunctionsplitFullPath
(fullPath)
app/static/js/login.js:38
↓ 1 callersFunctionu
(t,e,n)
app/static/third-party/socket.io/4.7.1/socket.io.min.js:6
↓ 1 callersFunctionvt
(t)
app/static/third-party/socket.io/4.7.1/socket.io.min.js:6
↓ 1 callersMethodwarning_sensitive
(self, message, *args, **kws)
app/log.py:63
↓ 1 callersFunctionwt
(e,n)
app/static/third-party/socket.io/4.7.1/socket.io.min.js:6
FunctionFt
(e,n)
app/static/third-party/socket.io/4.7.1/socket.io.min.js:6
FunctionJanus
(gatewayCallbacks)
app/static/third-party/janus-gateway/1.3.2/janus.js:571
FunctionPacketType
()
app/static/third-party/socket.io/4.7.1/socket.io.min.js:6
FunctionZ
(t)
app/static/third-party/socket.io/4.7.1/socket.io.min.js:6
Method__init__
(self, *args, **kwargs)
app/execute.py:26
Method__init__
(self, *args, **kwargs)
app/update_logs.py:69
Method__init__
(self, *args, **kwargs)
app/update/result.py:66
Method__init__
(self, data)
app/update/settings.py:72
Method__init__
(self)
app/db/settings.py:19
Method__init__
(self)
app/db/users.py:20
Method__str__
(self)
app/update/status.py:13
Method_decode_object
(self, obj)
app/update/result.py:72
Function_write_to_hid_interface_immediately
(hid_path, buffer)
app/hid/write.py:16
Functionabs_path_in_home_dir
Resolves the full, absolute path for an object in the tinypilot home dir. Always use this helper function instead of relying on the ~ alias or th
app/env.py:25
FunctionaddUser
(username, password, role)
app/static/js/controllers.js:203
Functionafter_request
(response)
app/main.py:104
Functionall_frontend_files
()
app/find_files/find.py:5
Functionall_licensing_get
Retrieves licensing metadata for TinyPilot and its dependencies. Returns: A JSON-formatted list of licensing information about TinyPilot
app/license_notice.py:259
FunctionapplyVideoSettings
()
app/static/js/controllers.js:527
FunctionattachToJanusPlugin
* Asks the Janus server to initialize the uStreamer Janus plugin and to start * streaming the remote screen video. * * After the Janus server was s
app/static/js/webrtc-video.js:79
Functionauth_get
Checks whether the user is authenticated. This is an internal endpoint queried by our NGINX proxy to check for the authentication state of th
app/api.py:228
Functionauth_post
Authenticates a user with username and password. Returns: Empty response on success, error object otherwise.
app/api.py:239
Functionbackground_thread
Runs the given function in a background thread. Note: The function is executed in a "fire and forget" manner. Args: function: The fu
app/execute.py:96
Functioncan_authenticate
Checks whether the given credentials are valid. Args: username: (str) password: (str) Returns: True, if username and
app/auth.py:211
Functionchange
Changes the hostname of the machine. This populates the new name to the configuration files. The change will only come into effect after syst
app/hostname.py:35
FunctionchangeHostname
(newHostname)
app/static/js/controllers.js:334
Functionchange_password
Changes the password of the account with the given username. Args: username: (str) new_password: (str) Raises: db.us
app/auth.py:110
Functionchange_role
Changes the role of the account with the given username. Args: username: (str) new_role: (Role) Raises: db.users.Use
app/auth.py:132
FunctioncheckStatus
(baseURL = "", signal)
app/static/js/controllers.js:422
Functioncheck_proxy_https_redirect
Checks whether the client has connected with HTTPS and handles redirect. The upstream proxy (in production) must set the `X-Forwarded-Proto` head
app/main.py:67
Functionclear
Clears the result store of all previous update results.
app/update/result_store.py:71
Functionclose
Closes a potentially cached DB connection. Noop if no DB connection was cached or if invocation context is not within Flask.
app/db_connection.py:29
Functionclose_connection
(_)
app/main.py:94
Functioncollect
Collects and aggregates contents of TinyPilot-related logs and files. Returns: A large string with the full contents of TinyPilot's debug
app/debug_logs.py:12
Methodconstructor
* @param {string} details - The original error message. * @param {string} [code] - The error code, or `undefined` for non-application * or u
app/static/js/controllers.js:15
Methodconstructor
()
app/static/js/touch.js:16
Methodconstructor
()
app/static/js/keyboardstate.js:18
Methodconstructor
* Event that will close the overlay.
app/static/js/events.js:5
Methodconstructor
* Event that closes the dialog and displays the error dialog instead. * @param {Object} errorInfo * @param {string} errorInfo.title - A concise
app/static/js/events.js:26
Methodconstructor
* Event that advises a state change affecting the dialog close * behavior: `canBeClosed` (defaults to true), informs that the * new state allows
app/static/js/events.js:41
Methodconstructor
* Event that advises a visual variant style change of the dialog. * @param {("default"|"danger"|"success")} variant
app/static/js/events.js:57
Methodconstructor
* Event, which indicates that the video streaming mode has changed. * @param {string} mode - The new mode, e.g.: `MJPEG` or `H264`.
app/static/js/events.js:73
Methodconstructor
* Event that will trigger the “secure connection required” dialog. For * security reasons, we require an HTTPS connection for all dialogs that *
app/static/js/events.js:92
Methodconstructor
()
app/static/js/updatelogs.js:11
Methodconstructor
* @param {number} millisecondsBetweenMouseEvents - Number of milliseconds to * wait between sending low-priority mouse events to the backend.
app/static/js/mouse.js:110
Functionconvert
Converts a JavaScript-esque Keystroke object into a HID Keystroke object. Args: keystroke: A JavaScript-esque Keystroke object, as define
app/js_to_hid.py:148
Functionconvert
Converts a language character into a HID Keystroke object. Args: char: A single character as a string. language: An IETF language
app/text_to_hid.py:372
FunctioncopyElementTextToClipboard
(element)
app/static/js/clipboard.js:5
Functioncreate
Creates a new file in an atomic way. It creates the file in the temporary folder first until the caller has finished providing all file conte
app/atomic_file.py:17
Functioncreate_or_open
Opens a connection to the database file. If there is no database file yet, it creates a new one on the fly. For existing database files, it a
app/db/store.py:74
Functioncreate_root_logger
Creates a pre-configured root logger. It sets up the logger with custom formatting and attaches the provided handler. Args: hand
app/log.py:12
Functioncurrent_user_password_put
Updates the current user's own password. Accepts a JSON request body with only a "password" field. The username is derived from the current s
app/api.py:132
Functioncustom_elements_files
()
app/find_files/find.py:14
Functiondebug_logs_get
Returns the TinyPilot debug log as a plaintext HTTP response. Returns: A text/plain response with the content of the logs in the response
app/api.py:274
Functiondecorated_function
(*args, **kwargs)
app/views.py:22
Functiondecorator
(view_func)
app/api.py:52
Functiondecorator
(func)
app/cli/registry.py:6
Functiondedicated_window_placeholder_get
()
app/views.py:80
Methoddefault
(self, o)
app/update/result.py:58
FunctiondeleteAllUsers
()
app/static/js/controllers.js:190
FunctiondeleteUser
(username)
app/static/js/controllers.js:255
Functiondelete_account
Deletes an account from the system. Args: username: (str) Raises: db.users.UserDoesNotExistError: If a user with the given u
app/auth.py:158
Functiondelete_all_accounts
Deletes all accounts from the system.
app/auth.py:182
Functiondetermine
Determines the hostname of the machine. Returns: The hostname as string. Note that this is the hostname which is currently effect
app/hostname.py:17
FunctiondetermineHostname
()
app/static/js/controllers.js:160
Functiondetermine_network_status
Checks the connectivity of the network interfaces. Returns: A list of InterfaceStatus objects for all available Ethernet and Wi-Fi
app/network.py:65
Functiondetermine_wifi_settings
Determines the current WiFi settings (if set). Returns: WifiSettings: if the `ssid` and `country_code` attributes are `None`,
app/network.py:142
FunctiondisableKeystrokeHistory
()
app/static/js/settings.js:34
FunctiondisableWifi
()
app/static/js/controllers.js:400
Functiondisable_wifi
Removes the WiFi settings and disables the wireless connection. Note: The function is executed in a "fire and forget" manner, to prevent the
app/network.py:209
Functiondo_nothing
()
app/auth_test.py:12
Functiondo_nothing
()
app/execute_test.py:28
Functiondo_nothing
()
app/session_test.py:12
Functiondtmf
()
app/static/third-party/webrtc-adapter/8.2.3/adapter.min.js:34
← previousnext →201–300 of 758, ranked by callers