Commit graph

1120 commits

Author SHA1 Message Date
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
41c6f20635 Features:
Fixes: 1) Update DASHBOARD_CALLBACK to point to correct view path;

Extra: None
2025-11-16 14:56:19 +03:00
7c12b24c01 Features: 1) Set LANGUAGE_CODE to "en-gb" for UK English;
Fixes: 1) Remove redundant LANGUAGE_CODE assignment;

Extra: 1) Reordered settings for consistency; 2) Updated LANGUAGES_FLAGS with new flag mappings.
2025-11-16 14:51:31 +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
555666d6fe Features: 1) Add language switching functionality with URL-based language detection and session/cookie persistence;
Fixes: 1) Ensure safe next URL handling with host validation;

Extra: 1) Introduce new i18n module with language normalization and translation support; 2) Add route for language setting endpoint.
2025-11-16 01:23:09 +03:00
efa21cf9c0 Features: 1) Updated Russian translations for UI terms like "Dashboard" → "Панель", "Blogposts" → "Посты", etc.; 2) Added support for multiple locale directories in LOCALE_PATHS; 3) Introduced LANGUAGE_URL_OVERRIDES for URL language normalization.
Fixes: 1) Fixed case sensitivity in region code normalization (lowercase regions); 2) Corrected translation file updates to match new string values.

Extra: 1) Refactored middleware to normalize language codes to lowercase; 2) Added new locale paths for engine modules; 3) Improved consistency in translation keys and fallbacks.
2025-11-16 00:52:39 +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
e9ccbace94 Features: 1) Add STOREFRONT_DOMAIN to UNFOLD config; 2) Update sidebar to show all applications; 3) Rename Prometheus endpoint to /prometheus/metrics/;
Fixes: 1) Remove commented-out TABS config; 2) Set collapsible to False for menu;

Extra: 1) Add SITE_SYMBOL and SHOW_VIEW_ON_SITE; 2) Update SITE_URL to use STOREFRONT_DOMAIN; 3) Minor config cleanup.
2025-11-15 03:19:15 +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
fb84f1f89b Features: 1) Add Dockerfile for supervisor service; 2) Update docker-compose.yml to include supervisor service;
Fixes: 1) No fixes applied;

Extra: 1) Supervisor service configured with environment variables and custom start script; 2) Uses multi-stage build for optimized runtime; 3) Sets up non-root user for security; 4) Exposes port 7777; 5) Depends on app service; 6) Uses default logging config.
2025-11-15 00:21:30 +03:00
6e37044e30 Features: 1) Initialize supervisor package with basic metadata and structure;
Fixes: none;

Extra: None; new package added.
2025-11-15 00:15:52 +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
aa8d40c781 Features: 1) Add mutations for product management (CreateProduct, UpdateProduct, DeleteProduct) with improved attribute and tag resolution; 2) Introduce enhanced GraphQL inputs for better product handling; 3) Add translation support to payment views and callback handling; 4) Refactor Telegram forwarder to use modern typing annotations (| syntax);
Fixes: 1) Remove redundant `from __future__ import annotations` in multiple files; 2) Correct callback integration to handle missing gateway scenarios gracefully; 3) Fix typos and update class references in tests and views;

Extra: Refactor deprecated mutation definitions and cleanup legacy product mutation references in GraphQL schema.
2025-11-14 17:07:40 +03:00
71fe47d428 Fixes: 1) Remove unused import for BASE_DOMAIN; 2) Fix hardcoded welcome message by adding translation support;
Extra: 1) None;
2025-11-14 14:54:06 +03:00
da68858fa5 Features: 1) Update topmenu_links configuration to add "GraphQL Docs," "Swagger," and "Redoc" with platform-specific URLs; 2) Change default Jazzmin themes to flatly and darkly;
Fixes: 1) Standardize `new_window` settings across `topmenu_links`;

Extra: 1) Reformat and improve readability of `topmenu_links` definitions; 2) Minor code style adjustments.
2025-11-14 14:53:17 +03:00
e868ec93d5 Merge branch 'main' into storefront-nuxt 2025-11-13 18:11:58 +03:00
bf6b9f4424 Features: 1) Add backup_task to manage database and media backups; 2) Introduce periodic scheduling for backup_task via Celery Beat;
Fixes: 1) Apply `--omit` filter for test coverage reports to exclude unnecessary files; 2) Replace `services_data` volume mounts with named Docker volumes for consistency and cleanup (e.g., `postgres-data`, `redis-data`);

Extra: 1) Remove `services_data` from `.gitignore`, Docker-related cleanup in uninstall scripts; 2) Simplified related files removal scripts for Unix and Windows; 3) Minor adjustments in documentation comments.
2025-11-13 17:14:00 +03:00
943aa02cd3 Features: 1) Add test cases for DRF and GraphQL views in core, blog, payments, and vibes_auth applications; 2) Implement reusable GraphQL testing utilities in test classes; 3) Introduce test configuration scripts for Windows and Unix environments.
Fixes: 1) Correct entrypoint scripts by removing redundant `python` reference in `uv run` commands; 2) Resolve incorrect imports and adjust class renaming in vibes_auth tests; 3) Address typing errors and minor omissions in existing code.

Extra: 1) Improve formatting in settings and middleware files; 2) Update messaging test class names for clarity; 3) Cleanup unused imports and extra whitespaces, ensuring cleaner codebase.
2025-11-13 16:42:04 +03:00
30e9bc444a Merge branch 'main' into storefront-nuxt 2025-11-13 15:26:02 +03:00
3228a89d4b Features:
1) Add new `test_graphene` test module for expanded testing coverage;
2) Introduce `test_drf` module in `engine/blog` for improved API testing;

Fixes:
1) Remove unnecessary `--extra testing` flag from Dockerfile to streamline dependencies;
2) Update `uv.lock` with newer versions of dependencies (`certifi`, `coverage`, `django-constance`) for enhanced security and functionality;

Extra:
1) Remove deprecated packages (`bandit`, `cfgv`, `distlib`) from `uv.lock` for cleanup;
2) Adjust `uv.lock` content and formatting to be consistent with updated dependencies.
2025-11-13 15:24:44 +03:00
5dd055b677 Merge branch 'main' into storefront-nuxt 2025-11-12 22:07:01 +03:00
425464114c Fixes: 1) Pass raise_exc=True to get_integration_class_object to handle unknown gateways properly;
Extra: 1) No additional changes.
2025-11-12 22:06:44 +03:00
f3a1bb7110 Features: 1) Add new DEBUG_DATABASE setting for database logging control; 2) Enable conditional logging based on DEBUG_DATABASE for django.db logger;
Fixes: 1) Correct type casting of `uuid` in payment transaction retrieval;

Extra: 1) Minor cleanup in logging configuration imports;
2025-11-12 22:05:15 +03:00
af49dacb09 Features: 1) Handle UnknownGatewayError when processing transactions.
Fixes: 1) Ensure `uuid` defaults to an empty string in `Transaction` retrieval.

Extra: 1) Add missing import for `UnknownGatewayError`.
2025-11-12 17:29:21 +03:00
b03757508b Features: 1) Update callback URL to exclude gateway parameter; 2) Process callback using associated transaction's gateway integration class;
Fixes: 1) Remove unused import for `UnknownGatewayError`;

Extra: 1) Cleanup unreachable code and obsolete comments in `CallbackAPIView`.
2025-11-12 17:27:43 +03:00
aee8bd2770 Merge branch 'main' into storefront-nuxt 2025-11-12 16:40:45 +03:00
943c6ae1b1 Features: 1) Add handler "console" to "django.template", "celery", "django_elasticsearch_dsl", and "elastic_transport.transport" loggers;
Fixes: 1) Remove unused or redundant loggers for "django.request", "django.server", "django.db.backends", "celery.app.trace", and "celery.worker.strategy";

Extra: 1) Simplify log configuration for better maintainability; 2) Adjust logger filter for "django.template".
2025-11-12 16:40:22 +03:00
1ffe03ed02 Features: 1) Add separate logging configuration for Celery;
Fixes: None;

Extra: None;
2025-11-12 16:38:52 +03:00
a77d18d33c Merge branch 'main' into storefront-nuxt 2025-11-12 15:59:22 +03:00
b4dbfc8b25 Features: 1) Add Spanish translations for new admin messages and user-visible strings; 2) Enhance formatting of multi-line strings across multiple languages for consistency.
Fixes: 1) Correct alignment and ensure continuity in French and Polish translation files; 2) Address incomplete business identifier message in Spanish.

Extra: Improve clarity in token refresh and viewset-related comments; trim redundant whitespace in localized files.
2025-11-12 15:59:03 +03:00
b1da9b90e2 Features: 1) Add new message "You cannot jump over your head!" in admin interface localization; 2) Update line references across various locales; 3) Improve formatting of multiline text in translation files;
Fixes: 1) Fix inconsistencies in string concatenation for English translations; 2) Correct missing or misplaced message references in locale files;

Extra: Resolve spacing and encoding inconsistencies in translation files.
2025-11-12 15:56:00 +03:00
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
ddb12b75c4 Merge branch 'main' into storefront-nuxt 2025-11-12 13:15:04 +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
252b86636a Merge branch 'main' into storefront-nuxt 2025-11-12 13:08:52 +03:00
3a5fa3c72b Features:
1) Add 'origin' and 'referer' headers to the allowed headers list in settings.

Fixes:
1) Correct order of existing headers for better readability and maintainability.

Extra:
1) General cleanup in `evibes/settings/base.py`.
2025-11-12 13:08:37 +03:00
d791cbb83a Merge branch 'main' into storefront-nuxt 2025-11-12 12:56:27 +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
945767fe01 Merge branch 'main' into storefront-nuxt 2025-11-12 12:53:49 +03:00