0153157653
Features: None;
...
Fixes: 1) Correct indentation in multiple modules, including mutations, models, and utility methods to maintain consistency; 2) Fix typos in function parameters and update alignment for readability;
Extra: Refactored for improved code readability and adherence to PEP 8 style guidelines.
2025-06-17 11:34:02 +03:00
484bd95d94
Features: 1) Update category field in product model with additional attributes (help_text, related_name, and verbose_name).
...
Fixes: 1) N/A.
Extra: 1) Add new migration `0025_alter_product_category`.
2025-06-17 11:27:04 +03:00
cf719854e1
Fixes: 1) Correct field from product_set to products in category filtering logic;
...
Extra: None;
2025-06-17 11:25:42 +03:00
0f65111b53
Fixes: 1) Correct iteration over related objects in fix_prices command using .all() instead of direct access;
...
Extra: None;
2025-06-17 11:17:40 +03:00
6ee3870ab0
Features: 1) Add a management command to fix product stock prices; 2) Introduce 'products' field to CategoryType in GraphQL schema to fetch products associated with a category; 3) Enable GraphQL resolvers to utilize type hinting for better clarity.
...
Fixes: 1) Correct multiple unaligned code blocks in various Python scripts and GraphQL resolvers; 2) Improve condition formatting for readability in mutations and queries; 3) Resolve missing related_name in product model.
Extra: Simplify and refactor Windows scripts removing legacy spinner logic for clarity and better user feedback; adjust spacing, comments, and formatting across various files; update imports for unused QuerySet.
2025-06-17 11:13:11 +03:00
f66a6b0cb6
Features: 1) Add whole BooleanFilter to filter whole categories in CategoryFilter.
...
Fixes: None;
Extra: 1) Update `CategoryFilter.Meta.fields` to include `whole`; 2) Add `filter_whole_categories` method for filtering logic.
2025-06-17 09:58:18 +03:00
ddad857015
Features: 1) Implement marketological rounding method to handle psychological pricing; 2) Enhance rounding logic to consider price magnitude using logarithmic calculation;
...
Fixes: None;
Extra: 1) Update import to include `log10` from `math`; 2) Add detailed docstring explaining marketological rounding method logic.
2025-06-17 09:54:03 +03:00
fbdc1bc243
Features: 1) Add CategoryTagType graphene object type with fields and filters; 2) Add tags field to CategoryType for associating category tags; 3) Add category_tags field in schema for querying category tag data.
...
Fixes: None;
Extra: 1) Update imports to include `CategoryTag` and `CategoryTagType`.
2025-06-16 19:23:14 +03:00
fa588b59ae
Features: 1) Add "level" and "order_by" fields to Category filter;
...
Fixes: None;
Extra: None;
2025-06-16 19:03:30 +03:00
5c27c5d5bb
Features: 1) Add level filter to replace children_present in category filtering;
...
Fixes: 1) Remove unused `filter_children_presence` method to clean up filters;
Extra: 1) Update filters documentation and labels for clarity.
2025-06-16 19:03:12 +03:00
3f533bf9d8
Fixes: 1) Remove unnecessary camelize call in parameter handling;
...
Extra: Simplify return statement for improved clarity.
2025-06-16 18:38:10 +03:00
27beac4ab2
Fixes: 1) Remove unnecessary camelize call in parameter handling;
...
Extra: Simplify return statement for improved clarity.
2025-06-16 18:30:24 +03:00
bc4e76edde
Features: 1) Add camelize utility to process cached parameters for consistent response formatting;
...
Fixes: ;
Extra: 1) Modify return statement to utilize camelize function;
2025-06-16 18:25:28 +03:00
916648cf72
Features: 1) Add resolvers for big_logo and small_logo in object_types.py;
...
Fixes: 1) Ensure logo URLs are returned as absolute paths;
Extra: No additional changes.
2025-06-16 18:20:36 +03:00
33e557e693
Features: 1) Add children_present BooleanFilter to CategoryFilter for filtering presence of children;
...
Fixes: None;
Extra: 1) Implement `filter_children_presence` method to support the new filter;
2025-06-16 18:08:31 +03:00
1a36a19662
Features: 1) Add new fields description, big_logo, and small_logo to Brand GraphQL object type;
...
Fixes: None;
Extra: None;
2025-06-16 17:22:07 +03:00
a4e586719c
Features: I18N
2025-06-16 11:07:34 +03:00
7ba9afda6a
Features: 1) Add analytics_data and advertisement_data fields to company configuration in GraphQL schema;
...
Fixes: 1) Correct spelling error in `CONSTANCE` configuration key from `ADVERTISIMENT_DATA` to `ADVERTISEMENT_DATA`;
Extra: 1) Update string translations in `constance.py`.
2025-06-16 10:42:39 +03:00
3ce54ef027
Features: 1) Add optional celery-stubs and django-stubs dependencies to pyproject.toml; 2) Update worker extras to include celery-stubs; 3) Improve URL formatting in digital asset logic.
...
Fixes: 1) Rename `Adress` to `Address` in `core/viewsets.py`; 2) Fix incorrect argument usage in filter methods; 3) Correct file formatting in lockfile.
Extra: Code cleanup for consistent file format in `poetry.lock`, adding comments (`# noqa`) where necessary.
2025-06-16 09:52:35 +03:00
98993a721e
Features: 1) Add validation to ensure category_uuid is present when using include_subcategories flag;
...
Fixes: 1) Add missing import for `BadRequest` from `django.core.exceptions`;
Extra: 1) Update placeholder method `filter_include_flag` with proper implementation;
2025-06-16 09:42:41 +03:00
ea552fc3ba
Features: 1) Add prefetch for "tags" in CategoryViewSet queryset;
...
Fixes: 1) Simplify `CaseInsensitiveListFilter` by removing redundant debug logs;
Extra: 1) Remove unused conditional filtering for parent category in `CategoryViewSet`.
2025-06-16 09:33:56 +03:00
4f010da204
Fixes: 1) Correct redundant filtering in CaseInsensitiveListFilter by returning pre-filtered queryset.
...
Extra: 1) Minor adjustment to debug logging for better clarity.
2025-06-16 09:25:34 +03:00
2eaf3b4267
Fixes: 1) Add debug logging for CaseInsensitiveListFilter query and queryset;
2025-06-16 09:21:06 +03:00
1804d26738
Fixes: CaseInsensitiveListFilter debugs
2025-06-16 09:12:27 +03:00
1134fdf90a
Fixes: CaseInsensitiveListFilter
2025-06-16 09:07:31 +03:00
12971e88e1
Fixes: CategoryAdmin
2025-06-14 09:26:15 +03:00
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