Commit Graph

8 Commits

Author SHA1 Message Date
Bjarne Øverli 8dad762349 fix: support go install module path 2026-07-05 13:59:18 +02:00
GVASTE d6c50ed623 windows: fix config, IPC, path, and Lua compatibility (#258)
* windows: fix config, IPC, path, and Lua compatibility

* spotify: share API structures and helper so tests compile on Windows

* windows: address PR comments and fix socket unavailable detection, tasklist matching, api_fs tests, and doc comment

* windows: address remaining PR reviews (table-driven tests, m3u resolve comments & tests, blockquote formatting, and site/index.html description)

* feat: implement cross-platform IPC server with Unix and Windows support

* feat: implement Unix socket IPC server and Windows process liveness check

* ipc: detect dead processes via os.ErrProcessDone

os.Process.Signal converts ESRCH to os.ErrProcessDone since Go 1.16, so
comparing against raw syscall.ESRCH never matched and a stale socket from
a crashed instance made NewServer fail instead of cleaning it up.

* windows: simplify fs allowlist normalization, exec env, and ipc error checks

- normalize write allow-dirs once in the memoized writeAllowDirs
- collapse duplicate test helpers and repeated getenv blocks
- drop redundant errors.As branch; name WSAECONNREFUSED
- revert single-entry table test to linear form
- gofmt: trailing newlines and indentation

---------

Co-authored-by: Bjarne Øverli <bjarne.oeverli@gmail.com>
2026-06-04 19:52:32 +02:00
Gjermund Garaba 1b53660a63 refactor: go 1.26 modernize (#178)
* refactor: go 1.26 modernize

* coderabbit pr fixes
2026-04-13 18:00:58 +02:00
Bjarne Øverli ccb1770fed Refactor
Release / build (amd64, darwin, macos-latest) (push) Has been cancelled
Release / build (amd64, linux, ubuntu-latest) (push) Has been cancelled
Release / build (amd64, windows, windows-latest) (push) Has been cancelled
Release / build (arm64, darwin, macos-latest) (push) Has been cancelled
Release / build (arm64, linux, ubuntu-latest) (push) Has been cancelled
Release / release (push) Has been cancelled
Release / update-homebrew (push) Has been cancelled
2026-03-23 21:39:55 +01:00
Bjarne Øverli 0aad59437c Extract magic numbers into named constants and add comments for intentionally ignored errors 2026-03-20 21:54:33 +01:00
Patrick Rodrigues ff5387e91d Use explicit realtime stream policy for pause/unpause (#99) 2026-03-18 21:55:32 +01:00
Bjarne Øverli f2411ebb97 Harden codebase: fix path traversal, add Subsonic error checking, crypto-random auth salt, section-aware config save, ffmpeg process leak, and 14 other bug/security fixes 2026-03-02 20:38:20 +01:00
Bjarne Øverli 1baaa46530 Add proper playlist support including m3u files 2026-02-28 13:33:23 +01:00