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
@@ -19,6 +19,7 @@ import { toast } from "../utils/toast";
|
||||
import { confirmDialog } from "../utils/dialogs";
|
||||
import MaintenanceTimeline from "../components/MaintenanceTimeline";
|
||||
import RecurringMaintenance from "../components/RecurringMaintenance";
|
||||
import ExportTableButton from "../components/ExportTableButton";
|
||||
|
||||
const DURATIONS: { minutes: number; label: string }[] = [
|
||||
{ minutes: 30, label: "30 minutes" },
|
||||
@@ -479,6 +480,9 @@ export default function Maintenance({ user }: { user: CurrentUser }) {
|
||||
<div className="card mb-3">
|
||||
<div className="card-header">
|
||||
<h3 className="card-title">Address aliases</h3>
|
||||
<div className="card-actions">
|
||||
<ExportTableButton filename="maintenance-aliases" />
|
||||
</div>
|
||||
</div>
|
||||
<form onSubmit={addAlias}>
|
||||
<div className="card-body row g-3">
|
||||
@@ -579,6 +583,9 @@ export default function Maintenance({ user }: { user: CurrentUser }) {
|
||||
<div className="card mb-3">
|
||||
<div className="card-header">
|
||||
<h3 className="card-title">Scheduled</h3>
|
||||
<div className="card-actions">
|
||||
<ExportTableButton filename="maintenance-scheduled" />
|
||||
</div>
|
||||
</div>
|
||||
<div className="table-responsive">
|
||||
<table className="table table-vcenter card-table">
|
||||
@@ -598,11 +605,11 @@ export default function Maintenance({ user }: { user: CurrentUser }) {
|
||||
{w.targetName} <span className="text-secondary">· {w.targetKind}</span>
|
||||
</td>
|
||||
<td className="text-secondary">{w.reason ?? "—"}</td>
|
||||
<td>
|
||||
<td data-csv={w.startedAt}>
|
||||
<span className="badge bg-blue-lt text-blue me-2">in {formatRemaining(w.startedAt, now)}</span>
|
||||
<span className="text-secondary small">{formatDateTime(new Date(w.startedAt))}</span>
|
||||
</td>
|
||||
<td className="text-secondary small">{formatDateTime(new Date(w.endsAt))}</td>
|
||||
<td className="text-secondary small" data-csv={w.endsAt}>{formatDateTime(new Date(w.endsAt))}</td>
|
||||
{canEdit && (
|
||||
<td>
|
||||
<button className="btn btn-sm btn-outline-secondary" onClick={() => end(w)}>
|
||||
@@ -625,13 +632,14 @@ export default function Maintenance({ user }: { user: CurrentUser }) {
|
||||
<div className="card mb-3">
|
||||
<div className="card-header">
|
||||
<h3 className="card-title">Active</h3>
|
||||
{canEdit && (windows?.length ?? 0) > 1 && (
|
||||
<div className="card-actions">
|
||||
<div className="card-actions">
|
||||
<ExportTableButton filename="maintenance-active" />
|
||||
{canEdit && (windows?.length ?? 0) > 1 && (
|
||||
<button className="btn btn-sm btn-outline-secondary" onClick={() => void endAll()}>
|
||||
End all ({windows?.length})
|
||||
</button>
|
||||
</div>
|
||||
)}
|
||||
)}
|
||||
</div>
|
||||
</div>
|
||||
<div className="table-responsive">
|
||||
<table className="table table-vcenter card-table">
|
||||
@@ -652,7 +660,7 @@ export default function Maintenance({ user }: { user: CurrentUser }) {
|
||||
{w.source?.startsWith("kuma:") && <span className="badge bg-cyan-lt ms-2">Uptime Kuma</span>}
|
||||
</td>
|
||||
<td className="text-secondary">{w.reason ?? "—"}</td>
|
||||
<td>
|
||||
<td data-csv={w.endsAt}>
|
||||
<span className="badge bg-yellow-lt text-yellow me-2">{formatRemaining(w.endsAt, now)} left</span>
|
||||
<span className="text-secondary small">{formatDateTime(new Date(w.endsAt))}</span>
|
||||
</td>
|
||||
|
||||
Reference in new issue
Block a user