barsa
4b877fb3e0
Update .gitignore to exclude package-lock.json and remove eslint-report.json. Refactor package.json scripts for build and dev processes, and update dependencies for uuid and @types/uuid. Enhance BFF module structure by adding SecurityModule and QueueModule, and improve error handling in GlobalExceptionFilter. Streamline Salesforce and WHMCS integrations with updated service methods and type definitions for better maintainability. Adjust API paths in portal components for consistency and clarity.
2025-09-26 15:51:07 +09:00
barsa
29366d6ae6
Refactor BFF and portal components to enhance type consistency and error handling. Update type definitions across Freebit, WHMCS, and invoice management services, improving maintainability and clarity. Streamline service methods and import paths, while cleaning up unused code to ensure better organization throughout the project.
2025-09-25 18:59:07 +09:00
barsa
b6d0aa1eb0
Refactor authentication and user profile management to improve type consistency and error handling. Update type definitions for requests and responses across various components, ensuring alignment with shared domain contracts. Enhance state management in AppShell and streamline user data hydration logic for better maintainability.
2025-09-25 18:04:47 +09:00
barsa
ec69e3dcbb
Refactor Freebit and WHMCS integrations to enhance maintainability and error handling. Update type definitions and streamline service methods across various modules. Improve import paths and clean up unused code to ensure better organization and clarity in the project structure.
2025-09-25 17:42:36 +09:00
barsa
b9c24b6dc5
Refactor Freebit integration by removing the csurf dependency and updating related type definitions. Enhance Freebit API request handling with improved error management and logging. Update data structures for traffic and quota history responses to streamline data processing. Adjust service methods for better clarity and maintainability.
2025-09-25 17:01:47 +09:00
barsa
7703392f58
Refactor Freebit integration by removing the legacy FreebitService and updating module structure to utilize FreebitOrchestratorService. Streamline service dependencies and improve maintainability across various modules. Update import paths and clean up unused code to enhance overall organization.
2025-09-25 16:38:21 +09:00
barsa
9fafd227b9
Refactor WHMCS integration to enhance invoice management capabilities. Introduce methods for creating, updating, and capturing payments for invoices, while removing legacy transformer services. Update type definitions for invoice-related API interactions and improve error handling across invoice operations. Streamline service dependencies and ensure consistent logging for better maintainability.
2025-09-25 16:23:24 +09:00
barsa
065e2f9acf
Refactor import paths for AlertBanner, AsyncBlock, and other components in the portal to enhance module structure and maintainability. Remove unused components and streamline imports across various views and features, ensuring consistent file organization.
2025-09-25 15:54:54 +09:00
barsa
3da96d0c84
Refactor import paths for components in the portal to enhance module structure and maintainability, ensuring consistent file organization across DataTable, FormField, SearchFilterBar, AuthLayout, and PageLayout.
2025-09-25 15:15:50 +09:00
barsa
5a8e9624ae
Update import paths for SubCard and FormField components across multiple files to improve module structure and maintainability.
2025-09-25 15:14:36 +09:00
barsa
be3af76e01
Update import paths for DataTable component in InvoiceTable and SubscriptionsList to improve module structure and maintainability.
2025-09-25 15:12:20 +09:00
barsa
4447278b2c
Update import path for SubCard component in AddressCard to improve module structure and maintainability.
2025-09-25 15:12:06 +09:00
barsa
9751278a4e
Remove unused AuthLayout and PageLayout components to streamline the portal structure and improve maintainability.
2025-09-25 15:11:47 +09:00
barsa
c5de063a3e
Refactor portal components and services for improved structure and consistency. Replace DashboardLayout with AppShell in authenticated pages, streamline loading states by removing deprecated components, and enhance validation imports across various forms. Update type definitions and clean up unused code to ensure better maintainability and adherence to the new design system.
2025-09-25 15:11:28 +09:00
barsa
640a4e1094
Refactor various services to improve code organization and error handling. Streamline provider declarations in Salesforce module, enhance WHMCS service with new client product retrieval method, and update pagination logic in AuthAdminController. Clean up unused imports and improve type handling across multiple modules, ensuring better maintainability and consistency.
2025-09-25 13:32:16 +09:00
barsa
47a3de6919
Refactor error handling in various services to improve consistency and maintainability. Update user role management across authentication and user services, ensuring proper type definitions. Enhance validation schemas and streamline import/export practices in the domain and validation modules. Remove deprecated files and clean up unused code in the Salesforce integration and catalog services.
2025-09-25 13:21:11 +09:00
barsa
e66e7a5884
Update TypeScript configuration to include scripts directory, clean up unused lines in various files, and refactor error handling in cache service. Enhance logging for database and Redis connections, and streamline order processing logic in the orders module. Improve validation schemas and ensure consistent import/export practices across modules.
2025-09-25 11:44:10 +09:00
barsa
6becad1511
Update ESLint configuration and package dependencies; refactor BFF modules for improved structure and validation handling. Remove deprecated files and enhance user profile management across services. Streamline API client and validation utilities for better consistency and maintainability.
2025-09-24 18:00:49 +09:00
T. Narantuya
473a1235c8
Merge remote-tracking branch 'origin/ver2' into ver2
...
Resolved merge conflicts:
- Removed unused useAuthSession export from auth services
- Simplified validation exports to avoid circular dependencies
2025-09-20 13:41:47 +09:00
T. Narantuya
a9d9036095
Refactor subscription hooks to utilize useAuthStore for token management, enhancing authentication checks. Update query keys for subscriptions to include parameters for better data handling. Remove unused useAuthSession hook and clean up imports in related files.
2025-09-20 13:37:54 +09:00
NTumurbars
2bbd3a500a
Merge pull request #15 from NTumurbars/codex/fix-javascript-heap-out-of-memory-error
...
Enhance form utilities and update auth and SIM flows
2025-09-20 13:35:07 +09:00
NTumurbars
4436475b62
Enhance form utilities and update auth and SIM flows
2025-09-20 13:33:47 +09:00
T. Narantuya
60f328269a
Refactor authentication and billing components to streamline functionality and improve code organization. Remove deprecated files and consolidate loading states across the application. Update package configurations and enhance error handling in various services for better consistency and maintainability.
2025-09-20 11:35:40 +09:00
T. Narantuya
afa201c4e5
Refactor loading components to consolidate loading states and remove deprecated loading spinner. Update RouteLoading to use skeleton mode and replace LoadingSpinner with inline skeletons in buttons and other components for a more consistent loading experience. Adjust forms to simplify error handling and validation logic.
2025-09-19 17:50:42 +09:00
T. Narantuya
f662c3eb45
Refactor AuthZodController to AuthController, enhancing login and password set functionalities with throttling and improved response handling. Update AuthModule to reflect controller name change and add new services. Refine AuthService to return sanitized user data and improve error logging. Enhance AuthThrottleGuard to track login attempts by IP and User Agent for better security. Clean up unused JWT guard and streamline token management in AuthTokenService.
2025-09-19 17:37:46 +09:00
T. Narantuya
b8acdeafb0
Remove deprecated files and schemas related to validation and type patterns. Update package.json scripts for type-checking with improved memory options. Refactor various components to utilize Zod for validation, enhancing form handling across the application. Clean up unused imports and streamline API client configurations for consistency.
2025-09-19 16:34:10 +09:00
T. Narantuya
54fb396557
Refactor FormField component to enhance props structure and improve input handling. Remove unused ProfileCompletionGuard component and related hooks. Update API client calls to include '/api' prefix for consistency. Streamline billing and subscription services with improved error handling and response management. Clean up unused imports and components across the codebase.
2025-09-19 12:58:00 +09:00
T. Narantuya
06009bd2d5
Enhance ApiClient with error handling and flexible HTTP methods. Introduce ApiError class for better error management, normalize base URL resolution from environment variables, and update createClient function to support custom error handling and authorization middleware.
2025-09-19 12:57:39 +09:00
T. Narantuya
dcf32c1d06
Refactor AuditService and AuthAdminController to streamline audit log retrieval and security statistics. Introduce new methods in AuditService for fetching audit logs and security stats, and update AuthAdminController to utilize these methods. Remove redundant code and improve error handling in InvoicesService. Clean up unused DTOs and API routes in the portal. Enhance query keys for better organization in billing and catalog features.
2025-09-18 17:49:43 +09:00
NTumurbars
a4119a2db8
Merge pull request #13 from NTumurbars/codex/update-auth-token-structure-and-consumers
...
Refine auth token handling
2025-09-18 16:45:57 +09:00
NTumurbars
69aee3b08e
Merge branch 'ver2' into codex/update-auth-token-structure-and-consumers
2025-09-18 16:45:11 +09:00
NTumurbars
ff0dfa1021
Merge pull request #14 from NTumurbars/codex/update-password-reset-endpoint-calls
...
Update password reset endpoint and add verification script
2025-09-18 16:42:58 +09:00
NTumurbars
d25fbdd2a8
Merge pull request #12 from NTumurbars/codex/refactor-app-structure-into-route-groups
...
refactor: layer portal routes through feature modules
2025-09-18 16:42:37 +09:00
NTumurbars
14c095d875
Merge pull request #11 from NTumurbars/codex/decide-format-for-authtokens.expiresat
...
Normalize auth token expiry representation
2025-09-18 16:42:17 +09:00
NTumurbars
4ef8a6057d
Update password reset endpoint and add verification script
2025-09-18 16:40:49 +09:00
NTumurbars
e9dc9a93f6
Refine auth token handling
2025-09-18 16:40:43 +09:00
NTumurbars
e9acbd899c
refactor: layer portal routes through feature modules
2025-09-18 16:39:57 +09:00
NTumurbars
0749bb1fa0
Normalize auth token expiry handling
2025-09-18 16:39:18 +09:00
NTumurbars
39b7e796f8
Merge pull request #9 from NTumurbars/codex/extend-api-client-for-auth-header-os9pej
...
refactor: unify api client usage around openapi client
2025-09-18 16:38:52 +09:00
NTumurbars
a9f7aa5403
Merge branch 'ver2' into codex/extend-api-client-for-auth-header-os9pej
2025-09-18 16:38:32 +09:00
Cursor Agent
b6e50df81d
Fix: Clear auth state when no user data is returned
...
Co-authored-by: tumurbarsnarantuya <tumurbarsnarantuya@gmail.com>
2025-09-18 07:29:49 +00:00
NTumurbars
fcc5872fda
refactor: unify api client usage around openapi client
2025-09-18 16:23:56 +09:00
NTumurbars
143aad11d8
Merge pull request #8 from NTumurbars/codex/extend-api-client-for-auth-header
...
refactor: simplify api client auth integration
2025-09-18 16:04:55 +09:00
NTumurbars
3242f49ce7
refactor: simplify api client auth integration
2025-09-18 16:00:20 +09:00
NTumurbars
f2c9096a44
Merge pull request #6 from NTumurbars/codex/create-bootstrap-logic-and-update-entry-points
...
refactor: extract bff bootstrap logic
2025-09-18 15:26:30 +09:00
NTumurbars
ed32a38804
Merge pull request #7 from NTumurbars/codex/temporarily-remove-casesmodule-and-jobsmodule
...
Temporarily disable unfinished cases and jobs modules
2025-09-18 15:26:16 +09:00
NTumurbars
d34e140193
chore: temporarily disable cases and jobs modules
2025-09-18 15:18:44 +09:00
NTumurbars
01e0f41c14
refactor: extract bff bootstrap logic
2025-09-18 15:18:12 +09:00
T. Narantuya
a22b84f128
Refactor and clean up BFF and portal components for improved maintainability
...
- Removed deprecated files and components from the BFF application, including various auth and catalog services, enhancing code clarity.
- Updated package.json scripts for better organization and streamlined development processes.
- Refactored portal components to improve structure and maintainability, including the removal of unused files and components.
- Enhanced type definitions and imports across the application for consistency and clarity.
2025-09-18 14:52:26 +09:00
T. Narantuya
ed6fae677d
Enhance memory management and refactor components for improved performance
...
- Updated package.json scripts to optimize memory usage during type-checking and building processes.
- Refactored BFF application scripts to include memory management options for build, dev, and test commands.
- Introduced new type-check scripts for better memory handling in the BFF application.
- Reorganized imports and components in the portal application for better structure and maintainability.
- Replaced large component files with dedicated view components to streamline rendering and improve load times.
2025-09-18 12:34:26 +09:00