Commit graph

795 commits

Author SHA1 Message Date
8eae18f099 Fixes: 1) Correct conditional check for error types in middleware logging.
Extra: Refactor exception handling for improved clarity and robustness.
2025-07-07 19:14:31 +03:00
a562591900 Features: 1) Introduced distinct warning and error logging for specific exceptions in GraphQL middleware; 2) Added new exception types for enhanced validation handling.
Fixes: 1) Corrected indentation inconsistency in delete_never_ordered_products command; 2) Fixed improper formatting of log handler configurations.

Extra: Adjusted logging to conform to best practices; amended middleware exception handling logic to improve code readability.
2025-07-07 19:12:43 +03:00
4ef06dd971 Features: 1) Add logging configuration for Gunicorn access and error logs;
Fixes: None;

Extra: None;
2025-07-07 18:30:52 +03:00
d8d4c07e80 Fixes: 1) Add missing Any import to typing. 2025-07-06 23:53:58 +03:00
1ace97c233 Features: 1) Add support for optional billing_address_uuid and shipping_address_uuid in apply_addresses; 2) Introduce chosen_products parameter in the buy method for customized order creation;
Fixes: 1) Correct type annotations in `buy` and `bulk_add_products` methods for improved type safety;

Extra: 1) Refactor `buy` method for enhanced readability and maintainability; 2) Update usage of `self` to `order` for clarity in dynamic order creation scenarios.
2025-07-06 23:53:46 +03:00
34f25052e0 Features: 1) Update type annotations in resolver methods for clarity and type safety;
Fixes: 1) Ensure accurate return types in resolver methods to avoid potential runtime issues;

Extra: 1) Minor code consistency improvements in `object_types.py`;
2025-07-06 23:34:43 +03:00
07aadb5d83 Features: 1) Add type hinting to resolver methods in Order; 2) Improve resolve_payments_transactions to handle QuerySet access.
Fixes: 1) Add missing `QuerySet` import in `graphene/object_types.py`.

Extra: 1) Minor refactoring for clarity in resolver method definitions.
2025-07-06 23:34:16 +03:00
ea236743ae Features: 1) Switch transaction signal from pre_save to post_save for processing changes; 2) Add created parameter handling for improved transaction processing logic;
Fixes: 1) Remove unused `pre_save` signal import;

Extra: 1) Update conditional logic for `process_transaction_changes` to improve clarity and error handling; 2) Minor formatting adjustments.
2025-07-06 23:30:06 +03:00
220e50c01b Features: 1) Restructure transaction processing to handle unsaved instances using pk check; 2) Instantiate AbstractGateway to prevent potential shared reference issues;
Fixes: 1) Correct logic to properly detect new transactions for processing;

Extra: 1) Minor code tidy-up with consistent case handling;
2025-07-06 23:17:23 +03:00
761fecf67f Features: 1) Add useWishlistOverwrite composable for wishlist mutations, including adding, removing, and bulk actions; 2) Introduce new localized UI texts for cart and wishlist operations; 3) Enhance filtering logic with parseAttributesString and route query synchronization;
Fixes: 1) Replace `ElNotification` calls with `useNotification` utility across all authentication and user-related composables; 2) Add missing semicolons in multiple index exports and styled components; 3) Resolve issues with reactivity in `useStore` composable by renaming and restructuring product variables;

Extra: 1) Refactor localized strings and translations for better readability and maintenance; 2) Tweak styles including scoped styles, z-index adjustments, and SCSS mixins; 3) Remove unused components and imports to streamline storefront layout.
2025-07-06 19:49:26 +03:00
4ed76b85de Features: 1) Add pre_save signal handling for Transaction model; 2) Enhance error status handling within process_transaction_changes.
Fixes: 1) Correct type conversion for process status to a string for consistency.

Extra: 1) Adjust signal usage from post_save to pre_save for improved transaction handling.
2025-07-06 19:21:15 +03:00
8ed5bc4c17 Features: 1) Add "modified" and "created" fields to TransactionAdmin list display;
Fixes: 1) Rearrange order of fields in list display to improve clarity;

Extra: 1) No additional changes.
2025-07-06 17:53:58 +03:00
0915cfd610 Features: 1) Add require_debug_false and require_debug_true filters to log configuration;
Fixes: None;

Extra: None;
2025-07-06 17:27:15 +03:00
af127045ae Features: None;
Fixes: 1) Update logging configuration to align all logger instances to use "django" instead of "evibes"; 2) Remove unused logging configuration for "django.request";

Extra: 1) Add detailed error logging in GraphQL execution to include exception messages.
2025-07-06 17:22:14 +03:00
bb82f10cd6 Features: 1) Add mail_admins logging handler for error notifications; 2) Introduce django.server logger configuration with INFO level;
Fixes: 1) Streamline logger handlers by replacing specific debug/production configuration with unified `console` handler; 2) Update template logger level to ERROR in production settings;

Extra: Removed unused `console_debug` and `console_production` handlers for cleaner configuration;
2025-07-06 17:18:53 +03:00
5522e494c4 Fixes: 1) Correct import path for DEBUG, EVIBES_VERSION, and SECRET_KEY in drf.py;
Extra: N/A;
2025-07-06 17:06:56 +03:00
adfffee0a3 Features: 1) Update all log handlers to dynamically switch based on DEBUG setting; 2) Introduce improved middleware logging configuration.
Fixes: 1) Remove unnecessary wildcard imports in settings files; 2) Add missing imports for `getenv`, `DEBUG`, and other constants; 3) Fix logger usage in middleware to align with `django.request`.

Extra: 1) Refactor settings files for readability and consistency; 2) Remove outdated `noqa` comments; 3) Minor formatting adjustments.
2025-07-06 16:58:43 +03:00
41dd02147c Fixes: 1) Ensure Wishlist object query includes user constraint to prevent unauthorized access;
Extra: None;
2025-07-06 16:25:28 +03:00
d3dd23d99f Features: 1) Add chunk size argument for deleting never ordered products;
Fixes: 1) Improve error handling with detailed exception logging during deletion;

Extra: 1) Replace hardcoded chunk size with a dynamic option; 2) Enhance log output for better debugging.
2025-07-05 02:47:35 +03:00
db0d64bfd2 Features: 1) Add exception handling to product deletion process in delete_never_ordered_products command;
Fixes: 1) Ensure command continues execution if an error occurs in batch deletion;
Extra: 1) Minor formatting adjustment by removing an unnecessary blank line.
2025-07-05 02:44:27 +03:00
8f5fd2582c Features: 1) Add deletion of related AttributeValue and ProductImage records when deleting never ordered products.
Fixes: None;

Extra: Remove redundant blank line for cleanup.
2025-07-05 01:48:58 +03:00
bf1668b35b Features: 1) Add BulkWishlistAction mutation to perform batch actions on wishlist products; 2) Add FeedbackProductAction mutation to manage feedback for order products.
Fixes: None;

Extra: Update locale files to `EVIBES 2.9.2`; add missing imports to `mutations.py`.
2025-07-05 00:55:27 +03:00
da4b4f6d68 Fixes: 1) Remove unused sysctl configuration for tcp_keepalive_time in Redis service;
Extra: Cleanup `docker-compose.yml` by simplifying Redis health check setup.
2025-07-04 13:00:40 +03:00
42657209f8 Fixes: 1) Remove unused Celery health check dependency.
Extra: Simplify health check configuration by cleaning up unused import.
2025-07-04 07:12:41 +03:00
9b8b54d53b Features: 1) Add configuration for Celery health check timeouts (HEALTHCHECK_CELERY_RESULT_TIMEOUT and HEALTHCHECK_CELERY_QUEUE_TIMEOUT);
Fixes: None;

Extra: None;
2025-07-04 07:07:34 +03:00
d73215ca3a Features: 1) Add REDIS_URL configuration with dynamic password support;
Fixes: 1) None;

Extra: 1) None;
2025-07-04 07:00:13 +03:00
fbfc432dfd Features: 1) Add additional health check integrations for Celery, Celery Ping, Redis, and Mail in evibes/settings/base.py;
Fixes: None;

Extra: None;
2025-07-04 06:50:06 +03:00
602a59bd84 Features: 1) Add exit condition checks for $LASTEXITCODE in various PowerShell scripts to ensure graceful error handling; 2) Enhance schema filtering with additional condition for active vendors in graphene/schema.py;
Fixes: 1) Remove unused imports in `celery.py`;

Extra: Refactor formatting and improve code readability in PowerShell scripts.
2025-07-04 03:00:51 +03:00
2eede833ef Features: 1) Update POT-Creation-Date for multiple locale files; 2) Adjust message references in blog models translations; 3) Update email template line references in payments app;
Fixes: 1) Correct offsets for translations in payments admin and models;

Extra: Align translation files across multiple languages.
2025-07-03 18:38:15 +03:00
118882ac1b Features: 1) Add new make-messages.ps1 and compile-messages.ps1 scripts for Windows localization workflow; 2) Update Docker ENTRYPOINT scripts to use bash for app, worker, stock_updater, and beat containers; 3) Bump project version to 2.9.1 in pyproject.toml and settings;
Fixes: 1) Ensure `install.ps1` handles non-zero exit codes gracefully; 2) Remove redundant `vm.overcommit_memory` Docker sysctl setting; 3) Add explicit exit command to `starter.ps1` for clean terminations;

Extra: Minor formatting and consistency improvements across ENTRYPOINT scripts;
2025-07-03 18:33:37 +03:00
f37206ed4e Features: 1) Add Redis sysctl configurations to docker-compose.yml; 2) Introduce broker heartbeat and transport options for Celery in settings/celery.py.
Fixes: 1) Extract and centralize broker transport options in `settings/celery.py`; 2) Remove redundant Celery settings from `celery.py`.

Extra: 1) Cleanup and streamline Celery configuration in `celery.py`.
2025-07-03 17:14:22 +03:00
29005527bb Features: 1) RUFFVCKED 2025-07-03 15:00:18 +03:00
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