Commit Graph

54 Commits

Author SHA1 Message Date
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 47124a01a7 test commit 2026-05-21 14:22:03 +05:00
Kirill 058fa26e12 test commit 2026-05-21 13:39:45 +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 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 b06ba64365 test commit 2026-05-20 12:07:22 +05:00
Kirill af5376d0e1 fix: rename name→displayName in remaining Prisma select clauses 2026-05-20 11:31:24 +05:00
Kirill c32d5e6aff fix: use sx for justifyContent in OAuthButtons, fix import order in test 2026-05-20 11:14:36 +05:00
Kirill bf22aaf917 test: OAuth user model fields 2026-05-20 11:10:18 +05:00
Kirill 6fde248dc5 feat: enrich Yandex OAuth with firstName/lastName/gender/avatar 2026-05-20 10:55:37 +05:00
Kirill d2d2f721cd feat: enrich VK OAuth with firstName/lastName/gender/avatar 2026-05-20 10:53:58 +05:00
Kirill 32a4406cb8 refactor: rename name→displayName in review files 2026-05-20 10:51:48 +05:00
Kirill cc7e46b447 refactor: rename name→displayName in admin-users 2026-05-20 10:50:38 +05:00
Kirill ce49f75100 feat: use displayName in mapUserForClient and profile update 2026-05-20 10:46:31 +05:00
Kirill 57275514bf feat: remove server info-page routes 2026-05-19 14:56:37 +05:00
Kirill 5adbe9baa7 test commit 2026-05-19 11:25:23 +05:00
Kirill d0b3c97803 feat: improve notifications - fix auth code tg duplicate, double order notify, add PAID label, expand text, add deliveryFeeAdjusted event 2026-05-18 14:48:54 +05:00
Kirill 2f67c37502 test commit 2026-05-18 13:54:05 +05:00
Kirill 84cdccaa17 feat: emit notification events from existing routes 2026-05-18 11:39:02 +05:00
Kirill e73a0ae09a feat: wire up notification system in server 2026-05-18 11:36:19 +05:00
Kirill 02172f7995 test(server): add gallery resize test, adapt upload tests 2026-05-17 18:00:15 +05:00
Kirill 5637bb7db9 feat(server): remove old /admin/uploads, validate isResized on product endpoints 2026-05-17 17:54:13 +05:00
Kirill 9226bcc571 feat(server): add POST /api/admin/gallery/:id/resize endpoint 2026-05-17 17:50:27 +05:00
Kirill 248f8766aa feat(server): add POST /api/admin/gallery/upload endpoint 2026-05-17 17:43:47 +05:00
Kirill f855568687 refactor: simplify order status model — remove DELIVERY_FEE_ADJUSTMENT and PAYMENT_VERIFICATION
- Add deliveryFeeLocked field to Order model
- Remove DELIVERY_FEE_ADJUSTMENT and PAYMENT_VERIFICATION statuses (11→8)
- 3 order paths: delivery+online (locked→unlocked→paid), pickup+online (unlocked→paid), pickup+on_pickup (direct to in_progress)
- Update checkout to use PENDING_PAYMENT + deliveryFeeLocked
- Update payment flow to stay in PENDING_PAYMENT until admin confirms
- Update admin UI to use deliveryFeeLocked instead of status check
- Update client payment UI with new deliveryFeeLocked logic
2026-05-15 21:55:14 +05:00
Kirill d73d88d034 feat: enable eager image processing for admin uploads 2026-05-15 20:16:07 +05:00
Kirill be48606ae3 update goods 2026-05-15 14:58:47 +05:00
Kirill 0bef02bc6d feat: add uploads-resized route with sharp resizing and cache headers 2026-05-15 13:24:16 +05:00
Kirill c37743eee6 feat: separate review images into /uploads/reviews/ subdir 2026-05-15 13:24:14 +05:00
Kirill 89d605adf4 update goods 2026-05-15 12:50:39 +05:00
Kirill c5634deb51 test refactor 2026-05-14 22:40:35 +05:00
@kirill.komarov a06f9cf2c4 Merge branch 'refactor' 2026-05-13 22:07:46 +05:00
@kirill.komarov 7a92991cff deploy 2026-05-11 20:15:01 +05:00
@kirill.komarov 4eda6d0f81 deploy 2026-05-11 15:14:35 +05:00
@kirill.komarov 20096c1eec deploy 2026-05-10 17:38:04 +05:00
@kirill.komarov 517cd23a55 deploy 2026-05-10 17:15:56 +05:00
@kirill.komarov 5ddde15fd3 base commit 2026-05-10 14:28:35 +05:00
@kirill.komarov 97537a8717 base commit 2026-05-10 13:50:44 +05:00
@kirill.komarov fe10f25b8c base commit 2026-05-03 19:57:12 +05:00
@kirill.komarov 9139a24093 base commit 2026-04-30 22:34:55 +05:00
@kirill.komarov 123d86091d base commit 2026-04-29 20:23:30 +05:00
@kirill.komarov f26223091a base commit 2026-04-29 19:29:24 +05:00
@kirill.komarov bfc9661d22 base commit 2026-04-29 19:14:34 +05:00
@kirill.komarov 326521c9e6 base commit 2026-04-29 18:34:25 +05:00