Commit graph

12 commits

Author SHA1 Message Date
Andy Oknen
82b681367e Remove sendRestartSignal function from WebUIServer as it is no longer needed for cross-platform restart handling. Clean up code by eliminating unused imports and comments related to platform-specific signal handling. 2025-08-15 19:45:14 +00:00
Andy Oknen
8d0cbfd0ad Implement cross-platform restart handling in WebUIServer. Add sendRestartSignal function to manage process signals based on the operating system, improving server restart functionality. 2025-08-15 19:38:49 +00:00
Andy Oknen
0d0f524071 Implement JSON configuration editor in WebUI with save and restart functionality. Enhance configuration handling by converting data to JSON format and adding validation features. Update styles for improved user experience. 2025-08-15 15:59:00 +00:00
Andy Oknen
ee470d32a7 Implement configuration management in WebUI with API integration for loading and saving configurations 2025-08-04 08:30:55 +00:00
Andy Oknen
1f75299312 Improve error handling and fallback mechanisms in WebUI server 2025-07-31 04:31:33 +00:00
Andy Oknen
428d29b176 Update authMiddleware to redirect to main page if no password is set and user accesses login page 2025-07-30 16:15:34 +00:00
Andy Oknen
675e2e71a5 Implement Admin API integration in WebUI for enhanced node management 2025-07-30 15:53:09 +00:00
Andy Oknen
a984fba30d Add brute force protection to authentication system
- Implemented IP-based blocking after 3 failed login attempts, with a 1-minute lockout period.
- Enhanced login handler to check for blocked IPs and record failed attempts.
- Added tests for brute force protection and successful login clearing failed attempts.
- Updated README and example configuration to document new security features.
2025-07-30 09:19:05 +00:00
Andy Oknen
113dcbb72a Add password authentication to WebUI and implement session management
- Updated WebUI configuration to include a password field for authentication.
- Enhanced the WebUI server to handle login and logout functionality with session management.
- Added tests for authentication and session handling.
- Updated README and example configuration to reflect new authentication features.
2025-07-30 08:34:29 +00:00
Andy Oknen
51e1ef3ed0 Refactor error handling tests to use structured test cases and add address validation in server start method 2025-07-30 07:44:44 +00:00
Andy Oknen
51a1a0a3d7 Refactor web UI server setup in main.go and update default host in config 2025-07-29 21:03:03 +00:00
Andy Oknen
345d5b9cbd Add minimal Web UI server 2025-07-29 20:14:41 +00:00