Commit graph

16 commits

Author SHA1 Message Date
Andy Oknen
19710fbc19 Implement modal system for adding peers and logout confirmation in WebUI 2025-07-31 14:25:38 +00:00
Andy Oknen
fcb5efd753 Add timeout handling and loading state management in API calls 2025-07-31 04:51: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
791214c18b Enhance WebUI with new peer display features and multilingual support 2025-07-31 04:29:28 +00:00
Andy Oknen
83bd279ffa Enhance WebUI footer and mobile controls 2025-07-30 17:03:16 +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
2b3b4c39d2 Expose global state and update peer display logic in WebUI 2025-07-30 16:09:40 +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
3187114780 Refactor static file serving in WebUI to allow CSS and JS access without authentication, and implement theme toggle functionality in login and main pages 2025-07-30 13:21:30 +00:00
Andy Oknen
fc354865ea Implement theme toggle functionality and enhance UI styles 2025-07-30 13:21:23 +00:00
Andy Oknen
008ac3d864 Enhance WebUI with multilingual support 2025-07-30 09:19:25 +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