Commit graph

110 commits

Author SHA1 Message Date
7be460af67 Merge branch 'main' into storefront-nuxt 2025-11-25 11:29:29 +03:00
acd2f752b9 Features: 1) Add retrieve_user argument handling with pop for enhanced parameter management in serializers;
Fixes: 1) Remove redundant `retrieve_user` initialization from constructors;

Extra: Minor code cleanup for consistency and readability in serializers.
2025-11-25 11:28:30 +03:00
a63f02673e Merge branch 'main' into storefront-nuxt 2025-11-24 20:15:10 +03:00
c581534a3b Features: 1) Introduce retrieve_user attribute in TokenObtainPairSerializer initializer;
Fixes: None;

Extra: None;
2025-11-24 20:14:54 +03:00
2ceef3cc15 Merge branch 'main' into storefront-nuxt 2025-11-24 16:13:58 +03:00
ecd6e5ad9f Features: 1) Add retrieve_user flag to serializers for optional user data retrieval; 2) Allow flexibility in handling user data as UUID or serialized object;
Fixes: 1) Adjust `mutate` methods in GraphQL mutations to support `retrieve_user` flag; 2) Ensure proper fallback to UUID handling when `retrieve_user` is set to `False`;

Extra: 1) Refactor serializers and mutations for improved customization and reduced overhead; 2) Add comments and clean up redundant code.
2025-11-24 16:13:42 +03:00
c5fa95d77f Features:
Fixes: 1) Correct indentation issue in `return` statement within vendor response save logic;

Extra: None
2025-11-24 12:26:29 +03:00
8f12f9c085 Merge branch 'main' into storefront-nuxt 2025-11-18 22:34:30 +03:00
357e7b7ee8 Features:
Fixes: 1) Remove unnecessary space before closing parenthesis in `User.objects.get(...)` call;

Extra: None
2025-11-18 22:23:03 +03:00
4750bed093 Merge branch 'main' into storefront-nuxt 2025-11-18 12:53:20 +03:00
770d3a935d Features: None
Fixes: 1) Update model type references from `payments.models.Transaction` to `engine.payments.models.Transaction`; 2) Update model type references from `core.models.Order` to `engine.core.models.Order`;

Extra: Consistent namespace fix across multiple files; no functional changes.
2025-11-18 12:51:51 +03:00
b8b7dcc1d1 Features:
Fixes: 1) Replace `Count("id")` with `Count("pk")` in commerce queries; 2) Fix `User.objects.get(...)` call by using `uuid` directly instead of accessing nested `serializer.validated_data["user"]["uuid"]`; 3) Add missing closing parenthesis in `VerifyJSONWebToken` call.

Extra: Minor code cleanup and consistency in UUID access pattern across mutations.
2025-11-18 12:34:55 +03:00
3e58d47b08 Merge branch 'main' into storefront-nuxt 2025-11-18 12:07:47 +03:00
435b7305d7 Features: 1) Add personal_orders_only to the serialized fields for Product;
Extra: 1) Added field to match backend model state;
2025-11-18 12:07:36 +03:00
e34de24b59 Merge branch 'main' into storefront-nuxt 2025-11-18 11:32:16 +03:00
b40f7e641f Features: 1) No new features; only formatting adjustments for line wrapping in documentation.
Fixes: 1) Fixed line wrapping inconsistencies in English and German sections; 2) Ensured consistent spacing and line breaks in feature lists; 3) Corrected minor spacing issues in authentication and i18n sections.

Extra: 1) Improved readability by ensuring uniform line breaks; 2) No functional changes, purely cosmetic and structural.
2025-11-18 11:31:59 +03:00
0f53ac3710 Merge branch 'main' into storefront-nuxt 2025-11-18 11:15:51 +03:00
4a983e14af Features: 1) Add support for small_logo and big_logo in admin display;
Fixes: 1) Remove deprecated relation_fields;

Extra: 1) Refactor field definitions for clarity and consistency.
2025-11-18 11:13:36 +03:00
71389ee278 Features: 1) Add customer mix and shipped vs digital metrics to dashboard context;
Fixes: 1) Replace failed daily stats with empty lists instead of crashing; 2) Fix inconsistent variable scoping and cleanup;

Extra: 1) Refactor daily stats logic to handle exceptions gracefully; 2) Improve readability by grouping related metrics; 3) Add type annotations for new context variables.
2025-11-17 22:42:38 +03:00
f571310ec8 Merge branch 'main' into storefront-nuxt 2025-11-17 16:32:51 +03:00
68890017f6 Features: 1) None;
Fixes: 1) Replace direct user access with UUID-based lookup in token mutations;

Extra: 1) Updated all three token mutation methods to use User.objects.get by UUID; 2) Added consistent formatting and indentation.
2025-11-17 16:31:24 +03:00
8caeff538a Extra: 1) Remove chart.js 2025-11-17 16:23:05 +03:00
150e4bcf24 Features: 1) No new features added.
Fixes: 1) Fixed Hebrew translation line breaks and spacing inconsistencies; 2) Corrected punctuation and formatting in user reset password email template; 3) Fixed line breaks in model docstring for proper formatting.

Extra: 1) Updated POT-Creation-Date to reflect latest commit; 2) Minor whitespace and punctuation fixes across multiple translation strings.
2025-11-17 16:19:29 +03:00
3e20e70bd1 Merge branch 'main' into storefront-nuxt 2025-11-17 16:03:10 +03:00
be9940cdc0 Features: 1) Added arith template tags for sub and neg operations to support arithmetic in templates;
Fixes: 1) Replaced `add:-X` with `sub:X` in template logic for consistent arithmetic;

Extra: 1) Added `arith` to template load context; 2) Introduced `_to_float` helper for safe type conversion; 3) Used `suppress` to handle invalid conversions gracefully.
2025-11-17 15:59:39 +03:00
7907613fdb Merge branch 'main' into storefront-nuxt 2025-11-17 15:50:43 +03:00
08340c801a Features: 1) Added daily sales chart with orders and gross revenue visualization; 2) Added fallback message for insufficient data;
Fixes: 1) Removed deprecated UI elements;

Extra: 1) Refactored layout to use card components; 2) Added responsive chart with dual Y-axes; 3) Included error handling for chart initialization.
2025-11-17 15:50:29 +03:00
b876946a78 Merge branch 'main' into storefront-nuxt 2025-11-17 14:03:14 +03:00
0efc3db605 Features:
Fixes: 1) Align migration dependencies with correct auth and token_blacklist migration versions; 2) Ensure proper migration ordering between vibes_auth and token_blacklist.

Extra: None
2025-11-17 14:03:01 +03:00
292b26acce Merge branch 'main' into storefront-nuxt 2025-11-17 10:03:53 +03:00
00a172d463 Features: 1) Add currency symbol display in dashboard; 2) Add type hints to dashboard_callback and related functions;
Fixes: 1) Fix type annotations for get_revenue, get_returns, get_total_processed_orders; 2) Add missing import for Context;

Extra: 1) Add type hint for currency_symbol; 2) Add type ignore comments for image_url; 3) Update UNFOLD config to use dict[str, Any]; 4) Add missing import for typing.Any; 5) Refactor template to conditionally display currency symbol.
2025-11-16 23:35:03 +03:00
e3d98f2361 Merge branch 'main' into storefront-nuxt 2025-11-16 17:23:07 +03:00
fa165244b8 Features: 1) Added DigitalAssetDownload functionality to handle file serving and download URL generation; 2) Implemented business purchase flow without registration;
Fixes: 1) Added missing configuration check for NOMINATIM_URL;

Extra: 1) Enhanced error handling for missing digital asset files; 2) Improved API response headers for sitemap index; 3) Added missing fields and metadata support for Product, Order, and Attribute models.
2025-11-16 17:22:16 +03:00
b489405783 Merge branch 'main' into storefront-nuxt 2025-11-16 17:10:38 +03:00
0b7afbfc82 Features: 1) Added digital asset download handling for project storage directory;
Fixes: 1) Fixed missing import for asset download utilities;

Extra: 1) Refactored asset URL generation logic to align with order state validation; 2) Added unit tests for digital asset download endpoints.
2025-11-16 17:10:20 +03:00
d2f46539ee Features: 1) Add top 10 most wished and most popular products lists; 2) Update UI to display lists with cards and counts.
Fixes: 1) Fix translation of "Returns" to "Возвраты"; 2) Fix translation of "Sales vs Returns" to "Продажи и Возвраты".

Extra: 1) Refactor wishlist and order product queries to support top 10 lists; 2) Add backward compatibility for single product views; 3) Update template structure to include new lists and improve layout.
2025-11-16 17:02:36 +03:00
57e5e49059 Merge branch 'main' into storefront-nuxt 2025-11-16 16:26:16 +03:00
d4ea32c375 Features: 1) Refactored sales vs returns chart rendering for improved structure and readability;
Fixes: 1) Fixed inconsistent whitespace in image tag attributes;

Extra: 1) Added missing line break for visual spacing; 2) Updated footer text for consistency and clarity.
2025-11-16 16:25:11 +03:00
d139b7daf6 Features: 1) Enhance quick links rendering with flexible class styling;
Fixes: 1) Fix inconsistent indentation and formatting in quick links construction;

Extra: 1) Add class attribute to navigation component for layout control; 2) Improve readability by using consistent block structure.
2025-11-16 16:11:14 +03:00
b305876feb Features: 1) Add "eVibes" version display in admin dashboard footer;
Fixes: 1) Remove dashboard title exclusion logic; 2) Refactor quick links to include title, link, and optional icon;

Extra: 1) Add separator and version text component; 2) Update template to render version info; 3) Minor formatting cleanup.
2025-11-16 16:03:11 +03:00
20ecaa683f Features: 1) Added "Orders", "Taskboard", "Support", "Quick Links" settings; 2) Reordered and updated setting labels for consistency.
Fixes: 1) Corrected line endings in locale file; 2) Updated POT-Creation-Date to reflect current build.

Extra: 1) Refactored setting file to improve structure; 2) Ensured translation keys match updated UI labels.
2025-11-16 15:48:23 +03:00
338b2df0c9 Features: 1) Refactored template logic to separate gross/returns context and total calculation for clarity;
Fixes: 1) Fixed duplicate `{% with %}` block causing syntax error;

Extra: 1) Improved template structure for maintainability; 2) Added missing closing `{% endwith %}`.
2025-11-16 15:07:45 +03:00
56826300b6 Features: 1) Added dashboard callback view to expose revenue, returns, and order metrics; 2) Added new admin dashboard template with visual metrics and charts; 3) Integrated language flags into UNFOLD configuration using centralized LANGUAGES_FLAGS.
Fixes: 1) None.

Extra: 1) Refactored language flag definitions into a centralized dictionary in base settings; 2) Added commerce utility functions for revenue, returns, and order processing; 3) Improved code structure and documentation in views and utils.
2025-11-16 14:50:17 +03:00
65002671cf Features: 1) I18N 2025-11-16 00:32:21 +03:00
9f46252f48 Features: 1) Add new admin menu items for Config, Users, Groups, Products, Categories, Brands, Blogposts, Periodic Tasks, and Sitemap; 2) Integrate Unfold's constance additional fields into CONSTANCE_ADDITIONAL_FIELDS;
Fixes: 1) Reorder INSTALLED_APPS to place "constance" after "unfold.contrib.constance";

Extra: 1) Update SVG icon for health check; 2) Add missing import for UNFOLD_CONSTANCE_ADDITIONAL_FIELDS; 3) Fix indentation in constance.py.
2025-11-15 03:57:13 +03:00
e4bf40c48e Features: 1) Add support for xlrd and xlwt packages; 2) Enhance admin interface with Celery beat models and forms.
Fixes: 1) Import missing Celery beat admin classes and forms.

Extra: 1) Update package metadata with latest wheel and sdist URLs; 2) Align import statements with new structure.
2025-11-15 02:49:48 +03:00
376c73ba26 Features: 1) Add tab support for inline admin classes; 2) Introduce new settings for taskboard URL and support contact;
Fixes: 1) Remove redundant imports from admin.py;

Extra: 1) Update inline classes to inherit from TabularInline; 2) Add unfold.contrib modules to INSTALLED_APPS; 3) Reorder imports in admin.py for consistency.
2025-11-15 02:29:23 +03:00
43dc556063 Features: 1) Migrate from Jazzmin to django-unfold for admin UI;
Fixes: 1) Remove deprecated Jazzmin configuration and replace with unfold dependencies; 2) Update DRF API title to use new PROJECT_NAME; 3) Fix import order and remove unused imports in core/viewsets.py;

Extra: 1) Add PROJECT_NAME to base settings; 2) Update INSTALLED_APPS to include unfold-related apps; 3) Clean up unused config references.
2025-11-15 01:38:14 +03:00
244d94831e Merge branch 'main' into storefront-nuxt 2025-11-14 17:22:00 +03:00
1ecd784b4e Features: 1) Add setup for generating authorization tokens in DRFCoreViewsTests; 2) Simplify user handling in JWT mutations using validated serializer data.
Fixes: 1) Correct redundant user lookup in JWT mutations.

Extra: 1) Add TODO comments for HTTP method tests in both DRF and Graphene test modules; 2) Minor cleanup in test files.
2025-11-14 17:21:39 +03:00