streamd: serve start/stop/update, streamd.yaml, egress, module panel fixes

- Add streamd serve start|stop|restart|status|update with auto-written streamd.yaml
- Panel modules: STREAMD_MODULES_DIR for describe, YAML channel fallback, textarea value fix
- Per-stream WireGuard/SOCKS egress profiles + Settings UI
- Drop drm-* from release builds; track streamd-bg.sh / streamd-update.sh wrappers
- Docs: streamd-server-setup lifecycle and update flow
This commit is contained in:
404errordeveloper 2026-10-10 18:05:51 +02:00
parent da8e1123ec
commit 8fc7e4c0b8
57 changed files with 4031 additions and 257 deletions

View file

@ -36,6 +36,11 @@ export function el(spec, attrs, ...children) {
else if (k === "dataset") Object.assign(node.dataset, v);
else if (k === "style" && typeof v === "object") Object.assign(node.style, v);
else if (k.startsWith("on") && typeof v === "function") node.addEventListener(k.slice(2), v);
// Form controls: set the live property. setAttribute("value") does not fill
// <textarea>, and checked must be a property too.
else if (k === "value") node.value = v;
else if (k === "checked") node.checked = !!v;
else if (k === "selected") node.selected = !!v;
else if (v === true) node.setAttribute(k, "");
else node.setAttribute(k, v);
}