Commit graph

24 commits

Author SHA1 Message Date
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
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
8fb4ca3362 Features: 1) Add type annotations for various models and methods; 2) Introduce refined graphene resolvers to enhance permission handling; 3) Include type checking suppression with # type: ignore for unsupported cases.
Fixes: 1) Correct `urlsafe_base64_encode` decoding logic in tests; 2) Fix queryset access issues in resolvers; 3) Address missing or incorrect imports across multiple files.

Extra: Improve code readability with consistent naming and formatting; Add `# noinspection` annotations to suppress IDE warnings; Update `pyproject.toml` to exclude `drf.py` in MyPy checks.
2025-06-18 16:38:07 +03:00
e39d13f651 Fixes: activate for UserViewSet 2025-06-11 03:02:43 +03:00
1e8d053ab6 Features: 1) OS-specific scripts for deployments.
2) Healthcheck improvements.
Fixes: merge_recently_viewed for UserViewSet
2025-06-11 02:54:46 +03:00
18f3b9d2e8 Features:
1) Userless orders will be merged on user's registration by their phone number and/or email. Added Viewset action "merge_recently_viewed" so recently viewed products may be stored on server's side.
2) Added comprehensive products' filtering by category(support for including subcategories)
Fixes: I18N
2025-06-10 05:40:07 +03:00
d0362fe02f Fixes: UserViewSet.upload_avatar 2025-06-08 14:31:23 +03:00
1a4962e116 Fixes: UserViewSet 2025-06-07 19:52:03 +03:00
3bf0eaeba2 Features: Add order's IDs to TransactionProcessSerializer.
Extra: 1) Minor code improvements.
2025-06-03 21:35:41 +03:00
7b5585ea9f Features: 1) Enforced password validation using Django's validate_password in password reset flows; 2) Added handling for ValidationError during password validation;
Fixes: 1) Removed redundant import for `ValidationError` from `rest_framework.exceptions`; 2) Fixed request data handling in `confirm_password_reset` to directly use incoming data instead of serialized data;

Extra: 1) Minor adjustments to error messages for consistency; 2) Cleaned up unused variables in `confirm_password_reset`.
2025-05-29 22:42:13 +03:00
0db69018e2 Fixes: 1) Correct key used to access password field in compare_digest. 2025-05-29 22:28:58 +03:00
73b1e99dc1 Features: 1) Add response logging of received serializer data in debug mode for enhanced error diagnostics;
Fixes: 1) Resolve inconsistent variable usage in `confirm_password_reset` by replacing `data` with `serializer_data` across the method;

Extra: 1) Minor cleanup for improved clarity and maintainability.
2025-05-29 22:28:36 +03:00
7e40596cb3 Features: 1) Add address_line_1 and address_line_2 fields to Address serializer; 2) Include detailed traceback information in error responses when DEBUG is enabled.
Fixes: 1) Correct mismanagement of instance and serializer in update method of viewset.

Extra: 1) Minor organizational improvement and clearer formatting in views.
2025-05-29 18:08:44 +03:00
e1c7197d49 Features: 1) Add request, *args, and **kwargs parameters to confirm_password_reset method for compatibility.
Fixes: 1) Adjust password reset serializer to use `request.data` instead of `self.request.data`; 2) Remove unnecessary language scoping from category query.

Extra: None;
2025-05-29 14:08:09 +03:00
61287dfd16 Fixes: 1) Correct token decoding in user activation workflow to prevent potential errors;
Extra: None;
2025-05-28 15:30:25 +03:00
7f761f751a Fixes: 1) Correct token decoding in user activation check.
Extra: None.
2025-05-28 15:26:53 +03:00
cf721a50fa Features: 1) Add activation_error variable for enhanced error handling; 2) Raise detailed exception in debug mode during user activation failure;
Fixes: 1) Capture and store specific activation errors for debugging purposes;

Extra: 1) Minor cleanup in exception handling logic;
2025-05-28 15:23:59 +03:00
34616d6cd5 Fixes: 1) Correct query order to call nocache before get in vibes_auth/viewsets.py;
Extra: None;
2025-05-28 15:22:19 +03:00
0d9df63ca7 Features: None;
Fixes: 1) Ensure user retrieval bypasses caching using `.nocache()` method;

Extra: None;
2025-05-28 15:14:43 +03:00
861010ae86 Features: 1) Add detailed error traceback in activation error response;
Fixes: 1) Log complete error traceback for debugging activation failures;

Extra: 1) Minor code adjustments and variable addition for error handling;
2025-05-28 14:59:24 +03:00
8375ef41db Features: 1) Add save method to enforce single pending order per user in Order model;
Fixes: 1) Adjust import order in `core/models.py` for better consistency;

Extra: Refactor formatting for better readability in `core/models.py`; Update `pyproject.toml` version to 2.6.2; Update compiled translation file `cs_CZ/LC_MESSAGES/django.mo`.
2025-05-13 23:02:16 +03:00
68febcdb08 Initial Commit 2025-04-29 22:40:30 +03:00