b135f11557
Security (P0): - Remove committed session-secret default; auto-generate and persist a random secret to the config volume when SESSION_SECRET is unset (prevents forgeable session cookies / auth bypass). - Validate playlist names to a safe charset and render sldl configs via literal Python substitution instead of sed (closes a command-injection and path-traversal path through playlist names). - shlex-quote credential values written to shell-sourced env files, and strip newlines from values patched into .conf files. - Render playlist .conf files 0600; warn at startup if the master key is co-located with the config volume; document keeping it separate. Portability: - Configurable timezone via TZ (default UTC) instead of hardcoded Edmonton. - Remove personal defaults (navidrome user "andrew", ephemeral.club URLs). - Ship generic example seeds; move the cross-album dedup keep-list and the legacy playlist import to editable config files; drop the personal _upgrade.csv. - Generic VPN reference in docker-compose.snippet.yml. First-run experience: - Redirect to /setup instead of 500 when OIDC is unconfigured; surface a missing master key inline; entrypoint exits with an actionable message when the config folder is not writable. - Add unauthenticated /health (JSON) and /setup (checklist) diagnostics. Docs: - Write docs/ARCHITECTURE.md and docs/MIGRATION.md (previously referenced but missing); expand README with ownership, backups, advanced settings, and migration guidance. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
23 lines
1002 B
Plaintext
23 lines
1002 B
Plaintext
# cross-album-keep.list
|
|
#
|
|
# Artists to protect from the cross-album duplicate pass (dedup Pass 4).
|
|
#
|
|
# Pass 4 looks for the same track title appearing under one artist across two
|
|
# or more different albums, which usually means a genuine duplicate. But some
|
|
# artists legitimately have the same title on several albums: compilation and
|
|
# "Various Artists" entries, prolific remixers, and artists with many live
|
|
# recordings. List those artists here and Pass 4 will leave them alone.
|
|
#
|
|
# One artist per line; '#' starts a comment. Casing and punctuation do not
|
|
# matter (names are compared with everything but letters and numbers removed),
|
|
# so "Porter Robinson", "porterrobinson", and "PORTER ROBINSON" are the same.
|
|
#
|
|
# This file ships empty, which means Pass 4 considers every artist. Add names
|
|
# only if you find Pass 4 repeatedly flagging an artist's legitimate versions.
|
|
# Nothing is ever deleted without your review in the Dedup page regardless.
|
|
#
|
|
# Example:
|
|
#
|
|
# Various Artists
|
|
# Porter Robinson
|