Export CSV on every table, edit recurring maintenance, runs-on nothing, and run package checks outside the agent sandbox
- Export CSV for the small tables that had none (reads the table as shown) - Servers page shows a skeleton while loading instead of "No servers registered yet" - Recurring maintenance schedules can be edited (PUT /schedules/:id) - A server can be set to run on nothing (servers.no_parent, migration 0028) - Linux agent v3: package-manager question runs in ExecStartPre=-+ outside the sandbox, with --prepare-updates and --check-updates modes - Docs: README, DATABASE, AGENT_UPDATE Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
c17e9aa140
commit
540ab704b7
32 files changed
+3003
-66
No files matched your search
@@ -518,6 +518,8 @@ export interface ServerRecord {
|
||||
proxmoxGuestType: "qemu" | "lxc" | null;
|
||||
proxmoxVmid: number | null;
|
||||
hideProxmoxLink: boolean;
|
||||
/** An admin said it runs on nothing, so nothing is worked out for it. */
|
||||
noParent: boolean;
|
||||
tags: string[];
|
||||
/** The server this one runs on, when an admin said so; null means it is worked out from the Proxmox node. */
|
||||
parentServerId: number | null;
|
||||
@@ -851,6 +853,8 @@ export interface ServerUpdateInput {
|
||||
hideProxmoxLink?: boolean;
|
||||
/** The server this one runs on; null goes back to working it out from the Proxmox node. */
|
||||
parentServerId?: number | null;
|
||||
/** True says it runs on nothing, which stops the guess from its Proxmox node. */
|
||||
noParent?: boolean;
|
||||
}
|
||||
|
||||
/** A maintenance that repeats: "every Sunday 02:00–04:00 on these servers". */
|
||||
@@ -1489,6 +1493,7 @@ export const api = {
|
||||
schedules: {
|
||||
list: () => request<{ schedules: MaintenanceSchedule[] }>("/api/maintenance/schedules"),
|
||||
create: (data: MaintenanceScheduleInput) => request<{ id: number; windowsMade: number }>("/api/maintenance/schedules", { method: "POST", body: JSON.stringify(data) }),
|
||||
update: (id: number, data: MaintenanceScheduleInput) => request<{ windowsMade: number }>(`/api/maintenance/schedules/${id}`, { method: "PUT", body: JSON.stringify(data) }),
|
||||
setEnabled: (id: number, enabled: boolean) => request<{ enabled: boolean }>(`/api/maintenance/schedules/${id}`, { method: "PATCH", body: JSON.stringify({ enabled }) }),
|
||||
remove: (id: number) => request<void>(`/api/maintenance/schedules/${id}`, { method: "DELETE" }),
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user