authoravatarclover caruso<git@paperclover.net>2026-10-16 02:12:59-07:00
committeravatarclover caruso<git@paperclover.net>2026-10-21 02:52:29-07:00
log553ce6ae636c10536639d8c15893e182c9f0c6ee
tree6ef705f609ff568436165d6b9f30065866ee051f
parent93e865bf40e4e794169514d81993402aa7f90dd8
signature Signed by SSH key SHA256:52mNGHRsVFBDED9IAX5pe+LRWUefqTbxEReunq21QvU

Fix API account creation and shares list scrolling

Allow the host service to reach Copyparty through Podman port forwarding, deriving its allowlist from the declared bridge subnet. Account creation and rotation now finish without reload timeouts. Bound the Shares list during refresh errors and short viewports. Anchor hidden live-status text so table rows cannot expand the outer document. Verified production-equivalent sandbox creation/rotation, single requests on double-click, document bounds, sticky headers, last-row keyboard access, and live-status accessibility. Assisted-by: gpt-6.1-sol

4 files changed, 25 insertions(+), 2 deletions(-)

dashboard/web/pages/Shares.css+4
...@@ -1,3 +1,7 @@...@@ -1,3 +1,7 @@
1.main:has(> .shares-page) { display: flex; flex-direction: column; overflow: hidden; }
2.main > .shares-page { flex: 1; min-height: 0; height: auto; width: 100%; }
3.shares-page .list-body { overflow: hidden; }
4.shares-page .list-body > .fill { min-height: 0; }
1.shares-toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 12px; }5.shares-toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 12px; }
2.shares-toolbar .search-box { margin-left: auto; width: 240px; }6.shares-toolbar .search-box { margin-left: auto; width: 240px; }
3.shares-toolbar .count { opacity: 0.7; }7.shares-toolbar .count { opacity: 0.7; }
dashboard/web/styles.css+1-1
...@@ -865,7 +865,7 @@ td.actions :is(button, a):focus-visible { outline-offset: -2px; }...@@ -865,7 +865,7 @@ td.actions :is(button, a):focus-visible { outline-offset: -2px; }
865}865}
866.copy:hover { background: var(--accent-wash); }866.copy:hover { background: var(--accent-wash); }
867867
868.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }868.sr-only { position: absolute; top: 0; left: 0; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
869869
870.skeleton {870.skeleton {
871 display: block;871 display: block;
nixos/configuration.nix+2-1
...@@ -78,6 +78,7 @@ in...@@ -78,6 +78,7 @@ in
7878
79 boot.supportedFilesystems = [ "zfs" ];79 boot.supportedFilesystems = [ "zfs" ];
80 virtualisation.podman.enable = true;80 virtualisation.podman.enable = true;
81 virtualisation.containers.containersConf.settings.network.default_subnet = "10.88.0.0/16";
81 virtualisation.libvirtd.enable = true;82 virtualisation.libvirtd.enable = true;
82 virtualisation.libvirtd.qemu.swtpm.enable = true;83 virtualisation.libvirtd.qemu.swtpm.enable = true;
83 systemd.services.podman.environment.LOGGING = "--log-level=warn";84 systemd.services.podman.environment.LOGGING = "--log-level=warn";
...@@ -214,7 +215,7 @@ in...@@ -214,7 +215,7 @@ in
214 DeviceAllow = [ "/dev/zfs rw" "char-pts rw" ] ++ lib.optional (builtins.elem "nvidia" config.services.xserver.videoDrivers) "char-nvidia* rw";215 DeviceAllow = [ "/dev/zfs rw" "char-pts rw" ] ++ lib.optional (builtins.elem "nvidia" config.services.xserver.videoDrivers) "char-nvidia* rw";
215 RestrictAddressFamilies = [ "AF_UNIX" "AF_INET" ];216 RestrictAddressFamilies = [ "AF_UNIX" "AF_INET" ];
216 IPAddressDeny = "any";217 IPAddressDeny = "any";
217 IPAddressAllow = [ "127.0.0.1/32" ];218 IPAddressAllow = [ "127.0.0.1/32" config.virtualisation.containers.containersConf.settings.network.default_subnet ];
218 Restart = "always";219 Restart = "always";
219 RestartSec = 2;220 RestartSec = 2;
220 };221 };
tools/copyparty.md+18
...@@ -68,3 +68,21 @@ one-second HTTPS HEAD sampling bounded total public unavailability across...@@ -68,3 +68,21 @@ one-second HTTPS HEAD sampling bounded total public unavailability across
68release activation and the move to 55.12 seconds over three intervals.68release activation and the move to 55.12 seconds over three intervals.
69Restricted plan, database/config backups, frozen job, and result evidence are69Restricted plan, database/config backups, frozen job, and result evidence are
70in `/var/lib/studio/copyparty-cutover/20261016T082910Z-424b5410`.70in `/var/lib/studio/copyparty-cutover/20261016T082910Z-424b5410`.
71
72## 2026-10-16 account creation timeout
73
74The production host unit allowed only loopback traffic, but Podman's loopback
75port forwarding translates requests onto its bridge. A read-only health probe
76under the same IP restrictions timed out after 3.003 seconds; allowing the
77existing Podman subnet returned HTTP 200 in 0.0013 seconds. Account creation
78waited for config reload and its recovery reload before returning an error.
79The host allowlist now derives the bridge range from the declared Podman default
80subnet, preserving the existing network.
81
82The hardened preview created an account in 0.54 seconds and rotated its
83password in 0.60 seconds. Double-clicked submits sent one request each.
84Shares-list checks also caught absolute copy-status text expanding the document
85outside its scroller. Anchoring that hidden text and bounding the list during
86refresh errors kept the document at 720 × 320 in a 720 × 320 viewport, with
87only the table scrolling. Its headers and last-row keyboard actions stayed
88reachable; the hidden live status remained in the accessibility tree.