feat: finish the remote-desktop plugin (B14)

This commit is contained in:
LukeGus committed 2026-09-24 01:02:45 -05:00
1 parent 0af2c94983
commit 14eb558b85
215 files changed
+30029 -3921

No files matched your search

-1
View File
@@ -112,7 +112,6 @@ export async function getAllServerStatuses(): Promise<
try {
const response = await sshHostApi.get<SSHHost[]>("/db/host");
const defaultOrigin = await resolveConnectionOrigin({
connectionType: "ssh",
connectionOrigin: null,
});
localHostIds = (response.data || [])
-1
View File
@@ -146,7 +146,6 @@ export interface UserPreferences {
customThemes?: string | null;
customKeybindings?: string | null;
terminalDefaults?: string | null;
rdpDefaults?: string | null;
terminalMacros?: string | null;
}
+1
View File
@@ -32,6 +32,7 @@ export interface PluginSettingsField {
permission?: string;
group?: string;
component?: string;
hidden?: boolean;
}
export interface PluginHostSettingsContribution {
-27
View File
@@ -106,33 +106,6 @@ export async function updateSessionTimeout(
// Tailscale settings/device API wrappers moved to
// plugins/tailscale/src/frontend/tailscale-api.ts.
// ============================================================================
// GUACAMOLE SETTINGS
// ============================================================================
export async function getGuacamoleSettings(): Promise<{
enabled: boolean;
url: string;
}> {
try {
const response = await authApi.get("/users/guacamole-settings");
return response.data;
} catch (error) {
handleApiError(error, "fetch guacamole settings");
}
}
export async function updateGuacamoleSettings(settings: {
enabled?: boolean;
url?: string;
}): Promise<void> {
try {
await authApi.patch("/users/guacamole-settings", settings);
} catch (error) {
handleApiError(error, "update guacamole settings");
}
}
// ============================================================================
// ANALYTICS SETTINGS
// ============================================================================