Commit Graph

11 Commits

Author SHA1 Message Date
Kirill 3177413acd chore: fix prettier formatting 2026-05-20 19:33:13 +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 3879e4b388 feat: add yookassa API client library with tests 2026-05-20 17:59:35 +05:00
Kirill 5adbe9baa7 test commit 2026-05-19 11:25:23 +05:00
Kirill 02172f7995 test(server): add gallery resize test, adapt upload tests 2026-05-17 18:00:15 +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 b22c3f312c feat: add eager mode to persistMultipartImages 2026-05-15 20:10:45 +05:00
Kirill 5de2694a14 feat: add eager image processing functions (generateAllSizes, convertOriginalToWebp) 2026-05-15 19:48:15 +05:00
Kirill d8798de49a test: add server tests for image resize library 2026-05-15 13:32:34 +05:00
@kirill.komarov 8165f75a78 Merge branch 'refactor2' 2026-05-13 22:40:45 +05:00