4e6d0a9bab
Features: 1) Add support for multiple Elasticsearch hosts with enhanced configurations; 2) Enable sniffing parameters for cluster discovery and failover handling; 3) Introduce Celery-based signal processor for Elasticsearch synchronization.
...
Fixes: 1) Correct `http_auth` parameter to replace deprecated `basic_auth`.
Extra: 1) Update default Elasticsearch configuration values; 2) Modify `ELASTICSEARCH_DSL_AUTOSYNC` to reflect debug mode; 3) General cleanup and parameter refinements.
2025-06-22 00:54:54 +03:00
a91ba0c41a
Features: 1) Add priority field to Category model; 2) Update priority field in Brand model to improve consistency.
...
Fixes: 1) Ensure correct handling of query results in category/brand auto-resolve methods; 2) Fix PO formatting issues across multiple locales.
Extra: 1) Add `priority` field to Django admin for categories; 2) Suppress specific type-checking warnings in settings and utilities.
2025-06-22 00:48:06 +03:00
3160ab4549
**Features**: 1) Add score_mode="first" to function_score query configuration for enhanced scoring;
...
**Fixes**: None;
**Extra**: 1) Wrap product-specific attributes like `rating` and `brand_priority` in a debug-mode conditional block;
2025-06-21 23:52:05 +03:00
0e4d5fe59f
Features: 1) Update regex pattern in slug generator for improved handling of underscores and word characters;
...
Fixes: None;
Extra: None;
2025-06-21 23:16:34 +03:00
e6ffb476fb
Features: 1) Update regex pattern for slug field generation to exclude non-alphanumeric characters; 2) Add support for custom separators in slugs;
...
Fixes: 1) Remove unnecessary debug logging from get_slug_fields function;
Extra: 1) Minor cleanup in db utility functions;
2025-06-21 23:07:36 +03:00
f2596c25a2
Fixes: 1) Ensure unicode_slugify_function handles non-string input by converting to string.
...
Extra: None;
2025-06-21 22:56:31 +03:00
5d7075ee2e
**Features**: 1) Add unicode_slugify_function for advanced slugify handling; 2) Replace default slugify method with unicode_slugify_function in models; 3) Introduce python-slugify as a project dependency for Unicode slugification;
...
**Fixes**: 1) Remove redundant `slugify` import from `core/models.py`;
**Extra**: 1) Update `poetry.lock` and `pyproject.toml` to lock `python-slugify@8.0.4` and refine dependency definitions; 2) Improve readability of debug logging in `TweakedAutoSlugField`.
2025-06-21 22:49:34 +03:00
9eb4ee72df
Features: 1) Add support for custom slugify_function across models; 2) Introduce logging for debug output in get_slug_fields; 3) Enhance help text for key fields to improve clarity;
...
Fixes: 1) Correct type hints and comments for better accuracy; 2) Address formatting inconsistencies in exception messages and queries;
Extra: Refactor long lines for improved readability and maintainability across functions and methods;
2025-06-21 22:23:54 +03:00
8ae4c35028
Features: 1) Add yapf dependency with configuration in pyproject.toml; 2) Introduce readonly_fields for uuid and slug in ProductAdmin;
...
Fixes: 1) Update `markdown` to 3.8.2 and `pygments` to 2.19.2;
Extra: 1) Minor formatting updates in admin path definitions; 2) Update `poetry.lock` for dependency changes.
2025-06-21 21:04:06 +03:00
f8bf60004b
Features: 1) Add uuid and slug fields to admin panel category form; 2) Make uuid and slug fields read-only;
...
Fixes: 1) Add missing import for `core.utils.db` in migration file;
Extra: 1) Minor formatting improvement for admin site path definition.
2025-06-21 20:51:44 +03:00
5e903641c6
Features: 1) Modify slug field of category model to use TweakedAutoSlugField with enhanced properties (e.g., allow_unicode, unique, overwrite);
...
Fixes: 1) None;
Extra: 1) Auto-generated migration file `0033_alter_category_slug` for the `category` model changes;
2025-06-21 20:40:19 +03:00
fdd92dbf8b
Features: 1) Introduced strict parameter for zip function in widgets.py; 2) Added EXTENSIONS_MAX_UNIQUE_QUERY_ATTEMPTS setting;
...
Fixes: 1) Resolved redundant lines and formatting inconsistencies across multiple files; 2) Corrected Collection typing imports and Optional replacements with union types (e.g., `str | None`);
Extra: Improved formatting and readability by consolidating single-line code sections and simplifying expressions.
2025-06-21 20:38:37 +03:00
67794a7997
Features: 1) Add overwrite=True and max_length=88 to slugs in Brand, Category, and Product models with enhanced slug generation logic; 2) Extend process_query function to include additional fields rating and brand_priority for product results.
...
Fixes: 1) Add missing type annotation for the return value of `process_query` in `core/elasticsearch/__init__.py`.
Extra: 1) Update migration file to reflect new slug field changes; 2) Minor refactor to improve clarity in query result construction.
2025-06-21 20:19:08 +03:00
4b367944b9
Features: 1) Update product.slug to use AutoSlugField with adjusted populate_from order in migrations and model;
...
Fixes: 1) None;
Extra: Refactor `product.slug` field declaration for improved readability in `models.py`.
2025-06-21 19:42:16 +03:00
b6ab56624b
Features: 1) Update slug field in Category model to populate from both uuid and name.
...
Fixes: 1) None.
Extra: 1) Add Django migration to reflect `slug` field changes in the database.
2025-06-21 19:34:16 +03:00
e99ae9e85c
Features: 1) Alter category.slug to populate only from name and enable null values in migration.
...
Fixes: 1) None.
Extra: 1) Removed `parent__slug` from `populate_from` in `category.slug` field in models for consistency.
2025-06-21 19:29:43 +03:00
fe9dfe552b
Features: None;
...
Fixes: None;
Extra: 1) Remove unused `divider_title` attribute across app configurations and settings; 2) Cleanup unnecessary translation import in `daisy.py`.
2025-06-21 19:19:09 +03:00
29f8be5624
Fixes: 1) Correct invalid URL in DAISY_SETTINGS for EXTRA_STYLES path.
2025-06-21 19:11:46 +03:00
82a79c31f9
Features: 1) Update category.slug to derive from name and parent__slug; 2) Update product.slug to derive from uuid, category__slug, brand__slug, and name;
...
Fixes: None;
Extra: None;
2025-06-21 19:04:36 +03:00
400d198afc
Features: 1) Add dynamic BASE_DOMAIN-based URL for EXTRA_STYLES in DAISY_SETTINGS;
...
Fixes: None;
Extra: 1) Add missing import for CONSTANCE_CONFIG in daisy.py;
2025-06-21 18:49:07 +03:00
b96ad5aa80
Features: 1) Added "eVibes Engine" translation for multiple languages; 2) Updated priorities for applications in settings/daisy.py;
...
Fixes: 1) Corrected mismatched line references in translations; 2) Adjusted timestamps in locale files for accuracy;
Extra: Refactored and cleaned up unused or misplaced translation entries.
2025-06-21 18:45:14 +03:00
3ab95e9b56
Features: 1) Added icons, divider titles, priorities, and hide settings to apps; 2) Introduced Daisy settings file for customizable UI configuration; 3) Implemented new CSS styles for paginator component with hover and active states.
...
Fixes: 1) Updated AutoSlugField to enhance slug generation logic in core models.
Extra: 1) Removed redundant Daisy settings from base configurations; 2) Minor code cleanup and organization.
2025-06-21 18:35:34 +03:00
3cb6576258
Fixes: 1) Remove unnecessary null=True attribute from brand_priority field.
2025-06-20 05:32:21 +03:00
2840370c3e
Features: 1) Add priority field to Brand model to support ranking functionality; 2) Enhance ProductDocument with brand_priority field in Elasticsearch for improved sorting; 3) Integrate function score query with brand_priority in Elasticsearch search logic;
...
Fixes: None;
Extra: 1) Update migrations for Brand model changes; 2) Refactor Elasticsearch query logic for clarity;
2025-06-20 05:26:03 +03:00
41b6c1aa07
Revert "Features: 1) Add suggest, price, and quantity fields to ProductDocument; 2) Introduce prepare_suggest method for enhancing autocomplete functionality; 3) Enhance search with filters, function scoring, and result aggregation; 4) Add new analyzers and token filters for synonyms and stopwords."
...
This reverts commit 97829d23a6 .
2025-06-20 05:12:11 +03:00
352b5f14ef
Revert "Features: None;"
...
This reverts commit 778d65b963 .
2025-06-20 05:12:07 +03:00
1e2351afd5
Revert "Features: 1) Add chunk_size attribute to _BaseDoc class; 2) Enable additional Elasticsearch configurations (timeout, max_retries, retry_on_timeout); 3) Set ELASTICSEARCH_DSL_PARALLEL to True;"
...
This reverts commit 1dae1a6be5 .
2025-06-20 05:12:00 +03:00
65a34bb90b
Revert "Features: 1) Adjust Elasticsearch timeout settings and retry configuration for improved connection handling."
...
This reverts commit 76954ac24c .
2025-06-20 05:11:57 +03:00
76954ac24c
Features: 1) Adjust Elasticsearch timeout settings and retry configuration for improved connection handling.
...
Fixes: 1) Reduce `_BaseDoc.chunk_size` to prevent potential memory issues.
Extra: 1) Disable Elasticsearch parallel indexing to enhance stability.
2025-06-20 04:56:31 +03:00
1dae1a6be5
Features: 1) Add chunk_size attribute to _BaseDoc class; 2) Enable additional Elasticsearch configurations (timeout, max_retries, retry_on_timeout); 3) Set ELASTICSEARCH_DSL_PARALLEL to True;
...
Fixes: None;
Extra: None;
2025-06-20 04:10:55 +03:00
778d65b963
Features: None;
...
Fixes: None;
Extra: 1) Remove unused "synonym_filter" and "synonym_analyzer" definitions in Elasticsearch configuration; 2) Cleanup redundant code for better maintainability;
2025-06-20 04:01:20 +03:00
97829d23a6
Features: 1) Add suggest, price, and quantity fields to ProductDocument; 2) Introduce prepare_suggest method for enhancing autocomplete functionality; 3) Enhance search with filters, function scoring, and result aggregation; 4) Add new analyzers and token filters for synonyms and stopwords.
...
Fixes: 1) Remove unused imports in `core/elasticsearch/__init__.py`.
Extra: Refactor `process_query` for improved readability and functionality; update aggregation and result processing logic; reformat and clean up code.
2025-06-20 03:55:56 +03:00
efd927f4d1
Revert "Features: 1) Add SearchAsYouTypeField to name field in ProductDocument for improved search capabilities; 2) Introduce product_type and sales_rank fields to ProductDocument with preparation methods; 3) Add total_orders property to model for calculating product order count;"
...
This reverts commit 432e4bf1
2025-06-20 03:28:27 +03:00
e541dfd624
Revert "Features: 1) Add top_level field to documents with preparation logic; 2) Add price field to documents with preparation logic; 3) Introduce score boosting with function_score using sales_rank field;"
...
This reverts commit 529fd39ff4 .
2025-06-20 03:27:58 +03:00
e68bd73a6a
Revert "Features: 1) Update category root logic to retrieve the first family member instead of the root node;"
...
This reverts commit 82f59307bf .
2025-06-20 03:27:53 +03:00
c0a753fa15
Revert "Features: 1) Add support for .sat suffix fields in search query with phrase_prefix match; 2) Incorporate lenient fuzzy match and prefix match into a combined query logic; 3) Enhance function_score with additional filtering for better query relevance."
...
This reverts commit 5efac0d5ff .
2025-06-20 03:27:44 +03:00
d0e7c9e4ec
Revert "Features: 1) Add typo-tolerant, multi-index search with phrase_prefix query; 2) Enhance query boost logic for name field;"
...
This reverts commit 781e20eb9a .
2025-06-20 03:27:35 +03:00
781e20eb9a
Features: 1) Add typo-tolerant, multi-index search with phrase_prefix query; 2) Enhance query boost logic for name field;
...
Fixes: 1) Avoid redundant nesting in slug determination; 2) Refactor image_url assignment to prevent repetition;
Extra: Improve formatting and remove unnecessary dictionary structure in query functions.
2025-06-19 17:54:34 +03:00
ba335e5d96
Features: 1) Add configuration for django_summernote in settings menu;
...
Fixes: ;
Extra: 1) Update priority values for existing menu items to accommodate `django_summernote`;
2025-06-19 16:46:48 +03:00
c01f2422ce
Features: 1) Add 'retrieve: ALLOW' to additional permissions in blog viewsets;
...
Fixes: None;
Extra: None;
2025-06-19 16:34:52 +03:00
5efac0d5ff
Features: 1) Add support for .sat suffix fields in search query with phrase_prefix match; 2) Incorporate lenient fuzzy match and prefix match into a combined query logic; 3) Enhance function_score with additional filtering for better query relevance.
...
Fixes: 1) Handle missing or empty query input with a more explicit check; 2) Resolve potential response errors by catching `NotFoundError` exceptions in search execution.
Extra: Refactor code structure to improve readability and modularity, including better slug generation logic and streamlined image URL handling.
2025-06-19 16:31:54 +03:00
570990fd87
Fixes: 1) Remove unnecessary order__status="FINISHED" filter in total_orders property for accurate counts;
...
Extra: None;
2025-06-19 15:06:12 +03:00
82f59307bf
Features: 1) Update category root logic to retrieve the first family member instead of the root node;
...
Fixes: None;
Extra: None;
2025-06-19 14:54:36 +03:00
529fd39ff4
Features: 1) Add top_level field to documents with preparation logic; 2) Add price field to documents with preparation logic; 3) Introduce score boosting with function_score using sales_rank field;
...
Fixes: 1) None;
Extra: 1) Replace direct query with boosted query in Elasticsearch `search` logic; 2) Minor refactoring for improved readability;
2025-06-19 14:45:40 +03:00
432e4bf110
Features: 1) Add SearchAsYouTypeField to name field in ProductDocument for improved search capabilities; 2) Introduce product_type and sales_rank fields to ProductDocument with preparation methods; 3) Add total_orders property to model for calculating product order count;
...
Fixes: 1) Enhance `raw` field in `name` with `lc` normalizer for consistent lowercase processing;
Extra: 1) Define custom `lc` normalizer in Elasticsearch settings; 2) General code formatting and minor cleanup.
2025-06-19 14:27:57 +03:00
ac39dedf94
Features: 1) Enable iframe support in Summernote configuration;
...
Fixes:
Extra: 1) Revert Summernote theme from "bs5" to "bs4".
2025-06-19 13:59:44 +03:00
3ea3fc1f43
Fixes: 1) Remove unnecessary inheritance from ModelAdmin in PostAdmin class;
...
Extra: Simplify admin class definition for blog posts.
2025-06-19 13:38:24 +03:00
77d978fecb
Features: 1) Integrated django-summernote for rich text editing; 2) Added Summernote fields in PostAdmin with configuration; 3) Configured summernote settings in a separated module;
...
Fixes: 1) Adjusted modeltranslation admin import to use external jQuery variant; 2) Corrected optional flags for package dependencies in poetry.lock;
Extra: 1) Removed custom PostAdminForm in favor of SummernoteModelAdmin; 2) Enhanced formatting consistency in api_urls and admin files.
2025-06-19 13:15:04 +03:00
2a7ec836b0
Features: 1) Replace variables with static values for domain, backend, and frontend paths in Nginx configuration; 2) Update root paths for consistency with static and Nuxt frontend integration;
...
Fixes: 1) Addressed trailing variable usage causing inconsistent behavior in certificate links and path resolution; 2) Corrected alias and root paths for robots.txt and media/static assets;
Extra: Streamlined Nginx configuration for better maintainability and clarity;
2025-06-19 12:19:09 +03:00
658e799076
Features: 1) Add ordered filtering logic for filter_name methods across products, categories, and brands; 2) Enhance query processing with Case and When operations for precise ordering;
...
Fixes: 1) Ensure queryset returns `none()` when no valid UUIDs are found in filters;
Extra: 1) Refactor import statements for readability; 2) Clean up and consolidate redundant filter logic across multiple `filter_name` methods;
2025-06-19 10:49:56 +03:00