aboutsummaryrefslogtreecommitdiff
path: root/hotline/access.go
AgeCommit message (Collapse)Author
2025-06-30Refactor access bitmap unmarshal logic to use map-driven approachJeff Halter
Replace 120+ lines of repetitive if statements with a compact map lookup. This improves maintainability by reducing code duplication and making it easier to add new access permissions.
2024-07-28Improve human readability of account config filesJeff Halter
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
2024-07-09Extensive refactor and clean upJeff Halter
2022-09-15Clean up some linter warningsJeff Halter
2022-07-03Add commentJeff Halter
2022-07-03Fix accessSendPrivMsg permissionJeff Halter
2022-06-26Refactor user access bitmap handlingJeff Halter
2022-06-25Improve documentation of access control flagsJeff Halter
2022-06-25Implement Don't Show Agreement permissionJeff Halter
2022-06-24Implement "Can use any name" permissionJeff Halter
2022-06-20Add initial support for resource and info forksJeff Halter
2022-05-29Implement handling of special case Dropbox and Upload foldersJeff Halter
2022-05-28Misc cleanupJeff Halter
* Removed some unnecessary user of pointers * Removed dead cruft * Reorganized code
2022-05-28Implement Make Alias transactionJeff Halter
2022-01-30Initial permission handling refactorJeff Halter
2021-08-07Prune unused codeJeff Halter
2021-08-03Ran `gofmt -w .`Jeff Halter
2021-07-28Move code to hotline dirJeff Halter