Add Proxmox snapshots: list, take, roll back, delete

A guest's drawer on the Proxmox page now has a Snapshots section. Everyone
signed in sees them, operators take them, administrators roll back and delete
(each behind a confirmation). Proxmox does each as a task, followed for up to
20 seconds. Audit log and change log entries for all three. An http:// Proxmox
address is now allowed.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
bobbanandClaude Sonnet 5.5 committed 2026-11-10 23:25:47 +01:00
1 parent 12e9fee7af
commit 97df28c6dc
11 files changed
+733 -11

No files matched your search

+4
View File
@@ -23,6 +23,10 @@ export const ID_PATTERNS = {
tailscaleDevice: /^[A-Za-z0-9][A-Za-z0-9_-]{0,63}$/,
/** Proxmox node names are hostnames. */
proxmoxNode: /^[A-Za-z0-9][A-Za-z0-9.-]{0,62}$/,
/** A Proxmox snapshot name: starts with a letter, then letters, digits, "-" and "_", at most 40 characters (Proxmox's own rule). */
proxmoxSnapshot: /^[A-Za-z][A-Za-z0-9_-]{0,39}$/,
/** A Proxmox task id (a "UPID"): UPID:node:hex:hex:hex:type:id:user: — letters, digits and the few marks it is made of. */
proxmoxTask: /^UPID:[A-Za-z0-9._@!:-]{1,250}$/,
/** Gitea user/organisation and repository names. */
giteaName: /^(?!\.{1,2}$)[A-Za-z0-9._-]{1,100}$/,
/** Docker container IDs and names. */