Commit graph

8 commits

Author SHA1 Message Date
0e9f16d7d0 Features: 1) Add condition to check notify flag before sending balance deposit email;
Fixes: 1) Ensure emails are only sent when notification flag is enabled;

Extra: None;
2025-06-22 20:29:53 +03:00
d1f385e387 Features: 1) Use AbstractGateway for processing transactions in signals;
Fixes: 1) Add missing import for `AbstractGateway` in `signals.py`;

Extra: n/a;
2025-06-22 20:27:10 +03:00
489ceeaa2a Features: 1) Add AbstractGateway base class with process_transaction and process_callback methods.
Fixes: 1) Correct gateway status handling logic in `payments/signals.py`.

Extra: 1) Remove redundant condition checks in `payments/signals.py`.
2025-06-22 20:26:51 +03:00
b92e7e28f1 Features: 1) Add new email content translations for ru_RU, zh_Hans, and ro_RO locales; 2) Update "balance deposit" and general email-related translations across multiple languages;
Fixes: 1) Correct inconsistent formatting in translation strings; 2) Fix placeholders in email templates for better accuracy;

Extra: Update `.gitignore` to include `.env` file exclusion.
2025-06-22 20:18:19 +03:00
8fb4ca3362 Features: 1) Add type annotations for various models and methods; 2) Introduce refined graphene resolvers to enhance permission handling; 3) Include type checking suppression with # type: ignore for unsupported cases.
Fixes: 1) Correct `urlsafe_base64_encode` decoding logic in tests; 2) Fix queryset access issues in resolvers; 3) Address missing or incorrect imports across multiple files.

Extra: Improve code readability with consistent naming and formatting; Add `# noinspection` annotations to suppress IDE warnings; Update `pyproject.toml` to exclude `drf.py` in MyPy checks.
2025-06-18 16:38:07 +03:00
d86a6ed3c8 RUFF 2025-05-26 16:12:59 +03:00
76d490f2e2 Refactor translation command and improve order model.
Enhanced the `deepl_translate` management command with improved placeholder handling, error messages, and support for missing translations. Added `human_readable_id` and `is_business` attributes to the `Order` model, updating associated admin configurations to reflect these changes.
2025-05-06 03:28:06 +03:00
68febcdb08 Initial Commit 2025-04-29 22:40:30 +03:00