palico-bot/test
Shinuwa 399e851178 Let guild members log in to the jukebox with Discord
- Optional Discord OAuth2 login (identify scope), enabled by
  DISCORD_CLIENT_SECRET, WEB_PUBLIC_URL and SESSION_SECRET; restricted to
  members of the configured guild, checked at login.
- Stateless 30-day session in a signed HttpOnly SameSite=Lax cookie; the
  OAuth state is checked against its own short-lived cookie.
- The jukebox API accepts the key or the session; with the session,
  changes must come from the site's own origin. The member's server name
  becomes the uploader name.
- GET /auth/me tells the page whether the login is enabled and who is
  logged in.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 12:17:48 +01:00
..
audio.test.js Encode jukebox audio with native ffmpeg, normalise loudness, read metadata 2026-11-29 12:10:49 +01:00
auth.test.js Harden bot, storage and web API 2026-06-30 17:25:00 +02:00
commands.test.js Add tracks from a direct link and from Discord with /play, /skip, /queue 2026-11-29 12:13:12 +01:00
directMessages.test.js Let trusted apps add an embed and a link button to Discord direct messages 2026-11-29 11:24:20 +01:00
discordAuth.test.js Let guild members log in to the jukebox with Discord 2026-11-29 12:17:48 +01:00
downloadAudio.test.js Add tracks from a direct link and from Discord with /play, /skip, /queue 2026-11-29 12:13:12 +01:00
ingest.test.js Add tracks from a direct link and from Discord with /play, /skip, /queue 2026-11-29 12:13:12 +01:00
invitation.test.js Fix deploy and lock down the DM route; add /invitation 2026-11-29 10:57:22 +01:00
invitationCommand.test.js Explain missing channel access in /invitation; log DM requests 2026-11-29 11:22:10 +01:00
musicQueue.test.js Keep the queue across restarts; add shuffle, loop, renaming and live events 2026-11-29 12:15:25 +01:00
serializers.test.js Harden bot, storage and web API 2026-06-30 17:25:00 +02:00
storageManager.test.js Encode jukebox audio with native ffmpeg, normalise loudness, read metadata 2026-11-29 12:10:49 +01:00
webServer.test.js Keep the queue across restarts; add shuffle, loop, renaming and live events 2026-11-29 12:15:25 +01:00