| author | |
| committer | |
| log | 553ce6ae636c10536639d8c15893e182c9f0c6ee |
| tree | 6ef705f609ff568436165d6b9f30065866ee051f |
| parent | 93e865bf40e4e794169514d81993402aa7f90dd8 |
| signature | Signed by SSH key SHA256:52mNGHRsVFBDED9IAX5pe+LRWUefqTbxEReunq21QvU |
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-sol4 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); } |
| 867 | 867 | ||
| 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; } |
| 869 | 869 | ||
| 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 |
| 78 | 78 | ||
| 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 |
| 68 | release activation and the move to 55.12 seconds over three intervals. | 68 | release activation and the move to 55.12 seconds over three intervals. |
| 69 | Restricted plan, database/config backups, frozen job, and result evidence are | 69 | Restricted plan, database/config backups, frozen job, and result evidence are |
| 70 | in `/var/lib/studio/copyparty-cutover/20261016T082910Z-424b5410`. | 70 | in `/var/lib/studio/copyparty-cutover/20261016T082910Z-424b5410`. |
| 71 | |||
| 72 | ## 2026-10-16 account creation timeout | ||
| 73 | |||
| 74 | The production host unit allowed only loopback traffic, but Podman's loopback | ||
| 75 | port forwarding translates requests onto its bridge. A read-only health probe | ||
| 76 | under the same IP restrictions timed out after 3.003 seconds; allowing the | ||
| 77 | existing Podman subnet returned HTTP 200 in 0.0013 seconds. Account creation | ||
| 78 | waited for config reload and its recovery reload before returning an error. | ||
| 79 | The host allowlist now derives the bridge range from the declared Podman default | ||
| 80 | subnet, preserving the existing network. | ||
| 81 | |||
| 82 | The hardened preview created an account in 0.54 seconds and rotated its | ||
| 83 | password in 0.60 seconds. Double-clicked submits sent one request each. | ||
| 84 | Shares-list checks also caught absolute copy-status text expanding the document | ||
| 85 | outside its scroller. Anchoring that hidden text and bounding the list during | ||
| 86 | refresh errors kept the document at 720 × 320 in a 720 × 320 viewport, with | ||
| 87 | only the table scrolling. Its headers and last-row keyboard actions stayed | ||
| 88 | reachable; the hidden live status remained in the accessibility tree. |