Commit graph

13 commits

Author SHA1 Message Date
27603edf4e Features: 1) Introduced RootDirectory class for integration with management commands; 2) Added support for scanning root level configurations in check_translated.py and deepl_translate.py;
Fixes: 1) Adjusted Django admin translations display logic for improved clarity; 2) Updated locale files across multiple regions (e.g., `ru_RU`, `zh_Hans`, `ro_RO`) to align with new context placeholders;

Extra: Removed obsolete `STOCKS_ARE_SINGLE` setting; minor formatting and spacing corrections in translations and source files.
2025-06-29 19:40:44 +03:00
6ee3870ab0 Features: 1) Add a management command to fix product stock prices; 2) Introduce 'products' field to CategoryType in GraphQL schema to fetch products associated with a category; 3) Enable GraphQL resolvers to utilize type hinting for better clarity.
Fixes: 1) Correct multiple unaligned code blocks in various Python scripts and GraphQL resolvers; 2) Improve condition formatting for readability in mutations and queries; 3) Resolve missing related_name in product model.

Extra: Simplify and refactor Windows scripts removing legacy spinner logic for clarity and better user feedback; adjust spacing, comments, and formatting across various files; update imports for unused QuerySet.
2025-06-17 11:13:11 +03:00
576c7618e7 Fixes: 1) Correct typo in settings key from "ADVERTISIMENT_DATA" to "ADVERTISEMENT_DATA";
Extra: None;
2025-06-16 18:16:19 +03:00
0da8bd77b0 Features: 1) Add "required: False" option to JSON custom field;
Fixes: None;

Extra: None;
2025-06-16 12:11:26 +03:00
c950ce04b9 Features: 1) Add support for custom JSON field in CONSTANCE_ADDITIONAL_FIELDS.
Fixes: 1) Correct placement of "constance" in `INSTALLED_APPS`.

Extra: 1) Minor comment formatting adjustment in `CONSTANCE_BACKEND` declaration.
2025-06-16 12:10:04 +03:00
1cad1aead8 Features: 1) Update ADVERTISEMENT_DATA and ANALYTICS_DATA definitions to use raw environment string and type "json";
Fixes: 1) Remove unused `json` import;

Extra: 1) Minor adjustment to code formatting in `constance.py`.
2025-06-16 11:13:57 +03:00
7ba9afda6a Features: 1) Add analytics_data and advertisement_data fields to company configuration in GraphQL schema;
Fixes: 1) Correct spelling error in `CONSTANCE` configuration key from `ADVERTISIMENT_DATA` to `ADVERTISEMENT_DATA`;

Extra: 1) Update string translations in `constance.py`.
2025-06-16 10:42:39 +03:00
0fa8cba05e Features: 1) Add ADVERTISIMENT_DATA and ANALYTICS_DATA to CONSTANCE_CONFIG with default values and descriptions; 2) Integrate translation functionality into CONSTANCE_CONFIG descriptions using _(); 3) Expand EXPOSABLE_KEYS to include new config fields.
Fixes: 1) Replace redundant or missing translation calls in configuration values; 2) Correct oversight in description consistency for existing fields.

Extra: Refactor `CONSTANCE_CONFIG` structure for improved readability using multi-line formatting where necessary; clean up imports to include `gettext_lazy` and `json`.
2025-06-16 10:40:21 +03:00
afcf8c9bd2 Features: None;
Fixes: 1) Update environment variable names to use 'EVIBES_' prefix for consistency;

Extra: None;
2025-05-26 17:40:34 +03:00
d86a6ed3c8 RUFF 2025-05-26 16:12:59 +03:00
564ce0706b Features: Full Geo rework.
Fixes: 1) Address redundant migration logic by dropping stale migrations; 2) Cleanup swapper-based dependencies in Geo models;

Extra: Streamlined database initialization by resetting all previous migrations.
2025-05-19 14:45:53 +03:00
85a49c4e8b Add "DISABLED_COMMERCE" feature to disable buying functionality
Introduce a global config flag `DISABLED_COMMERCE` to toggle buy functionality availability. Raise specific `DisabledCommerceError` when buying is disabled, ensuring end-users are informed. Additionally, reformat code for readability and consistency, improving overall maintainability.
2025-05-05 17:32:57 +03:00
68febcdb08 Initial Commit 2025-04-29 22:40:30 +03:00