Commit Graph

73 Commits

Author SHA1 Message Date
5bcd3c4745 * preview_image: dynamic size of "size" block 2023-07-22 21:27:42 +04:00
959ae4536d * Preview image: render price_rub as integer (without decimal places) 2023-07-17 20:52:16 +04:00
9e04fa354f * Round up price_rub & full_price fields 2023-07-17 20:48:33 +04:00
edcdc96d8e * Cleanup 2023-07-17 20:31:51 +04:00
dc22af6d4c 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
ea6bcf0a42 * Made Checklist.category a not required field 2023-07-13 01:30:23 +04:00
42edb1ae4e + Allow GET /payment/ for unauthorized users 2023-07-13 01:26:32 +04:00
b103a07046 + DELETE for checklists 2023-07-13 00:29:52 +04:00
9221c1f8a8 * PaymentMethod: allow null for cardnumber & requisites 2023-07-13 00:24:25 +04:00
c464b069ba * renamed comission -> commission 2023-07-12 23:34:03 +04:00
c6b7bdf8b4 * DISABLE_PERMISSIONS = False 2023-07-12 23:24:55 +04:00
2fdd009ca5 + djoser routes for user API 2023-07-12 23:18:31 +04:00
92a5ac2c15 * CORS_ALLOW_CREDENTIALS 2023-07-12 21:45:40 +04:00
cea3c2a8ba * Cleanup 2023-07-12 21:14:50 +04:00
f4af85c2ce * Fixed checlist filtering & search 2023-07-12 21:14:27 +04:00
021d75587c * DISABLE_PERMISSIONS for list checklists 2023-07-12 20:53:42 +04:00
988e2c7ad4 * DISABLE_PERMISSIONS for Checklist creation 2023-07-12 20:33:22 +04:00
d12bd8db9f Checklist preview:
- render full_price instead of price_rub
- limit to 2 decimal places
2023-07-12 20:04:20 +04:00
4f901fe62e * allow empty promo fields 2023-07-12 20:03:39 +04:00
6a1e85d524 * renamed paymentproovement -> paymentprovement 2023-07-12 20:03:24 +04:00
0caad35598 * 1 process for uwsgi 2023-07-11 13:05:36 +04:00
a37fe8c851 * Fixed cdek orders API 2023-07-11 13:02:00 +04:00
fb5a80f0b4 + Auto update status NEW->PAYMENT if payment info is present
* Cleanup
2023-07-10 21:29:20 +04:00
568711fe63 + cdek_courier option for Checklist.delivery 2023-07-10 21:25:51 +04:00
9a44f597a7 + DISABLE_CORS option 2023-07-10 21:24:19 +04:00
7840af8fe2 * Disallow anonymous users to list Checklists 2023-07-10 20:27:03 +04:00
a528974347 * Allow anonymous users to edit a set of fields of Checklist 2023-07-10 20:07:53 +04:00
77f0838d2d * Checklist.delivery as a ChoiceField
* Checklist.delivery_display for human-readable text
2023-07-10 20:07:07 +04:00
5f0f8befcb * Cleanup 2023-07-10 20:06:11 +04:00
6b1a11d355 * missing migration 2023-07-07 18:37:35 +04:00
f79069faa5 * Checklist: blank=True for images & payment_proof 2023-07-07 08:35:52 +04:00
e23e4c2f4f * Cleanup 2023-07-07 08:33:29 +04:00
6676eaed0e * fixed discout calculation 2023-07-07 08:33:17 +04:00
fc2297b17c + array of payment_proof
+ Checklist.images is m2m now
+ Image.type & dynamic upload path
2023-07-07 08:22:15 +04:00
810fd7ce3a * fixed preview creation 2023-07-07 06:26:51 +04:00
b5ba146165 * Base64ImageField for paymentproovement & checkphoto fields of Checklist 2023-07-07 06:26:34 +04:00
b3f6df3776 * updated INTERNAL_IPS 2023-07-07 06:09:15 +04:00
44b4f11f72 * curencycurency2 is not required, defaults to 0 2023-07-07 06:07:05 +04:00
4269bfde8e * Upload base64 images & generate preview 2023-07-07 06:05:14 +04:00
dd52427ef5 * Cleanup 2023-07-07 03:26:17 +04:00
c730bdb20c * fixed Checklist search 2023-07-07 03:16:05 +04:00
2f456b70bb * managerid as Integer in serializers 2023-07-07 02:59:35 +04:00
ddceee5d7e + InMemoryCache for GlobalSettings 2023-07-07 02:48:30 +04:00
5bfae66ad5 + thread-safe cache for GlobalSettings 2023-07-07 02:28:46 +04:00
d7ddd9ed4b * oupsie 2023-07-07 02:09:24 +04:00
31412f25f0 * DISABLE_PERMISSIONS in settings 2023-07-07 02:07:41 +04:00
82bdd2a9ee * fixed float/decimal conversion 2023-07-07 01:52:36 +04:00
3a8b7b07a7 * updated nginx.conf 2023-07-07 01:45:22 +04:00
8145bb4ae3 * calculate full_price with promocode 2023-07-07 01:42:05 +04:00
01b1d6a4f5 * validate Promocode.discount to be 0 <= value <= 100 2023-07-07 01:33:38 +04:00