Commit Graph

112 Commits

Author SHA1 Message Date
2e79e579f7 + CurrencyAPIClient for fresh CNY rate
+ yuan_rate_last_updated, yuan_rate_commission fields in GlobalSettings
2023-11-23 02:16:53 +04:00
a4f8dfc27c * Filter Checklist by multiple status values 2023-11-23 02:13:05 +04:00
aa3aa00ae1 * Fixed wrong id for PriceSnapshot 2023-11-15 18:40:00 +04:00
0e5c0ce16f * WIP: annotate_commission_rub 2023-11-11 09:51:17 +04:00
9a2a630465 + Set Checklist.gift to NULL on Gift deletion 2023-11-11 09:49:30 +04:00
65b27d49d7 * annotate_price_rub fixed 2023-11-11 09:48:32 +04:00
520d9ebc0e * Disable Sentry for debug environment 2023-11-09 17:19:18 +04:00
8089947dcb + Centry logging 2023-11-03 22:42:03 +04:00
6f96eaaac7 * Check the Gifts that are being added to Checklist from unauthorized users 2023-11-03 00:55:07 +04:00
ca478a7e15 * Allow PoizonAPI for authorized users only 2023-11-03 00:39:53 +04:00
28b0adffc3 * Allow unauthorized users to edit Checklist.cdek_barcode_pdf field 2023-11-03 00:34:40 +04:00
48f24a2e4b * Option to directly invalidate cdek_barcode_pdf 2023-11-03 00:23:46 +04:00
d41fc46642 * CDEK barcode PDF invalidation 2023-11-03 00:13:35 +04:00
64423a1670 * Cleanup 2023-11-02 20:42:28 +04:00
e982cd3445 + Poizon API 2023-11-02 20:41:40 +04:00
dd9dfb3704 + Gift 2023-10-31 16:50:45 +04:00
b8e04067dd * Moved CDEK api to external_api module 2023-10-31 16:49:10 +04:00
5b0d0d205b + Recursive search of suitable commission price & delivery price 2023-10-15 10:45:43 +04:00
86a86e79f3 * Try to get delivery_price_CN_RU from parent category if it is zero 2023-10-12 15:26:09 +04:00
8a7e2865ed * Get max commission value 2023-10-12 08:50:13 +04:00
dbceacb606 * Fixed commission math 2023-10-12 02:14:14 +04:00
0bb89fc6f0 * Updated commission logic 2023-10-11 22:48:13 +04:00
0dcc98ab70 * Optional Checklist.size field 2023-10-11 22:32:22 +04:00
bdeb57971b * Updated preview layout 2023-10-11 22:28:17 +04:00
00e5b19b6a + Checklist.split_accepted field 2023-10-04 06:58:09 +04:00
69d386806a + PriceSnapshot
* Category commission inside a commission_rub field
2023-10-04 06:57:53 +04:00
88377ad4c0 * Preview image: format price by 3 digits with spaces 2023-08-27 18:07:40 +04:00
26f896ca4e * Fixed non-updatable children Categories 2023-08-26 17:28:21 +04:00
f5afc4061c * missing split_payment_proof field in serializer 2023-08-21 16:47:36 +04:00
9eb9b8bebc * payment_proof is now a single image + migration from m2m
+ split_payment_proof
2023-08-21 16:24:52 +04:00
3d3bab53b0 * Disable CDEK authorization during migration 2023-08-21 16:22:41 +04:00
5b49d2806d + migration of categories/subcategories 2023-08-21 16:22:03 +04:00
ee638d755b * Disable CDEK authorization during migration 2023-08-21 16:19:37 +04:00
3ed2867a32 * Disabled DEBUG mode 2023-08-19 20:12:28 +04:00
f20923c5db + More info about client in statistics/clients 2023-08-19 20:02:19 +04:00
89fdaa2069 * null-check for Checklist.category
* fixed missing deps
* cleanup
2023-08-19 20:01:30 +04:00
3a6b06d223 + time_to_buy & buy_time_remaining fields
+ Category: hierarchy, removed slugs & added comission per category
* Promocode value in rubles instead of percentage
* Cleanup in GlobalSettings routes
2023-08-18 16:22:32 +04:00
e370a2097a + Route for CDEK order editing 2023-08-18 16:03:57 +04:00
1cbbe49d12 * AllowAny permission for CDEK API 2023-07-23 17:49:33 +04:00
91bdf4cd31 * preview_image: dynamic size of "size" block 2023-07-22 21:27:42 +04:00
367047d231 * Preview image: render price_rub as integer (without decimal places) 2023-07-17 20:52:16 +04:00
676f6c6f72 * Round up price_rub & full_price fields 2023-07-17 20:48:33 +04:00
a1c3924c4f * Cleanup 2023-07-17 20:31:51 +04:00
bc85088987 Preview image:
* Title is rendered on separate lines, each 12 characters max
* calculate width of block on the left, paste good's image with that info in mind
2023-07-17 20:30:59 +04:00
bf5a0447b7 * Made Checklist.category a not required field 2023-07-13 01:30:23 +04:00
83024fcc22 + Allow GET /payment/ for unauthorized users 2023-07-13 01:26:32 +04:00
938a468544 + DELETE for checklists 2023-07-13 00:29:52 +04:00
1fc6f7c0b1 * PaymentMethod: allow null for cardnumber & requisites 2023-07-13 00:24:25 +04:00
33306348af * renamed comission -> commission 2023-07-12 23:34:03 +04:00
85c042aef4 * DISABLE_PERMISSIONS = False 2023-07-12 23:24:55 +04:00