vcom/internal/ui
vrubelroman 135f5e0d19
All checks were successful
CI / test (push) Successful in 10m0s
fix: harden copy/move/delete transfers, add CI, dead code cleanup
Audited every copy/move/delete path (local, remote same-host, cross-host)
and fixed:

- Shell command injection in same-host remote cp/mv (unescaped paths
  interpolated into exec strings); added remote.ShellQuote.
- Missing guard against copying/moving a directory into its own
  subdirectory, locally and on same-host remote transfers (unbounded
  recursion / disk fill). New regression tests in ops_test.go.
- Remote-to-remote same-path file copy silently truncating the source
  file via Create() before it finished being read.
- Overwrite warning ("N existing target(s)") never shown for remote
  destinations, only local ones.
- Remote same-host server-side cp never advancing the file-done counter
  (waited on -v output that was never requested).
- Removed a dead "plan-then-confirm" subsystem (5 functions, 2 message
  types, 2 unreachable Update() cases) superseded by the current design.
- Remote delete (SFTP) now runs as a cancellable job with the same
  progress modal as local delete, instead of a single blocking call.

Also add a CI workflow that runs build/vet/test on every push and PR,
since previously they only ran on release tags.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-03 20:36:00 +00:00
..
icon_mode.go Add auto icon mode fallback and Nerd Font docs 2026-04-24 14:44:49 +03:00
image_overlay.go Speed up kitty image previews 2026-04-24 23:42:23 +03:00
keymap.go feat: theme selector dialog with live preview (t key) 2026-04-29 16:13:29 +03:00
layout.go add Cyrillic→Latin keyboard layout translation for Russian users (ЙЦУКЕН→QWERTY) 2026-04-27 20:30:11 +03:00
model.go fix: harden copy/move/delete transfers, add CI, dead code cleanup 2026-07-03 20:36:00 +00:00
pane.go fix: reset scroll offset when preserveKey changes cursor to avoid hidden top entries on go-parent 2026-05-04 00:29:04 +03:00
ssh.go cursor: move up on delete, hide size/modified columns in SSH host list, parent '..' empty modified, SSH keepalive 30s 2026-04-29 13:04:47 +03:00