Commit Graph

15 Commits

Author SHA1 Message Date
Maximilian
b30af86e58 Prebuild templates (base.html + content) at startup to avoid a file parse every page load 2023-12-22 21:03:15 -06:00
Maximilian
e87f14bcbf Make all slog errors uniform (lowercase) 2023-09-03 15:56:35 -05:00
Maximilian
ee4c9f9199 Clean up error handling, begin migration to log/slog 2023-08-17 21:13:17 -05:00
Maximilian
fa3165d317 Use proper error comparison 2023-08-03 12:13:37 -05:00
Maximilian
9670b7d717 Better naming of functions and files, delete less than helpful comments 2023-08-03 12:09:40 -05:00
Maximilian
1451abcca4 Formatting 2023-04-06 12:01:29 -05:00
max
ec9c1a8fb5 Initial clear old sessions implementation 2023-04-04 14:37:36 -05:00
Maximilian
f7eb852c66 Gracefully shut down server when interrupt signal is received and remove panic when creating log directory 2023-02-17 18:25:14 -06:00
Maximilian
fcd6477ec3 Migration implementation, auto migrate when starting program 2023-02-13 23:41:45 -06:00
Maximilian
f2f2187872 Fix issue with logging to a file. Only log by day. 2023-02-05 13:01:38 -06:00
Maximilian
1360f93ac3 Embed static and templates folder when compiling, RenderTemplate now renders and serves from the embedded filesystem 2023-02-05 12:46:47 -06:00
Maximilian
e8e42f3724 Code cleanup 2022-12-04 18:04:24 -06:00
Maximilian
ed2d0063f0 Fix line separators (LF only now) 2022-12-04 17:55:05 -06:00
Maximilian
619469059c Create logs folder if it doesn't already exist 2022-11-01 16:30:54 -05:00
max
38352de02f Base app 2022-10-20 11:58:21 -05:00