aboutsummaryrefslogtreecommitdiff
path: root/src/user/routes.go
AgeCommit message (Collapse)Author
2024-01-25update hooks to more identifiable names, update migrations to work with ↵HEADtrunkAlexander Kavon
votes, use a common enum state type
2024-01-23move ui templates into src, update conf to handle other paths, export User ↵Alexander Kavon
Insert Hooks
2024-01-22add posts table migration, add sqlboiler post model, post routes: create, ↵Alexander Kavon
store, get, post create ui template, remove email from user create route
2024-01-22remove unneccessary Request.ParseForm() calls and update password ↵Alexander Kavon
placeholder on user create/auth pages
2024-01-22only return error for compareSecretToHash, update login formAlexander Kavon
2024-01-22added login authentication route logic, added compareSecretToHash, ↵Alexander Kavon
decodeHash, hashArgon2, renamed HashSecret to hashSecret
2024-01-22added validation for user fields on sqlboiler.BeforeInsertHook, added ↵Alexander Kavon
hashing of secret before insert
2024-01-22update db adapter, server, routes, and user model to be sqlboiler compatibleAlexander Kavon
2023-12-01settled on map[string]interface{} for passing data to view, automatically ↵Alexander Kavon
append session struct, fixed nil session checks, updated templates to use map variable names
2023-11-30fixed login/create templates to point to correct endpoints, updated func ↵Alexander Kavon
names to be more idiomatic, reference Session objects to save memory, logout/session.Destroy method
2023-11-30setup user show route to use sessionAlexander Kavon
2023-11-30adjusted session store to only require library and returnable session objectAlexander Kavon
2023-11-30initial sessions support via sessions pkg, includes session middleware for ↵Alexander Kavon
setting sessions, guest sessions, method to return array of middlewares
2023-11-29user create/insert into users table, pgxpool defer moved to top of app, ↵Alexander Kavon
me.tmpl.html, secret hashing with argon2id, updated migrations
2023-11-28ui render templates simplifyAlexander Kavon
2023-11-28working container compose w/database, no more auth package, message template ↵Alexander Kavon
partial, working html template writing, auth routes in user/routes.go
2023-11-28build ui and render templates, build routesAlexander Kavon
2023-11-27config updates, rename user model, load auth routes, initial templating pocAlexander Kavon