Commit graph

69 commits

Author SHA1 Message Date
3b7c405e84 Features: 1) Add GatewayForm to manage Gateway model; 2) Enhance GatewayAdmin with list display, search, and ordering; 3) Introduce integration_variables field in the Gateway model; 4) Expand support for currencies with symbols via CURRENCIES_WITH_SYMBOLS;
Fixes: 1) Add missing Gateway import in forms and admin modules; 2) Correct maximum lengths for currency fields in the Gateway model;

Extra: 1) Refactor README for clarity and conciseness; 2) Adjust formatting in `core/sitemaps.py` for readability.
2025-10-21 12:23:02 +03:00
20d5f5db21 Features: 1) Add support for linking Gateway to transactions including constraints and limits; 2) Implement new Gateway model with transactional rules and currency configurations; 3) Add integration_path field to Vendor for dynamic integrations; 4) Improve task logic to dynamically use vendor integrations for stock updates and order statuses.
Fixes: 1) Replace `IntegerField` with `PositiveIntegerField` for product image priority to enforce positive values.

Extra: 1) Optimize imports for consistent formatting; 2) Clarify logging messages in tasks; 3) Minor docstring and help text updates.
2025-10-15 14:25:58 +03:00
6fa037390c Features: 1) Add get_gateways_integrations utility for payment gateway integrations; 2) Add get_vendors_integrations utility for vendor integrations; 3) Add version API endpoint to return eVibes version; 4) Implement __str__ method for AbstractVendor;
Fixes: 1) Update return type of `create_object` to `Any`;

Extra: 1) Remove unused fields (`icon`, `priority`, `hide`) from `blog.apps`; 2) Update API URLs to include `version` endpoint; 3) Miscellaneous cleanup and comments.
2025-10-15 14:25:10 +03:00
72a96edda1 Features: 3.1.0 2025-10-14 16:46:09 +03:00
c8aaae4946 Features: 1) Add last_processing_response field to vendor model with FileField support.
Fixes: 1) Update translation strings for multiple locales to correct formatting issues.

Extra: 1) Update POT creation date across locale files; 2) Minor adjustments to translations for consistency.
2025-10-13 16:11:37 +03:00
9e40323823 Features: 1) Update all locale translations for token-related messages; 2) Update all locale translations with read-only Transaction ViewSet description; 3) Update all locale translations for reset password and token validations;
Fixes: 1) Correct line references in locale files for consistency;

Extra: Improve formatting and alignment of string segments for clarity and maintainability;
2025-10-06 15:58:30 +03:00
e1f9a7cace Features: 1) Update POT-Creation-Date across translation files to reflect the latest changes; 2) Adjust line references in message comments for accurate mappings.
Fixes: 1) Harmonize inconsistent whitespace across translation files.

Extra: Address formatting issues in translation strings for better readability and maintainability.
2025-10-04 01:57:31 +03:00
330177f6e4 Features: 1) Add # noinspection PyUnusedLocal annotations to various viewsets, filters, and migrations to suppress unnecessary warnings; 2) Improve post method in BusinessPurchaseView to handle exceptions and inactive orders gracefully; 3) Refactor resolve_transactions and related resolvers in Graphene to include more specific typing hints; 4) Include defensive coding for attributes in several models to ensure type safety.
Fixes: 1) Correct default manager assignment in `Product` model; 2) Address potential division by zero in `AbsoluteFTPStorage`; 3) Ensure proper exception handling for missing `order` attributes in CRM gateway methods; 4) Rectify inaccurate string formatting for `Transaction` `__str__` method.

Extra: Refactor various minor code style issues, including formatting corrections in the README, alignment in the emailing utility, and suppressed pycharm-specific inspections; clean up unused imports across files; enhance error messaging consistency.
2025-10-01 17:26:07 +03:00
91ed79669b Features: 1) Enhance __str__ in payments.models.Transaction to handle cases where balance is missing.
Fixes: 1) Adjust feedback creation logic in `core.models` to ensure it is only allowed when `order.status` is `FINISHED`.

Extra: 1) Minor formatting adjustment in `payments.models.Transaction` for improved readability.
2025-10-01 16:47:01 +03:00
6f4e952b9b Features: 1) Added new language options to User model's language field in vibes_auth; 2) Introduced localized title and content fields to Post model in blog; 3) Implemented multilingual support for various fields in Attribute, AttributeGroup, AttributeValue, Brand, Category, CategoryTag, and Product models in core;
Fixes: None;

Extra: None;
2025-09-19 17:02:11 +03:00
874fa8a40d Features: 1) Update localized strings for da_DK translations in vibes_auth; 2) Update localized strings for zh_Hans translations in core;
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.
2025-09-15 12:54:46 +03:00
ee6b011da8 Features: 1) 3.0.0 released
Extra: Check out storefront-nuxt branch!
2025-09-13 15:28:59 +03:00
ec147984ab Features: 1) Add sku field to Product model with improvements, including unique constraint and default generation; 2) Implement migration to backfill SKUs for existing products.
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.
2025-09-01 20:50:48 +03:00
ab10a7a0b7 Features: 1) Add SEO meta utilities and builder functions for schemas; 2) Implement SEO-related APIs in viewsets for categories, brands, and products; 3) Add SeoMeta model and serializer to manage SEO metadata.
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.
2025-08-18 14:26:09 +03:00
59870b3bc5 Features: 1) Add logging for transaction processing errors in payments/signals.py; 2) Add return type annotations for core tasks in core/tasks.py;
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`.
2025-08-11 14:05:48 +03:00
decd166126 Features: 1) Replace email templates' header image from favicon.png to logo.png; 2) Add Django facet configuration in .idea/evibes.iml;
Fixes: 1) Correct iml file structure for better compatibility;

Extra: Update `.idea/evibes.iml` to include Django-specific settings for project consistency;
2025-07-23 07:39:24 +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
3427c6ad22 Features: 1) Add validation for empty attributes in Order model; 2) Introduce final_amount retrieval for streamlined promocode application.
Fixes: 1) Update `logger.debug` call to improve readability; 2) Correct `promocode` key to `promocode_uuid` in order attributes dictionary to ensure consistent naming.

Extra: 1) Minor cleanup and code comments in `Order` processing logic.
2025-07-08 14:56:38 +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
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
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
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
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
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
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
19c0ca377a Features: 1) Add ActivationActionsMixin functionality to admin classes for streamlined activation/deactivation actions; 2) Utilize @register decorator for model admin classes across apps for cleaner registration.
Fixes: 1) Correct use of `@action` decorator within `ActivationActionsMixin` for defining admin actions; 2) Remove unused `BasicModelAdmin` inheritance from multiple admin classes.

Extra: Refactor and simplify admin imports and site registration for better readability and maintainability.
2025-07-01 13:43:14 +03:00
4efaeaea8f Features: 1) Add match-case logic for selecting gateway in process_transaction_changes.
Fixes: None.

Extra: 1) Minor adjustment to default `AbstractGateway` instantiation.
2025-06-30 18:51:49 +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
b040da6e5a Fixes: 1) Update logger initialization to use "django" logger across all modules for consistency;
Extra: None;
2025-06-30 01:37:38 +03:00
bc36db57e1 Features: 1) Add type annotations to methods in payments serializers for enhanced type safety;
Fixes: 1) Correct unnecessary use of `Collection` type hint in core and simple serializers; 2) Fix translation of "blacklisted tokens" in Russian localization;

Extra: 1) Simplify conditional logic in `get_children` methods across serializers; 2) Remove unused imports and improve code readability.
2025-06-29 21:30:17 +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
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
d3dbbcb242 Features: 1) Update Russian translation for "balances" in payments/locale/ru_RU/LC_MESSAGES/django.po; 2) Enable UI builder in Jazzmin settings; 3) Add "uuid" to readonly_fields in both blog/admin.py and core/admin.py;
Fixes: 1) Correct Russian translation for "balances" in locale files; 2) Fix mismatch in Jazzmin `site_brand` configuration to use project name;

Extra: Refactor locale files, add missing translation updates, and adjust formatting;
2025-06-29 18:50:33 +03:00
58b227c2d6 Features: 1) Update project version to 2.8.10 in pyproject.toml and translation files;
Fixes: 1) None;

Extra: 1) Update translation metadata across multiple locales.
2025-06-22 20:45:26 +03:00
0e9f16d7d0 Features: 1) Add condition to check notify flag before sending balance deposit email;
Fixes: 1) Ensure emails are only sent when notification flag is enabled;

Extra: None;
2025-06-22 20:29:53 +03:00
d1f385e387 Features: 1) Use AbstractGateway for processing transactions in signals;
Fixes: 1) Add missing import for `AbstractGateway` in `signals.py`;

Extra: n/a;
2025-06-22 20:27:10 +03:00
489ceeaa2a Features: 1) Add AbstractGateway base class with process_transaction and process_callback methods.
Fixes: 1) Correct gateway status handling logic in `payments/signals.py`.

Extra: 1) Remove redundant condition checks in `payments/signals.py`.
2025-06-22 20:26:51 +03:00
b92e7e28f1 Features: 1) Add new email content translations for ru_RU, zh_Hans, and ro_RO locales; 2) Update "balance deposit" and general email-related translations across multiple languages;
Fixes: 1) Correct inconsistent formatting in translation strings; 2) Fix placeholders in email templates for better accuracy;

Extra: Update `.gitignore` to include `.env` file exclusion.
2025-06-22 20:18:19 +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
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
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
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