17 Commits

Author SHA1 Message Date
b778469365 fix session management and storage 2025-08-14 17:15:55 -05:00
2bbff01c0d clean up go mod, fix session persistence 2025-08-14 16:32:47 -05:00
bfe6c12a7a move middleware/auth to its own package, more work on session management 2025-08-14 16:00:07 -05:00
c5218c6061 housekeeping 2025-08-14 15:20:47 -05:00
7b99ffc02c refactor sessions, auth, cookies, etc. 2025-08-14 12:13:23 -05:00
c083c55212 move models to /internal/models 2025-08-14 11:44:10 -05:00
f0756c79b6 improve database usage with models and change trackers, work on statbars 2025-08-12 08:18:09 -05:00
c473e41b45 rename utils to helpers 2025-08-11 13:22:20 -05:00
4a73b7cc0d separate session into its own package, clean up some docs 2025-08-11 13:21:07 -05:00
b8b77351d0 add flash messages, preserve usernames/emails in forms 2025-08-11 12:24:16 -05:00
8eb869a971 implement town middleware, first town route, clean up uservalue access 2025-08-11 10:47:13 -05:00
b1f436585e Simplify auth package 2025-08-09 18:12:23 -05:00
80700149f8 ToMap method for users 2025-08-09 17:58:20 -05:00
0534da09a1 fix csrf and simplify global utilities 2025-08-09 13:58:48 -05:00
56dca44815 round out authentication 2025-08-09 11:27:26 -05:00
cec2b12c35 add CSRF middleware, and to session data 2025-08-09 09:49:50 -05:00
a49346160b auth system first pass 2025-08-09 09:44:44 -05:00