Commit Graph

430 Commits

Author SHA1 Message Date
Kirill 5adbe9baa7 test commit 2026-05-19 11:25:23 +05:00
Kirill f8867f6457 Merge branch 'redisign' 2026-05-19 10:33:42 +05:00
Kirill 3972133155 test commit 2026-05-19 10:31:59 +05:00
Kirill c25b4f97f2 test commit 2026-05-19 10:30:05 +05:00
Kirill 9999b28d49 test commit 2026-05-19 09:00:26 +05:00
Kirill 0ee9e76a30 test commit 2026-05-18 21:25:02 +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 7421384161 Merge branch 'notification' 2026-05-18 12:19:44 +05:00
Kirill 29f3aba4ae test commit 2026-05-18 12:19:33 +05:00
Kirill 6912008a2c test: add notification preferences tests 2026-05-18 12:06:29 +05:00
Kirill 6054ef4c06 feat: add admin notification settings page 2026-05-18 11:55:45 +05:00
Kirill dfec821545 feat: add user notification settings page 2026-05-18 11:51:41 +05:00
Kirill ea0d6bdb91 feat: add notification API client functions 2026-05-18 11:47:31 +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 dcbcb42acd feat: add notification event type constants 2026-05-18 11:23:12 +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 f0365d0b98 feat(client): remove direct upload from product form, filter gallery to resized 2026-05-17 18:17:27 +05:00
Kirill 35dee985f7 feat(client): complete AdminGalleryPage with new upload and resize UI 2026-05-17 18:15:07 +05:00
Kirill 5411f8ae24 feat(client): add resize button and status badge to GalleryGrid 2026-05-17 18:09:12 +05:00
Kirill cf6b5da4fc feat(client): add isResized type, uploadGalleryImages, resizeGalleryImage API 2026-05-17 18:03:32 +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 f36439de38 Merge branch 'FIX-ORDER' 2026-05-15 22:09:38 +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 2db6258b33 test commit 2026-05-15 21:14:07 +05:00
Kirill 518879dabb test commit 2026-05-15 20:44:17 +05:00
Kirill 0a3aa2b891 update goods 2026-05-15 20:40:09 +05:00
Kirill d499aeb735 chore: remove plans and uploads from git tracking 2026-05-15 20:32:52 +05:00
Kirill 7e231dbdd8 feat: use WebP original for full-screen product image viewer 2026-05-15 20:27:45 +05:00
Kirill 56bdcc0351 feat: update OptimizedImage for WebP originals and add getOriginalWebpUrl 2026-05-15 20:21:29 +05:00
Kirill dc448d6538 feat: improve error messages for user upload size validation 2026-05-15 20:19:00 +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