Commit Graph

415 Commits

Author SHA1 Message Date
Kirill be65f2330e refactor(client): remove avatarType, add auth effects, simplify UserAvatar 2026-05-22 12:08:41 +05:00
Kirill 6bedf0b28a test(server): add password auth and account methods tests 2026-05-22 11:57:11 +05:00
Kirill abb14a49e0 feat(server): add auth-methods, set-password, unlink-oauth endpoints 2026-05-22 11:47:46 +05:00
Kirill c9fa05b7bf feat(server): add oauth link routes for account binding 2026-05-22 11:45:12 +05:00
Kirill 5f180fffaf refactor(server): oauth only email, remove profile requests, support account linking state 2026-05-22 11:41:40 +05:00
Kirill bb7b40ac45 fix(server): remove all avatarType references after DB column drop 2026-05-22 11:36:11 +05:00
Kirill c3e4f5bdd2 feat(server): add POST /api/auth/register and /api/auth/login
- Add register endpoint with email/password validation, bcrypt hashing
- Add login endpoint with rate limiting per IP (5 attempts/min)
- Add helper functions: validatePassword, hashPassword, comparePassword, isAdminEmail
- Add checkLoginRateLimit for brute-force protection
- Add bcrypt dependency
- Remove avatarType column from User (migration)
2026-05-22 11:26:00 +05:00
Kirill 924d7b7b77 test commit 2026-05-21 21:58:49 +05:00
Kirill 4fa4a91ddc feat: avatars in /me/messages chat 2026-05-21 21:55:10 +05:00
Kirill f6729210db feat: public admin avatar endpoint, real admin avatar in user chat 2026-05-21 21:50:07 +05:00
Kirill 367ea1e501 test commit 2026-05-21 21:39:36 +05:00
Kirill b7895b3fe1 Merge branch 'fixes' 2026-05-21 21:17:29 +05:00
Kirill 44c95502f8 test commit 2026-05-21 21:17:16 +05:00
Kirill c5775c7f5d test commit 2026-05-21 21:17:06 +05:00
Kirill e09fe7211a fix: type-only import for UpdateProfileParams 2026-05-21 21:12:29 +05:00
Kirill 57da755ea1 feat: real user avatars in reviews, conditional product link 2026-05-21 21:10:49 +05:00
Kirill 7e7bade80c feat: avatars in order messages 2026-05-21 21:05:22 +05:00
Kirill d69647ffe3 fix: out of stock chip z-index, PersonIcon for unauthenticated users 2026-05-21 21:00:26 +05:00
Kirill 7a9e44bc5c fix: rename name to displayName in AdminUser type and page 2026-05-21 20:58:50 +05:00
Kirill 2751332356 feat: avatar column in admin users table 2026-05-21 20:52:43 +05:00
Kirill d1e4cc67aa feat: admin avatar in header with settings link 2026-05-21 20:45:23 +05:00
Kirill 52290e162e fix: use mutation variables in onSuccess, fix null displayName handling 2026-05-21 20:42:59 +05:00
Kirill 0dfa428931 feat: add admin settings page for display name and avatar editing 2026-05-21 20:28:35 +05:00
Kirill 37be5eef08 docs: avatar and display fixes implementation plan 2026-05-21 20:18:32 +05:00
Kirill ff7a4b6bba docs: avatar and display fixes design spec 2026-05-21 20:09:22 +05:00
Kirill 098c4c2b54 Merge branch 'refack2' 2026-05-21 14:33:14 +05:00
Kirill d056399b3b test commit 2026-05-21 14:32:45 +05:00
Kirill 47124a01a7 test commit 2026-05-21 14:22:03 +05:00
Kirill 058fa26e12 test commit 2026-05-21 13:39:45 +05:00
Kirill a176955521 test commit 2026-05-21 12:18:36 +05:00
Kirill 76cd19e3ab test commit 2026-05-21 12:04:07 +05:00
Kirill 7117978800 Merge branch 'payd' 2026-05-21 12:03:23 +05:00
Kirill 41b95d7122 test commit 2026-05-21 12:03:07 +05:00
Kirill 1837b36b14 test commit 2026-05-21 12:02:29 +05:00
Kirill ae6f86041a fix: trustProxy for webhook IP validation, filter expired payments, remove dead code 2026-05-20 19:40:23 +05:00
Kirill 3177413acd chore: fix prettier formatting 2026-05-20 19:33:13 +05:00
Kirill faac332138 feat: implement yookassa redirect payment flow on client 2026-05-20 19:28:46 +05:00
Kirill 698293e2f1 feat: remove old manual payment dialog and api method 2026-05-20 19:22:51 +05:00
Kirill dcf601d4a2 feat: add yookassa webhook endpoint 2026-05-20 19:19:48 +05:00
Kirill 317b910710 fix: email validation, conditional order update, improved tests for payment routes 2026-05-20 19:12:46 +05:00
Kirill 7d0854a294 fix: use correct notification event name in payment route 2026-05-20 19:00:39 +05:00
Kirill 8d45155b54 feat: rewrite payment route for yookassa redirect flow 2026-05-20 18:53:21 +05:00
Kirill abadbbd4c4 fix: add retry to getPayment, normalize return, env validation, webhook/builder tests 2026-05-20 18:11:14 +05:00
Kirill a3556367c6 fix: correct retryable check in yookassa fetchWithRetry 2026-05-20 18:04:07 +05:00
Kirill 3879e4b388 feat: add yookassa API client library with tests 2026-05-20 17:59:35 +05:00
Kirill e2cea63af0 feat: add yookassa env vars to .env.example 2026-05-20 17:54:54 +05:00
Kirill dad644190a fix: remove redundant index on yookassaPaymentId 2026-05-20 17:54:01 +05:00
Kirill 7bba78b4c0 feat: add Payment model for yookassa integration 2026-05-20 17:49:14 +05:00
Kirill 585c565b7b docs: add yookassa payment integration implementation plan 2026-05-20 17:45:20 +05:00
Kirill fc7bc43c9f docs: add yookassa payment integration design spec 2026-05-20 17:33:08 +05:00