Commit graph

624 commits

Author SHA1 Message Date
bc36db57e1 Features: 1) Add type annotations to methods in payments serializers for enhanced type safety;
Fixes: 1) Correct unnecessary use of `Collection` type hint in core and simple serializers; 2) Fix translation of "blacklisted tokens" in Russian localization;

Extra: 1) Simplify conditional logic in `get_children` methods across serializers; 2) Remove unused imports and improve code readability.
2025-06-29 21:30:17 +03:00
64be995ad4 Features:;
Fixes: 1) Remove unused `settings` import from `deepl_translate.py`; 2) Fix grammar in docstring by replacing "utilizes" with "uses";

Extra:;
2025-06-29 20:04:10 +03:00
856f2ff516 Features: 1) Add app_name attribute in multiple urls.py files across apps to support namespacing;
Fixes: 1) Simplify Prometheus and GraphQL path definitions in `evibes/api_urls.py`;

Extra: 1) Add line breaks across multiple files for improved code readability.
2025-06-29 20:03:33 +03:00
7ff62cea0e Features: 1) Add detailed class-level docstrings for multiple ViewSets and views, improving maintainability and documentation; 2) Introduce namespace for "core_b2b" in URL patterns for better URL resolution.
Fixes: 1) Remove unused "prometheus/" URL pattern for cleanup.

Extra: Update imports and formats for consistency; refine sitemap functions with explicit docstrings.
2025-06-29 19:56:52 +03:00
74813bcdf4 Features: 1) Added "Home" translation to AR, EN, and ES locale files; 2) Updated PO and MO file metadata with revised POT creation date.
Fixes: 1) Corrected inconsistent translation strings across locale files.

Extra: Updated version and contributor metadata in locale files.
2025-06-29 19:51:45 +03:00
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
14c37701b6 Features: 1) Add _ import for translations in emailing utility; 2) Simplify urlpatterns definition in api_urls; 3) Introduce is_publicly_visible attribute to multiple core models;
Fixes: 1) Correct transaction primary key reference in email utility; 2) Remove unnecessary model permissions in `jazzmin.py`;

Extra: 1) Minor formatting alignments to codebase including whitespace adjustments; 2) Retain static URL handling in debug mode for `api_urls`.
2025-06-29 19:18:27 +03:00
7dc69ad63f Features: 1) Add docutils dependency to pyproject.toml and poetry.lock for enhanced documentation utilities; 2) Add verbose and descriptive docstrings for multiple core models to outline attributes, methods, and meta options; 3) Enable XViewMiddleware in settings for admin documentation support;
Fixes: None;

Extra: Update `lock-version` and `content-hash` in `poetry.lock` reflecting the addition of `docutils` package;
2025-06-29 19:12:48 +03:00
eb68132dd3 Features: 1) None;
Fixes: 1) Correct formatting of multi-line expressions for better readability; 2) Ensure consistent use of single-line expressions where appropriate; 3) Fix minor spacing issues in text fields; 4) Adjust admin model field `general_fields` to include `priority`;

Extra: Refactored several multi-line statements to improve consistency and code style.
2025-06-29 19:08:17 +03:00
9f703fe5e5 Features: 1) Update Jazzmin UI theme to "cyborg" for both light and dark modes;
Fixes: ;

Extra: ;
2025-06-29 18:53:14 +03:00
d3dbbcb242 Features: 1) Update Russian translation for "balances" in payments/locale/ru_RU/LC_MESSAGES/django.po; 2) Enable UI builder in Jazzmin settings; 3) Add "uuid" to readonly_fields in both blog/admin.py and core/admin.py;
Fixes: 1) Correct Russian translation for "balances" in locale files; 2) Fix mismatch in Jazzmin `site_brand` configuration to use project name;

Extra: Refactor locale files, add missing translation updates, and adjust formatting;
2025-06-29 18:50:33 +03:00
78f3081f2b Features: 1) Add JAZZMIN_UI_TWEAKS configuration with theme and dark mode theme options;
Fixes:;

Extra:;
2025-06-29 16:47:41 +03:00
090d2fc457 Features: 1) Support COMPANY_NAME variable for site_brand; 2) Add type annotations with type: ignore in JAZZMIN_SETTINGS;
Fixes: 1) Update `search_model` to `None` to avoid incorrect search configurations;

Extra: 1) Remove deprecated user menu links for a cleaner interface; 2) Minor adjustments for consistency in string formatting.
2025-06-29 16:44:41 +03:00
f8a34f7ae0 Features: 1) Simplify logo and favicon paths in Jazzmin settings.
Fixes: 1) None.

Extra: 1) Minor formatting adjustments to Jazzmin configuration.
2025-06-29 16:39:18 +03:00
83e1f09873 Features: 1) Replace django-daisy with django-jazzmin for admin UI; 2) Add extensive configuration for django-jazzmin including topmenu links, user menu links, and custom icons; 3) Enable language chooser and horizontal tabs in change form layout;
Fixes: 1) Remove unused dependency `django-daisy` from `pyproject.toml` and `poetry.lock`;

Extra: 1) Upgrade `lxml` to version 6.0.0; 2) Upgrade `click-plugins` and `jupyterlab` to newer minor versions.
2025-06-29 16:32:53 +03:00
97785b29db Features: 1) Add multilingual title and content fields to the Post model in blog; 2) Introduce translation registration for Post in a new blog/translation.py; 3) Enhance PostAdmin with mixins and readonly slug.
Fixes: 1) Fix shebangs in Docker entry-point scripts to use `/usr/bin/bash`.

Extra: 1) Refactor slug fields in `core` migrations for `Brand`, `Category`, and `Product`; 2) Cleanup and simplify admin code in `core/admin.py`.
2025-06-29 16:14:59 +03:00
e8c1c6daed Features: 1) Add .idea/evibes.iml to version control; 2) Update .gitignore to include .idea/evibes.iml;
Extra: 1) Minor cleanup in `.gitignore`.
2025-06-29 14:56:51 +03:00
bbef14c20c Features: 1) Update email recipient to use EMAIL_FROM configuration;
Fixes:

Extra: 1) Add `node_modules/`, `nuxt/`, and `next/` to `.gitignore`.
2025-06-27 16:12:13 +03:00
d6a57da971 Features: None;
Fixes: None;

Extra: 1) Remove obsolete `.idea/eVibes.iml` file.
2025-06-27 04:39:15 +03:00
d34878a829 Features: 1) Clarify README instructions on default storefront absence and customization options;
Fixes: 1) Remove outdated `.idea/eVibes.iml` entry from `.gitignore`; 2) Update storefront options in README to reflect current support;

Extra: 1) Format adjustments in README for clarity and readability;
2025-06-27 04:38:25 +03:00
d4e33a006e Features: 1) Add .gitkeep file under storefront directory;
Fixes: 1) Include `desktop.ini` in `.dockerignore`;

Extra: None;
2025-06-27 04:28:58 +03:00
e0e0e0c910 Features: 1) Consolidated Dockerfile owners under @@maintainer for clarity;
Fixes: 1) Restored missing ownership entries for application directories and files;

Extra: 1) Simplified and reorganized CODEOWNERS file for improved maintainability.
2025-06-27 04:20:13 +03:00
c37e57d7d3 Features: 1) Add .idea/icon.svg for project-specific configuration; 2) Include .idea/eVibes.iml for Django module settings; 3) Add .idea/externalDependencies.xml with required IDE plugins;
Fixes: 1) Update `.gitignore` to include necessary `.idea` files;

Extra: Add exclusions and configurations for Django in module settings file.
2025-06-27 04:18:43 +03:00
9cf4717a0b Features: 1) Allow tracking of .idea/icon.svg in the repository;
Fixes: None;

Extra: None;
2025-06-27 04:16:40 +03:00
718f3dffa9 Features: 1) Added inactivation method parameter to delete_inactives for flexible product deletion options.
Fixes: 1) Corrected error message in `products` update case for consistent terminology.

Extra: 1) Refactored `delete_inactives` logic for clarity and added validation for inactivation methods.
2025-06-27 02:22:40 +03:00
61033a58d6 Features: 1) Add method parameter to prepare_for_stock_update to support multiple actions (deactivate, delete, update description);
Fixes: None;

Extra: 1) Add `QuerySet` import to support type hinting; 2) Improve error handling with descriptive `ValueError` for invalid method.
2025-06-27 02:19:54 +03:00
3020a40747 Features: None;
Fixes: None;

Extra: 1) Add `.nuxt` to `.gitignore` for Storefronts project consistency.
2025-06-27 01:58:50 +03:00
426af1ad2c Features: 1) Update admin icons for better visual representation ("order products" and "children").
Fixes: None;

Extra: 1) Normalize code formatting in `vibes_auth` manager methods for consistency; 2) Clean redundant indentation and comments in methods.
2025-06-26 13:10:56 +03:00
e6d59f053c Features: 1) Add is_active field to general_fields across all admin configurations; 2) Modify method definitions in BasicModelAdmin to utilize request parameter;
Fixes: 1) Correct method parameters for activation/deactivation actions in `BasicModelAdmin`;

Extra: 1) Improve formatting of `general_fields` lists for readability.
2025-06-24 17:12:21 +03:00
5886ca0ab9 Features: 1) Adjusted field weights in SMART_FIELDS for "name" and "name.ngram" to improve relevance scoring;
Fixes: None;

Extra: None;
2025-06-23 19:28:30 +03:00
0a81b12100 Features: 1) Add support for fine-tuned boosts in Elasticsearch scoring for title and related fields; 2) Adjust product, brand, and category scoring multipliers to improve search ranking flexibility.
Fixes: 1) Correct `total_orders` calculation in `Product` model to count only relevant statuses.

Extra: 1) Refactor comments for clarity in Elasticsearch configuration; 2) Minor formatting adjustments.
2025-06-23 16:52:39 +03:00
23351c79ab Fixes: 1) Corrected callable usage for attachment_upload_to in Summernote settings;
Extra: None;
2025-06-23 16:21:50 +03:00
f9c6fe3424 Features: 1) Add icon attributes to Balance and OrderInline admin classes; 2) Introduce evibes_summernote_upload_to_func for custom attachment upload paths in Summernote config;
Fixes: 1) Add missing import for `os`, `uuid`, and `datetime` in `evibes.utils.__init__.py`;

Extra: None;
2025-06-23 16:12:43 +03:00
fa54271e89 Features: 1) Add autocomplete_fields for user in admin; 2) Extend general_fields in admin to include start_time, end_time, and used_on;
Fixes: 1) Make `used_on` a readonly field in admin;

Extra: 1) Minor formatting update in `search_fields`.
2025-06-23 16:00:12 +03:00
080fcb2a25 Features: 1) Add suppress(NotRegistered) to handle unregistered translation models safely; 2) Enhance add_translations_fieldset logic for better error handling;
Fixes: 1) Add missing import for `NotRegistered` in `admin.py`;

Extra: 1) Minor refactoring of `add_translations_fieldset` function for readability;
2025-06-23 15:33:35 +03:00
2410f6dd3d Fixes: 1) Correct import path for CONSTANCE_CONFIG and EVIBES_VERSION. 2025-06-23 02:53:30 +03:00
4abb174287 Features: 1) Add support for dynamic versioning in sidebar footnote;
Fixes: 1) Add missing import for EVIBES_VERSION;

Extra: 1) Minor update to sidebar footnote formatting;
2025-06-23 02:42:50 +03:00
f7c5fdcf37 Fixes: 1) Remove redundant populate_index calls from core/tasks.py;
Extra: 1) Cleanup unused import for `populate_index`.
2025-06-23 02:31:16 +03:00
d419d9c72e Features: 1) Add billiard.exceptions.WorkerLostError to handled exceptions in Sentry configuration;
Fixes: 1) Remove conditional `DEBUG` block that redundantly extended ignored errors at runtime;

Extra: 1) Add comments clarifying handled exceptions; 2) Cleanup unused `DEBUG` logic for error handling.
2025-06-22 23:59:28 +03:00
b0aa8e0906 Features: 1) Add auto_refresh attribute to Elasticsearch documents with default False;
Fixes: None;

Extra: 1) Remove unused healthcheck configuration from `docker-compose.yml`.
2025-06-22 23:37:57 +03:00
58b227c2d6 Features: 1) Update project version to 2.8.10 in pyproject.toml and translation files;
Fixes: 1) None;

Extra: 1) Update translation metadata across multiple locales.
2025-06-22 20:45:26 +03:00
0e9f16d7d0 Features: 1) Add condition to check notify flag before sending balance deposit email;
Fixes: 1) Ensure emails are only sent when notification flag is enabled;

Extra: None;
2025-06-22 20:29:53 +03:00
d1f385e387 Features: 1) Use AbstractGateway for processing transactions in signals;
Fixes: 1) Add missing import for `AbstractGateway` in `signals.py`;

Extra: n/a;
2025-06-22 20:27:10 +03:00
489ceeaa2a Features: 1) Add AbstractGateway base class with process_transaction and process_callback methods.
Fixes: 1) Correct gateway status handling logic in `payments/signals.py`.

Extra: 1) Remove redundant condition checks in `payments/signals.py`.
2025-06-22 20:26:51 +03:00
b92e7e28f1 Features: 1) Add new email content translations for ru_RU, zh_Hans, and ro_RO locales; 2) Update "balance deposit" and general email-related translations across multiple languages;
Fixes: 1) Correct inconsistent formatting in translation strings; 2) Fix placeholders in email templates for better accuracy;

Extra: Update `.gitignore` to include `.env` file exclusion.
2025-06-22 20:18:19 +03:00
d9e50c04c1 Features: 1) Add related_models attribute to document configuration;
Fixes: None;

Extra: None;
2025-06-22 18:30:49 +03:00
5c8d83a7ae Fixes: 1) Add OperationalError to the base exception filter list;
Extra: None;
2025-06-22 18:25:19 +03:00
3a89fb4aca Fixes: 1) Remove unused "health_check.contrib.celery" from installed apps;
Extra: 1) Removed dead code to improve clarity and maintainability;
2025-06-22 18:23:03 +03:00
35ac700a44 Features: 1) Add verbose_name attribute to multiple Slug fields for better clarity;
Fixes: 1) Correct conditional handling of `fieldsets` to avoid duplicate `metadata` fields in admin view;

Extra: n/a;
2025-06-22 17:12:59 +03:00
43141bc3d5 Features: 1) Extend metadata field handling in admin to include both uuid and slug.
Fixes: _(no relevant changes detected)_.

Extra: 1) Update Russian locale binary (`django.mo`) file content.
2025-06-22 17:08:16 +03:00