Commit Graph

  • ae0fce49ac + Added README dev phzhik 2024-07-22 17:41:37 +0400
  • 4686fd37ed * Updated env-file for stage phzhik 2024-06-18 22:53:25 +0400
  • c37b0ed4b2 * Updated field naming in some serializers * Admin tweaks * Settings editing only for admin phzhik 2024-05-30 21:01:30 +0400
  • 8fb4e461e9 * SimpleRouter for non-debug environment phzhik 2024-05-30 20:59:46 +0400
  • 837e2b530a * Make API schema visible only for admins phzhik 2024-05-30 20:58:13 +0400
  • 8501944b40 * UserAdmin tweaks phzhik 2024-05-27 01:54:00 +0400
  • 9651df4f44 * Missing migration, again + BonusProgramLevel in admin phzhik 2024-05-27 01:41:37 +0400
  • 7c52a3a8cb * Missing migrations phzhik 2024-05-27 01:28:54 +0400
  • d1712da73f * Oupsie phzhik 2024-05-27 01:03:17 +0400
  • afc07037f6 * Show non-managers only their own orders * Payment methods are editable only by admin * Allow customers to edit some set of order fields phzhik 2024-05-26 16:24:04 +0400
  • d07537cca3 + ChecklistListSerializer with smaller set of fields in /checklist/ phzhik 2024-05-26 16:21:09 +0400
  • 5a2216f0c4 + UserSimpleSerializer with smaller set of fields for Checklist.customer field in /checklist/ phzhik 2024-05-26 16:20:12 +0400
  • 8b6a5ca95c * Forbidden exception when failing to cancel the order phzhik 2024-05-26 16:18:31 +0400
  • d88eeb790a + DateFromToRangeFilter with _from / _to suffixes phzhik 2024-05-26 16:17:30 +0400
  • e5f56c10d0 * Date range filters for Checklist: created_at & status_updated_at phzhik 2024-05-26 03:13:13 +0400
  • 5b08af6948 + SENTRY_ENVIRONMENT in env file phzhik 2024-05-26 02:41:13 +0400
  • 4feb41fb9e + Default bonus levels in settings phzhik 2024-05-26 02:40:47 +0400
  • 0ff18ef891 + BonusProgramLevel * Moved Bonus models to separate app phzhik 2024-05-26 02:40:04 +0400
  • 92c2f53e65 * Reverted endpoint for PaymentMethod back to /payment phzhik 2024-05-26 02:33:47 +0400
  • 2397433772 * Moved GlobalSettings to core app phzhik 2024-05-25 03:21:59 +0400
  • 466b45539d + User.invited_with_orders_count field phzhik 2024-05-25 03:20:08 +0400
  • 7fe327acd2 * Query optimization * Cleanup phzhik 2024-05-24 02:22:04 +0400
  • cc98d1382d * Oupsie phzhik 2024-05-24 02:20:10 +0400
  • f14f9d1179 * SENTRY_DSN address in env phzhik 2024-05-24 02:19:27 +0400
  • 00686e9dc4 + BonusProgramConfig * Moved GlobalSettings to core app * Moved bonus program logic from User to BonusProgram class * Worked on error handling a bit phzhik 2024-05-24 02:19:00 +0400
  • c47864106e + CDEK webhook for instant status updates phzhik 2024-05-24 02:08:03 +0400
  • 46238cab4b + Filter orders by last N symbols of poizon_tracking phzhik 2024-05-22 22:32:00 +0400
  • 5454e823a9 * Updated Django 4.2.2 -> 4.2.13 phzhik 2024-05-21 01:52:34 +0400
  • bb17dbd6b1 + API schema as Redoc + Django & DRF API exceptions in one format phzhik 2024-05-21 01:19:10 +0400
  • 9731181ce2 * Checklist.bonus_used as an absolute value phzhik 2024-05-21 01:15:55 +0400
  • 490bc6b592 * Missing LocMemCache backend phzhik 2024-05-21 01:09:27 +0400
  • c56186f2a1 * Cache GlobalSetting, again phzhik 2024-05-21 01:06:51 +0400
  • 3eec959881 * Cleanup & optimizations phzhik 2024-05-21 01:05:55 +0400
  • 85b472ddee * Cleanup in PaymentMethodAPI phzhik 2024-05-20 23:55:04 +0400
  • a95ff1d738 * Cleanup phzhik 2024-05-20 23:09:49 +0400
  • e51d05cb3d * Renamed fields in PromocodeSerializer phzhik 2024-05-20 23:08:30 +0400
  • 285b9decd9 + PriceField phzhik 2024-05-20 23:08:11 +0400
  • eb4b29dfdf - DISABLE_PERMISSIONS phzhik 2024-05-20 23:05:27 +0400
  • 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 phzhik 2024-05-20 21:46:24 +0400
  • f72bc724e2 * Moved Flower keys to env-file phzhik 2024-04-28 04:36:26 +0400
  • 4cbc269804 * Moved Flower keys to env-file phzhik 2024-04-28 04:29:25 +0400
  • 3c276d6947 + Flower systemd service phzhik 2024-04-28 04:26:39 +0400
  • db89c9997f + systemd service for TG bot * Cleanup in .env phzhik 2024-04-28 03:28:13 +0400
  • 2e37a2ef8a * Fixed nginx config phzhik 2024-04-28 03:09:11 +0400
  • ac18244ee6 + TG: Show some message for already logged-in users phzhik 2024-04-28 03:08:43 +0400
  • 97eff29dae * Fixed duplicate port in uwsgi config phzhik 2024-04-28 01:38:48 +0400
  • 1781ca53db + load .env file via dotenv library phzhik 2024-04-28 01:06:03 +0400
  • b089a2dec5 * Included .env file to systemd service phzhik 2024-04-28 00:46:47 +0400
  • c7c4b5fd78 Cleanup phzhik 2024-04-27 21:33:03 +0400
  • b2af369646 + .env file template phzhik 2024-04-27 21:31:06 +0400
  • fe24802831 + Bonus system (TODO: spend bonuses) + Telegram bot: sign up, sign in, notifications phzhik 2024-04-27 21:29:50 +0400
  • 7d9f13b7d5 * Store keys in env variables * Cleanup phzhik 2024-04-27 19:54:30 +0400
  • 94870a7183 * Fix in deploy configs master phzhik 2024-03-19 00:55:46 +0400
  • f694241659 * Cleanup in deploy configs phzhik 2024-03-19 00:21:00 +0400
  • b888da0863 * Cleanup in deploy configs phzhik 2024-03-19 00:14:07 +0400
  • 2ed7205f88 + uwsgi stats phzhik 2024-03-13 17:27:21 +0400
  • 8ffc2af7f7 * Increased number of UWSGI processes phzhik 2024-03-11 02:01:09 +0400
  • 65892e03e4 + CDEK API calculator/tarifflist endpoint phzhik 2024-01-03 16:10:23 +0400
  • 5fc202fdc2 * Typo phzhik 2024-01-03 01:40:09 +0400
  • d0ae3dc0d7 * Timeout for external API calls phzhik 2024-01-03 01:32:41 +0400
  • 3110017949 * Updated celery systemd configs phzhik 2023-12-22 00:25:01 +0400
  • 44722e4fcb * Disable in-memory cache GlobalSettings phzhik 2023-12-22 00:18:03 +0400
  • 180d1000d5 * Better logs in check_cdek_status() task phzhik 2023-12-07 07:44:20 +0400
  • 24c23ebecb * RuntimeDirectory for Celery services phzhik 2023-12-07 07:15:17 +0400
  • c0f17df7a6 * Update yuan rate via Celery task phzhik 2023-12-07 07:07:41 +0400
  • 1085107f2b * run_celery_flower.sh update phzhik 2023-12-07 06:40:08 +0400
  • 5120a4a266 * Celery deployment configs phzhik 2023-12-07 06:23:11 +0400
  • 058f2b8a2d * WORK_DIR in run_celery.sh phzhik 2023-12-02 17:47:15 +0400
  • 73c7bdeb37 * Oupsie in run_celery.sh phzhik 2023-12-02 17:37:22 +0400
  • 9d7e45cd65 + Celery + Update CDEK status in background phzhik 2023-12-02 17:11:08 +0400
  • e5e93ab6d5 * Renamed GlobalSettings.get_yuan_rate -> full_yuan_rate property * In GlobalSettingsSerializer show full yuan rate phzhik 2023-11-24 17:58:42 +0400
  • 46de21309f * For anonymous users, show only available gifts phzhik 2023-11-23 03:55:58 +0400
  • a9f5280176 * Try-except for CDEKAPI calls phzhik 2023-11-23 03:41:54 +0400
  • c6d8bb0349 * Null-check for gifts phzhik 2023-11-23 03:39:06 +0400
  • d0ec77c067 + yuan_rate_last_updated in GlobalSettings serializer * Show raw yuan_rate in GlobalSettings * Use yuan_rate+yuan_rate_commission sum for Checklist calculations phzhik 2023-11-23 03:32:54 +0400
  • dd30a77466 * Cleanup phzhik 2023-11-23 02:46:45 +0400
  • d71cb4fa11 * Added missing available_count field in GiftSerializer phzhik 2023-11-23 02:45:17 +0400
  • 7cd59d0325 * Updated API key for CurrencyAPI phzhik 2023-11-23 02:44:58 +0400
  • dd39a0d2d5 * available_count for Gift phzhik 2023-11-23 02:40:30 +0400
  • 9f29e66d12 * Cleanup phzhik 2023-11-23 02:18:55 +0400
  • 8f72680984 * Fixed retry mechanism in external API calls phzhik 2023-11-23 02:17:35 +0400
  • ab9db45b2b + CurrencyAPIClient for fresh CNY rate + yuan_rate_last_updated, yuan_rate_commission fields in GlobalSettings phzhik 2023-11-23 02:16:53 +0400
  • 7f1d51c9b4 * Filter Checklist by multiple status values phzhik 2023-11-23 02:13:05 +0400
  • 1d9776daf1 * Fixed wrong id for PriceSnapshot phzhik 2023-11-15 18:40:00 +0400
  • 34f9d08f9a * WIP: annotate_commission_rub phzhik 2023-11-11 09:51:17 +0400
  • 0ba7a8e881 + Set Checklist.gift to NULL on Gift deletion phzhik 2023-11-11 09:49:30 +0400
  • 3af4cb3177 * annotate_price_rub fixed phzhik 2023-11-11 09:48:32 +0400
  • 08d58a6dc2 * Disable Sentry for debug environment phzhik 2023-11-09 17:19:18 +0400
  • 1a8cde0485 + Centry logging phzhik 2023-11-03 22:42:03 +0400
  • be224b2cd6 * Check the Gifts that are being added to Checklist from unauthorized users phzhik 2023-11-03 00:55:07 +0400
  • f9b007ef20 * Allow PoizonAPI for authorized users only phzhik 2023-11-03 00:39:53 +0400
  • 9873c18810 * Allow unauthorized users to edit Checklist.cdek_barcode_pdf field phzhik 2023-11-03 00:34:40 +0400
  • fc56deaa19 * Option to directly invalidate cdek_barcode_pdf phzhik 2023-11-03 00:23:46 +0400
  • 2d97268b85 * CDEK barcode PDF invalidation phzhik 2023-11-03 00:13:35 +0400
  • b92c172055 * Cleanup phzhik 2023-11-02 20:42:28 +0400
  • b210c8eebe + Poizon API phzhik 2023-11-02 20:41:40 +0400
  • fce76143b4 + Gift phzhik 2023-10-31 16:50:45 +0400
  • 13ae751564 * Moved CDEK api to external_api module phzhik 2023-10-31 16:49:10 +0400
  • a7b1f6981f + Recursive search of suitable commission price & delivery price phzhik 2023-10-15 10:45:43 +0400
  • 4ac1ee501a * Try to get delivery_price_CN_RU from parent category if it is zero phzhik 2023-10-12 15:26:09 +0400