Commit graph

1110 commits

Author SHA1 Message Date
aa8f15d0ee Features: 1) RUFFVCKED 2025-07-03 02:53:01 +03:00
d17839abed Features: 1) Implement safeguard to trim resolving_name exceeding 255 characters; 2) Introduce character limit enforcement for key within Attribute creation;
Fixes: 1) None;

Extra: Refactor handling of oversized strings to improve robustness and avoid potential errors;
2025-07-02 17:28:05 +03:00
81675fc55f Features: 1) Add service_healthy condition for database in docker-compose.yml dependencies; 2) Add payments_transactions field to OrderType GraphQL schema.
Fixes: 1) Add missing imports for `TransactionType` and `Transaction` in `graphene.object_types.py`.

Extra: 1) Update `docker-compose.yml` and GraphQL schema for improved service health checks and payment transaction resolution.
2025-07-02 16:52:59 +03:00
f4d5bf1543 Fixes: 1) Correct typo in variable name uidb64 to uidb_64 in vibes_auth/viewsets.py. 2025-07-02 15:48:59 +03:00
2094b22586 Features: 1) Add support for optional **kwargs in ActivationActionsMixin methods.
Fixes: None.

Extra: 1) Minor updates to method signatures for enhanced flexibility.
2025-07-02 15:38:05 +03:00
7722eef0a3 Features: 1) Added custom queues to all Celery tasks for more granular processing; 2) Implemented sensitive data scrubbing in Sentry error reporting.
Fixes: None;

Extra: Refactored Sentry initialization to include `before_send` callback and improved settings structure.
2025-07-02 15:36:52 +03:00
8bc7104109 Features: 1) Add phone number existence check before assigning orders to user;
Fixes: 1) Prevent potential errors caused by missing phone number in user object;

Extra: 1) Minor indentation adjustments for consistent formatting;
2025-07-02 11:02:41 +03:00
3ede023f64 Features: 1) Update rpds-py package version from 0.25.1 to 0.26.0 for updated functionality;
Fixes: ;

Extra: 1) Update hashes in `poetry.lock` to reflect the new package version;
2025-07-02 01:37:24 +03:00
8daf316319 Features: 1) Add healthcheck for celery worker service in docker-compose; 2) Add dependent services with healthcheck conditions for beat.
Fixes: n/a;

Extra: n/a;
2025-07-02 01:37:09 +03:00
ea92c67373 Features: 1) Add healthcheck for celery worker service in docker-compose; 2) Add dependent services with healthcheck conditions for beat.
Fixes: n/a;

Extra: n/a;
2025-07-02 01:34:08 +03:00
ed4d761741 Features: 1) Add task routing configuration for 'core.tasks.update_products_task' to use 'stock_updater' queue;
Fixes: 1) Remove deprecated `worker_autoscale` setting;

Extra: 1) Minor cleanup in Celery configuration; 2) Removed unused settings for `worker_prefetch_multiplier`, `worker_max_tasks_per_child`, `task_soft_time_limit`, and `task_time_limit`.
2025-07-02 01:32:05 +03:00
946a3e3de6 Features: 1) Added TIME_ZONE environment variable to docker-compose.yml, Unix, and Windows environment file generation scripts for improved time zone configuration;
Fixes: 1) None;

Extra: 1) Removed redundant `[tool.yapf]` section in `pyproject.toml` to clean up formatting; 2) Adjusted spacing for better readability in Windows script prompts;
2025-07-02 01:17:17 +03:00
f181b47484 Fixes: 1) Remove unnecessary systemctl enable --now chrony commands from Dockerfiles.
Extra: Simplify Dockerfiles by removing unused chrony setup steps.
2025-07-02 01:07:56 +03:00
e0a70707f0 Fixes: 1) Correct typo in Python command for Poetry installation.
Extra: None.
2025-07-02 01:04:16 +03:00
658eedb40c Features: 1) Update stock_updater service to use Dockerfile.stock_updater.
Fixes: n/a;

Extra: 1) Remove outdated healthcheck from `stock_updater` service.
2025-07-02 01:01:07 +03:00
2aa0e79743 Features: 1) Add chrony package and enable it in all Dockerfiles; 2) Set Celery timezone and disable UTC in celery.py;
Fixes: 1) Correct import of `TIME_ZONE` in `celery.py`;

Extra: 1) Minor typo fixed in `Dockerfile.worker` (`python3p` → `python3`).
2025-07-02 01:00:22 +03:00
da3f307f2b Fixes: 1) Remove outdated and unnecessary error ignores from Sentry configuration;
Extra: Simplify error handling by cleaning up unreferenced exception ignore list entries;
2025-07-02 00:52:12 +03:00
e8c767946b Features: None;
Fixes: 1) Remove redundant `--pool-startup-timeout` argument from worker and stock-updater entrypoints;

Extra: None;
2025-07-02 00:50:19 +03:00
200b93b19a Fixes: 1) Correct typo in Celery argument --worker-prefetch-multiplier to --prefetch-multiplier. 2025-07-02 00:44:27 +03:00
597e7b98c4 Features: 1) Add task queue options for Celery scheduled tasks.
Fixes: None.

Extra: 1) Minor adjustments to Celery configuration.
2025-07-01 22:53:48 +03:00
92813938fd Features: 1) Add stock_updater service to docker-compose.yml with health checks and logging; 2) Introduce Dockerfile.stock_updater for stock_updater service with dependencies and entrypoint; 3) Add stock-updater-entrypoint.sh script for Celery worker initialization; 4) Specify stock_updater queue in Celery task configuration;
Fixes: 1) Update Celery worker configuration in `worker-entrypoint.sh` to optimize worker pool and task limits;

Extra: Refactor `docker-compose.yml` and scripts for improved service management.
2025-07-01 22:52:55 +03:00
369b4adfc0 Features: 1) Display tags' names in the admin list view;
Fixes: ;

Extra: ;
2025-07-01 20:32:06 +03:00
61eb5d3f6b Features: 1) Add brand__slug and category__slug to the admin display fields;
Fixes: None;

Extra: None;
2025-07-01 20:31:30 +03:00
ce53eec560 Features: 1) Remove AutocompleteFieldListFilter and related admin filters and templates; 2) Remove associated JavaScript, CSS, and Python logic; 3) Simplify admin configurations by dropping unused autocomplete filters;
Fixes: None;

Extra: 1) Cleanup unused imports and redundant UI files; 2) Minor adjustments to filter handling in `core/admin.py`.
2025-07-01 20:20:50 +03:00
8a07fc69b1 Features: 1) Add AutocompleteFieldListFilter for streamlined admin autocomplete functionality; 2) Provide new template admin/autocomplete_filter.html for enhanced UI display; 3) Introduce optimized Select2-based filtering in autocomplete_filter.js.
Fixes: 1) Replace deprecated `RelatedAutocompleteFilter` with `AutocompleteFieldListFilter`; 2) Fix validation and handling of lookup values for admin filters.

Extra: 1) Update CSS for consistent styling of autocomplete widgets; 2) Remove unused `autocomplete_list_filter` assets and references; 3) Refactor JS for better maintainability and performance improvements.
2025-07-01 20:14:09 +03:00
2bf396c744 Features: 1) Enhance script initialization for Select2 in autocomplete_list_filter.html to improve compatibility.
Fixes: 1) Correct inconsistent spacing in `core/admin.py` field attribute assignments and methods.

Extra: 1) Format HTML and Python code for improved readability; 2) Replace inline script with `DOMContentLoaded` listener for better code structure.
2025-07-01 19:56:40 +03:00
3c9c95d9bd Features: 1) Add support for initializing Select2 dropdowns in autocomplete list filters;
Fixes: 1) Ensure proper functionality of Select2 initialization script for dynamic inputs;

Extra: 1) Add missing newline handling in template file.
2025-07-01 19:38:41 +03:00
d4156f88ab Features: 1) Refactor autocomplete filter template to use {% block %} structure for better modularity; 2) Include {% block media %} for styles and scripts management.
Fixes: 1) Resolve potential redundancy in script and CSS inclusion.

Extra: Simplify and streamline the template by removing inline `<script>` tags and consolidating structure.
2025-07-01 19:28:03 +03:00
b70f5601e7 Fixes: 1) Correct script tag order for Select2 initialization in autocomplete_list_filter.html;
Extra: Ensure dependent scripts are properly loaded to avoid potential issues;
2025-07-01 19:18:52 +03:00
1116d6c602 Features: 1) Add required static asset links for Select2 styles and scripts; 2) Enhance autocomplete list filter with improved styles and functionality;
Fixes: 1) Fix indentation inconsistencies in HTML template;

Extra: 1) Refactor inline script for improved readability;
2025-07-01 19:11:01 +03:00
efcbfea825 Features: 1) Simplify autocomplete list filter by utilizing django.jQuery for bootstrap initialization;
Fixes: 1) Remove redundant external JavaScript includes for autocomplete functionality;

Extra: 1) Add minor formatting tweak by inserting a blank line for improved readability.
2025-07-01 19:04:41 +03:00
9b118aacef Features: 1) Add jQuery and Select2 scripts to autocomplete_list_filter.html;
Fixes: 1) None;

Extra: 1) None;
2025-07-01 18:58:18 +03:00
9f3b202646 Fixes: 1) Add missing "static" library import in autocomplete_list_filter.html;
Extra: Ensure compatibility with static assets in the template.
2025-07-01 18:54:36 +03:00
65beeb2a26 Features: 1) Add custom stylesheet and JavaScript for autocomplete functionality in admin filter template;
Fixes: None;

Extra: 1) Improve HTML indentation for better readability;
2025-07-01 18:51:44 +03:00
9927fe510b Fixes: 1) Ensure field verbose_name is converted to lowercase for consistency;
Extra: Adjusted `field_label` initialization to use `.lower()` method for improved uniformity;
2025-07-01 18:45:33 +03:00
f15897f20d Features: 1) Simplify autocomplete_list_filter.html template by removing unused static assets and unnecessary label tag; 2) Refactor indentation for better readability;
Fixes: None;

Extra: Streamline template code by removing redundant HTML elements and unused script imports;
2025-07-01 18:45:02 +03:00
306f54b4a2 Features: 1) Replace autocomplete input with Select2-based dropdown for enhanced functionality and improved styling; 2) Add support for displaying the initial selection text in the dropdown; 3) Load additional Select2-specific JavaScript and CSS resources dynamically;
Fixes: 1) Correct handling of initial selection when lookup value is invalid or missing;

Extra: 1) Refactor related admin template and Python code to improve readability and maintainability; 2) Align variable names and code style for consistency.
2025-07-01 18:35:01 +03:00
08dc89ef19 Features: 1) Update AutocompleteListFilter to dynamically display field label in placeholder using blocktrans; 2) Enhance choices method with field_label for improved context;
Fixes: 1) Remove redundant jQuery UI script and CSS imports for optimization;

Extra: 1) Minor formatting adjustments for readability; 2) Replace variable `base_url` with `base` for naming consistency; 3) Improve `expected_parameters` method to return list format.
2025-07-01 18:29:25 +03:00
aff9a4cfa7 Fixes: 1) Correct expected_parameters method to use precise query parameter naming with field_path and target_field. 2025-07-01 18:22:02 +03:00
5926ceb8bf Features: 1) Add missing call to super().__init__() in admin field constructor;
Fixes: 1) Correct use of `remote` to `remote_opts` for consistent model metadata reference;

Extra: 1) Improve formatting for better code readability.
2025-07-01 18:16:02 +03:00
83ac6b27e6 Features: 1) Add data-lookup-kwarg to autocomplete input for better filtering; 2) Streamline admin autocomplete URL structure for consistency;
Fixes: 1) Replace outdated jQuery UI paths with modern equivalents; 2) Ensure proper retrieval of JSON responses in autocomplete widget; 3) Correct misaligned parameter initialization in `AdminFilter`;

Extra: Minor formatting improvements and variable renaming for readability.
2025-07-01 18:12:50 +03:00
90c8f87502 Features: 1) Update URL generation logic in admin autocomplete to use _meta for app and model names;
Fixes: 1) Ensure default value for `lookup_val` is an empty string if not provided; 2) Correct `field_name` parameter in the autocomplete URL to use `field_path`;

Extra: 1) Minor cleanup by removing redundant variable declarations.
2025-07-01 18:01:20 +03:00
c5397c6608 Features: 1) Add RelatedAutocompleteFilter for admin filters with autocomplete support; 2) Introduce autocomplete_list_filter.html template for the new filter; 3) Enable dynamic filtering with client-side autocomplete functionality;
Fixes: 1) Add missing imports for `FieldListFilter` and `reverse` in `core/admin.py`;

Extra: 1) Include relevant JS and CSS assets for autocomplete functionality; 2) Add comments and structure for better readability in template and script.
2025-07-01 17:55:24 +03:00
a63aa0371a Features: 1) Remove custom AjaxAutocompleteListFilter and its related widget/templates to streamline admin functionality; 2) Simplify ProductAdmin by using default ModelAdmin.
Fixes: 1) Remove unnecessary imports related to the deleted functionality.

Extra: 1) Extensive cleanup to remove redundant code and references; 2) Minor formatting adjustments for improved readability.
2025-07-01 17:44:20 +03:00
9a31be98ad Fixes: 1) Corrected template path in AjaxAutocompleteListFilter.
Extra: Removed redundant `core/` prefix in the template path.
2025-07-01 17:38:16 +03:00
ac95048488 Fixes: 1) Update incorrect template path in AjaxAutocompleteListFilter. 2025-07-01 17:33:22 +03:00
4102ef990f Features: 1) Simplified paths for autocomplete list filter templates, scripts, and styles;
Fixes: 1) Correct file paths for JavaScript and CSS dependencies in admin filter components;

Extra: Streamlined template and asset references for better maintainability;
2025-07-01 17:29:17 +03:00
a5dea07062 Features: 1) Update template, CSS, and JS paths for autocomplete list filter component;
Fixes: 1) None;

Extra: 1) Adjust references from `djaa_list_filter` to `core/admin` directory for consistency;
2025-07-01 17:20:53 +03:00
1024760c15 Features: 1) Add autocomplete_list_filter support in Admin classes; 2) Introduce SkipVariableDoesNotExistFilter to suppress specific log warnings.
Fixes: 1) Clean up unused imports in `filters.py`.

Extra: 1) Apply consistent string quoting across `admin.py` for formatting standardization; 2) Update logging configuration for `django.template` with new filter.
2025-07-01 16:41:20 +03:00
c5fe0cb6c6 Features: 1) Add AjaxAutocompleteListFilter to enable autocomplete functionality for admin list filters; 2) Introduce AjaxAutocompleteSelectWidget for enhanced UI integration; 3) Update ProductAdmin to use new autocomplete list filter; 4) Add template and styles for AutocompleteListFilter.
Fixes: None;

Extra: Add supporting JS and CSS for autocomplete list filter functionality.
2025-07-01 16:28:07 +03:00