Commit graph

4 commits

Author SHA1 Message Date
dan 95a70d8b86 Deprecate matterbridge and fix matrix issues 2026-01-21 22:26:58 -08:00
Meta-Repo Bot e5957cf182 fix: resolve websocket panic and add NixOS module
- Fixed a panic in internal/bot/bot.go where a repeated read was attempted on a failed websocket connection.
- Removed the 5-second read deadline and timeout handling in readLoop.
- Added connection closure on ping failure to trigger quick reconnection.
- Added NixOS module to flake.nix for service deployment.
2026-01-20 23:46:14 +00:00
Meta-Repo Bot b6cf5fdfa7 chore: Harden systemd service and pin nixpkgs to stable
Updates deployment configuration:
- Adds strict systemd sandboxing (ProtectSystem, DynamicUser, etc)
- Pins flake input to nixos-24.11 for stability
- Updates docs to reflect hardening
2026-01-16 22:51:51 +00:00
Meta-Repo Bot f602c02f80 feat: Prepare for Nix deployment with integration tests and flake
This commit prepares the musiclink bot for production deployment on NixOS.

Changes:
- Refactored service layer to support Dependency Injection for API URLs.
- Added 'internal/bot/bot_integration_test.go' for mock-based integration testing.
- Added 'flake.nix' and 'flake.lock' for reproducible Nix builds.
- Added 'README.md', 'LICENSE', and '.gitignore'.
- Verified build and tests pass locally.
2026-01-16 21:57:13 +00:00