Commit graph

163 commits

Author SHA1 Message Date
f25efd5c41 Features: 1) Add import for defaultdict in detail.py.
Fixes: 1) Update `CONSTANCE_CONFIG_FIELDSETS` to use `OrderedDict`.

Extra: 1) Minor formatting adjustment in `constance.py`.
2025-07-18 09:56:30 +03:00
82a11dfc7e Features: 1) Introduced new categorized message sections such as "General Options," "Email Options," "Payment Gateway Options," "Features Options," and "SEO Options"; 2) Simplified TLS/SSL message strings for better clarity.
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.
2025-07-18 08:41:49 +03:00
def1e8129c Features: 1) Update logging level in log configuration to WARNING;
Fixes: None;

Extra: None;
2025-07-18 08:35:15 +03:00
9ec78c3360 Features: 1) Replace dictionary in CONSTANCE_CONFIG with a list for better structure; 2) Switch to gettext_noop for CONSTANCE_CONFIG_FIELDSETS keys instead of _;
Fixes: 1) Remove commented-out Redis backend reference in `CONSTANCE_BACKEND` declaration;

Extra: Simplify and improve readability of code with updated formatting and minor comment adjustments.
2025-07-16 19:33:15 +03:00
1ec8acdf4f Features: 1) Add CONSTANCE_SUPERUSER_ONLY setting allowing non-superusers access to Constance configuration;
Fixes:;

Extra:;
2025-07-16 19:29:06 +03:00
515beef39d Features: 1) Introduce OrderedDict for CONSTANCE_CONFIG for predictable key order; 2) Add CONSTANCE_CONFIG_FIELDSETS for better organization of configuration fields;
Fixes: 1) None;

Extra: 1) Refactor `CONSTANCE_CONFIG` definition for improved readability and structure;
2025-07-16 19:28:00 +03:00
0a2b4b65a0 Features: 1) Prevent duplicate "order finished" emails with added check on system_email_sent attribute; 2) Automatically update system_email_sent attribute after sending order email;
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.
2025-07-16 14:54:33 +03:00
e9d17eddab Features: 1) N/A;
Fixes: 1) Remove obsolete API documentation and translations from locale files;

Extra: Cleared out unused gettext entries, improving locale management.
2025-07-14 18:05:45 +03:00
e49c942a1b Features: 1) Add detailed in-line comments with type ignore for improved debugging and maintainability; 2) Update I18N strings and translation placeholders across locales; 3) Introduce "address set" as a translatable object;
Fixes: 1) Resolve malformed phone number error message format; 2) Fix minor grammatical issues in message strings; 3) Align POT-Creation-Date metadata in locale files;

Extra: Enhance formatting consistency in documentation and translations; Remove obsolete translation strings.
2025-07-14 16:22:19 +03:00
09366213b6 Features: 1) Introduced AddressFilter and AddressType to enable filtering and querying addresses via GraphQL; 2) Added resolve_addresses method with permission check in GraphQL schema; 3) Updated DRF settings to improve API documentation structure.
Fixes: 1) Corrected `apply_addresses` logic to handle address validation more robustly; 2) Fixed incorrect imports and annotations for better type safety; 3) Resolved typos and clarified docstrings for various views and methods.

Extra: Adjusted formatting, added `# type: ignore` for stricter type checks, and removed unused `dist/` directory from `.dockerignore`.
2025-07-12 18:49:25 +03:00
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
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
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
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
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
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
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
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
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
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
455c3d71b3 Revert "Features: 1) Add django-admin-autocomplete-list-filter dependency to manage autocomplete functionality in admin list filters; 2) Enable autocomplete_list_filter for ProductAdmin with fields category, author, and tags."
This reverts commit 283c3232cc.
2025-07-01 16:18:39 +03:00
283c3232cc Features: 1) Add django-admin-autocomplete-list-filter dependency to manage autocomplete functionality in admin list filters; 2) Enable autocomplete_list_filter for ProductAdmin with fields category, author, and tags.
Fixes: None;

Extra: 1) Update `poetry.lock` with `django-admin-autocomplete-list-filter` details; 2) Register `djaa_list_filter` in installed apps.
2025-07-01 16:02:03 +03:00
d0b4706c16 Features: 1) Implement AutocompleteListFilter class enhancing admin filter customization; 2) Add AutocompleteFilterMixin for simplified admin filter inclusion functionality;
Fixes: 1) Remove unused `django-autocompletefilter` package and adjust imports; 2) Clean up related settings and dependency references;

Extra: Minor formatting adjustments in `payments/admin.py`.
2025-07-01 15:06:32 +03:00
86406ac169 Features: 1) Add django-autocompletefilter==0.0.9 and implement in ProductAdmin for improved list filters; 2) Replace dalf with autocompletefilter across project dependencies and admin logic; 3) Update related dependencies including ipython==9.4.0 and drf-spectacular-sidecar==2025.7.1;
Fixes: 1) Remove deprecated `dalf` package from dependencies and configurations;

Extra: Update `poetry.lock` file and related hashes to reflect changes;
2025-07-01 14:50:05 +03:00
9591494fee Features: 1) Add "dalf" package to dependencies for enhancing Django admin list_filter capabilities; 2) Update "notebook" package to version 7.4.4 and adjust its dependencies; 3) Integrate "dalf" filters in admin list_filter configuration;
Fixes: 1) Correct admin list_filter configurations with appropriate DALF fields;

Extra: 1) Update PyCharm project settings to use Google-style docstrings.
2025-06-30 16:59:32 +03:00
83cad6c1cc Features: 1) Update all logger instances across the codebase to use "evibes" instead of "django";
Fixes: 1) None;

Extra: 1) Enhance consistency in logging configuration and improve alignment with project-specific naming conventions.
2025-06-30 01:44:20 +03:00
090e575404 Features: none;
Fixes: none;

Extra: 1) Improve Russian translation in API documentation text for clarity and readability;
2025-06-29 21:31:44 +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