Commit Graph

180 Commits

Author SHA1 Message Date
d88eeb790a + DateFromToRangeFilter with _from / _to suffixes 2024-05-26 16:17:30 +04:00
e5f56c10d0 * Date range filters for Checklist: created_at & status_updated_at 2024-05-26 03:13:13 +04:00
5b08af6948 + SENTRY_ENVIRONMENT in env file 2024-05-26 02:41:13 +04:00
4feb41fb9e + Default bonus levels in settings 2024-05-26 02:40:47 +04:00
0ff18ef891 + BonusProgramLevel
* Moved Bonus models to separate app
2024-05-26 02:40:04 +04:00
92c2f53e65 * Reverted endpoint for PaymentMethod back to /payment 2024-05-26 02:33:47 +04:00
2397433772 * Moved GlobalSettings to core app 2024-05-25 03:21:59 +04:00
466b45539d + User.invited_with_orders_count field 2024-05-25 03:20:08 +04:00
7fe327acd2 * Query optimization
* Cleanup
2024-05-24 02:22:04 +04:00
cc98d1382d * Oupsie 2024-05-24 02:20:10 +04:00
f14f9d1179 * SENTRY_DSN address in env 2024-05-24 02:19:27 +04:00
00686e9dc4 + BonusProgramConfig
* Moved GlobalSettings to core app
* Moved bonus program logic from User to BonusProgram class
* Worked on error handling a bit
2024-05-24 02:19:00 +04:00
c47864106e + CDEK webhook for instant status updates 2024-05-24 02:08:03 +04:00
46238cab4b + Filter orders by last N symbols of poizon_tracking 2024-05-22 22:32:00 +04:00
5454e823a9 * Updated Django 4.2.2 -> 4.2.13 2024-05-21 01:52:34 +04:00
bb17dbd6b1 + API schema as Redoc
+ Django & DRF API exceptions in one format
2024-05-21 01:19:10 +04:00
9731181ce2 * Checklist.bonus_used as an absolute value 2024-05-21 01:15:55 +04:00
490bc6b592 * Missing LocMemCache backend 2024-05-21 01:09:27 +04:00
c56186f2a1 * Cache GlobalSetting, again 2024-05-21 01:06:51 +04:00
3eec959881 * Cleanup & optimizations 2024-05-21 01:05:55 +04:00
85b472ddee * Cleanup in PaymentMethodAPI 2024-05-20 23:55:04 +04:00
a95ff1d738 * Cleanup 2024-05-20 23:09:49 +04:00
e51d05cb3d * Renamed fields in PromocodeSerializer 2024-05-20 23:08:30 +04:00
285b9decd9 + PriceField 2024-05-20 23:08:11 +04:00
eb4b29dfdf - DISABLE_PERMISSIONS 2024-05-20 23:05:27 +04:00
e571cf9597 + More bonus validation
+ Bonus transaction & order cancellation
+ Spend bonus via API
+ New status for order: DELETED
* Fixed bug with not actual bonus balance returned
* Order bonus can be added in several statuses
* Fixed TG templates a bit
2024-05-20 21:46:24 +04:00
f72bc724e2 * Moved Flower keys to env-file 2024-04-28 04:36:26 +04:00
4cbc269804 * Moved Flower keys to env-file 2024-04-28 04:29:25 +04:00
3c276d6947 + Flower systemd service 2024-04-28 04:26:39 +04:00
db89c9997f + systemd service for TG bot
* Cleanup in .env
2024-04-28 03:28:13 +04:00
2e37a2ef8a * Fixed nginx config 2024-04-28 03:09:11 +04:00
ac18244ee6 + TG: Show some message for already logged-in users 2024-04-28 03:08:43 +04:00
97eff29dae * Fixed duplicate port in uwsgi config 2024-04-28 01:38:48 +04:00
1781ca53db + load .env file via dotenv library 2024-04-28 01:06:03 +04:00
b089a2dec5 * Included .env file to systemd service 2024-04-28 00:46:47 +04:00
c7c4b5fd78 Cleanup 2024-04-27 21:33:03 +04:00
b2af369646 + .env file template 2024-04-27 21:31:06 +04:00
fe24802831 + Bonus system (TODO: spend bonuses)
+ Telegram bot: sign up, sign in, notifications

+ Anonymous users can't see yuan_rate_commission
* Only logged in customers can create/update orders
* Customer info migrated to separate User model
* Renamed legacy fields in serializers
* Cleanup in API classes
2024-04-27 21:29:50 +04:00
7d9f13b7d5 * Store keys in env variables
* Cleanup
2024-04-27 19:54:30 +04:00
94870a7183 * Fix in deploy configs 2024-03-19 00:55:46 +04:00
f694241659 * Cleanup in deploy configs 2024-03-19 00:21:00 +04:00
b888da0863 * Cleanup in deploy configs 2024-03-19 00:14:41 +04:00
2ed7205f88 + uwsgi stats 2024-03-13 17:27:21 +04:00
8ffc2af7f7 * Increased number of UWSGI processes 2024-03-11 02:01:09 +04:00
65892e03e4 + CDEK API calculator/tarifflist endpoint 2024-01-03 16:10:23 +04:00
5fc202fdc2 * Typo 2024-01-03 01:40:09 +04:00
d0ae3dc0d7 * Timeout for external API calls 2024-01-03 01:32:41 +04:00
3110017949 * Updated celery systemd configs 2023-12-22 00:25:01 +04:00
44722e4fcb * Disable in-memory cache GlobalSettings 2023-12-22 00:18:03 +04:00
180d1000d5 * Better logs in check_cdek_status() task 2023-12-07 07:44:20 +04:00