ЛР 2 - БВТ2303 - Голиков - на 5 #10

Closed
Maximillan_Mercer wants to merge 61 commits from Maximillan_Mercer/mtusi2026lab2_fork:solution/BVT2303-Golikov into master
61 Commits
Author SHA1 Message Date
Голиков Maximillian Антон 8764332cf1 docs(report): lab2 fix commands in sh blocks
Skeleton contracts / contracts (pull_request) Canceled after 0s
2026-10-02 20:58:28 +03:00
Голиков Maximillian Антон dbfb5c58f4 docs(report): lab2 ai helps generate report 2026-10-02 20:48:00 +03:00
Голиков Maximillian Антон d450c08f97 docs(evidence): add index comparison, write cost and restore verification 2026-10-02 20:05:33 +03:00
Голиков Maximillian Антон 7c0386f710 docs(evidence): add track two dataset, explain plans and chat identifiers 2026-10-02 19:50:44 +03:00
Голиков Maximillian Антон 55f9906758 fix(track2): query pg_indexes for index sizes in compare and write bench 2026-10-02 19:42:15 +03:00
Голиков Maximillian Антон 61207bb514 docs(student-tests): lab2 document track two commands and evidence files 2026-10-02 19:36:22 +03:00
Голиков Maximillian Антон b310835e03 feat(track2): verify counters and checksums after restore 2026-10-02 19:25:51 +03:00
Голиков Maximillian Антон 004df0ec97 feat(track2): restore dump into an isolated postgres container 2026-10-02 19:14:38 +03:00
Голиков Maximillian Антон fea89500c1 feat(track2): add pg_dump snapshot script for the messenger database 2026-10-02 19:02:14 +03:00
Голиков Maximillian Антон ebe402c3c8 feat(track2): benchmark write cost for baseline and covering indexes 2026-10-02 18:38:23 +03:00
Голиков Maximillian Антон 72fe1d7fb9 feat(track2): compare baseline, covering and missing indexes on history query 2026-10-02 18:19:47 +03:00
Голиков Maximillian Антон 133c915d2d chore(gitignore): ignore local database dumps under evidence 2026-10-02 17:52:14 +03:00
Голиков Maximillian Антон 900fb8f694 feat(track2): assert dataset size and print representative chat ids 2026-10-02 17:48:35 +03:00
Голиков Maximillian Антон 4cb4bcc76a feat(track2): add sequential per-chat message seeder 2026-10-02 17:11:26 +03:00
Голиков Maximillian Антон fb9aef6a13 feat(track2): scaffold uneven seeding script with user bootstrap 2026-10-02 17:00:12 +03:00
Голиков Maximillian Антон 9bba9c4b25 test(student-tests): lab2 consolidate negative, concurrency, auth and resilience checks in one commit 2026-10-02 16:32:10 +03:00
Голиков Maximillian Антон effb19289b fix(student-tests): pass user schema when seeding messages 2026-10-02 16:24:40 +03:00
Голиков Maximillian Антон c7ca2a338b fix(postgres): tune pool health check period for faster dead-conn eviction 2026-10-02 16:09:15 +03:00
Голиков Maximillian Антон 3db2891e4a fix(auth): cap session resolve with a three-second context deadline 2026-10-02 15:53:22 +03:00
Голиков Maximillian Антон b40ac615b3 fix(storage): map context deadline exceeded to unavailable error 2026-10-02 15:38:47 +03:00
Голиков Maximillian Антон e0723c0e98 fix(redis): shorten dial/read/write timeouts and cap retries 2026-10-02 15:24:11 +03:00
Голиков Maximillian Антон 46181bb404 fix(health): readiness pings postgres and redis instead of returning 200 2026-10-02 15:10:03 +03:00
Голиков Maximillian Антон eaf04c4769 chore(infra): redis service with AOF persistence 2026-10-02 14:42:55 +03:00
Голиков Maximillian Антон 812efa67bb feat(redis): session repository with native TTL and main connection 2026-10-02 14:02:55 +03:00
Голиков Maximillian Антон 5a3f6114a4 feat(config): SESSION_STORE and CACHE_URL 2026-10-02 13:08:24 +03:00
Голиков Maximillian Антон 42859d90a3 chore(deps):update dependecies 2026-10-02 12:42:55 +03:00
Голиков Maximillian Антон b26b2cf072 chore(infra): add compose stack and restart hook 2026-10-02 12:40:55 +03:00
Голиков Maximillian Антон 83415aec36 feat(main): wire postgres, sessions and BearerAuth 2026-10-02 11:59:55 +03:00
Голиков Maximillian Антон fe11f5b836 feat(config): load configuration from env and secrets files 2026-10-02 11:28:24 +03:00
Голиков Maximillian Антон c3492128b5 feat(router): expose /auth/sessions endpoints 2026-10-02 10:36:02 +03:00
Голиков Maximillian Антон 00d3c0feed feat(handler): add AuthHandler.RevokeCurrent 2026-10-02 10:08:53 +03:00
Голиков Maximillian Антон 537ec40c8a fix(postgres): map drivers 2026-10-02 09:12:21 +03:00
Голиков Maximillian Антон 45b3606259 fix(postgres): map driver errors and keep shared pool after migrations 2026-10-02 08:55:21 +03:00
Голиков Maximillian Антон 322ef09c1f feat(storage/postgres): lab2 add Storage wrapper and interface assertions 2026-10-02 01:41:25 +03:00
Голиков Maximillian Антон 5142ed5fe3 feat(storage/postgres): lab2 add MessageRepo with keyset pagination 2026-10-02 01:12:02 +03:00
Голиков Maximillian Антон 66af1891ac feat(storage/postgres): lab2 add ChatRepo with atomic create and members batch load 2026-10-02 00:16:52 +03:00
Голиков Maximillian Антон b72ddd127c feat(storage/postgres): lab2 add SessionRepo 2026-10-01 22:39:18 +03:00
Голиков Maximillian Антон 98a3756528 feat(storage/postgres): lab2 add UserRepo 2026-10-01 21:16:58 +03:00
Голиков Maximillian Антон 3e623d4fea feat(storage/postgres): lab2 add pg error helpers and keyset cursor 2026-10-01 20:42:11 +03:00
Голиков Maximillian Антон a8b787eccb feat(storage/postgres): lab2 add pool connection and migrations runner 2026-10-01 19:58:27 +03:00
Голиков Maximillian Антон fa252ccf04 feat(storage/postgres): lab2 add embed for migrations 2026-10-01 19:15:17 +03:00
Голиков Maximillian Антон 81e480a857 feat(middleware): lab2 BearerAuth with session check 2026-10-01 19:07:11 +03:00
Голиков Maximillian Антон f4a7f77926 refactor(middleware): lab2 put CurrentUser/CurrentToken from auth to context.go 2026-10-01 18:02:51 +03:00
Голиков Maximillian Антон 77b52891c0 feat(handler): lab2 AuthHandler.CreateSession с Basic 2026-10-01 17:22:51 +03:00
Голиков Maximillian Антон 2355ed7bce feat(dto): lab2 SessionResponse for POST /auth/sessions 2026-10-01 16:27:51 +03:00
Голиков Maximillian Антон df6dcd1d84 feat(service): lab2 UserService.Create hash password 2026-10-01 15:57:55 +03:00
Голиков Maximillian Антон cfabbfb5a0 refactor(service): UserService accept PasswordHasher now 2026-10-01 15:29:12 +03:00
Голиков Maximillian Антон 4161333bf8 feat(service): lab2 SessionService add Revoke 2026-10-01 15:21:44 +03:00
Голиков Maximillian Антон 9d6b4e7fa2 feat(service): lab2 SessionService add Resolve 2026-10-01 15:10:15 +03:00
Голиков Maximillian Антон 72f27d2ac3 feat(service): SessionService.Login with password verification and session creation 2026-10-01 14:42:35 +03:00
Голиков Maximillian Антон 5d2a7d0b20 feat(service): lab2 add basic sessio service 2026-10-01 13:44:28 +03:00
Голиков Maximillian Антон 4ef6968a1c feat(migration): lab2 add goose init migration 2026-10-01 12:40:44 +03:00
Голиков Maximillian Антон 7f3c85e709 feat(backend.auth.service): lab2 add Verify 2026-10-01 11:58:05 +03:00
Голиков Maximillian Антон bab61149cd feat(backend.auth): add classic PHC Hasher 2026-10-01 11:12:32 +03:00
Голиков Maximillian Антон c3a555bf3d feat(backend.auth): Argon2idHasher with default OWASP config 2026-10-01 10:28:13 +03:00
Голиков Maximillian Антон bc612c9a17 feat(backend.auth): lab2 change error 2026-10-01 10:05:13 +03:00
Голиков Maximillian Антон 7def6015c4 feat(backend.dto): lab2 add password field in user creation and add new mistakes 2026-10-01 09:43:13 +03:00
Голиков Maximillian Антон 771f7aff07 fix(backend.domain): lab2 delete isMember in chat repo 2026-10-01 09:14:12 +03:00
Голиков Maximillian Антон 99df603bd4 feat(backend.domain): lab2 add new errors and new session repo 2026-10-01 09:10:14 +03:00
Голиков Maximillian Антон 3d9e944c9a feat(backend.domain): lab2 add session and add password to user 2026-10-01 07:51:07 +03:00
Голиков Maximillian Антон 380d0ef710 feat: port backend implementation from lab1 2026-09-30 22:32:04 +03:00