Commit graph

3 commits

Author SHA1 Message Date
Leo
ff2d6f9c9c feat: Add a navbar. Add a settings page, forms to update username, email, password. Add the needed sql queries, service and handler functions. Remove the not needed GET /user endpoint. 2026-08-21 11:40:32 +03:00
Leo
43219268e9 feat: Add Sliding expiration for user_sessions
The user_session is valid for 24 hours, but the session will be bumped if it has been over an hour since the last update. An hour was set as a deadline, so that we would not update the user_session rows too often.
2026-08-17 23:47:11 +03:00
Leo
6b8f02fa0f Move all inline sql queries to sqlc queries 2026-08-17 10:44:14 +03:00