Commit Graph
194 Commits
Author SHA1 Message Date
NoLogicAlan 2e631c0213 fix(locales): update placeholder syntax in favorite and playlist messages for consistency across languages 2026-11-23 02:58:21 +03:00
NoLogicAlan c90f591ec1 feat(playlists): add personal saved playlists and track bookmarks (#15)
- Implement PlaylistManager with MySQL persistence (user_favorites & user_playlists)
- Add %fav command with toggle bookmark, paginated list, play, remove, and clear
- Add %playlist command to snapshot queues, queue saved playlists, and manage tracks
- Document %fav and %playlist in README command reference
2026-11-23 02:43:32 +03:00
NoLogicAlan c9332a15af feat(music): persist music analytics to MySQL with 24h/year timeframes and personal recap 2026-11-21 02:02:04 +03:00
NoLogicAlan da477ebf03 feat(mywrapped): add personal music recap command with user statistics and rankings 2026-11-21 01:21:36 +03:00
NoLogicAlan d78af55f10 feat(top): implement fallback to global tracks 2026-11-21 00:54:31 +03:00
NoLogicAlan 2907749bac feat(music): enhance top command with improved pagination and session management 2026-11-21 00:39:11 +03:00
NoLogicAlan ade75a4a79 feat(music): add multi-page pagination to top leaderboard command
- Integrate QueuePaginator into commands/top.mjs for interactive browsing (⬅️ / ➡️)
- Support direct page jumping via slash option and text arguments (%top [timeframe] [page])
- Paginate tracks into 10 items per page up to 50 tracks with dynamic rank badges
- Increase track query limits in GuildStats.mjs across MySQL and in-memory caches
2026-11-21 00:29:02 +03:00
NoLogicAlan 452c080224 feat(stats): add MySQL relational storage and Redis atomic caching to GuildStats
- create guild_track_stats and guild_song_counts tables with composite time/guild indexes
- wire MySQL shared promise pool and Redis manager to GuildStats in Bot.mjs
- implement atomic Redis counters and ZINCRBY sorted sets for real-time leaderboard queries
- add async SQL queries for %top timeframes (week, month, all) and %wrapped recap calculations\
2026-11-21 00:12:19 +03:00
NoLogicAlan 04ce02f672 feat: add %wrapped global and %top global cross-server statistics 2026-11-20 23:59:21 +03:00
NoLogicAlan 22f48cfaab feat(stats): add server music leaderboard (%top), community recap (%wrapped)
- implement GuildStats manager for tracking playback history, listening hours, and user engagement
- wire asynchronous play recording into PlayerEventsMixin on track start
- add %top command with timeframe filtering (week, month, all) and top artist highlight
- add %wrapped command displaying total streamed hours, queued tracks, peak hour, and top DJ
2026-11-20 23:36:11 +03:00
NoLogicAlan c9d932067e refactor(core): migrate API and CDN endpoints from fluxer.app to fluxer.com 2026-11-14 01:14:52 +03:00
NoLogicAlan 21197e7f22 refactor(locale): replace server terminology with communities across all locales 2026-11-14 00:58:15 +03:00
NoLogicAlan f1b2e43f8a feat(player): persist and restore autoplay state across restarts
- Save autoplay flag, recent history, and last played track in session snapshots
- Guard against pruning active autoplay sessions with empty queues
- Dynamically re-attach queueEnd autoplay listener during session restoration
- Trigger recommendation engine automatically if recovered with empty queue
- Persist player snapshots immediately when toggling autoplay on or off
2026-11-13 02:08:28 +03:00
NoLogicAlan 36139837ba feat(status): implement public status channel system with live telemetry, automated incident tracking, and multi-language support
- StatusChannelManager Service:
  • Implement dedicated public status channel manager with periodic self-updating live telemetry card.
  • Report real-time Fluxer gateway latency, uptime, active music sessions, listener counts, guild footprint, and subsystem statuses.
  • Add visual Unicode progress bars for RAM (process RSS vs. system total) and CPU utilization across CPU cores.
  • Add dual-color incident lifecycle management:
    - 🔴 Incident Outage embeds with start timestamp, severity level, investigating status, and optional role mentions.
    - ✅ Incident Resolution embeds with automatic downtime duration calculation and stable verification.
  • Wire automated incident triggers into Bot lifecycle (Lavalink node disconnect/reconnect, process shutdown) and GatewayHandler (gateway drops and ready/resumed reconnects).
- Owner Diagnostic Command:
  • Add `statustest` owner-only command with subcommands:
    - `refresh`: Force an immediate update and edit of the live status card.
    - `incident <target> [reason]`: Simulate subsystem outage alerts.
    - `resolve <target> [note]`: Simulate incident resolution with calculated downtime.
- Complete Multi-Language Localization:
  • Add full translations for `statustest` and `statusChannel` across all 6 supported locales:
    - English (`en.json`)
    - German (`de-DE.json`)
    - Portuguese (`pt-BR.json`)
    - Turkish (`tr.json`)
    - Arabic (`ar-SA.json`)
    - Central Kurdish (`ckb.json`)
  • Wire `StatusChannelManager` and `statustest` to dynamically resolve translated strings via `remix.locale.translate`.
2026-11-10 02:31:48 +03:00
NoLogicAlan cc07c35f2a fix(voice, music): resolve thundering herd rejoins, playback drop recovery, and telemetry warnings
- Stagger simultaneous 24/7 channel rejoins (+2.5s per pending channel) and defer rejoins when the gateway is not connected
- Add in-place voice reconnection recovery during track playback to prevent burning through queue songs on transient LiveKit disconnects
- Fix audio publication race on seek by removing redundant bridge stop and increasing unpublish timeout to 2,500ms
- Eliminate duplicate voice reconnect races in Player disconnect handler for 24/7 channels
- De-escalate routine background reconnect logs from logger.warn/error to logger.voice247/player to stop spurious Discord warning embeds
- Sanitize upstream Cloudflare/Fluxer 503 HTML error pages into single-line messages in ErrorChannel
2026-11-06 01:46:27 +03:00
NoLogicAlan ed76a6ebfe fix(music): resolve autoplay candidate exhaustion and voice connection stalls
- Expand autoplay candidate search pool to 20 tracks and increase mix pool TTL to 2 hours
- Support multi-stage recommendations using both seed and last-played track
- Add resilient fallback in pickAutoplayTrack to prevent playback from halting
- Prevent race condition by clearing _playingNext before queueEnd playNext()
- Auto-reconnect voice connection before track advancement if connection dropped
2026-11-04 03:19:55 +03:00
NoLogicAlan a0d6f32ea8 fix(ui,music): handle deleted message replies and safe null duration during restore
- Fall back to channel send when replyingTo message was deleted (UNKNOWN_MESSAGE 404)
- Safely handle null duration in dashboard convertVideo and player embed during session restore
- Protect lastfm scrobbler and search mixins from null duration properties
2026-10-30 00:30:37 +03:00
NoLogicAlan 7c5fb1e468 feat(music): support direct media playback from Fluxer attachments and uploaded files (#24)
- Add AttachmentUtils for detecting fluxerusercontent.com URLs and chat file attachments
- Support playing uploaded audio/video files directly via %play and %playnext
- Add Route 3d in-process ffmpeg decoding for container formats (.mp4, .mkv, .mov, etc.)
- Add native zero-re-encode passthrough for .opus, .webm, and .ogg attachments
- Add 📎 Fluxer Attachment source badges and embeds across all 6 locales
- Fixes #24
2026-10-29 03:08:20 +03:00
NoLogicAlan 3b9620012f feat: modernize UI, overhaul ErrorChannel telemetry, and achieve 100% 6-locale parity
- Core & Telemetry:
  * Overhaul ErrorChannel (config.errorLogChannel) to rich Pro Embeds with severity color coding (Error, Warn, Info).
  * Add structured crash reports featuring syntax-highlighted stack traces, uptime, and RSS memory telemetry.
  * Add log flood drop notifications and startup connection status announcement.
  * Support dynamic self-hosted Fluxer API base resolution (config.apiBase / config['fluxer.js'].api).
  * Wire ErrorChannel into the localization system with dynamic _t() translation and safe fallback.

- Localization & i18n:
  * Expand all 6 locale files (en, ar-SA, ckb, tr, de-DE, pt-BR) to 1,112 keys each.
  * Achieve 100% key parity and 0 variable mismatches across all supported languages.
  * Localize all embed titles, author badges, footers, and system responses.

- Commands & Modern UI:
  * Upgrade all commands (playback, queue, audio DSP, utility, lastfm, settings, owner) to the modern Pro UI embed design.
  * Add previous, replay, and skipto queue navigation commands with history tracking.
  * Replace raw unicode escapes with literal UTF-8 emojis.
  * Maintain clean codebase standards (zero single-line comments introduced, commands/stats.mjs strictly untouched).

- Architecture & Voice:
  * Enhance FluxerAudioBridge, VoiceStateRouting, and VoiceStateCache for reliable voice reconnects.
  * Refactor centralized database pooling and player lifecycle mixins.
2026-10-28 02:19:26 +03:00
NoLogicAlan c0c95610ac feat(player): add %skipto command, empty voice auto-pause, and server mute guard 2026-10-27 03:47:02 +03:00
NoLogicAlan 5dc286e364 feat(docs): update README with playback history and instant replay features
refactor(commands): remove unused imports from various command files
refactor(src): clean up imports in multiple source files for better organization (#21)
2026-10-27 03:11:37 +03:00
NoLogicAlan e33fbb2fdb feat(player): add %previous, %replay, livekit skip guard, and nodelink auto-reconnect (#11, #13, #18, #19, #23) 2026-10-27 02:58:26 +03:00
NoLogicAlan 5d29301b38 fix(i18n): resolve placeholder typos, complete option descriptions and speed keys 2026-10-26 02:42:33 +03:00
NoLogicAlan edcdd4ddef feat(ui): complete UI embed 2026-10-26 02:36:56 +03:00
NoLogicAlan e8171dce26 feat(ui): modernize bot commands, Last.fm suite, and system embeds
- Modernize audio controls (%volume, %volumedefault, %bassboost, %autoplay, %trackopt, %shuffle, %clear, %list, %pause, %resume)
- Upgrade Last.fm suite (%lastfm play directory, spotlight cards, music podiums, tags, and profile stats)
- Polish system & voice embeds (%vote supporter verification, %servers network directory, %forceleave, and 24/7 watchdog)
- Achieve 100% localization parity across all 6 locales (en, ar-SA, ckb, tr, de-DE, pt-BR) with zero missing keys
2026-10-26 02:25:02 +03:00
NoLogicAlan 885db461ce feat(embeds): upgrade settings, 24/7 watchdog, lastfm UI and fix footer requester mentions
- Fix raw <@ID> mention syntax in player added-to-queue embed footers by resolving display username
- Restore all original 247Panel translation keys across all 6 locales and merge watchdog monitor keys
- Upgrade %settings get to modular categorized Server Control Dashboard
- Upgrade %247 panel to live voice watchdog and connection health monitor
- Upgrade %fm profile to Last.fm music identity card with user avatar and stats
- Upgrade %fm artistinfo to artist spotlight card with tags, bio, and plays matrix
- Upgrade %fm cover to high-resolution album artwork gallery frame
- Maintain 0 missing keys across all 6 locales (en, ar-SA, ckb, tr, de-DE, pt-BR)
2026-10-26 00:41:05 +03:00
NoLogicAlan 36b27d466b feat(embeds): upgrade settings, 24/7 watchdog, and lastfm info embeds
- Upgrade %settings get to modular categorized Server Control Dashboard
- Upgrade %247 panel to live voice watchdog and connection health monitor
- Upgrade %fm profile to Last.fm music identity card with user avatar and stats
- Upgrade %fm artistinfo to artist spotlight card with tags, bio, and plays matrix
- Upgrade %fm cover to high-resolution album artwork gallery frame
- Add complete translations across all 6 locales (0 missing keys)
2026-10-25 04:16:36 +03:00
NoLogicAlan 63433816c4 feat(i18n): localize all newly upgraded command embeds across 6 languages
- Add complete translations for en, ar-SA, ckb, tr, de-DE, and pt-BR
- Localize author headers, fields, and footers for playnext, remove, move, and trackopt
- Localize audio mastering fields for normalize and volumedefault
- Localize Last.fm whoknows leaderboards and Crown Holder cards
- Localize help command inspector and voice channel picker embeds
- Ensure 0 missing keys and 100% translation coverage
2026-10-25 04:03:33 +03:00
NoLogicAlan 8689dee50a feat(ui): overhaul remaining embeds for help, queue ops, audio mastering & community
- Upgrade %help overview with feature highlights and %help <command> with rich embed inspector
- Fix %playnext embed wrapping bug causing [object Object] and add Playing Next badge
- Upgrade %trackopt set/get/play with visual cut-window timeline bars
- Upgrade %remove and %move with queue change receipt cards
- Upgrade %normalize and %volumedefault with EBU R128 mastering and volume slider bars
- Upgrade %whoknows with ranked Crown Holder cards and podium medals
- Upgrade %invite and %support with rich in-embed markdown links (no button dependencies)
- Upgrade voice join and %vote with branded status embeds
2026-10-25 03:54:02 +03:00
NoLogicAlan 4c3c04bd7d feat(ui): upgrade audio DSP, seek, thumbnail, and voice session embeds
- Modernize %seek with track artwork thumbnail and visual progress bar
- Enhance %filter with real-time DSP active status badges and card spacing
- Add detailed frequency band indicators to %bassboost, %speed, and %pitch
- Redesign %thumbnail with framed artwork and song metadata
- Transform %leave into a structured voice session termination card
- Polish %ping with categorized latency health metrics (REST, Gateway, Audio Node)
- Leave %stats untouched as intended
- Complete translations across all 6 locales (en, ar-SA, ckb, tr, de-DE, pt-BR)
2026-10-25 03:28:27 +03:00
NoLogicAlan 8874ed1ec6 feat(ui): upgrade playback action embeds
- Redesign %skip with skipped track thumbnail, elapsed time, and up-next preview
- Upgrade %pause and %resume with rich track cards and timestamp badges
- Add visual volume meter gauge (0-150%) to %volume
- Modernize %loop with single-track and queue-loop status badges
- Enhance %autoplay with status pills and recommendation engine details
- Polish %shuffle and %clear with queue reorder summaries and track counts
- Full translations added across all 6 locales (en, ar-SA, ckb, tr, de-DE, pt-BR)
2026-10-25 03:19:11 +03:00
NoLogicAlan 2494bf79d6 feat(ui): upgrade queue, search, lyrics, and radio embeds
- Transform %queue / %list with Now Playing thumbnail, ranked item cards, and localized footer
- Enhance %search with provider icons, artist metadata, and localized cancel options
- Polish %lyrics with album thumbnail, Synced badge, and structured header
- Redesign %radio directory with command pills and localized pagination controls
- Standardize brand color 0xe9196c across all player commands
- Add complete translations across all 6 locales (en, ar-SA, ckb, tr, de-DE, pt-BR)
2026-10-25 03:11:24 +03:00
NoLogicAlan 53e3a7e4de feat(ui): overhaul queue and playback embeds with brand color #e9196c and full locales
- Redesign %np, Added-to-Queue, and Auto-Announcement embeds with rich 3-column layouts
- Standardize all embeds to brand color #e9196c
- Transform Queue-Ended announcement with quick-action suggestions (%radio, %autoplay)
- Unify message forwarder in commands/play to support rich EmbedBuilder payloads
- Add native localization keys across all 6 supported locales (en, ar-SA, tr, de-DE, pt-BR, ckb)
2026-10-25 02:50:40 +03:00
NoLogicAlan 618ecb1a0b fix(music): resolve ghost players on channel/guild delete and fix clear command NaN range 2026-10-24 04:00:25 +03:00
NoLogicAlan a780ec22c8 feat(stats): persist user and global track counts in mysql tables 2026-10-24 01:55:21 +03:00
NoLogicAlan 7bd80e62f7 feat(stats): add persistent tracks played counter with redis sync 2026-10-23 01:32:38 +03:00
NoLogicAlan 1e02478fb6 style(stats) 2026-10-23 00:56:31 +03:00
NoLogicAlan 3e30cdc6a3 fix(stats): display current and total shards as current/total 2026-10-22 03:36:55 +03:00
NoLogicAlan e9d0a0b54b ... 2026-10-22 03:29:00 +03:00
NoLogicAlan c9cf813e6a style(stats) 2026-10-22 03:23:27 +03:00
NoLogicAlan e31c77e0d8 ... 2026-10-22 03:16:30 +03:00
NoLogicAlan 64e69275a4 style(stats): overhaul embed into multi-column grid with bot thumbnail and localized categories 2026-10-22 03:09:21 +03:00
NoLogicAlan d6c233c311 feat(stats): localize music stats, add shard and queue metrics, remove audio engine line 2026-10-22 02:59:23 +03:00
NoLogicAlan 784458f387 Fix Option builder for bassboost and normalize using addChoiceOption 2026-10-22 02:16:56 +03:00
NoLogicAlan ee1b9be917 Add localized response strings for normalize, bassboost, speed, and pitch across all 6 locales 2026-10-22 02:10:42 +03:00
NoLogicAlan 351336ea19 Add volume normalization, DSP filters (speed, pitch, bassboost), and playlist pagination (#16, #9, #17)
- Implement EBU R128 dynamic volume normalization & ReplayGain leveling in src/music/audio/VolumeNormalizer.mjs and commands/normalize.mjs (#16)
- Add real-time audio filter hot-reloading in PlaybackMixin.mjs and FluxerAudioBridge.mjs (#9)
- Add commands for %bassboost (low/medium/hard), %speed (0.5x-2.0x), and %pitch (0.5x-2.0x) (#9)
- Implement non-blocking background queue ingestion with progressive progress updates for large Spotify & SoundCloud playlists in SearchMixin.mjs (#17)
- Configure playlistLoadLimit: 10 in docker/nodelink.config.json (#17)
- Update README documentation and commands table (total 43 commands)
2026-10-22 01:59:45 +03:00
NoLogicAlan 665be29a16 feat: on-demand lyrics query, queue range clearing, and nodelink auto-reconnect (#13, #14, #20) 2026-10-22 01:16:33 +03:00
NoLogicAlan 08e5d363fc fix(player, ui, voice): resolve seek 0 validation, help paginator reset, and voice retry backoff (#22) 2026-10-22 01:04:14 +03:00
NoLogicAlan cf278ed68c fix: correct unknown command name reporting and silence background voice pings (#10) 2026-10-21 04:14:10 +03:00
NoLogicAlan 500b0de4c8 rollback 2026-10-17 03:40:20 +03:00