aboutsummaryrefslogtreecommitdiff
path: root/cmd/server/auth.go
AgeCommit message (Collapse)AuthorFilesLines
2023-01-07Add an internal caching option. It performs quite well.v0.0.22Mitchell Riedstra1-2/+5
Also refactor and clean up most linter warnings.
2022-10-09Improve error handling when file does not existv0.0.19Mitchell Riedstra1-3/+3
2022-09-17Remove fs / FileSystem library support since it is broken on Windows.Mitchell Riedstra1-1/+2
2022-06-190.0.17a / Alpha. Introduce users and page editing.v0.0.17aMitchell Riedstra1-0/+108
Breaking changes: inc/base.html is now tpl/base.md by default. This can be overridden on the command line. 404.md is now tpl/404.md. This can be overridden with templatedirectory in the configuration file. Additional files: `auth.json` file that stores credentials and settings for authorization cookie. Further notes: This will likely receive some major updates and changes over the next few commits. The scaffolidng is now in place for user accounts, login handling, and page editing. It's all extremely basic at the moment, on the idea list: Listing of all markdown files File uploader and general content management Flags to turn on/off git integration for edits. Download / Upload of all markdown files as a backup/restore. It's of course, all subject to change.