-
Notifications
You must be signed in to change notification settings - Fork 65
Features update version and update noti Change Password #15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Features update version and update noti Change Password #15
Conversation
…d detailed results
…with hashed passwords from backup
- Updated SlaveNode interface to include sync configuration and metrics. - Implemented database migration for slave nodes and sync logs. - Created API endpoints for registering, updating, deleting, and syncing slave nodes. - Added middleware for validating slave API keys. - Developed service layer for handling slave node operations. - Implemented query options for fetching slave nodes and their statuses. - Enhanced mock data for slave nodes to include new fields.
- Introduced SystemConfig interface in types for managing node configurations. - Created migration for system_configs table with necessary fields and enum for node modes. - Implemented system configuration controller with endpoints to get, update, connect, disconnect, and test connection to master node. - Added routes for system configuration management. - Developed service methods for API interactions related to system configuration. - Implemented query options for fetching system configuration with automatic refetching.
…nd ACLs for clarity; remove unused URL validation utility
…rvice checks, dependency updates, and health checks
… before generating Prisma client and running migrations; streamline logging
…rectly and enhance logging for Prisma client generation, migrations, and seeding
…te script; streamline backend and frontend build processes
…from Prisma schema
…mproved logging; update update script steps
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This pull request implements a comprehensive features update including version management, notification system updates, and password change functionality improvements. The changes introduce master-slave node synchronization, backup/restore capabilities, and enhanced UI components.
Key Changes:
- Added master-slave node synchronization system with API key authentication
- Implemented backup scheduling and configuration import/export functionality
- Enhanced user account management with improved password change notifications
Reviewed Changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
| scripts/update.sh | Adds automated update script for rebuilding and restarting services |
| apps/web/src/types/index.ts | Extended SlaveNode interface with sync configuration and metrics |
| apps/web/src/services/*.ts | New services for system config, slave nodes, and backup management |
| apps/web/src/components/pages/*.tsx | Updated SlaveNodes and Backup pages with full functionality |
| apps/api/src/controllers/*.ts | New controllers for backup, slave node, and sync management |
| apps/api/prisma/schema.prisma | Database schema updates for backup and slave node features |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
| import { toast } from "sonner"; | ||
| import { accountService } from "@/services/auth.service"; | ||
|
|
||
| const Account = () => { | ||
| const { t } = useTranslation(); | ||
| const { toast } = useToast(); | ||
|
|
Copilot
AI
Oct 7, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Inconsistent toast library usage - the file imports both toast from 'sonner' and removes the useToast hook, but other parts of the codebase still use the useToast pattern. This creates inconsistency across the application.
|
* Feat: Update Features Backup & Restore (#12) * feat: Update Features Backup & Restore * Feat: Slave Mode (#13) * feat: Update Features Backup & Restore * Feat: Features update (#14) * feat: Update software * Features update version and update noti Change Password (#15) * feat: Update Features Backup & Restore * Fix frontend error (#16) * Refactor services to use centralized API module and token storage * Feat: Enhance Slave Mode UI with mode switch button and update node mode mutation * feat: Improve SSLDialog layout with enhanced text wrapping for certificate fields * refactor: replace js-cookie with localStorage for token management (#17) * feat: add syncInterval and lastSyncHash columns to system_configs table (#18) * feat: Update project goal description and remove security recommendation * feat: Update project goal description and remove security recommendation * About readme (#21) * feat: Update project goal description and remove security recommendation * Refactor be (#22) * Refactor code structure for improved readability and maintainability * style: limit max height of certificate, private key, and chain input fields (#23) --------- Co-authored-by: SangND <dacsang97@gmail.com>


No description provided.