Commit graph Dezio/src/web
Author SHA1 Message Date
d25786de75 fm commands read ListenBrainz instead of the Last.fm API
The Last.fm API needs Pro for everything but scrobbling from 2026-12-01.
ListenBrainz is free and needs no key. api.rs turns its answers into the
old Last.fm shape, so the cards and commands work as before. Links are
kept in data/listenbrainz.json; data/lastfm.json is left alone. Lyrics
song search uses Deezer. MusicBrainz and Wikimedia now get a proper user
agent (they refused "Dezio", so artist photos never loaded).

The Last.fm version is the tag lastfm-api-backup.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-12-01 14:52:40 -06:00
69663da77d Security: no powerful roles through menus or autoroles, safe redirects
Self-service role menus and autoroles only need Manage Server, so someone
could hand themselves a moderator or admin role through them. Redirects are
now checked at every hop, HSTS is on, and only Discord may frame the Game
Boy page. Game cards also replace their picture instead of adding one.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-06 21:32:07 -06:00
dfb4f1b7e0 Dashboard and website redesign; role menus keep servers' own roles
Dashboard: faders, searchable channel and role pickers, a colour picker,
segmented controls, one save bar, a live embed preview. Website: a split
hero with a working player preview. Fonts are self-hosted for the CSP.

Bot: publishing a role menu no longer marks roles it didn't create as its
own, so removing one can't delete a server's role. Zero ids no longer panic
D!ban, announcement channels are pickable, and static files revalidate.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-06 19:32:57 -06:00
6b4b100ce6 /cosmetics: presets or custom, hidden editor with role picker and modal, edit/remove by message id, roles picture
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-10-27 18:19:26 -05:00
867a29492f /convert: output required, latest chat media by default, streamed input, oversize results hosted for 6h
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-10-24 16:49:52 -05:00
709f9b707a Dezio: an all-in-one Discord bot in Rust
Music with a live player, Last.fm, video downloads, games, AI chat, moderation, logging,
a web dashboard and a Game Boy Activity.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-10-24 11:47:43 -05:00