Commit graph

1097 commits

Author SHA1 Message Date
3c21f9f386 Fixes: tryout without command code aligning 2025-06-05 17:45:15 +03:00
fb61383b2d Fixes: try without prometheus backends 2025-06-05 17:28:56 +03:00
cbdb6fe845 Fixes: set sentry's debug to false to streamline logs 2025-06-05 16:52:46 +03:00
572e6a7e9c Fixes: django_prometheus.cache.backends.redis.RedisCache 2025-06-05 16:35:53 +03:00
89b5a757df Fixes: poetry.lock update 2025-06-05 16:08:48 +03:00
613cbc50e1 Features: Prometheus addons 2025-06-05 16:05:15 +03:00
e800bbab15 Features: Prometheus addons 2025-06-05 16:02:32 +03:00
4163606f0c Features: Prometheus password protection #2 2025-06-05 15:39:48 +03:00
30ac2ce0e5 Features: Prometheus password protection 2025-06-05 15:34:59 +03:00
a2d38cbdfb Features: Prometheus added 2025-06-05 15:16:59 +03:00
0b68dea7d3 Extra: restore to Vue 2025-06-04 20:32:34 +03:00
11d6534a40 Extra: 1) Remove separate .gitignore. 2025-06-04 17:19:32 +03:00
70594a891e Merge branch 'storefront'
# Conflicts:
#	storefront/package-lock.json
#	storefront/package.json
#	storefront/public/favicon.ico
#	storefront/src/App.vue
#	storefront/src/apollo/index.js
#	storefront/src/components/base/header/base-header-search.vue
#	storefront/src/components/base/header/base-header.vue
#	storefront/src/components/forms/deposit-form.vue
#	storefront/src/components/forms/login-form.vue
#	storefront/src/components/forms/new-password-form.vue
#	storefront/src/components/forms/register-form.vue
#	storefront/src/components/forms/reset-password-form.vue
#	storefront/src/components/forms/update-form.vue
#	storefront/src/components/home/home-hero.vue
#	storefront/src/components/ui/ui-button.vue
#	storefront/src/components/ui/ui-checkbox.vue
#	storefront/src/components/ui/ui-input.vue
#	storefront/src/components/ui/ui-language-switcher.vue
#	storefront/src/composables/auth/useLogin.js
#	storefront/src/composables/auth/useLogout.js
#	storefront/src/composables/auth/useRefresh.js
#	storefront/src/composables/categories/useCategorybySlug.js
#	storefront/src/composables/languages/useLanguageSwitch.js
#	storefront/src/composables/languages/useLanguages.js
#	storefront/src/composables/products/index.js
#	storefront/src/composables/products/useProducts.js
#	storefront/src/composables/search/useSearch.js
#	storefront/src/composables/search/useSearchUi.js
#	storefront/src/composables/user/useUserUpdating.js
#	storefront/src/config/index.js
#	storefront/src/locales/de-de.json
#	storefront/src/main.js
#	storefront/src/pages/home-page.vue
#	storefront/src/pages/product-page.vue
#	storefront/src/pages/store-page.vue
#	storefront/src/router/index.js
#	storefront/src/stores/languages.js
#	storefront/src/stores/user.js
2025-06-04 17:17:29 +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
e0eaf55d73 Fixes: Added more Vue integrations for Astro; 2025-06-04 11:59:03 +03:00
7b533ffa74 Merge branch 'main' into storefront-astro-vue 2025-06-04 11:52:29 +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
7d154f9302 Features: 1) Simplify layout hydration using client:only="vue" for Vue components;
Fixes: None;

Extra: 1) Remove unused composables and their function calls to streamline default layout; 2) Minor cleanup including unnecessary newline removal in plugins entry file;
2025-06-02 13:08:27 +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
a90498a94a Features: 1) Add .gitkeep files for payments/static and blog/static directories to track empty folders;
Fixes: 1) Update `.dockerignore` to include exceptions for static directories under `core`, `blog`, `vibes_auth`, and `payments`;

Extra: 1) Adjust `.dockerignore` formatting by adding a newline at the end and ignoring `scripts` directory.
2025-06-01 18:50:37 +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
0d7e5edc41 Features: 1) Add code ownership for .mjs, .cjs, and .astro files to SaVBaD.
Fixes: None;

Extra: None;
2025-06-01 18:32:07 +03:00
6894015954 Features: 1) Add astro-eslint-parser as a new devDependency;
Fixes:

Extra: 1) Refactor ESLint configuration to simplify overrides with modular imports for Astro and Vue; 2) Format ESLint config for consistency.
2025-06-01 18:25:27 +03:00
587c7d3428 Features: 1) Add ESLint dependencies for Vue and Astro projects, including eslint-plugin-astro and eslint-plugin-vue;
Fixes: None;

Extra: 1) Update `package-lock.json` with multiple development-related dependencies, including `vue-eslint-parser` and packages for TypeScript compatibility;
2025-06-01 18:10:45 +03:00
fd8774b817 Features: 1) Add Pinia stores for language, company, and cart management; 2) Implement new i18n plugin with dynamic locale detection and improved setup; 3) Enhance routing logic with locale-aware redirects;
Fixes: 1) Replace usage of `vue-router` with `window.location.href` for redirects across multiple composables; 2) Ensure proper locale switching in authentication flows;

Extra: 1) Update `package-lock.json` with dependencies for Apollo, Vue I18n, and styling; 2) Remove unused `i18n.config.js` to streamline i18n setup; 3) General composables refactoring to improve code maintainability;
2025-06-01 16:52:36 +03:00
8a8a1605ea Features: 1) Add Apollo Client integration with support for locale-based headers; 2) Add Czech and German locale files; 3) Add Source Code Pro Bold font;
Fixes: None;

Extra: None;
2025-05-31 18:24:02 +03:00
dbdf20b1b1 Features: 1) Add package-lock.json for dependency management with initial packages including Astro and Vue;
Fixes: None;

Extra: None;
2025-05-31 18:17:58 +03:00
9129211f76 Features: Empty out storefront 2025-05-31 17:59:42 +03:00
2d363e1740 Features: 1) Introduce new components including ui-counter, ui-link, base-auth, and base-header-catalogue with scoped styles; 2) Add useProductTags composable and integrate GraphQL queries for product tagging; 3) Build standalone pages for cart and wishlist with basic templates; 4) Integrate vue3-marquee-slider, swiper, and primeicons dependencies for enhanced UI interactions; 5) Add skeleton loaders for language switcher and counter components; 6) Localize the app with support for it-it, de-de, ja-jp, da-dk, fr-fr, and nl-nl locales;
Fixes: 1) Refactor `useProducts` and `useCategorybySlug` composables for improved error handling and lazy loading; 2) Correct import path in `product-page.vue` for `useProductBySlug`; 3) Update `useLanguages` composable to set current locale from local storage; 4) Remove unused `auth.js`, `base-header.vue`, and deprecated GraphQL fragments;

Extra: Minor styling adjustments and removal of redundant console logs; Updated `package-lock.json` dependencies for version consistency.
2025-05-31 17:43:33 +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
9220de5e63 Merge branch 'refs/heads/main' into storefront 2025-05-29 23:08:19 +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
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
d3e9775d54 Features: None;
Fixes: None;

Extra: 1) Bump version to 2.7.1 in pyproject.toml and settings/base.py.
2025-05-29 22:24:21 +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