-
Notifications
You must be signed in to change notification settings - Fork 292
WebUI, NodeInfo between peers and DevContainers #1276
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
Open
andyoknen
wants to merge
48
commits into
yggdrasil-network:develop
Choose a base branch
from
andyoknen:develop
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…nterface settings
…untime directories
…on for improved terminal experience
…dress validation in server start method
- 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.
- 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.
…out authentication, and implement theme toggle functionality in login and main pages
…and user accesses login page
…loading and saving configurations
…n the WebUI and CLI. Update peer data retrieval to fetch names from node information.
… showing IP addresses. Clean up unused code related to peer name retrieval in admin handler.
…elated handlers to include NodeInfo in peer data retrieval and handshake processes.
… admin responses. Enhance debug logging for NodeInfo processing in various components.
…UI. Enhance debug logging for NodeInfo processing.
…ents to clean up the codebase.
…nctionality. Enhance configuration handling by converting data to JSON format and adding validation features. Update styles for improved user experience.
…tead of 'Unknown' for peer address.
…eer address is not available.
…te UI elements for better user experience. Replace toggle functionality with a fixed display of line numbers. Enhance notification messages and confirmation dialogs with translation support for improved localization.
…hlighting Docker and VS Code Dev Container support for enhanced setup and workflow consistency.
…tartSignal function to manage process signals based on the operating system, improving server restart functionality.
… needed for cross-platform restart handling. Clean up code by eliminating unused imports and comments related to platform-specific signal handling.
…when both build name and version are available. Update CSS styles for login container and footer margins for improved layout consistency.
… attacks. Implemented validateConfigPath function to sanitize and check file paths before use in configuration settings. Updated relevant functions to utilize this validation, ensuring security and integrity of file operations.
…guration handling. Implemented safeReadFile, safeWriteFile, and safeStat functions to ensure file paths are validated before operations. Added checks for system directory access and path depth limits to improve security. Updated documentation to reflect these changes and included validation comments in the source code.
…reamline code. Update SECURITY.md to reflect the removal of these functions and adjust the section numbering accordingly.
…mplify path validation logic. This change streamlines the configuration handling process by eliminating unnecessary restrictions on system directory access.
…ted documentation. Adjust WebUIServer response structure and translations to reflect the absence of backup path information.
…Info and related UI components. Simplify config response structure in WebUIServer and update frontend to reflect these changes. Clean up unused CSS styles for improved layout.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Added