Fixes: 1) Replace `lookup` with `lookup_value` in API parameter definitions;
Extra: 1) Remove unused query parameters for product listing documentation.
Fixes: 1) Adjust import order in `viewsets.py` to match project convention; 2) Correct schema name from `seo` to `seo_meta` in documentation;
Extra: 1) Refactor SEO schemas import order for better readability; 2) Update `additional` field structure with consistent formatting.
Fixes: 1) Removed redundant annotation logic for `rating` and `price` fields from `qs` method, ensuring no duplication and enhancing maintainability.
Extra: Reorganized filter logic by consolidating annotation processes into the constructor; eliminated unused code for cleaner and more maintainable structure.
Fixes: 1) Corrected inconsistent `QuerySet` type hints in vendors module; 2) Resolved string concatenation issue in `get_uuid_as_path` by prepending the path with "users/".
Extra: Updated Elasticsearch weighting factors and SMART_FIELDS configuration for better search relevance; removed unused methods and redundant comments in filters and documents; cleaned up migrations and adjusted query building logic.
Fixes: 1) Fix handling of feedback deletion to return actual delete count rather than `None`.
Extra: 1) Refactor `do_feedback` method for clarity and improved logic flow; 2) Minor updates to error messages for consistency and accuracy.
Fixes: 1) Reorder imports in `core/utils` and `core/utils/seo_builders` sections; 2) Correct misplaced `Boolean` import in `object_types.py`;
Extra: 1) Update GraphQL schema descriptions for new and existing fields; 2) Minor reformatting of imports for consistency.
Fixes: 1) Correct conditional logic in `personal_order_only` annotation to use integers for comparison.
Extra: 1) Minor readability improvements in annotation definitions.
Fixes: 1) Correct `rating` ordering logic to use cleaned field names without signs.
Extra: 1) Add missing import for `BooleanField`; 2) Refactor ordering parameter processing for clarity and efficiency.
Fixes: 1) Simplify ordering logic by consolidating expressions for both parent and child nodes;
Extra: 1) Refactor query construction for improved readability; 2) Remove redundant variable `parent_order` and `child_order`.
Fixes: 1) Correct `attributes` definition in `da_DK` translations; 2) Add missing localization details in `zh_Hans`;
Extra: Update project version metadata from 2.9.3 to 3.0.0.
Fixes: 1) Correct provider name from "amo" to "AmoCRM";
Extra: 1) Remove unused `time` import and redundant token caching logic; 2) Add missing CRMException import to signals; 3) Minor code cleanup and readability improvements;
Fixes: 1) Simplify retrieval of `OrderCrmLink` to use `get()` instead of `filter().first()`; 2) Eliminate redundant `Order` lookup by utilizing `link.order`.
Extra: Refactored code to enhance readability and efficiency in status update logic.
Fixes: 1) Improve validation logic to ensure only one default CRM provider within the model.
Extra: 1) Replace CRM object string representation to use `name` instead of `crm_lead_id`; 2) Refactor token caching to improve reliability and readability.
Fixes: 1) Fix email validation to properly handle `self.instance` checks in serializers;
Extra: 1) Remove unnecessary blank lines and reformat code for better readability; 2) Consolidate migration field definitions to a single line for cleaner diff;
Fixes: 1) Correct verbose_name usage for `attributes` field in an existing model;
Extra: 1) Adjust admin field grouping and formatting consistency for readability.
Fixes: 1) Resolved malformed phone number issue in serializer when `instance` is unavailable; 2) Corrected relation field naming for `OrderCrmLink` (`order_uuid` to `order`); 3) Ensured only one default CRM provider can exist.
Extra: 1) Refactored `is_business` logic with error handling; 2) Improved logging for CRM integration errors; 3) Added `integration_location` and `default` fields to CRM configuration model.
Fixes: 1) Correct improper replacing logic for `name.ngram` and `title.ngram` in specific language cases; 2) Apply customization to handle `AUTO:5,8` fuzzy logic more cleanly;
Extra: Refactor search responses to handle brands, categories, and products separately with improved modularity.
Fixes: 1) Replace `OrderingFilter` with `CharFilter` for `order_by` field in `CategoryFilter`.
Extra: 1) Remove unused ordering configuration from `order_by` field; 2) Refactor ordering logic with prefetch-related optimization for children categories.
**Fixes**: 1) Correct handling of non-dict `attributes` for users and orders; 2) Resolve serializer field inconsistencies in `BuyUnregisteredOrderSerializer` and others.
Extra: 1) Clean up redundant error handling and unused local variables; 2) Rename and align method arguments for clarity.
Fixes: 1) Prevent repeated queries by reusing the last processed primary key; 2) Avoid redundant SKU existence checks through optimized logic;
Extra: 1) Set migration atomicity to False for better batch handling; 2) Minor code cleanup and restructuring;
Fixes: None.
Extra: 1) Adjust `.po` and `.mo` files for version change to `2.9.3`; 2) Update translations with minor formatting improvements; 3) Clean up comments in locale files.
Fixes: 1) Correct inconsistent formatting in `vibes_auth` phone number validation logic; 2) Resolve redundant newlines in `core/utils/emailing.py` logging statement;
Extra: 1) Cleaned up line breaks for better readability and consistency.
Fixes: 1) Fix typo `business_inn` to `business_identificator`.
Extra: 1) Improve exception handling with specific error cases for invalid `force` values; 2) Minor formatting adjustments in `models.py`.
Fixes: 1) Remove unused serializer import in signals; 2) Fix potential issue with empty digital assets causing errors;
Extra: 1) Clean up logging statements in order processing; 2) Minor formatting and indentation improvements for clarity;
Fixes: 1) Fix incorrect queryset filtering logic in the `feedbacks` endpoint; 2) Replace redundant product lookup in `feedbacks` with `get_object` for improved clarity and performance;
Extra: 1) Rename annotated field `price` to `price_order` in queryset filters for better semantics; 2) Cleanup and streamline `feedbacks` endpoint logic.
Fixes: 1) Correct `name_ngram` search analyzer in `PostDocument` to `icu_query`;
Extra: 1) Update import paths and references following renaming of `BaseDocument` and `add_multilang_fields`.
Fixes: 1) Correct logic to handle empty or missing language codes in requests;
Extra: Clean up comments and redundant whitespace in analyzers and filters definitions;
Fixes: 1) Correct typo in total_orders field name in ProductDocument; 2) Replace outdated query_lc analyzer with icu_query for consistent Unicode handling; 3) Remove unnecessary get_object_or_404 calls to optimize batch query performance.
Extra: Refactor process_query function with clearer structure and batch-loading logic; streamline brand and category field handling across documents; improve reboot scripts to rebuild search index automatically.
Fixes: 1) Ensure email and phone number validation rejects duplicates in the user table;
Extra: 1) Minor adjustments to annotated queryset for order filter logic.
Fixes: 1) Removed reliance on suppressed exceptions for UUID lookup; 2) Improved handling of invalid or missing objects during lookup.
Extra: 1) Cleaned up unused import `suppress`; 2) Simplified code by replacing redundant lookup logic with a unified method.
Fixes: 1) Correct dynamic URL generation for images in Open Graph (`og_image` and `logo_url`); 2) Address potential missing or empty `crumbs` handling in breadcrumbs generation;
Extra: 1) Refactor redundant action names (e.g., `seo` to `seo_meta`) for better consistency; 2) Clean up and optimize serializer structures and Graphene object fields; 3) Improve readability and maintainability of action and object implementations.;
Fixes: 1) Resolve annotations compatibility with mypy `type: ignore` adjustments; 2) Correct `resolve_price_with_currency` method to ensure proper float returns; 3) Handle scenarios for empty or null queryset in vendor methods.
Extra: 1) Refactor utility functions for better type annotations and robustness; 2) Minor formatting corrections and removal of redundant mypy strict setting; 3) Improve method return types for consistency.
Fixes: 1) Add missing import for `DigitalAssetDownload`;
Extra: 1) Enhance order processing logic to finalize digital product orders with associated stocks.
Fixes: 1) Avoid unused variable warning in `update_products_task` by removing exception variable `vie`; 2) Add missing imports for `logging` and `traceback` in `payments/signals.py`;
Extra: 1) Minor formatting fix in `dbbackup.py` to consolidate FTP URL string construction; 2) Remove unnecessary newline in `core/vendors/__init__.py`.
Fixes: 1) Remove unused migration file `0037_alter_vendor_b2b_auth_token`; 2) Update `b2b_auth_token` field in `Vendor` model to remove uniqueness constraint;
Extra: 1) Add explicit return type annotation to `Vendor.save` method.
Fixes: 1) Adjust `is_business` property logic for accuracy; 2) Fix import cleanup in serializers and utils files;
Extra: Refactor `core.models`, `core.utils`, and `core.vendors` for improved type annotations and other minor adjustments; Expand mypy exclusions in `pyproject.toml`.
Fixes: 1) Correct iml file structure for better compatibility;
Extra: Update `.idea/evibes.iml` to include Django-specific settings for project consistency;
Fixes: 1) Handle `user` lookup more robustly using `getattr`; 2) Prevent redundant list creation in distinct value processing;
Extra: 1) Use consistent cache key variable; 2) Improve code readability with `defaultdict` for grouping; 3) Minor cleanup and formatting enhancements; 4) Remove unnecessary attribute redefinitions.
Fixes: 1) Resolved misaligned line annotations for translations; 2) Corrected minor grammatical inconsistencies in Polish and German translations.
Extra: Adjusted formatting for improved readability across multiple language files.
Fixes: 1) Remove redundant logic for `attributes` handling in `emailing.py`;
Extra: 1) Minor refactor in `process_order_changes` for better attribute management.
Fixes: 1) Remove unused `_` import in `drf.py`; 2) Trim redundant newline in `apply_addresses` method;
Extra: 1) Fix minor formatting in `deepl_translate.py` command; 2) Simplify `SPECTACULAR_PLATFORM_DESCRIPTION` string handling; 3) Minor refactoring and cleanup in email utility and related logic.
Fixes: 1) Remove obsolete API documentation and translations from locale files;
Extra: Cleared out unused gettext entries, improving locale management.
Fixes: 1) Correct incorrect type annotations and imports for `readline` in `deepl_translate` command; 2) Remove unused variables `billing_address` and `shipping_address` in address application logic.
Extra: Add `# type: ignore` comments to suppress type-checking errors across admin classes.
Fixes: 1) Correct logic for optional address validation to avoid runtime errors;
Extra: 1) Change documentation settings format from "Google" to "Plain".