aboutsummaryrefslogtreecommitdiff
path: root/hotline/file_path.go
AgeCommit message (Collapse)Author
2025-11-28Merge branch 'master' of https://github.com/jhalter/mobiusHEADmainRuben Beltran del Rio
2025-06-26Replace filepath.Join with path.Join for Windows compatibilityJeff Halter
Replace all instances of filepath.Join with path.Join across the codebase to improve Windows compatibility following the guidance from https://github.com/golang/go/issues/44305. Key changes: - Replaced filepath.Join with path.Join in 14 files - Updated import statements appropriately - Resolved variable shadowing issues where function parameters named 'path' were conflicting with the path package - Maintained filepath imports where needed for OS-specific functions like filepath.Walk, filepath.IsAbs, filepath.Dir, and filepath.Base All tests pass, confirming the changes maintain functionality while improving cross-platform compatibility.
2025-02-03Allow home uploadsRuben Beltran del Rio
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-04-04Add support for Mac Roman character encoding.Jeff Halter
https://en.wikipedia.org/wiki/Mac_OS_Roman
2023-05-28Fix scanner buffer re-use for fileItemScanner (#104)Jeff Halter
2022-06-28Implement Scanner and Writer interface for FilePathJeff Halter
2022-06-21Fix more filepathsJeff Halter
2022-06-21Fix some Windows compatibility issuesJeff Halter
2022-06-20Convert hardcoded path separators to filepath.JoinJeff Halter
2022-06-20Add initial support for resource and info forksJeff Halter
2022-06-05Handle zero length comment and file paths for Nostalgia compatibilityJeff Halter
2022-05-30Fix upload folder name pattern matchingJeff Halter
2022-05-29Implement handling of special case Dropbox and Upload foldersJeff Halter
2022-01-30Sanitize file path input to prevent directory traversalJeff Halter
2021-08-15Tests and minor fixesJeff Halter
2021-08-12More cleanupJeff Halter
2021-08-10Add tests and clean upJeff Halter
2021-07-28Move code to hotline dirJeff Halter