Commit Graph

65 Commits

Author SHA1 Message Date
masoodafar-web a420c51b47 fix: Add null check for Description field in Create and Update Discount Category command validators
Build and Deploy / build (push) Successful in 2m17s
2026-01-05 22:57:09 +03:30
masoodafar-web de412dd9e5 fix: Handle null values in response categories and map properties correctly in GetDiscountCategoriesQueryHandler
Build and Deploy / build (push) Successful in 1m52s
2026-01-05 02:14:45 +03:30
masoodafar-web f627cbf46a fix: Handle null response metadata and models in GetDiscountProductsQueryHandler
Build and Deploy / build (push) Successful in 2m2s
2026-01-05 02:07:16 +03:30
masoodafar-web 23b7b15a66 fix: Ensure ShortInformation and FullInformation default to empty string in Create and Update Discount Product commands
Build and Deploy / build (push) Successful in 1m59s
2026-01-05 01:33:50 +03:30
masoodafar-web 0307d0655f refactor: Remove NotEmpty validation for ShortInformation and FullInformation in discount product validators
Build and Deploy / build (push) Successful in 1m52s
2026-01-05 01:29:40 +03:30
masoodafar-web 1dbe81faaa refactor: Remove InitialCount and RemainingCount properties from discount product commands
Build and Deploy / build (push) Successful in 1m53s
2026-01-04 23:51:47 +03:30
masoodafar-web f027fd0b06 Refactor inventory commands and queries for improved clarity and consistency
Build and Deploy / build (push) Failing after 2m12s
- Updated ProductType enum values to be more descriptive (RegularProduct, DiscountProduct).
- Removed unnecessary Success and Message properties from response DTOs in AddStock and AdjustStock commands.
- Renamed Note property to Reason in AdjustStock and RecordLoss commands, and added ReferenceNumber.
- Changed InventoryItemId to Id in UpdateInventorySettingsCommand for consistency.
- Updated pagination properties in various queries (PageIndex to Page).
- Enhanced GetAllInventoryItemsQuery and GetLowStockItemsQuery to include sorting options.
- Updated InventoryProfile mappings to reflect changes in DTOs and Protobuf definitions.
- Adjusted Protobuf definitions to align with new property names and structures.
2026-01-03 15:38:22 +03:30
masoodafar-web 989f4a799a fix: specify full namespace for GetAllWarehousesRequest in GetAllWarehousesQueryHandler
Build and Deploy / build (push) Successful in 1m45s
2026-01-03 08:19:01 +03:30
masoodafar-web f6f943947c feat: Implement Inventory Management Commands and Queries
Build and Deploy / build (push) Successful in 1m46s
- Added CreateWarehouseCommand and CreateWarehouseCommandHandler for warehouse creation.
- Introduced RecordLossCommand and RecordLossCommandHandler to handle stock loss recording.
- Created UpdateInventorySettingsCommand and its handler for updating inventory settings.
- Implemented GetAllInventoryItemsQuery and its handler to retrieve inventory items with pagination.
- Added GetAllWarehousesQuery and handler for fetching all warehouses.
- Developed GetLowStockItemsQuery and handler to get items below a specified stock threshold.
- Implemented GetStockMovementsQuery and handler for retrieving stock movement records.
- Created mappings for inventory-related requests and responses in InventoryProfile.
- Developed InventoryService to handle gRPC requests for inventory operations.
- Added Protobuf definitions for inventory management services and messages.
2026-01-03 07:37:32 +03:30
masoodafar-web 0c63b3c83c feat: add ImagePath and ImageDocumentId to ManualPaymentModel and update related query handler
Build and Deploy / build (push) Successful in 1m47s
2026-01-02 02:37:10 +03:30
masoodafar-web 36b30e37b8 feat: enhance CreateManualPayment command with image document ID and update protobuf definitions
Build and Deploy / build (push) Successful in 1m50s
2026-01-02 02:13:51 +03:30
masoodafar-web 31df6d843a feat: add FileUploadDto and image file handling to CreateManualPayment command and protobuf definitions
Build and Deploy / build (push) Successful in 2m23s
2026-01-02 01:19:11 +03:30
masoodafar-web 441098a80b feat: add ImagePath property to CreateManualPayment command and update related protobuf definitions
Build and Deploy / build (push) Successful in 2m22s
2026-01-02 00:45:53 +03:30
masoodafar-web d0224d41b2 feat: Implement Discount Sales Report Query and Handler
Build and Deploy / build (push) Successful in 2m33s
- Added GetDiscountSalesReportQuery and GetDiscountSalesReportQueryHandler to fetch discount sales reports.
- Introduced DiscountSalesReportDto, SalesSummaryDto, and PeriodSalesDto for structured report data.

feat: Add Discount Product Image Management

- Created AddDiscountProductImageCommand and AddDiscountProductImageCommandHandler for image uploads.
- Implemented DeleteDiscountProductImageCommand and DeleteDiscountProductImageCommandHandler for image deletion.
- Added ReorderDiscountProductImagesCommand and ReorderDiscountProductImagesCommandHandler for image reordering.
- Developed UpdateDiscountProductImageCommand and UpdateDiscountProductImageCommandHandler for image updates.

feat: Enhance Product Tag Management

- Introduced DeleteProductTagCommand and DeleteProductTagCommandHandler for tag deletion.
- Added UpdateProductTagCommand and UpdateProductTagCommandHandler for updating product tags.
- Implemented GetAllProductTagsQuery and GetAllProductTagsQueryHandler for fetching all product tags.
- Created GetProductTagQuery and GetProductTagQueryHandler for retrieving specific product tags.

feat: Develop Web API Services for Discount and Product Management

- Implemented DiscountCategoryService for managing discount categories.
- Created DiscountOrderService for handling discount orders and related queries.
- Developed DiscountProductService for managing discount products and their images.
- Added DiscountShoppingCartService for managing shopping cart operations.
- Implemented ProductTagService for managing product tags and their associations.
- Created TagService for managing tags and their related operations.
2026-01-01 02:26:51 +03:30
masoodafar-web 721207f6a0 feat: update GetUserWeeklyBalances response structure and mappings
Build and Deploy / build (push) Successful in 1m47s
Build and Deploy to Production / build-and-deploy (push) Successful in 2m22s
2025-12-27 22:10:30 +03:30
masoodafar-web ce7683c736 feat: enhance GetWithdrawalRequests response structure and update related mappings
Build and Deploy / build (push) Failing after 1m11s
2025-12-27 21:52:50 +03:30
masoodafar-web c7fc30c83e feat: update Foursat.CMSMicroservice.Protobuf package version and add mapping for GetAllWeeklyPoolsResponse
Build and Deploy / build (push) Successful in 1m48s
2025-12-26 09:44:58 +03:30
masoodafar-web 6bc45e4486 feat(bff): Add App Version management endpoints
Build and Deploy to Production / build-and-deploy (push) Successful in 1m47s
- Add appversion.proto with GetAll, Get, Update RPCs
- Add GetAllAppVersionsQuery and handler
- Add UpdateAppVersionCommand and handler
- Add AppVersionService gRPC service
- Add AppVersionProfile for Mapster mappings
- Update IApplicationContractContext with AppVersions client
- Bump Configuration.Protobuf to 1.0.20
2025-12-26 06:07:24 +03:30
masoodafar-web f234af49e0 feat: update protobuf versions and enhance club membership and commission queries
Build and Deploy / build (push) Successful in 1m41s
2025-12-20 03:16:36 +03:30
masoodafar-web 6b72e88780 feat: add club activation fields to network membership
Build and Deploy / build (push) Successful in 2m14s
2025-12-14 04:15:22 +03:30
masoodafar-web 4cffed9ce8 fix: update payout mapping and protobuf version
Build and Deploy / build (push) Successful in 2m4s
2025-12-14 02:06:17 +03:30
masoodafar-web c043a640b0 fix: update default Created date to DateTime.Now in payout mapping
Build and Deploy / build (push) Successful in 2m22s
2025-12-14 01:37:35 +03:30
masoodafar-web de0daa5f61 fix: update commission payout mapping and handle null Created date
Build and Deploy / build (push) Successful in 2m30s
2025-12-14 01:28:46 +03:30
masoodafar-web c6abee2650 feat: add manual membership payment and update commission queries
Build and Deploy / build (push) Successful in 2m29s
2025-12-12 10:23:52 +03:30
masoodafar-web 19a717fc87 feat: expand network membership response with additional fields
Build and Deploy / build (push) Successful in 2m12s
2025-12-12 07:52:55 +03:30
masoodafar-web fe56b8f139 feat: add GetAvailableWeeks query and update protobuf imports
Build and Deploy / build (push) Successful in 2m18s
2025-12-12 05:57:32 +03:30
masoodafar-web ce3b5db822 feat: add Mapster profiles and enable DiscountOrder handlers
Build and Deploy / build (push) Successful in 2m14s
2025-12-08 21:10:21 +03:30
masoodafar-web ca28678e8f refactor: update protobuf imports and add HTTP annotations 2025-12-08 04:43:03 +03:30
masoodafar-web fd3c17ac23 refactor: update protobuf imports from BFF to CMS
Build and Deploy / build (push) Successful in 2m18s
2025-12-08 01:37:35 +03:30
masoodafar-web 668ba449f1 refactor: update NetworkMembership protobuf import path
Build and Deploy / build (push) Failing after 1m53s
2025-12-08 01:24:37 +03:30
masoodafar-web 5a6dba445b refactor: rename SuperAdmin role to Administrator
Build and Deploy / build (push) Successful in 2m24s
2025-12-07 23:39:22 +03:30
masoodafar-web f22298ed96 Add GetAllClubMembershipsRequest using alias 2025-12-06 20:29:47 +03:30
masoodafar-web b229a3f0b6 refactor: Update protobuf namespaces and remove unused imports 2025-12-06 16:42:15 +03:30
masoodafar-web 09fc0d85af feat: Add discount module with protobuf definitions and gRPC services 2025-12-06 01:39:22 +03:30
masoodafar-web 4aa9f28f6e feat: Implement user permission checks and manual payment functionalities
- Added CheckUserPermissionQuery and CheckUserPermissionQueryHandler for permission validation.
- Introduced GetUserRolesQuery and GetUserRolesQueryHandler to retrieve user roles.
- Created IPermissionService interface and its implementation in PermissionService.
- Defined permission and role constants in PermissionDefinitions.
- Developed SetDefaultVatPercentageCommand and its handler for VAT configuration.
- Implemented GetCurrentVatPercentageQuery and handler to fetch current VAT settings.
- Added manual payment commands: CreateManualPayment, ApproveManualPayment, and RejectManualPayment with respective handlers and validators.
- Created GetManualPaymentsQuery and handler for retrieving manual payment records.
- Integrated gRPC services for manual payments with appropriate permission checks.
- Established Protobuf definitions for manual payment operations and metadata.
2025-12-05 17:27:38 +03:30
masoodafar-web 67b43fea7a feat: Implement Cancel Order functionality with command, handler, and validation 2025-12-04 19:53:21 +03:30
masoodafar-web 82319285bc feat: Implement Public Message management features including create, update, delete, and publish functionalities 2025-12-04 17:29:05 +03:30
masoodafar-web 64b6f34185 refactor: Update protobuf references in CalculateOrderPV 2025-12-04 04:51:49 +03:30
masoodafar-web 4b6f8187e5 feat: Implement User Package Status and User Order Management features
- Added GetUserPackageStatus functionality with mapping and service implementation.
- Introduced UserOrder service methods for updating order status, applying discounts, and calculating order PV.
- Created Protobuf definitions for public messages and user orders, including necessary request and response messages.
- Implemented mapping profiles for package and user order related queries and commands.
- Developed query handlers and validators for new commands and queries in the application layer.
- Established PublicMessage service for handling public messages with appropriate gRPC endpoints.
2025-12-04 03:43:28 +03:30
masoodafar-web 256b41fcb5 feat: Add bulk update functionalities for product prices and stock, along with low stock query support 2025-12-04 02:56:07 +03:30
masoodafar-web 4f400eabc5 feat: Implement Discount Product and Shopping Cart functionalities
- Added UpdateDiscountProductCommandValidator for validating discount product updates.
- Created GetDiscountProductByIdQuery and its handler for retrieving discount product details by ID.
- Implemented GetDiscountProductsQuery and handler for fetching a list of discount products with filtering options.
- Developed AddToCartCommand and handler for adding products to the shopping cart.
- Implemented ClearCartCommand and handler for clearing the shopping cart.
- Created RemoveFromCartCommand and handler for removing items from the cart.
- Added UpdateCartItemCountCommand and handler for updating the quantity of items in the cart.
- Developed GetUserCartQuery and handler for retrieving the user's shopping cart details.
- Implemented Product Tag functionalities including assigning tags to products, creating, updating, and deleting tags.
- Added queries for fetching all tags and products by tag.
2025-12-04 02:41:19 +03:30
masoodafar-web c9dab944fa update 2025-12-02 03:32:26 +03:30
masoodafar-web bfeb6456af Add response DTOs for withdrawal and club activation commands 2025-11-30 23:39:31 +03:30
masoodafar-web 698c044be6 Update payment status to enum and refactor update order handler 2025-11-28 04:03:12 +03:30
masoodafar-web 067fe6cc0e Update payment status type to PaymentMethod enum 2025-11-28 02:18:04 +03:30
masoodafar-web 5e284acebc Add protobuf reference and update user order query response type 2025-11-28 01:37:48 +03:30
masoodafar-web e7414cd814 Refactor: rename Price to Amount and update protobuf enums 2025-11-28 01:14:10 +03:30
masoodafar-web 92d25f3b2c Update payment status handling and add local config comment 2025-11-27 23:24:56 +03:30
masoodafar-web edd3fec5e3 Add empty filter validation for user order queries 2025-11-27 22:06:28 +03:30
masoodafar-web 509b1e354a Add payment status to boolean mapping for protobuf 2025-11-27 19:17:17 +03:30