Commit Graph
41 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 af88065a1c docs: add PR link to report 2026-10-08 15:44:14 +03:00
kk10 9ec1eae7b8 docs: write lab 2 report 2026-10-08 15:21:18 +03:00
kk10 f86d79a584 refactor: remove unused in-memory store 2026-10-08 00:00:04 +03:00
kk10 497f677453 docs: add track 2 and test evidence 2026-10-07 23:48:38 +03:00
kk10 0e62ba9660 test(auth): add session expiry test with short ttl 2026-10-07 17:13:09 +03:00
kk10 fff2cb5b37 test(auth): add redis and database failure tests 2026-10-07 17:07:05 +03:00
kk10 d7002b4dfe feat(httpx): return 503 when a dependency is unavailable 2026-10-06 18:45:31 +03:00
kk10 b540577cf9 test(auth): add wrong password and logout tests 2026-10-06 18:33:56 +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 06e9af1ba6 feat(compose): add redis service 2026-10-06 13:09:00 +03:00
kk10 6469ed475b refactor(compose): rename backend service to api 2026-10-06 13:05:16 +03:00
kk10 ffe842f312 docs: add explain analyze results for message history 2026-10-05 23:55:20 +03:00
kk10 58177470b7 chore(compose): publish postgres port on localhost 2026-10-05 23:55:12 +03:00
kk10 81cea31c81 test(chat): add create chat rollback test 2026-10-05 23:06:18 +03:00
kk10 66808c6c80 test(auth): add concurrent registration race test 2026-10-05 22:43:09 +03:00
kk10 2d413ab704 feat(middleware): add request timeout 2026-10-05 22:29:18 +03:00
kk10 62412bd465 test: add restart hook for persistence test 2026-10-05 22:18:52 +03:00
kk10 7b92ca2366 feat(auth): delete expired sessions hourly 2026-10-05 15:11:24 +03:00
kk10 79036b0f18 test: authenticate student tests with session tokens 2026-10-05 13:42:00 +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 bbcde1e95e build(docker): bump Go image to 1.27.1 2026-10-04 22:07:21 +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 4c1d08f8a8 feat(db): add postgres, goose migrations and initial schema 2026-10-03 11:40:26 +03:00
kk10 2f279a1715 chore: port lab 1 solution 2026-10-02 11:45:26 +03:00
Mikhail Verkovykh 65003b6119 Подготовить skeleton лабораторной 2 по мессенджеру 2026-09-10 18:01:35 +03:00
vmd 4c14ccbadd Первый коммит 2026-09-10 17:39:58 +03:00