unarr/internal/cmd
Deivid Soto 4d7362a567 fix(daemon): cancel watch reporter on stream switch and re-notify ready
- Register WatchReporter cancel funcs in streamRegistry so they get
  cancelled when switching to a different stream (prevents goroutine leak)
- Re-notify streamReady when the server is already serving the requested
  task (handles duplicate stream requests from the web UI)
- Rewrite tests for byte-based tracking semantics, remove dead
  parseRangeStart tests
2026-04-07 23:30:53 +02:00
..
auth_browser.go feat(init): add 60s countdown, skip key, and cancel detection to browser auth 2026-03-30 14:07:57 +02:00
auth_browser_test.go feat(auth): browser-based CLI authentication (like Claude Code) 2026-03-29 17:53:18 +02:00
clean.go fix(lint): use default:none to disable errcheck, fix all gofmt and exhaustive 2026-03-31 00:29:16 +02:00
clean_test.go fix(lint): use default:none to disable errcheck, fix all gofmt and exhaustive 2026-03-31 00:29:16 +02:00
completion.go docs: improve CLI help, shell completion, and README 2026-03-28 21:36:27 +01:00
completion_helpers.go docs: improve CLI help, shell completion, and README 2026-03-28 21:36:27 +01:00
config_menu.go fix(lint): use default:none to disable errcheck, fix all gofmt and exhaustive 2026-03-31 00:29:16 +02:00
config_menu_test.go feat(cli): upgrade command, rich status, and version cache 2026-03-31 22:05:43 +02:00
daemon.go fix(daemon): cancel watch reporter on stream switch and re-notify ready 2026-04-07 23:30:53 +02:00
daemon_install.go fix(daemon): use correct systemd user target and isolate test cache 2026-04-06 18:49:44 +02:00
daemon_test.go fix(ci): fix lint errors and pin CI to Go 1.25 2026-03-31 22:15:12 +02:00
doctor.go chore: rename module from torrentclaw-cli to unarr 2026-03-30 13:06:07 +02:00
doctor_unix.go docs: improve CLI help, shell completion, and README 2026-03-28 21:36:27 +01:00
doctor_windows.go docs: improve CLI help, shell completion, and README 2026-03-28 21:36:27 +01:00
download.go feat(organize): use server metadata for file organization and subtitle handling 2026-04-05 23:36:01 +02:00
helpers.go feat: replace setup with init wizard + interactive config menu 2026-03-29 12:09:03 +02:00
helpers_test.go feat(cli): upgrade command, rich status, and version cache 2026-03-31 22:05:43 +02:00
init.go feat(cli): add login command and refactor shared helpers 2026-04-01 12:20:51 +02:00
inspect.go chore: rename module from torrentclaw-cli to unarr 2026-03-30 13:06:07 +02:00
login.go feat(cli): add login command and refactor shared helpers 2026-04-01 12:20:51 +02:00
migrate.go chore: rename module from torrentclaw-cli to unarr 2026-03-30 13:06:07 +02:00
popular.go chore: rename module from torrentclaw-cli to unarr 2026-03-30 13:06:07 +02:00
recent.go chore: rename module from torrentclaw-cli to unarr 2026-03-30 13:06:07 +02:00
reload_unix.go chore: rename module from torrentclaw-cli to unarr 2026-03-30 13:06:07 +02:00
reload_windows.go chore: rename module from torrentclaw-cli to unarr 2026-03-30 13:06:07 +02:00
root.go feat(cli): add login command and refactor shared helpers 2026-04-01 12:20:51 +02:00
scan.go feat(daemon): add on-demand library scan via heartbeat and WebSocket 2026-04-07 11:36:42 +02:00
search.go chore: rename module from torrentclaw-cli to unarr 2026-03-30 13:06:07 +02:00
self_update.go chore: rename module from torrentclaw-cli to unarr 2026-03-30 13:06:07 +02:00
stats.go chore: rename module from torrentclaw-cli to unarr 2026-03-30 13:06:07 +02:00
status.go feat(cli): add login command and refactor shared helpers 2026-04-01 12:20:51 +02:00
stream.go feat(stream): persistent stream server with file swapping 2026-04-07 19:08:37 +02:00
stream_handler.go feat(stream): persistent stream server with file swapping 2026-04-07 19:08:37 +02:00
upgrade.go feat(cli): upgrade command, rich status, and version cache 2026-03-31 22:05:43 +02:00
version.go chore(release): 0.5.4 2026-04-07 19:18:41 +02:00
version_cmd.go docs: improve CLI help, shell completion, and README 2026-03-28 21:36:27 +01:00
watch.go chore: rename module from torrentclaw-cli to unarr 2026-03-30 13:06:07 +02:00