Commit Graph

77 Commits

Author SHA1 Message Date
Kirill 7bba78b4c0 feat: add Payment model for yookassa integration 2026-05-20 17:49:14 +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 76d215e4dc docs: add Yandex OAuth scopes to .env.example 2026-05-20 11:08: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 36880c298c feat: rename User.name→displayName, add firstName/lastName/gender/avatar 2026-05-20 10:39:01 +05:00
Kirill cb4661dc13 test commit 2026-05-19 15:32:45 +05:00
Kirill 17b683f131 feat: remove InfoPageBlock model from Prisma schema 2026-05-19 15:14:38 +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 6912008a2c test: add notification preferences tests 2026-05-18 12:06:29 +05:00
Kirill 912724082e test: add notification preferences tests 2026-05-18 11:45:51 +05:00
Kirill 1d36f6a31b feat: create admin notification settings on bootstrap 2026-05-18 11:40:24 +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 3f83a9be8e feat: add notification queue with retry worker 2026-05-18 11:33:06 +05:00
Kirill 4a424b68a2 feat: add notification preferences resolver 2026-05-18 11:31:16 +05:00
Kirill e0a045d5df feat: add Telegram notification channel 2026-05-18 11:29:58 +05:00
Kirill 8f3d1ae5ef feat: add email notification channel 2026-05-18 11:28:46 +05:00
Kirill 79c85b0a88 feat: add Telegram message templates 2026-05-18 11:26:52 +05:00
Kirill 86f8569840 feat: add email templates for notifications 2026-05-18 11:25:46 +05:00
Kirill 09ada62daf feat: add notification event bus 2026-05-18 11:24:01 +05:00
Kirill 4816d098da feat: add notification system database models 2026-05-18 11:20:53 +05:00
Kirill d18546c45a feat(client): slider picker shows only resized images
chore(server): remove unused gallery.js
2026-05-17 18:20:57 +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 c8281a39e5 feat(db): add isResized to GalleryImage 2026-05-17 17:39:44 +05:00
Kirill 347089b173 test commit 2026-05-15 22:09:24 +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 d499aeb735 chore: remove plans and uploads from git tracking 2026-05-15 20:32:52 +05:00
Kirill d73d88d034 feat: enable eager image processing for admin uploads 2026-05-15 20:16:07 +05:00
Kirill b22c3f312c feat: add eager mode to persistMultipartImages 2026-05-15 20:10:45 +05:00
Kirill 3e5e495b9f fix: reuse sharp instance and UPLOADS_DIR constant in eager processing 2026-05-15 19:52:16 +05:00
Kirill 5de2694a14 feat: add eager image processing functions (generateAllSizes, convertOriginalToWebp) 2026-05-15 19:48:15 +05:00
Kirill 8b79c01985 fix: downgrade sharp to 0.32.6 for older CPU compatibility, add /uploads-resized/ to nginx config 2026-05-15 19:06:22 +05:00
Kirill be48606ae3 update goods 2026-05-15 14:58:47 +05:00
Kirill 551c9b027c update goods 2026-05-15 14:43:26 +05:00
Kirill 48dc9de456 update goods 2026-05-15 14:24:25 +05:00
Kirill 25901ae224 update goods 2026-05-15 14:23:54 +05:00
Kirill ed475be289 fix: apply lint fixes and fix vite manualChunks for Vite 8 compatibility 2026-05-15 13:43:51 +05:00