Commit Graph

177 Commits

Author SHA1 Message Date
masoud
d51ef47c16 docs: add multi-remote push note
All checks were successful
Build and Deploy to Kubernetes / build-and-deploy (push) Successful in 2m15s
2025-12-07 18:50:16 +00:00
masoud
d9ccfcc587 fix: replace tabs with spaces in workflow file
All checks were successful
Build and Deploy to Kubernetes / build-and-deploy (push) Successful in 3m33s
2025-12-07 18:00:58 +00:00
masoud
9e3e0c68c2 trigger: rebuild with HTTP/2 config 2025-12-07 18:00:01 +00:00
masoud
6f3bb3e2c3 chore: trigger workflow for HTTP/2 deployment 2025-12-07 17:58:13 +00:00
masoud
0fe39cf9f6 feat: enable pure HTTP/2 for gRPC compatibility with nginx ingress 2025-12-07 17:53:43 +00:00
masoud
e5fc13b9e2 chore: migrate from IP to domain (git.foursat.afrino.co) 2025-12-07 17:02:17 +00:00
masoodafar-web
e7937fe7ee fix: Remove trailing whitespace in Seq config 2025-12-07 20:09:01 +03:30
masoodafar-web
9fb5119fc1 fix: Remove trailing whitespace in Seq config 2025-12-07 19:46:36 +03:30
masoodafar-web
4d6d0dfc9a feat: Add kubectl deployment and image rollout steps 2025-12-06 22:57:25 +03:30
masoodafar-web
adcc776230 feat: Add Kestrel HTTP/2 configuration for macOS 2025-12-06 22:24:28 +03:30
masoodafar-web
a0da7eb8e0 feat: Implement real Daya API integration with configurable mock/real service 2025-12-06 21:02:51 +03:30
masoodafar-web
e46f54ca5b Merge branch 'test' into kub-stage
All checks were successful
Build and Deploy to Kubernetes / build-and-deploy (push) Successful in 2m16s
2025-12-06 00:17:39 +03:30
masoodafar-web
00ba911703 feat: Add archive and schedule fields to PublicMessages 2025-12-06 00:16:30 +03:30
masoud
bfcb0d880f feat: Read Seq logging config from appsettings.json + add Console logging 2025-12-05 19:32:28 +00:00
masoud
ed642947dc Fix: Suppress EF Core 9 PendingModelChangesWarning 2025-12-05 18:55:12 +00:00
masoud
c8db56ab2b Retry 2025-12-05 18:11:53 +00:00
masoud
80f4e124d6 Add insecure registry 2025-12-05 18:11:14 +00:00
masoud
e17b7f4588 Retry with fixed Dockerfile 2025-12-05 18:09:17 +00:00
masoud
4438a4d248 Fix Dockerfile for buildkit 2025-12-05 18:07:39 +00:00
masoud
eb43b084b2 Trigger 2025-12-05 18:06:11 +00:00
masoud
0c054739ba Fix proxy password 2025-12-05 18:05:52 +00:00
masoud
1f533cf60a Trigger build 2025-12-05 18:03:11 +00:00
masoud
7b292a9443 Fix proxy config for docker build 2025-12-05 18:02:41 +00:00
masoud
2f177221be Add proxy to workflow 2025-12-05 18:01:02 +00:00
masoud
c97b68415e Test privileged config 2025-12-05 17:49:55 +00:00
masoud
b9d8061f50 Test docker:latest privileged 2025-12-05 17:42:27 +00:00
masoud
2a6f32027d Use git clone instead of actions/checkout 2025-12-05 17:27:35 +00:00
masoud
e78b175de6 Use docker:latest container with privileged 2025-12-05 17:24:00 +00:00
masoud
f3a7c20e35 Add Docker service to workflow 2025-12-05 17:21:53 +00:00
masoud
1e2885dabe Trigger CI with catthehacker/ubuntu 2025-12-05 17:18:17 +00:00
masoud
225c6591fd Trigger CI with docker:cli 2025-12-05 17:16:23 +00:00
masoodafar-web
daf853177f Merge branch 'feature/network-club-system' into kub-stage 2025-12-05 20:41:52 +03:30
masoud
615473cf0d Add Kubernetes CI/CD pipeline for kub-stage 2025-12-05 16:25:14 +00:00
masoud
e4c18a4751 Add Kubernetes CI/CD pipeline 2025-12-05 16:22:18 +00:00
masoodafar-web
217ef147dd feat: Implement manual payment system with gRPC service and related commands/queries 2025-12-05 17:26:58 +03:30
masoodafar-web
ee1fa9d064 feat: Enhance withdrawal request handling with additional fields and network level configurations 2025-12-04 19:53:30 +03:30
masoodafar-web
5e3112d71f feat: Implement withdrawal reports query and service integration 2025-12-04 17:29:10 +03:30
masoodafar-web
abda623519 chore: Bump CMSMicroservice.Protobuf version to 0.0.142 2025-12-04 05:21:25 +03:30
masoodafar-web
ba6d74fe35 feat: Implement Public Message Management Commands and Queries
- Add GetUserPackageStatusQueryValidator for user package status validation.
- Create ArchiveMessageCommand and ArchiveMessageCommandHandler for archiving public messages.
- Implement ArchiveMessageCommandValidator to validate message ID.
- Introduce PublishMessageCommand and PublishMessageCommandHandler for publishing messages.
- Add PublishMessageCommandValidator for validating publish message requests.
- Implement GetPublicMessageQuery and GetPublicMessageQueryHandler for retrieving public messages.
- Create GetPublicMessageQueryValidator for validating public message requests.
- Add ApplyDiscountToOrderCommand and ApplyDiscountToOrderCommandHandler for applying discounts to orders.
- Implement ApplyDiscountToOrderCommandValidator for validating discount application requests.
- Create UpdateOrderStatusCommand and UpdateOrderStatusCommandHandler for changing order statuses.
- Implement UpdateOrderStatusCommandValidator for validating order status updates.
- Add CalculateOrderPVQuery and CalculateOrderPVQueryHandler for calculating order PV.
- Implement CalculateOrderPVQueryValidator for validating PV calculation requests.
- Create GetOrdersByDateRangeQuery and GetOrdersByDateRangeQueryHandler for retrieving orders by date range.
- Implement GetOrdersByDateRangeQueryValidator for validating date range queries.
- Add PublicMessage entity to represent public messages in the system.
- Implement PublicMessageService for handling public message operations via gRPC.
2025-12-04 03:43:19 +03:30
masoodafar-web
84f642e900 feat: Implement bulk update for product prices and stock, and add low stock products query and toggle product status functionality 2025-12-04 02:56:03 +03:30
masoodafar-web
f0f48118e7 Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
masoodafar-web
40d54d08fc feat: Implement Bank Mellat and Daya payment gateway services with initiation, verification, and payout processing 2025-12-02 03:31:17 +03:30
masoodafar-web
78606cc5cc feat: Add ClearCart command and response, implement CancelOrder command with validation, and enhance DeliveryStatus and User models 2025-12-02 03:30:36 +03:30
masoodafar-web
25fc73ae28 feat: Enhance network membership and withdrawal processing with user tracking and logging 2025-12-01 20:52:18 +03:30
masoodafar-web
4aaf2247ff feat: Implement Approve and Reject Withdrawal commands with handlers 2025-12-01 16:48:07 +03:30
masoodafar-web
8d31a8c026 feat: Add GetClubStatistics and GetNetworkStatistics APIs with corresponding request and response messages 2025-12-01 16:43:53 +03:30
masoodafar-web
199e7e99d1 feat: Add monitoring alerts skeleton and enhance worker with notifications 2025-11-30 20:18:10 +03:30
masoodafar-web
55fa71e09b docs: Complete Phase 8 documentation
Added comprehensive Phase 8 documentation:
- Migration 20251129002222_AddNetworkClubSystemV2 details
- 11 new tables created
- 3 existing tables updated
- Complete index and foreign key specifications
- 10 default SystemConfigurations seeded
- ApplicationDbContextInitialiser logic documented
- Updated project statistics (15 commits total)
- System marked as fully operational

Database Status:  Ready for production
All phases except Testing (optional) complete!
2025-11-29 05:00:41 +03:30
masoodafar-web
0ddf64370d feat: Complete Phase 8 - Migration & Seed Data
Database Migration:
- Applied migration 20251129002222_AddNetworkClubSystemV2
- Created 11 new tables:
  * SystemConfigurations
  * SystemConfigurationHistories
  * ClubMemberships
  * ClubMembershipHistories
  * ClubFeatures
  * UserClubFeatures
  * NetworkWeeklyBalances
  * WeeklyCommissionPools
  * UserCommissionPayouts
  * CommissionPayoutHistories
  * NetworkMembershipHistories
- Updated existing tables:
  * Users: Added NetworkParentId, LegPosition
  * UserWallets: Added DiscountBalance
  * Products: Added IsClubExclusive, ClubDiscountPercent

Seed Data:
- Added 10 default SystemConfigurations:
  * Network settings (MaxDepth, AllowOrphanNodes)
  * Club settings (DefaultDuration, MinimumActivation)
  * Commission settings (PoolPercent, MinimumPayout, WithdrawalMethods)
  * System settings (MaintenanceMode, AuditLog)

Migration Status:  Applied successfully
Database Schema:  Verified
Build Status:  Success (0 errors)
2025-11-29 04:57:42 +03:30
masoodafar-web
6651063297 docs: Update progress for Phase 6 completion
Added Phase 6 (gRPC API Integration) documentation:
- 4 Protobuf files with complete RPC definitions
- 4 gRPC Service classes with MediatR integration
- 26 RPC endpoints (Configuration: 5, ClubMembership: 6, NetworkMembership: 6, Commission: 9)
- HTTP transcoding support
- Auto-registration mechanism
- Updated overall project statistics

Total project stats:
- 145+ files created
- ~10,830 lines of code
- 12 successful commits
- 6 phases completed
2025-11-29 04:49:21 +03:30