Commit graph

15 commits

Author SHA1 Message Date
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