fd97d8a072
Fixes: AddressViewSet
2025-06-12 09:18:20 +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
b4b6c7cacc
Fixes: get_ancestors -> get_descendants
2025-06-10 08:25:40 +03:00
2d1092eb7c
Fixes: get_descendants -> get_ancestors
2025-06-10 08:17:15 +03:00
e7836ebf90
Fixes: add unregistered addresses fix
2025-06-10 06:30:45 +03:00
8a00cd2bff
Features: CategoryTag admin
2025-06-10 06:25:52 +03:00
3b9b69a409
Features:
...
1) CategoryTag migration
2) docker-compose.yml healthchecks
2025-06-10 06:08:50 +03:00
2068ae0add
Features: CategoryTag migration
2025-06-10 05:43:51 +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
e7bf6cf912
Fixes: I18N
2025-06-08 21:54:14 +03:00
62b63a9ed2
Fixes: FeedbackFilter
2025-06-08 21:31:16 +03:00
966111f0b7
Fixes: FeedbackViewSet
2025-06-08 21:21:13 +03:00
22b3b91c2f
Fixes: OrderProductViewSet
2025-06-08 17:36:47 +03:00
fc2d040ae4
Fixes: OrderProductViewSet
2025-06-08 17:33:06 +03:00
e37de78d73
Fixes: ProductViewSet
2025-06-08 17:08:57 +03:00
b413f98d7f
Fixes: ProductViewSet
2025-06-08 17:00:05 +03:00
52b9f5fa35
Fixes: ProductViewSet
2025-06-08 16:57:32 +03:00
afcab65d66
Fixes: ORDER_SCHEMA
2025-06-08 16:44:51 +03:00
7b60cf3d6d
Fixes: ORDER_SCHEMA
2025-06-08 16:42:18 +03:00
e716f88eac
Fixes: AddressManager
2025-06-08 15:57:02 +03:00
705bb79903
Fixes: AddressManager
2025-06-08 15:54:44 +03:00
8d3b0bd67f
Fixes: AddressManager
2025-06-08 15:03:36 +03:00
1ab95e9fd3
Fixes: Add a debugging log for address creation
2025-06-08 14:54:35 +03:00
e775b8233d
Fixes: Add a debugging log for address creation
2025-06-08 14:43:19 +03:00
d2fb042c99
Fixes: DoFeedbackSerializer
2025-06-08 14:24:20 +03:00
7fe3e7de9a
Fixes: DoFeedbackSerializer
2025-06-08 14:21:51 +03:00
4148d9e02c
Features: Added feedbacks support for OrderProducts
2025-06-08 14:18:26 +03:00
b876983ef3
Fixes: EvibesViewSet
2025-06-07 20:56:51 +03:00
73f1bca09c
Fixes: OrderSimpleSerializer
2025-06-07 19:49:48 +03:00
b28a4fffce
Fixes: OrderSimpleSerializer
2025-06-07 19:47:05 +03:00
8360ecdc98
Fixes: OrderSimpleSerializer
2025-06-07 19:41:01 +03:00
6449b25e41
Fixes: OrderSimpleSerializer
2025-06-07 19:33:26 +03:00
17ae42a0b8
Fixes: OrderViewSet fixes
2025-06-07 19:20:51 +03:00
beb1673cbb
Fixes: OrderViewSet fixes
2025-06-07 19:08:04 +03:00
10323a4435
Fixes: OrderViewSet fixes
2025-06-07 18:58:10 +03:00
71dcf8e922
Fixes: OrderViewSet fixes
2025-06-07 18:57:45 +03:00
f6ade70b57
Fixes: OrderViewSet fixes
2025-06-07 18:39:03 +03:00
6c2d452684
Fixes: OrderViewSet fixes
2025-06-07 18:31:27 +03:00
f5a87dac08
Fixes: viewsets.py imports fix
2025-06-07 18:01:56 +03:00
affe75c0af
Fixes: Order model orderproducts operations
2025-06-07 18:00:39 +03:00
578ec96603
Fixes: viewsets.py
2025-06-07 17:58:03 +03:00
bf4e7e8aa5
Fixes: I18N
2025-06-07 17:56:32 +03:00
e76d5c1732
Fixes: __str__ for OrderProduct
2025-06-07 17:49:58 +03:00
1f5481d47b
Fixes: __str__ for Order
2025-06-07 17:39:35 +03:00
39989aa1d4
Fixes: buy_without_registration for Order
2025-06-07 17:33:26 +03:00
10effefff5
Fixes: add_product for Order
2025-06-07 17:27:30 +03:00
2d96ec9637
Fixes: add_product for Order
2025-06-07 17:27:12 +03:00
44e8ad6307
Fixes: add_product for Order
2025-06-07 17:26:41 +03:00
56e33474dc
Fixes: buy_without_registration...
2025-06-07 17:21:15 +03:00
2b181b18cd
Fixes: I18N
2025-06-07 17:15:55 +03:00
a533ed90a2
Fixes: buy_unregistered in Order model fix
2025-06-07 16:51:07 +03:00
2022797834
Fixes: buy_unregistered in Order model fix
2025-06-07 16:44:30 +03:00
9e06fa3419
Fixes: save() method for Order model fix
2025-06-07 16:33:55 +03:00
14fe032722
Fixes: buy_unregistered ratelimiting fix
2025-06-07 16:25:26 +03:00
7c2e2442b9
Fixes: buy for OrderViewSet incorrect arguments fix
2025-06-07 16:14:18 +03:00
6681723fe9
Fixes: buy_unregistered for OrderViewSet META unresolved attribute fix
2025-06-07 16:09:53 +03:00
520b8ee8f7
Fixes: fix incorrect imports
2025-06-05 18:01:00 +03:00
00b8c6c336
Fixes: fix incorrect imports
2025-06-05 17:56:26 +03:00
e8ff6a7f1f
Fixes: fix circular imports in serializers
2025-06-05 17:52:55 +03:00
47a18a005b
Fixes: fix circular imports in serializers
2025-06-05 17:52:21 +03:00
613cbc50e1
Features: Prometheus addons
2025-06-05 16:05:15 +03:00
af61a7ddff
Features: Add fields for addresses and attributes in Order's serializers.
...
Extra: 1) Minor code improvements.
2025-06-04 17:14:30 +03:00
3bf0eaeba2
Features: Add order's IDs to TransactionProcessSerializer.
...
Extra: 1) Minor code improvements.
2025-06-03 21:35:41 +03:00
b71cc2355e
Fixes: 1) Fix OrderViewSet buy action.
...
Extra: 1) Minor code improvements.
2025-06-03 21:20:48 +03:00
18782a8bc0
Features: 1) Add context to serializers in create method of AddressViewSet.
...
Fixes: 1) Correct serialization flow by separating create and output serializers.
Extra: 1) Minor variable renaming for clarity; 2) Improved readability of the `create` method.
2025-06-01 19:58:51 +03:00
194e2bef78
Features: 1) None;
...
Fixes: 1) Remove unused positional arguments from wishlist-related viewset methods; 2) Adjust `create` method to accept only required arguments;
Extra: 1) Minor cleanup for method signatures in `core.viewsets.py`;
2025-06-01 18:57:06 +03:00
8f7eaa794b
Features: 1) Add pagination_class attribute to AddressViewSet for disabling pagination;
...
Fixes: 1) Remove unused `*_args` and `**kwargs` parameters from `current` and `buy_unregistered` methods in `OrderViewSet` and `WishlistViewSet`;
Extra: 1) Minor formatting adjustments for improved readability.
2025-06-01 18:44:00 +03:00
06b890889c
Features: 1) Updated translations for en_US in django.mo file;
...
Fixes: 1) Resolved inconsistencies in localized strings;
Extra: Streamlined formatting and corrected typos in comments.
2025-06-01 18:42:44 +03:00
7cf133dccf
Fixes: 1) Add support for passing additional keyword arguments (**kwargs) to resolve_brands method.
2025-05-30 18:05:43 +03:00
eb59f9c96e
Features: 1) Add "name" to filter_fields in BrandType.
...
Fixes: 1) Simplify resolve_children method in CategoryType by removing unused depth argument.
Extra: 1) Remove redundant depth parameter declaration; 2) General code cleanup in CategoryType.
2025-05-30 17:35:12 +03:00
03c9874f63
Features: 1) Add permission-aware get_queryset method to OrderProductViewSet; 2) Add permission-aware get_queryset method to PromoCodeViewSet;
...
Fixes: None;
Extra: None;
2025-05-29 23:14:32 +03:00
543594c2b8
Features: 1) Add get_queryset method to filter Wishlists by user permission;
...
Fixes: 1) None;
Extra: Update evibes-big-simple.png in documentation;
2025-05-29 23:13:21 +03:00
ac3268748e
Features: 1) Add get_queryset method to filter queries based on user permissions;
...
Fixes: 1) None;
Extra: None;
2025-05-29 23:07:02 +03:00
04656ea223
Features: 1) Add "list" and "retrieve" to USER_SCOPED_ACTIONS; 2) Include new image asset evibes-big-simple.png;
...
Fixes: None;
Extra: 1) Simplify queryset filtering logic for "list" and "retrieve" actions;
2025-05-29 22:56:19 +03:00
86e2d787b1
Features: 1) Limit distinct values to 128 elements when count exceeds threshold; 2) Replace CategoryDetailSerializer with CategorySimpleSerializer in BrandDetailSerializer;
...
Fixes: 1) Add conditional caching based on user permissions;
Extra: 1) Remove redundant condition on distinct values count; 2) Minor readability improvements within detail serializer logic;
2025-05-29 22:23:43 +03:00
f3ebf029ef
Features: 1) Add filter_fields to product tags in graphene object types;
...
Fixes: 1) None;
Extra: 1) None;
2025-05-29 19:18:07 +03:00
baf165ddd7
Features: 1) Add ProductTagType to GraphQL schema with associated queries and resolvers; 2) Register ProductTagViewSet in API URLs and core router; 3) Implement detailed and simple serializers for ProductTag.
...
Fixes: 1) Correct `serializer_class` assignments for `ProductImageViewSet`, `PromoCodeViewSet`, `PromotionViewSet`, `StockViewSet`, and `WishlistViewSet`.
Extra: 1) General code cleanup and reorganization for viewsets.
2025-05-29 18:22:44 +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
7520184e56
Features: 1) Add filter_parent_uuid method in CategoryFilter to handle parent UUID filtering; 2) Expand CategoryFilter fields to include parent_uuid and slug.
...
Fixes: 1) Update `resolve_categories` in schema to include all categories in query.
Extra: 1) Add missing `uuid` import in `filters.py`; 2) Improve handling for null and invalid parent UUID values in `filter_parent_uuid`.
2025-05-29 17:48:19 +03:00
eb48c78b9d
Fixes: 1) Rename id field to uuid in BulkActionOrderProductInput for clarity and consistency;
...
Extra: align field naming with project standards.
2025-05-29 15:54:01 +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
bc12dcf35c
Features: 1) Extend permissions to include user-based scoping for instances and querysets; 2) Enable admin override with appropriate model-level permissions; 3) Refine queryset filtering logic to enforce user ownership rules.
...
Fixes: 1) Address incorrect scoping for user-based permissions; 2) Correct queryset handling for actions like "list" and "retrieve."
Extra: Refactor permission checks for clarity and maintainability; simplify conditional logic in queryset filters.
2025-05-29 13:33:06 +03:00
79c97b7e5a
Features: 1) Add address_line field to Address model for enhanced customer address representation; 2) Extend serializers with address_line_1 and address_line_2 fields; 3) Update address parsing logic to include house number in street and support address_line storage;
...
Fixes: None;
Extra: Refactor address manager to construct `address_line` from parsed data;
2025-05-28 22:07:06 +03:00
09213dd616
Fixes: 1) Correct Nominatim API URL by appending '/search' to avoid endpoint errors.
2025-05-28 19:58:40 +03:00
4e269dc801
Features: 1) Add BulkOrderAction mutation to handle bulk addition/removal of order products; 2) Introduce bulk_add_order_products and bulk_remove_order_products endpoints in viewset; 3) Add BulkAddOrderProductsSerializer and BulkRemoveOrderProductsSerializer.
...
Fixes: 1) Update `remove_product` model method to handle zero quantity removal; 2) Correct permission check in order product removal.
Extra: 1) Add `autocomplete_fields` for products in admin; 2) Enhance docs with bulk add/remove schemas; 3) Various code refactorings and minor tweaks for improved maintainability.
2025-05-28 14:48:16 +03:00
6e5a008802
Features: None;
...
Fixes: None;
Extra: 1) Removed redundant "attribute" filter in AttributeValueAdmin to simplify list filters;
2025-05-28 13:04:33 +03:00
ef5cecedda
Features: 1) Updated localization file for Czech language (cs_CZ) with extended translations and modifications;
...
Fixes: None;
Extra: 1) Binary format changes observed in django.mo file, potentially related to recompiled translations;
2025-05-27 16:00:32 +03:00
3ad079b3d9
Features: 1) Extra password validation;
...
Fixes: 1) ;
Extra: 1) Minor adjustments in binary formatting of the localization file content.
2025-05-27 15:48:40 +03:00
d86a6ed3c8
RUFF
2025-05-26 16:12:59 +03:00
475b0a0c94
Features: 1) Add support for 'create' action with explicit 'ALLOW' flag in AddressViewSet; 2) Introduce refined permission handling with scoped user actions and public model visibility checks in EvibesPermission.
...
Fixes: 1) Ensure 'user' is set to authenticated user in AddressSerializer.create method.
Extra: 1) Refactor EvibesPermission for clarity and comprehensive action handling; 2) Add detailed class-level docstring for EvibesPermission; 3) Simplify queryset filtering logic with USER_SCOPED_ACTIONS and explicit permission checks.
2025-05-26 15:06:24 +03:00
41f8cf55b5
Features: 1) Allow skipping address validation for fully digital products;
...
Fixes: 1) Correct improper logic when checking for missing addresses;
Extra: 1) Minor structural improvement to conditional logic for clarity;
2025-05-22 18:30:24 +03:00
880d7edda9
Features: 1) Add "slug" field to Category model with AutoSlugField for unique slugs; 2) Ensure slugs are populated during migration with robust error handling;
...
Fixes: None;
Extra: 1) Adjust migration order for proper execution;
2025-05-22 14:26:48 +03:00
fefa4746df
Features: 1) Add "autocomplete" action to permissions checks.
...
Fixes: None;
Extra: None;
2025-05-22 00:36:32 +03:00
a8b1925aae
Features: 1) Add query parameters q and limit to address autocomplete schema for enhanced filtering; 2) Update 'create' endpoint schema to use AddressCreateSerializer;
...
Fixes: 1) Replace `AddressAutocompleteInputSerializer` with `AddressCreateSerializer` in imports and references;
Extra: None;
2025-05-21 20:04:12 +03:00
cb66f217ac
Features: ;
...
Fixes: 1) Correct DEEPL_API_URL to use the v2/translate endpoint;
Extra: ;
2025-05-21 15:34:54 +03:00
88133b2f93
Features: 1) Update DeepL API URL to standard endpoint in deepl_translate.py and translate_fields.py;
...
Fixes: 1) None;
Extra: 1) Replaced deprecated API-free URL with standard DeepL API URL for consistency.
2025-05-21 15:31:08 +03:00
797e56a0cd
Features: 1) Add translate_fields management command for field translations via DeepL; 2) Add slug population script in 0022_category_slug migration.
...
Fixes: 1) Update locale codes in `deepl_translate.py` to lowercase for consistency.
Extra: 1) Minor refactoring to ensure compatibility and avoid undefined behavior in slug population logic.
2025-05-21 14:27:38 +03:00
a6bbbc6101
Features: 1) Add CaseInsensitiveListFilter for category_slugs to filter by category slug;
...
Fixes:
Extra:
2025-05-21 12:39:01 +03:00
71cb0fc2db
Features: 1) Add AutoSlugField "slug" to Category model with unique and auto-populating behavior; 2) Include "slug" field in CategoryFilter and relevant serializers (detail and simple); 3) Add "slug" to GraphQL object type for categories;
...
Fixes: None;
Extra: Add migration for new "slug" field in Category model.
2025-05-21 12:37:30 +03:00
6b71695d86
Features: ;
...
Fixes: ;
Extra: 1) Standardize flag file naming convention by renaming files to lowercase locale codes (e.g., ar-AR.png to ar-ar.png).
2025-05-20 22:35:22 +03:00