Private
Public Access
1
0

fix(proxmox): harden console sessions and firewall rollout safety

Reduce security and reliability risk across the Proxmox extension by removing password exposure from Livewire state, hardening console auth/cookie handling, and improving sanitized error paths. Improve firewall and router performance by adding safer lazy loading, bounded pagination, cross-server compatibility guards, and lower-overhead API workflows.

Made-with: Cursor
This commit is contained in:
2026-03-28 19:34:46 -04:00
parent 9f996035db
commit 68043f0416
39 changed files with 1106 additions and 5013 deletions

View File

@@ -58,6 +58,14 @@ class Display extends Component
{
parent::mount($server);
if ($this->server->node?->is_lxc) {
$this->redirect(
route('proxmox.server.overview', ['server' => $this->server->id, 'notice' => 'display_unavailable']),
navigate: true
);
return;
}
$this->loadDisplayConfiguration(false);
}
@@ -91,7 +99,8 @@ class Display extends Component
}
} catch (\Exception $e) {
if ($notify) {
$this->notify('Failed to load display settings: ' . $e->getMessage(), 'error');
report($e);
$this->notify('Failed to load display settings. Please refresh and try again.', 'error');
}
}
}
@@ -130,7 +139,8 @@ class Display extends Component
$this->notify('Display configuration updated successfully. Reboot the VPS for changes to take effect.', 'success');
} catch (\Exception $e) {
$this->notify('Unable to update display settings: ' . $e->getMessage(), 'error');
report($e);
$this->notify('Unable to update display settings. Please try again.', 'error');
}
}