Commit graph

130 commits

Author SHA1 Message Date
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
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
d91a979e25 Features: 1) Simplify save method by removing validation logic tied to config.
Fixes: 1) Remove unused import for `constance.config`.

Extra: 1) Minor cleanup in `save` method for improved readability.
2025-11-12 13:14:53 +03:00
6d8d4def5b Fixes: 1) Correct HTTP header key to use "HTTP_X_EVIBES_AUTH" for token-based authentication. 2025-11-12 12:56:15 +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
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
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
554769d48e Features: 1) Add detailed serializers for user messages, staff inbox, and thread consumers; 2) Update schema definitions to support new serializers with improved descriptions and summaries; 3) Introduce flexible event-based serializer for staff inbox actions.
Fixes: 1) Replace generic serializers with context-specific implementations in schema definitions.

Extra: 1) Minor code cleanup and reorganization for improved readability and maintainability; 2) Add comments for new serializers.
2025-11-12 11:37:34 +03:00
0464c1b11b Features: 1) Introduced Telegram forwarder with bot functionality for message forwarding and user support; 2) Added new commands (/start, /unlink, /help) for Telegram bot; 3) Enabled webhook integration and message linking via Telegram.
Fixes: 1) Replaced legacy `TELEGRAM_API_TOKEN` configuration with `TELEGRAM_TOKEN`; 2) Incorporated anti-spam checks for user messages to prevent abuse.

Extra: Refactored websocket consumers by integrating Telegram support and enhancing thread-assignment workflows; improved logging and API consistency; minor cleanup and deprecations.
2025-11-12 11:23:44 +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
5a046fb628 Features: 1) Messaging submodule drafts 2025-11-11 23:31:06 +03:00
6109643acb Features: 1) Introduced ChatThread and ChatMessage models for messaging functionality; 2) Added ThreadStatus and SenderType choices for structured messaging states; 3) Integrated Django migrations with indexing for new models;
Fixes: 1) Corrected `admin.py` imports for consistency and model alignment;

Extra: Refactored `choices.py` for reusable enums; restructured `models.py` for clarity and maintainability.
2025-11-11 18:31:17 +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
9d97ec3d76 Features: 1) Replace constance with django.conf.settings for dynamic config values; 2) Update UserSerializer to include avatar instead of avatar_url.
Fixes: 1) Remove unused `get_avatar_url` method in `UserSerializer`.

Extra: 1) Reorganize imports in serializers and middleware for clarity; 2) General code cleanup in `UserSerializer`.
2025-11-11 16:17:40 +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
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
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
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
dd2922e3e6 Features: 1) Add logging warning to update_currencies_to_euro for deprecation notice.
Fixes: 1) None.

Extra: 1) Remove deprecated payment gateway configuration settings; 2) Refactor `EXCHANGE_RATE_API_KEY` usage into `COMPANY_CONFIGURATION` group; 3) Add logging import to `currencies.py` module.
2025-11-10 11:37:40 +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
dd499560ba Fixes: 1) Remove invalid db_table attribute from Meta class in authv.models.User.
Extra: 1) No functional changes; 2) Cleanup of redundant `db_table` declaration.
2025-11-08 05:07:14 +03:00
5e10f2eac7 Features: 1) Add db_table attribute for vibes_auth_user in authv.models; 2) Enhance DB backup configuration to support sftp and ftp storage in settings.
Fixes: 1) Add missing import for `ImproperlyConfigured` in `base.py`.

Extra: 1) Refactor and relocate DB backup configuration from `dbbackup.py` to `base.py`.
2025-11-08 05:06:58 +03:00
33362d8340 2025.4 PREVIEW 2025-11-08 04:38:09 +03:00