Commit Graph
24 Commits
Author SHA1 Message Date
kk10 c8470beeee perf(pagination): split list queries into first-page and after-cursor variants 2026-10-10 10:51:50 +03:00
kk10 a288193cda fix(httpx): reject request bodies with trailing data after JSON 2026-10-10 10:41:58 +03:00
kk10 d25054843c fix(auth): cap session cache TTL by remaining session lifetime 2026-10-10 10:38:55 +03:00
kk10 f86d79a584 refactor: remove unused in-memory store 2026-10-08 00:00:04 +03:00
kk10 d7002b4dfe feat(httpx): return 503 when a dependency is unavailable 2026-10-06 18:45:31 +03:00
kk10 5bd210b59d feat(auth): cache sessions in redis with postgres fallback 2026-10-06 15:36:52 +03:00
kk10 f7e1866d4e feat(config): add redis url secret 2026-10-06 13:18:46 +03:00
kk10 81cea31c81 test(chat): add create chat rollback test 2026-10-05 23:06:18 +03:00
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