Commit graph

205 commits

Author SHA1 Message Date
ee25bb67f0 Features: 1) Introduced STOREFRONT_DOMAIN in settings as a replacement for FRONTEND_DOMAIN;
Fixes: 1) Updated email templates to use `STOREFRONT_DOMAIN` instead of `FRONTEND_DOMAIN`; 2) Added a missing import for `settings` in emailing utilities;

Extra: 1) Removed unused configuration keys `FRONTEND_DOMAIN` and `BASE_DOMAIN`; 2) Cleaned up obsolete imports and formatting in serializers; 3) Adjusted environment file generation scripts to use `STOREFRONT_DOMAIN`.
2025-11-11 16:12:48 +03:00
5f9f07d8f4 Features: 1) Replace config.BASE_DOMAIN with settings.BASE_DOMAIN across the codebase; 2) Add support for dynamic STATIC_URL and MEDIA_URL based on initialization state; 3) Introduce INITIALIZED flag to determine application state;
Fixes: 1) Add missing import for `settings` in multiple modules;

Extra: 1) Remove unused `SerializerMethodField` from serializers; 2) Update `RELEASE_DATE` to align with new version; 3) General cleanup and consistency adjustments.
2025-11-11 15:08:44 +03:00
f4c9767585 Features: None;
Fixes: None;

Extra: I18N;
2025-11-10 15:57:15 +03:00
cd2e6c31cf Features: 1) Add WHITENOISE_MANIFEST_STRICT setting with default value set to False;
Fixes: None;

Extra: None;
2025-11-10 12:04:27 +03:00
cd067ee5da Features: 1) Add static files configuration in nginx for cross-origin requests.
Fixes: 1) Update Console styling in 'initialize' command to remove non-standard style notice; 2) Simplify STATIC_URL and MEDIA_URL definitions in settings for uniformity.

Extra: 1) Minor cleanup in static and media path handling; 2) Add new location block in nginx for static files access.
2025-11-10 11:51:34 +03:00
dd2922e3e6 Features: 1) Add logging warning to update_currencies_to_euro for deprecation notice.
Fixes: 1) None.

Extra: 1) Remove deprecated payment gateway configuration settings; 2) Refactor `EXCHANGE_RATE_API_KEY` usage into `COMPANY_CONFIGURATION` group; 3) Add logging import to `currencies.py` module.
2025-11-10 11:37:40 +03:00
4f885f45a8 Features: 1) Rename URL path from vibes_auth to authv for consistency;
Fixes: None;

Extra: None;
2025-11-10 11:12:30 +03:00
3fbe6883c7 2025.4 BETA 2025-11-10 08:36:57 +03:00
c09c0d8753 Features: 1) Update link name to "REST Docs".
Fixes: 1) Remove duplicate and unused "B2B REST Docs" link.

Extra: 1) Minor cleanup in navigation settings.
2025-11-08 06:07:31 +03:00
18e38d1665 Fixes: 1) Update task paths in CELERY_BEAT_SCHEDULE to use engine.core namespace;
Extra: None;
2025-11-08 06:05:11 +03:00
e0ac598bdd Fixes: 1) Correct invalid module paths in AUTH_PASSWORD_VALIDATORS. 2025-11-08 05:20:40 +03:00
5e10f2eac7 Features: 1) Add db_table attribute for vibes_auth_user in authv.models; 2) Enhance DB backup configuration to support sftp and ftp storage in settings.
Fixes: 1) Add missing import for `ImproperlyConfigured` in `base.py`.

Extra: 1) Refactor and relocate DB backup configuration from `dbbackup.py` to `base.py`.
2025-11-08 05:06:58 +03:00
33362d8340 2025.4 PREVIEW 2025-11-08 04:38:09 +03:00
5ae69b5d05 Features: 1) Add module and line number to logging format; 2) Introduce configurable log level based on DEBUG flag for all loggers; 3) Add specific loggers for evibes, blog, core, payments, and vibes_auth modules;
Fixes: 1) Adjust log level declarations for better consistency across handlers;

Extra: 1) Minor formatting improvements in logging configuration for clarity;
2025-11-05 10:18:47 +03:00
a7af054631 Features: 1) Enhance all logger calls to include exc_info for improved error tracing.
Fixes: 1) Correct format strings in `logger` calls to avoid using f-strings and replace with comma-delimited logging arguments; 2) Remove unused imports including `traceback` and `gettext_lazy`.

Extra: Consolidate logging practices across multiple modules for better consistency and maintainability.
2025-11-04 15:41:07 +03:00
e5714519bb Fixes: 1) Remove unused import for EVIBES_VERSION; 2) Correct LOGGING version key to use a static value of 1;
Extra: None;
2025-11-04 14:48:45 +03:00
9898212855 Features: 1) Introduced LoggingError exception for invalid log level handling in log method; 2) Updated logging framework to dynamically initialize loggers using __name__ instead of hardcoded "django".
Fixes: 1) Fixed missing `exc_info` flag in critical and error logs to provide richer error context; 2) Addressed redundant code and unused imports in the logging logic for cleaner execution.

Extra: Refactored `LOGGING` configuration for improved readability and runtime adaptability; optimized related log-handling logic throughout the codebase.
2025-11-04 14:40:50 +03:00
75cc74e592 Features: n/a;
Fixes: n/a;

Extra: 1) Update locale files for Portuguese and French translations; 2) Correct PO creation date for alignment with new translations; 3) Translated strings for transaction view operations (list and retrieve).
2025-10-26 19:27:12 +03:00
fa46e3ad9c Features: 1) Introduced refined formatting for translation files across multiple locales to ensure unified structure and readability; 2) Added a new translatable string under payments/admin.py for enhanced application functionality.
Fixes: 1) Addressed line-break inconsistencies in multi-line strings across various language files to ensure proper display; 2) Fixed minor spacing in `django.po` entries for Italian, Swedish, and Turkish locales.

Extra: Optimized file headers and metadata in all updated locale files by syncing timestamps and project information for uniform tracking.
2025-10-25 20:54:51 +03:00
b815d70d54 Features: 1) Migrate from gunicorn to uvicorn. 2) Add skeleton for chat functionality;
Fixes: None;
Extra: Add missing translations;
2025-10-25 19:36:34 +03:00
d07e724934 Features: 1) Add LogLevel Enum to standardize logging levels; 2) Introduce generalized logging utility in VendorManager with Celery runtime context support; 3) Add support for attribute group warnings using the new logging method;
Fixes: 1) Ensure logging conditions are guarded by proper vendor and attribute checks; 2) Correct `__str__` method fallback logic for `VendorManager`;

Extra: 1) Update dependencies including `docutils` to 0.21.2, `psutil` to 7.1.2, and `pip` to >=25.3; 2) Clean up `pyproject.toml` and `uv.lock` with refined version specifications and added new entries; 3) Refactor import statements and remove redundant code; 4) Upgrade Python version to 3.13 in config.
2025-10-25 15:51:25 +03:00
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
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
e0b2f183ce Features: 1) Extend fieldsets by adding additional_fields support in FieldsetsMixin; 2) Add CRMForm for CustomerRelationshipManagementProviderAdmin; 3) Improve Order.__str__ to use human_readable_id for better debugging context;
Fixes: 1) Replace misplaced imports in `core/admin.py` for proper organization;

Extra: Adjust admin fieldsets for consistency, formatting, and search enhancements; Minor contributions to migration file cleanup.
2025-10-13 16:27:47 +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
dc4da60e82 Features: 1) Add support for multilingual meta descriptions in the post model, covering 30+ locales.
Fixes: None.

Extra: Update `django.po` and `django.mo` localization files to reflect translation changes and model updates.
2025-10-07 15:53:08 +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
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
45e9ffa143 Features: 1) Add FormParser and MultiPartParser to DRF DEFAULT_PARSER_CLASSES;
Fixes: 1) Update variable names in PowerShell script to align with expected environment variable naming convention;

Extra: 1) None;
2025-08-17 18:06: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
e373f28358 Features: 1) Introduced AbsoluteFTPStorage class for path customization in FTP storage; 2) Updated dbbackup settings to use AbsoluteFTPStorage for FTP storage configurations.
Fixes: 1) Corrected `DBBACKUP_PATH` default to ensure proper backup directory structure.

Extra: 1) Minor cleanup in FTP storage configuration handling.
2025-08-05 21:08:32 +03:00
2cbea05ea7 Features: 1) Add dynamic project-based remote_dir path generation for backup storage; 2) Support for EVIBES_PROJECT_NAME environment variable in backup paths;
Fixes: 1) Correct root backup path for `FileSystemStorage`;

Extra: 1) Remove unnecessary blank line; 2) Improve code readability with formatted strings and variable standardization; 3) Minor cleanup of backup storage configurations;
2025-08-05 20:50:21 +03:00
877f71f614 Features: 1) Add support for multiple database backup types (SFTP, FTP) with dynamic configuration;
Fixes: 1) Correct formatting issue in `0036_vendor_b2b_auth_token_vendor_users` migration file;

Extra: 1) Update environment file generation scripts to accommodate new DBBACKUP_TYPE configuration; 2) Add import for `ImproperlyConfigured` in `dbbackup.py`.
2025-08-05 20:40:27 +03:00
f52227973b Features: 1) Add b2b_auth_token and users fields to Vendor model with associated migration; 2) Introduce unique constraint for b2b_auth_token with migration; 3) Enhance VendorAdmin and Vendor model's save method to manage related users and token fields automatically;
Fixes: 1) Adjust `is_business` property logic for accuracy; 2) Fix import cleanup in serializers and utils files;

Extra: Refactor `core.models`, `core.utils`, and `core.vendors` for improved type annotations and other minor adjustments; Expand mypy exclusions in `pyproject.toml`.
2025-07-28 11:56:32 +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
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