aboutsummaryrefslogtreecommitdiff
path: root/hotline/access_test.go
AgeCommit message (Collapse)Author
2025-07-04Add comprehensive test coverage for AccessBitmap YAML marshalingJeff Halter
- Add tests for UnmarshalYAML covering array and map formats - Add tests for MarshalYAML with various permission combinations - Cover edge cases including empty bitmaps and full permissions - Ensure backward compatibility with legacy array format
2024-07-17Extensive refactor, quality of life enhancementsJeff Halter
* Added ability to reload config, agreement, news, and user accounts without restarting the server by sending SIGHUP to the running process * Added ability to use modern unix or windows line breaks in Agreement.txt and MessageBoard.txt instead of classic MacOS `\r` breaks. * Extensive refactor towards swappable backends for the active server state * Extensive refactored towards making the hotline package generic and re-usable for alternate server implemenations * Fix bug where users whose accounts have been deleted would not be disconnected
2022-06-26Refactor user access bitmap handlingJeff Halter