Commit Graph
16 Commits
Author SHA1 Message Date
kk10 2d413ab704 feat(middleware): add request timeout 2026-10-05 22:29:18 +03:00
kk10 7b92ca2366 feat(auth): delete expired sessions hourly 2026-10-05 15:11:24 +03:00
kk10 385a8c0312 feat(message): store messages in Postgres 2026-10-05 13:26:21 +03:00
kk10 04f7c046b6 feat(chat): store chats in Postgres 2026-10-05 12:54:51 +03:00
kk10 c99f6f02c5 refactor(httpx): rename WriteInternal to WriteInternalError 2026-10-05 12:47:41 +03:00
kk10 86f4aadead refactor(httpx): rename WriteInternal to WriteInternalError 2026-10-05 11:57:31 +03:00
kk10 a8525778a3 feat(auth): add session login, logout and bearer middleware 2026-10-05 11:54:36 +03:00
kk10 b94e7813ee refactor(httpx): drop duplicate WriteError, add WriteInternal 2026-10-05 11:41:34 +03:00
kk10 5d6f5a397f refactor(db): drop Querier and select only user id for session lookup 2026-10-04 23:08:11 +03:00
kk10 527c1748f8 feat(user): store users in Postgres with password hashes 2026-10-04 22:49:42 +03:00
kk10 01a9cc3398 feat(credentials): add password hashing and token helpers 2026-10-04 22:04:47 +03:00
kk10 862d22c228 feat(postgres): add pool and error code helpers 2026-10-04 21:41:39 +03:00
kk10 e1f2cb01e0 feat(db): add schema, sqlc queries and generated code 2026-10-04 21:25:07 +03:00
kk10 492e0be15c feat(db): connect to PostgreSQL and check it in /health/ready 2026-10-03 12:36:05 +03:00
kk10 60fad0fca7 feat(config): add database secret file and session TTL settings 2026-10-03 12:32:09 +03:00
kk10 2f279a1715 chore: port lab 1 solution 2026-10-02 11:45:26 +03:00