28 Commits

Author SHA1 Message Date
T. Narantuya
11f57dfd56 Update GitHub Actions workflow and add archive files to .gitignore
- Modify deploy.yml workflow configuration
- Add *.tar, *.tar.gz, *.zip to .gitignore to prevent large file commits
2025-08-29 17:41:04 +09:00
T. Narantuya
d7a4d9f24a Update Docker Compose configuration and remove obsolete GitHub Actions workflows
- Changed image references in compose-plesk.yaml to use local images for frontend and backend services.
- Deleted outdated CI and test workflow files to streamline the repository and reduce maintenance overhead.
2025-08-29 17:27:08 +09:00
T. Narantuya
3270069324 Refactor GitHub Actions workflow to remove duplicate pnpm setup step for cleaner configuration 2025-08-29 16:52:02 +09:00
T. Narantuya
b1844d7017 Add Node.js and pnpm setup in GitHub Actions workflow for improved dependency management 2025-08-29 16:50:49 +09:00
T. Narantuya
26ccf6369e Update pnpm-lock.yaml to include '@eslint/js' dependency for improved linting capabilities 2025-08-29 16:48:06 +09:00
T. Narantuya
81c0efb0b8 Remove example environment configuration files and update Dockerfile for production dependency installation
- Deleted .env.dev.example and .env.production.example files to streamline configuration management.
- Updated Dockerfile to install production dependencies recursively, ensuring all necessary packages are included during the build process.
2025-08-29 16:25:59 +09:00
T. Narantuya
1762d67e3f Update CI and test workflows to build shared package and generate Prisma client
- Added steps to build the shared package and generate the Prisma client in both CI and test workflows.
- Removed redundant build step for the shared package in the CI workflow.
2025-08-29 14:19:39 +09:00
T. Narantuya
ca68cabe76 Add public directory creation in Dockerfile to ensure it exists during build process 2025-08-29 14:17:15 +09:00
T. Narantuya
01c01d516a Add world-countries dependency to package.json and pnpm-lock.yaml for enhanced geographical data support 2025-08-29 14:12:12 +09:00
T. Narantuya
596be1414b Remove world-countries dependency from pnpm-lock.yaml to streamline package management and reduce bloat. 2025-08-29 14:12:06 +09:00
T. Narantuya
4f087d5c4c Enhance order processing and address management across components
- Updated pnpm-lock.yaml to include new dependencies and ensure consistent package versions.
- Refactored order handling in OrderOrchestrator to utilize centralized field mapping for Salesforce queries.
- Modified SalesforceOrder interface to replace Order_Type__c with Type for clarity.
- Improved error handling in UsersService during WHMCS updates to provide user-friendly messages.
- Enhanced BillingPage and ProfilePage components to streamline address management and improve user experience.
- Updated documentation to reflect changes in address handling and system architecture.
2025-08-29 14:05:33 +09:00
T. Narantuya
6c7b1b531c Refine address confirmation message in AddressConfirmation component for clarity 2025-08-29 13:27:06 +09:00
T. Narantuya
0a387275ff Refactor address handling in AuthService and SignupDto, and enhance order processing with address verification
- Updated AuthService to directly access address fields and added support for address line 2.
- Introduced AddressDto in SignupDto for structured address validation.
- Modified OrdersController to utilize CreateOrderDto for improved type safety.
- Enhanced OrderBuilder to include address snapshot functionality during order creation.
- Updated UsersService to handle address updates and added new methods in WHMCS service for client updates.
- Improved address confirmation logic in AddressConfirmation component for internet orders.
2025-08-29 13:26:57 +09:00
T. Narantuya
7155a6f044 Remove unnecessary whitespace in whmcs-api.types.ts and configure ESLint to ignore blocking during production builds in next.config.mjs 2025-08-29 11:52:01 +09:00
T. Narantuya
f1400b4e59 Update Dockerfile to generate Prisma client in production image for improved deployment consistency 2025-08-29 11:42:04 +09:00
T. Narantuya
5076c22bee Update Dockerfile to generate Prisma client before building BFF for TypeScript compatibility 2025-08-29 11:34:52 +09:00
T. Narantuya
432484180f Add tsconfig.json to Dockerfiles for BFF and Portal applications 2025-08-29 11:26:46 +09:00
T. Narantuya
c7ba33fcb8 Update Dockerfile to skip lifecycle scripts during production dependency installation 2025-08-29 10:58:01 +09:00
T. Narantuya
a68df81aee whmcs getclients array fix 2025-08-28 18:57:12 +09:00
T. Narantuya
d00c47f41e Refactor code for consistency and readability across multiple files
- Standardized JSON and URL-encoded body parser configurations in main.ts.
- Simplified method signatures in order-builder.service.ts and order-orchestrator.service.ts.
- Enhanced logging format in order-item-builder.service.ts and order-validator.service.ts.
- Cleaned up whitespace and formatting in various components and services for improved readability.
- Updated Docker commands in manage.sh to use the new syntax.
2025-08-28 18:27:11 +09:00
T. Narantuya
2eb7cc6314 catalog page consistency fix 2025-08-28 16:57:57 +09:00
T. Narantuya
47d831796c catalog fixed 2025-08-27 20:01:46 +09:00
T. Narantuya
94e1625b78 order fix 2025-08-27 10:54:05 +09:00
T. Narantuya
855fe211f7 fixed lintel errors, 2025-08-23 18:02:05 +09:00
T. Narantuya
111bbc8c91 Add email functionality and update environment configurations
- Introduced email configuration for both development and production environments in `.env.dev.example` and `.env.production.example`.
- Added SendGrid API key and email settings to support password reset and welcome emails.
- Implemented password reset and request password reset endpoints in the AuthController.
- Enhanced signup form to include additional fields such as Customer Number, address, nationality, date of birth, and gender.
- Updated various services and controllers to integrate email functionality and handle new user data.
- Refactored logging and error handling for improved clarity and maintainability.
- Adjusted Docker configuration for production deployment.
2025-08-23 17:24:37 +09:00
T. Narantuya
0c912fc04f clean up 2025-08-22 17:02:49 +09:00
T. Narantuya
43aabc7b61 structure changes 2025-08-21 15:24:40 +09:00
T. Narantuya
80580da46d Initial Customer Portal setup - production ready 2025-08-20 18:02:50 +09:00