Files
Lucas RayanandClaude Opus 5.5 8546d14cef
CI / Format and vet (pull_request) Failing after 53s
CI / Dependency audit (pull_request) Successful in 33s
CI / Tests (Linux, race detector) (pull_request) Successful in 2m1s
CI / Docker images (build and smoke test) (pull_request) Failing after 47s
feat!: Urutau 2.0.0, ultralight probes and a single analysis hub
Each server runs an ultralight probe (scratch image, ~7 MiB RSS) that
tails the logs, ships raw lines to the hub over HTTPS with an on-disk
spool, and applies enforce decisions locally. The hub keeps one node per
probe (primary node = the 1.x data dir, unchanged), does all analysis and
serves the UI. Peer federation is removed. 'urutau import' brings 1.x
data dirs in with hash and count verification. UI: probes page, host
qualified incidents, IPs never wrap, egress heatmap labels, live and
replay globes no longer auto-rotate, replay repeat, live traffic metrics.

BREAKING CHANGE: URUTAU_PEERS, URUTAU_PEER_* and /api/v1/peer/* are gone;
log path variables move from the hub to the probe. See docs/migration-2.0.md.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 22:14:50 -03:00

45 lines
2.7 KiB
CSS

/* Probes panel (Sources page) and its dialogs. */
.pr-name { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pr-name strong { overflow-wrap: normal; word-break: normal; white-space: nowrap; }
.pr-table td:first-child { min-width: 7rem; }
.pr-sum { margin: 0 0 10px; color: var(--ink-muted); }
.pr-sum.bad { color: var(--danger); font-weight: 600; }
@media (max-width: 760px) { .pr-name strong { white-space: normal; overflow-wrap: anywhere; } }
.pr-muted { color: var(--ink-muted); font-size: .8125rem; }
.pr-srcs { display: flex; flex-wrap: wrap; gap: 4px; }
.pr-acts { display: inline-flex; gap: 6px; flex-wrap: wrap; }
.btn.pr-sm { padding: 3px 10px; font-size: .8125rem; min-height: 30px; }
.btn.pr-danger { color: var(--danger); }
.btn.pr-danger:hover:not(:disabled) { border-color: var(--danger); background: var(--danger-soft); }
.pr-warnv { color: var(--warn); font-weight: 600; }
.pr-revoked td { opacity: .6; }
.pr-table td, .pr-table th { vertical-align: top; }
.pr-body { display: grid; gap: var(--s-3, 12px); }
.panel-b > .lead { margin-bottom: 12px; }
.pr-dlg { width: min(34rem, calc(100vw - 32px)); box-sizing: border-box; }
.pr-dlg.wide { width: min(44rem, calc(100vw - 32px)); }
.pr-dlg input[type="text"], .pr-dlg input[type="number"], .pr-dlg textarea { width: 100%; box-sizing: border-box; }
.pr-dlg textarea { padding: 8px 10px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface-raised); color: var(--ink); font-size: .8125rem; resize: vertical; }
.pr-field { display: grid; gap: 4px; margin: 10px 0; min-width: 0; }
.pr-field label, .pr-lbl { font-weight: 600; display: block; margin: 10px 0 4px; }
.pr-field label { margin: 0; }
.pr-fh { color: var(--ink-muted); }
.pr-warn { margin: 0 0 8px; padding: 8px 10px; border: 1px solid color-mix(in srgb, var(--warn) 55%, transparent); background: var(--warn-soft); color: var(--ink); border-radius: var(--radius-sm); }
.pr-row { display: flex; gap: 8px; align-items: center; }
.pr-row .pr-tok { flex: 1; min-width: 0; }
.pr-end { justify-content: flex-end; margin-top: 8px; }
.pr-snip { white-space: pre; overflow: auto; margin-top: 6px; }
.pr-note { min-height: 1.25em; margin: 8px 0 0; color: var(--ink-muted); }
.pr-fs { border: 0; padding: 0; margin: 12px 0 0; min-width: 0; }
.pr-fs legend { padding: 0; font-weight: 700; }
.pr-grid { display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 10px; }
.unban-host { display: grid; gap: 4px; margin: 12px 0; }
.unban-host label { font-weight: 600; }
@media (max-width: 560px) {
.pr-grid { grid-template-columns: 1fr; gap: 0; }
.pr-row { flex-direction: column; align-items: stretch; }
.pr-dlg { padding: 12px; }
}
.pr-dlg, .pr-dlg.wide { max-width: calc(100vw - 32px); }