Commit Graph

70 Commits

Author SHA1 Message Date
Ho Ngoc Hai
d678d3aa8d feat: Cập nhật giao diện các trang xác thực với nền vũ trụ và hiệu ứng kínhmorphism, cải thiện trải nghiệm người dùng và thêm chức năng hiển thị mật khẩu cho trường nhập liệu. 2026-01-04 23:23:08 +07:00
Ho Ngoc Hai
2e26f71e39 style: Điều chỉnh hiệu ứng glassmorphism và animation để phù hợp với phong cách X.ai minimalist, loại bỏ các animation phức tạp và giảm độ mờ của hiệu ứng glass. 2026-01-04 23:14:49 +07:00
Ho Ngoc Hai
14c78393a3 feat: Thêm component AuthControls chứa bộ chuyển đổi theme và ngôn ngữ vào các trang xác thực. 2026-01-04 22:51:57 +07:00
Ho Ngoc Hai
b00b5eaaa1 feat: Tích hợp bộ chuyển đổi chủ đề và ngôn ngữ vào thanh điều hướng, cập nhật hook i18n, và đặt chủ đề tối làm mặc định. 2026-01-04 22:42:58 +07:00
Ho Ngoc Hai
d2da32124c fix: Ngăn chặn lỗi hydration của i18n bằng cách tái cấu trúc logic phát hiện locale và trì hoãn áp dụng locale phía client. 2026-01-04 22:19:51 +07:00
Ho Ngoc Hai
2d783af67f refactor: Thay thế hook dịch thuật tùy chỉnh bằng hook useTranslations từ next-intl, cập nhật các thành phần liên quan đến dịch thuật và điều hướng sau khi đăng nhập thành công. 2026-01-04 21:49:56 +07:00
Ho Ngoc Hai
df5545e7b5 feat: Thêm các tiện ích an toàn cho khu vực di động, cải thiện cấu trúc footer và cập nhật layout cho trải nghiệm ứng dụng gốc. 2026-01-04 18:20:33 +07:00
Ho Ngoc Hai
d404689531 feat: Cải thiện giao diện trang chủ với thành phần Banner thông báo, cập nhật cấu trúc điều hướng và tối ưu hóa màu sắc cho phong cách tối giản. 2026-01-04 18:15:36 +07:00
Ho Ngoc Hai
f989a2f7d7 chore: Xóa các tệp cấu hình và thành phần không còn sử dụng trong ứng dụng client-example, bao gồm các tệp .eslintrc, .gitignore, .npmrc, và nhiều thành phần UI khác. 2026-01-04 18:10:42 +07:00
Ho Ngoc Hai
863e821f24 feat: Cập nhật các thành phần UI với cấu trúc dựa trên tính năng, thêm các thành phần glassmorphism, và cải thiện cấu hình đường dẫn trong tsconfig. 2026-01-04 18:06:38 +07:00
Ho Ngoc Hai
5a71b1132b feat: Thêm các component Popover, Tooltip và refactor Switch sử dụng Radix UI, đồng thời cập nhật biến màu và dependencies. 2026-01-04 16:56:44 +07:00
Ho Ngoc Hai
92f4918312 feat: Cải thiện giao diện trang chủ với hiệu ứng lơ lửng, mesh gradient pastel động và cập nhật phong cách các thành phần UI. 2026-01-04 16:12:23 +07:00
Ho Ngoc Hai
403b16737f feat: Triển khai nền mesh gradient động và làm mới giao diện người dùng phần hero. 2026-01-04 16:05:28 +07:00
Ho Ngoc Hai
5db698be8b feat: Thêm thành phần footer, loại bỏ biểu tượng cờ khỏi bộ chuyển đổi ngôn ngữ, và cải thiện an toàn SSR cho ngữ cảnh chủ đề. 2026-01-04 16:00:36 +07:00
Ho Ngoc Hai
b831058a8f feat: Thêm header điều hướng responsive, bộ chuyển đổi ngôn ngữ, thành phần UI chuyển đổi chủ đề và phím tắt chuyển đổi chủ đề. 2026-01-04 15:40:12 +07:00
Ho Ngoc Hai
7cf4111531 feat: Thêm các thành phần UI cho trạng thái tải (loading states), trạng thái rỗng (empty states) và tích hợp tài sản thương hiệu. 2026-01-04 15:34:24 +07:00
Ho Ngoc Hai
c54a9debe3 feat: Vô hiệu hóa tạm thời Redis cache và sử dụng in-memory cache làm fallback. 2026-01-04 15:19:05 +07:00
Ho Ngoc Hai
101c333181 feat: Cải thiện cấu hình Redis client với tùy chọn kết nối ổn định hơn, chiến lược thử lại nâng cao và xử lý sự kiện kết nối tốt hơn. 2026-01-04 15:08:02 +07:00
Ho Ngoc Hai
96dc13c38a fix: Cấu hình thủ công Traefik và cập nhật phiên bản để khắc phục sự cố Docker provider cục bộ. 2026-01-04 14:52:30 +07:00
Ho Ngoc Hai
e3cc83b73d feat: Thêm chuyển hướng từ /auth/login sang /login 2026-01-04 14:39:39 +07:00
Ho Ngoc Hai
d4f6115179 refactor: Cập nhật cấu hình các tuyến đường (routes) của dịch vụ IAM và API xác thực phía client, đồng thời loại bỏ tệp sao lưu RBAC cũ. 2026-01-04 14:35:12 +07:00
Ho Ngoc Hai
a383d8772e feat: Cấu hình lại ứng dụng IAM, cập nhật cấu trúc routes, tích hợp RBAC và thêm các bài kiểm tra tích hợp. 2026-01-04 14:27:41 +07:00
Ho Ngoc Hai
ccfb2a7fb2 feat: Thêm định nghĩa schema cho yêu cầu truy cập, đánh giá truy cập, chính sách, báo cáo tuân thủ và phiên vào tài liệu Swagger. 2026-01-04 13:56:12 +07:00
Ho Ngoc Hai
7e7a7a5853 refactor: Modularize IAM service routes into dedicated modules and add home page description 2026-01-04 13:53:34 +07:00
Ho Ngoc Hai
76b1c9b3a0 refactor: chuẩn hóa xử lý lỗi bằng cách giới thiệu tiện ích getErrorMessage và cập nhật kiểu catch thành unknown. 2026-01-04 13:31:11 +07:00
Ho Ngoc Hai
19e5e9b242 refactor: Cập nhật các import thư viện sang named imports cho express-rate-limit, jsonwebtokendompurify. 2026-01-04 13:17:28 +07:00
Ho Ngoc Hai
67fef542bd feat: Thêm hướng dẫn triển khai dịch vụ lên Kubernetes cục bộ bằng tiếng Việt và tiếng Anh, đồng thời cập nhật tài liệu phát triển hiện có. 2026-01-04 13:08:40 +07:00
Ho Ngoc Hai
15a77a661b chore: Điều chỉnh đường dẫn script triển khai cục bộ và cập nhật chính sách kéo ảnh IAM service thành IfNotPresent. 2026-01-04 13:05:04 +07:00
Ho Ngoc Hai
f5d04e1f26 chore: Cập nhật trạng thái các tác vụ trong kế hoạch kiểm toán dịch vụ IAM thành skipped. 2026-01-04 12:40:21 +07:00
Ho Ngoc Hai
300b79ead8 feat: Thêm cấu hình và script triển khai Kubernetes cục bộ cho dịch vụ IAM. 2026-01-04 12:37:59 +07:00
Ho Ngoc Hai
202b99873a feat: Thêm cấu hình môi trường cục bộ và hoàn thành các tác vụ tăng cường bảo mật cho IAM service, bao gồm tạo dịch vụ mã hóa. 2026-01-04 12:09:46 +07:00
Ho Ngoc Hai
f315a7af51 refactor: Replaced dynamic rate limit creation with pre-configured role-based limiters. 2026-01-04 12:00:23 +07:00
Ho Ngoc Hai
fc33f027d6 build: Thêm binary targets cho Prisma, chuyển rate limiter sang memory store, và cập nhật Dockerfile để sử dụng pnpm hoisting cùng openssl runtime. 2026-01-04 11:53:33 +07:00
Ho Ngoc Hai
fcbe176b3e feat: Tối ưu Dockerfile của iam-service bằng cách lọc cài đặt pnpm, tinh chỉnh loại bỏ dev dependencies và thiết lập workspace đúng cách. 2026-01-04 11:24:43 +07:00
Ho Ngoc Hai
c05ce82c7b feat: Thêm bước generate Prisma Client rõ ràng vào Dockerfile của iam-service. 2026-01-04 10:52:13 +07:00
Ho Ngoc Hai
7154c37a31 feat: Cải thiện dịch vụ mã hóa AES-256-GCM và tích hợp khóa mã hóa vào cấu hình môi trường để bảo vệ dữ liệu nhạy cảm. 2026-01-04 10:48:08 +07:00
Ho Ngoc Hai
9aed3da8eb refactor: Đổi tên các model Prisma userPermissions, userRoles, riskAssessment và bỏ backupCode trong IAM service. 2026-01-04 10:02:54 +07:00
Ho Ngoc Hai
6abea5b18b feat: Bổ sung nhiều tài liệu quy tắc mới về thiết kế, kiến trúc và phát triển, đồng thời loại bỏ các quy tắc cũ về kiến trúc và đặt tên. 2026-01-04 09:52:46 +07:00
Ho Ngoc Hai
0d48dedc08 feat: Khởi tạo Prisma client, bổ sung các bài kiểm tra đơn vị và tích hợp, đồng thời điều chỉnh cấu hình dịch vụ. 2026-01-04 09:34:37 +07:00
Ho Ngoc Hai
1a2103f86e Update IAM Service E2E tests and audit plan
- Marked E2E test tasks as completed in the IAM Service audit plan for better tracking.
- Enhanced E2E tests by mocking the Prisma client and its methods to simulate database interactions.
- Improved test coverage for feature creation, update, and deletion operations in the E2E tests.

These changes aim to streamline testing processes and ensure accurate simulation of service behavior.
2026-01-02 16:14:41 +07:00
Ho Ngoc Hai
8cc2f66df6 Update IAM Service with various enhancements and fixes
- Added `xmlchars` dependency to `pnpm-lock.yaml` for improved XML character handling.
- Updated IAM Service audit plan to streamline post-deployment monitoring tasks.
- Enhanced Dockerfile to prune development dependencies after build for a leaner production image.
- Introduced a new encryption key configuration in the environment example for better security practices.
- Refactored multiple service files to improve import organization and maintainability.
- Improved error handling in seed scripts to provide more detailed logging on failures.
- Updated various controllers and services to ensure consistent import statements and enhance readability.

These changes aim to improve the overall functionality, security, and maintainability of the IAM Service.
2026-01-02 16:13:36 +07:00
Ho Ngoc Hai
5ce05c63e7 Enhance web-admin application with internationalization and UI improvements
- Integrated `@hookform/resolvers` and `@radix-ui/react-avatar` for improved form handling and avatar components.
- Updated Tailwind CSS configuration and global styles for better responsiveness and accessibility.
- Refactored layout components to include `I18nProvider` for dynamic language support.
- Enhanced various UI elements with translated strings for better user experience.
- Improved error handling and validation messages in forms to support localization.

These changes aim to provide a more inclusive and user-friendly experience in the web-admin application.
2026-01-02 10:36:38 +07:00
Ho Ngoc Hai
f43aec8a03 Implement internationalization support and enhance user experience in web-client
- Added `next-intl` dependency for improved internationalization capabilities.
- Integrated translation hooks across various components, including authentication, chat, and settings, to support dynamic language switching.
- Updated UI elements to utilize translated strings for better accessibility and user experience.
- Refactored forms and validation schemas to include localized messages for error handling and user prompts.
- Enhanced chat functionality with localized messages for actions and notifications.

These changes aim to provide a more inclusive experience for users by supporting multiple languages and improving overall usability.
2026-01-02 10:06:22 +07:00
Ho Ngoc Hai
c088de53c3 Update dependencies and enhance Tailwind CSS configuration for web applications
- Added new dependencies including clsx, lucide-react, recharts, and various Radix UI components to improve UI functionality.
- Upgraded Tailwind CSS to version 4.0.0 and updated configuration to utilize CSS variables for theming and responsive design.
- Introduced global styles and improved accessibility features in the layout and components.
- Removed outdated login page and refactored authentication store for better state management.
- Enhanced API service with additional authentication methods and improved error handling.

These changes aim to modernize the web applications and improve user experience through better design and functionality.
2026-01-02 09:41:40 +07:00
Ho Ngoc Hai
af303eaf7b Enhance IAM Service documentation with comprehensive updates
- Expanded the IAM Service README to include a detailed overview, features showcase, and quick start guide.
- Updated API reference with new endpoints for health checks and identity management.
- Improved implementation details, including completed features and module dependencies.
- Enhanced architecture documentation with clear diagrams and structured sections for better understanding.
- Added quick reference tables for API endpoints across various modules, improving accessibility for developers.

These changes aim to provide a clearer, more comprehensive understanding of the IAM Service's capabilities and usage.
2026-01-02 00:39:14 +07:00
Ho Ngoc Hai
d8411abd24 Revise IAM Service Architecture documentation for clarity and comprehensiveness
- Updated the document title to reflect the focus on IAM Service Architecture.
- Expanded the overview section to provide a clearer description of the IAM Service's capabilities.
- Enhanced the table of contents for better navigation.
- Added detailed architecture diagrams illustrating the layered architecture and key components.
- Included comprehensive sections on authentication flows, authorization models, caching strategies, and security architecture.
- Improved overall structure and readability to facilitate understanding of the IAM Service's design and functionality.

These changes aim to provide developers with a thorough understanding of the IAM Service architecture and its components.
2026-01-02 00:30:26 +07:00
Ho Ngoc Hai
2640b351c3 Enhance documentation with detailed diagrams and structured flows
- Added request/response flow diagrams to api-design and api-gateway-advanced skills for better visualization of processes.
- Introduced configuration loading flow in configuration-management skill to clarify the configuration process.
- Included error propagation flow in error-handling-patterns skill to illustrate error handling across layers.
- Enhanced various skills with additional diagrams to improve understanding of complex concepts.

These updates aim to provide clearer guidance and improve the overall documentation experience for developers.
2026-01-01 23:22:54 +07:00
Ho Ngoc Hai
6399cf18db Update skill metadata to improve consistency and clarity
- Changed 'dependencies' field to 'compatibility' in multiple skills for uniformity
- Added a detailed reference link in the microservices-development-process skill for enhanced guidance

These updates ensure a more coherent structure across the documentation, aiding developers in understanding compatibility requirements.
2026-01-01 17:12:27 +07:00
Ho Ngoc Hai
ed1eb2b6e4 Update skill metadata and enhance documentation across multiple skills
- Change 'dependencies' to 'compatibility' in various skills for consistency
- Add detailed examples and best practices to improve clarity in api-design, api-gateway-advanced, data-consistency-patterns, database-prisma, deployment-kubernetes, event-driven-architecture, inter-service-communication, observability-monitoring, security, and testing-patterns
- Refine Common Mistakes sections with BAD/GOOD code examples for better learning

All skills now feature improved structure and comprehensive guidance for developers.

🤖 Generated with [Claude Code](https://claude.com/claude-code)
2026-01-01 16:14:11 +07:00
Ho Ngoc Hai
6436fafcbd Add Common Mistakes sections to remaining 4 skills
- project-rules: directory structure, naming, response format, bilingual comments
- security: password hashing, secrets, input validation, logging sensitive data
- testing-patterns: implementation details, shared state, mocking, edge cases
- api-design: RESTful URLs, response format, status codes, pagination

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-01 11:23:33 +07:00