Commit Graph
23 Commits
Author SHA1 Message Date
NoLogicAlan b2af315240 docs(config): clarify self-hosted instanceUrl API endpoint formatting
- Clarify in README and config_example.json that self-hosted instances
  require the /api mount path (fixes #26)
- Add instanceUrl placeholder to docker/config_example.json
2026-11-23 01:42:03 +03:00
NoLogicAlan 6bca127365 fix(docker): update nodelink image to dev tag (fixes #27) and refresh docs 2026-11-23 01:31:10 +03:00
NoLogicAlan 7c7d94b3fb fix: enhance connection state checks in Player and Helpers247 modules 2026-11-20 14:52:27 +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 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 90a53f047f Optimize MySQL connection pools & add Docker healthcheck with graceful queue flush (#21, #12)
- Unify MySQL pools in src/db/PoolManager.mjs shared across Settings, TrackOptions, LastFm, Dashboard, and PlayerStateStore
- Support global config.mysql.connectionLimit (default 15), preventing connection starvation
- Add gracefulShutdown() in Bot.mjs to flush active player queues and playback positions to MySQL on SIGTERM/SIGINT
- Update shard.mjs to forward SIGTERM and await shard worker queue flushes before exit
- Add event-loop responsiveness healthcheck in docker-compose.yml and Dockerfile via heartbeat probe
- Document connectionLimit and queue persistence in README and config templates
2026-10-22 01:37:42 +03:00
NoLogicAlan 355f6b1129 build(docker): bump mysql from 8.0 to 8.4 LTS (#8) 2026-10-21 03:28:20 +03:00
NoLogicAlan e9a58f422a chore: switch container entrypoint to run shard.mjs 2026-10-21 03:08:06 +03:00
NoLogicAlan 2932f9110e ROLLBACK 2026-10-21 02:13:09 +03:00
NoLogicAlan fbe052b9da chore: switch container entrypoint from shard to start 2026-10-21 02:05:25 +03:00
NoLogicAlan 5b4d1b0aa3 ... 2026-10-21 01:50:50 +03:00
NoLogicAlan b068e3e95c ... 2026-10-21 01:42:25 +03:00
NoLogicAlan 4dd9f2ade6 ... 2026-10-21 01:35:39 +03:00
NoLogicAlan 7c5f783855 ..SHARDING 2026-10-21 01:29:23 +03:00
NoLogicAlan 97fe282bb3 rollback 2026-10-06 00:32:48 +03:00
NoLogicAlan 656cbfe149 testing this for a day if its bad i just wast my time 2026-10-05 03:29:05 +03:00
NoLogicAlan d21273b418 idk 2026-09-24 03:02:37 +03:00
NoLogicAlan 2658402c39 hotfix 2026-09-19 02:28:41 +03:00
NoLogicAlan f9bb4d4c53 hotfix 2026-09-19 01:35:21 +03:00
NoLogicAlan 0317b69298 hotfix 2026-09-19 00:29:32 +03:00
NoLogicAlan 253d11cd57 Remix — the complete rewrite
Upgrades the bot from fluxerjs 2.2 to 3.0 and restructures everything
into a layered architecture (~28K lines):

Dependencies:
- @fluxerjs/core, util, voice: ^2.2.0 -> ^3.0.0 (typed events,
  PartialMessage payloads, camelCase API)
- @fluxerjs/sharding ^3.0.0 added — built-in sharding mode
  (shard.mjs, one process per shard)
- @discordjs/opus dropped — opusscript + prism-media cover encoding

Architecture:
- commands: every command split into submodules (player, lastfm,
  settings, debug) with a shared CommandBuilder/Loader/Handler core
- ui: embeds, paginators, help command, permission checks
- voice: gateway event routing, rejoin/247 boot recovery, state resolver
- music: player split into Queue/Search/Playback/Display mixins,
  stream pipeline + WebM/Opus muxer (no FFmpeg needed)
- dashboard: Redis pub/sub, RPC handlers, serializers
- db: MySQL manager + per-guild settings
- services: LastFm manager split into focused mixins
- utils: sharding, 24/7 helpers, API client

Runtime fixes over v2:
- Redis v5 reconnect: capped numeric backoff (0.5s ramp to 15s),
  never exhausts, auto-recovers when the server comes back
- Redis main/subscriber clients connect in parallel; clean shutdown
- Logger storm guard: identical error/warn lines deduped in a 60s window
- self-deaf fix on voice join
- config example uses redis://127.0.0.1 (avoids IPv6 ENETUNREACH)

Housekeeping: dead code removed (Tuna.mjs + follow-redirects dep),
.gitignore added (config.json, .env, node_modules, runtime state).
2026-09-09 02:04:33 +03:00
NoLogicAlan e11fca151c no comment still working on it 2026-08-28 23:51:20 +03:00
NoLogicAlan 799b527467 feat: add Docker support — Dockerfile, docker-compose, entrypoint 2026-06-21 21:14:36 +03:00