Commit graph

34 commits

Author SHA1 Message Date
9dcd867a19 Merge branch 'main' into storefront-nuxt 2025-11-12 15:36:54 +03:00
45ae5b02f3 Features: (1) Adjust group creation logic to assign permissions only when groups are newly created;
Fixes: (1) Correct conditional checks in group initialization to ensure permission assignment;

Extra: (1) Minor refactor to improve code readability around permission assignment logic;
2025-11-12 15:36:43 +03:00
137da76bb1 Merge branch 'main' into storefront-nuxt 2025-11-12 15:29:50 +03:00
0abcb50e60 Features: 1) Add predefined permission sets and corresponding group initialization in initialize command.
Fixes: 1) Correct `image_url` return logic in models; 2) Fix indentation in the `save` method of `payments` model; 3) Update a minor comment typo in `serializers.py`.

Extra: 1) Minor cleanup of unused imports in `initialize` command.
2025-11-12 15:29:08 +03:00
945767fe01 Merge branch 'main' into storefront-nuxt 2025-11-12 12:53:49 +03:00
9632915593 Features: 1) Add absolute URI resolution for image in Category and ProductImage.
Fixes: 1) Ensure fallback to empty string when `image` is None in `Category` and `ProductImage`.

Extra: Refactored `resolve_image` methods for improved URL handling.
2025-11-12 12:53:28 +03:00
6dd7b3568c Merge branch 'main' into storefront-nuxt 2025-11-12 12:21:25 +03:00
59b09c40f6 Features: 1) Add creation logic for "User Support" group in initialization;
Fixes: 1) None;

Extra: 1) Update comment to outline pending group creation tasks.
2025-11-12 12:20:40 +03:00
b4f5919e81 Merge branch 'main' into storefront-nuxt 2025-11-12 12:12:48 +03:00
255c3f9328 Extra: 1) I18N for messaging 2025-11-12 12:12:28 +03:00
de0cb836fc Features: 1) Add rate-limiting decorators for multiple API methods across core viewsets; 2) Add translation support to messaging documentation.
Fixes: 1) Fix missing import for `send_message` moved to method scope in Telegram message handler; 2) Correct Swagger UI socket connection setting to `False`.

Extra: 1) Minor code cleanup and reformatting in viewsets and settings.
2025-11-12 11:50:51 +03:00
73162635be Fixes: 1) Remove unused fields small_logo and big_logo from BrandDetailSerializer.
Extra: 1) Cleanup related unused methods `get_small_logo` and `get_big_logo`.
2025-11-12 10:25:56 +03:00
28011e3afc Fixes: 1) Remove unused fields small_logo and big_logo from BrandDetailSerializer.
Extra: 1) Cleanup related unused methods `get_small_logo` and `get_big_logo`.
2025-11-12 10:25:33 +03:00
d3e016c8d6 Merge branch 'main' into storefront-nuxt 2025-11-11 23:56:29 +03:00
5a046fb628 Features: 1) Messaging submodule drafts 2025-11-11 23:31:06 +03:00
0f888baa45 Merge branch 'main' into storefront-nuxt 2025-11-11 18:08:15 +03:00
52a62f0f6f Features: 1) Update POT creation date across all translation files; 2) Refresh translation references to correct serializer line numbers.
Fixes: None;

Extra: Update and clean up comments in translation files across locales.
2025-11-11 18:06:30 +03:00
73138c3911 Features: 1) Update "Storefront" and "GraphQL Docs" links to use BASE_DOMAIN and STOREFRONT_DOMAIN constants.
Fixes: 1) Add missing import for `BASE_DOMAIN` and `STOREFRONT_DOMAIN`.

Extra: 1) Remove unused `base_domain` field from `ConfigType`.
2025-11-11 16:24:24 +03:00
c88e0d7569 Features: 1) Update "Storefront" and "GraphQL Docs" links to use BASE_DOMAIN and STOREFRONT_DOMAIN constants.
Fixes: 1) Add missing import for `BASE_DOMAIN` and `STOREFRONT_DOMAIN`.

Extra: 1) Remove unused `base_domain` field from `ConfigType`.
2025-11-11 16:23:52 +03:00
7a7d26f7d7 Merge branch 'main' into storefront-nuxt 2025-11-11 16:13:13 +03:00
ee25bb67f0 Features: 1) Introduced STOREFRONT_DOMAIN in settings as a replacement for FRONTEND_DOMAIN;
Fixes: 1) Updated email templates to use `STOREFRONT_DOMAIN` instead of `FRONTEND_DOMAIN`; 2) Added a missing import for `settings` in emailing utilities;

Extra: 1) Removed unused configuration keys `FRONTEND_DOMAIN` and `BASE_DOMAIN`; 2) Cleaned up obsolete imports and formatting in serializers; 3) Adjusted environment file generation scripts to use `STOREFRONT_DOMAIN`.
2025-11-11 16:12:48 +03:00
2ccb812b71 Merge branch 'main' into storefront-nuxt 2025-11-11 16:05:00 +03:00
a6bceb66db Fixes: 1) Remove unused relation fields small_logo and big_logo from admin configuration;
Extra: 1) Clean up relation fields for clarity and maintainability;
2025-11-11 16:04:46 +03:00
a2665b593b Features: 1) Remove unused small_logo and big_logo fields from BrandProductDetailSerializer and BrandSimpleSerializer.
Fixes: 1) None.

Extra: 1) Cleanup unused methods and associated meta field definitions for logo handling in serializers.
2025-11-11 16:00:42 +03:00
d7f5ed4141 Merge branch 'main' into storefront-nuxt 2025-11-11 15:38:29 +03:00
5f9f07d8f4 Features: 1) Replace config.BASE_DOMAIN with settings.BASE_DOMAIN across the codebase; 2) Add support for dynamic STATIC_URL and MEDIA_URL based on initialization state; 3) Introduce INITIALIZED flag to determine application state;
Fixes: 1) Add missing import for `settings` in multiple modules;

Extra: 1) Remove unused `SerializerMethodField` from serializers; 2) Update `RELEASE_DATE` to align with new version; 3) General cleanup and consistency adjustments.
2025-11-11 15:08:44 +03:00
01ba06d52c Features: 1) Add image_url property to Category and ProductImage models for constructing absolute image URLs; 2) Replace direct image.url references with image_url across serializers and GraphQL resolvers;
Fixes: None;

Extra: 1) Simplify serializer methods by removing redundant `suppress` blocks for `image.url`; 2) Minor adjustments to GraphQL resolver parameter names for consistency.
2025-11-11 14:38:41 +03:00
607af80235 Merge branch 'main' into storefront-nuxt 2025-11-11 10:45:26 +03:00
71b0cdd818 Fixes: 1) Remove unused "categories" field from relation_fields in admin configuration;
Extra: Minor cleanup for better maintainability;
2025-11-10 17:06:17 +03:00
f4c9767585 Features: None;
Fixes: None;

Extra: I18N;
2025-11-10 15:57:15 +03:00
cd067ee5da Features: 1) Add static files configuration in nginx for cross-origin requests.
Fixes: 1) Update Console styling in 'initialize' command to remove non-standard style notice; 2) Simplify STATIC_URL and MEDIA_URL definitions in settings for uniformity.

Extra: 1) Minor cleanup in static and media path handling; 2) Add new location block in nginx for static files access.
2025-11-10 11:51:34 +03:00
39e120e8c6 Features: 1) Add logging for saving vendor responses and processing attributes; 2) Update process_attribute to return AttributeValue upon success.
Fixes: 1) Replace missing return values with `None` in `process_attribute` for clarity; 2) Correct typo in debug log messaging.

Extra: 1) Update method definitions for readability; 2) Improve logging granularity and structure.
2025-11-10 08:44:36 +03:00
3fbe6883c7 2025.4 BETA 2025-11-10 08:36:57 +03:00
33362d8340 2025.4 PREVIEW 2025-11-08 04:38:09 +03:00