1. Updated the README documentation to include clearer and more complete
information about OIDC feature support.
Signed-off-by: GL.iNet-Yongping.Xie <yongping.xie@gl-inet.com>
1. Added whitelist functionality for subid, group, and related fields to
allow finer-grained access control and improved authentication
flexibility.
Signed-off-by: GL.iNet-Yongping.Xie <yongping.xie@gl-inet.com>
1. Implemented token signature verification to ensure the integrity and
authenticity of tokens before processing authentication requests.
Signed-off-by: GL.iNet-Yongping.Xie <yongping.xie@gl-inet.com>
1. Converted all code comments from Chinese to English to improve
readability and better support international and English-speaking
users.
Signed-off-by: GL.iNet-Yongping.Xie <yongping.xie@gl-inet.com>
1. Added OIDC whitelist functionality to allow specific users or domains
to bypass standard authentication checks for controlled access.
Signed-off-by: GL.iNet-Yongping.Xie <yongping.xie@gl-inet.com>
Added support for a customizable OIDC login flow. Verified successful authentication using Google as the OIDC provider.
Signed-off-by: GL.iNet-Yongping.Xie <yongping.xie@gl-inet.com>
- Introduced LDAP authentication configuration options in the README and Docker Compose files.
- Updated API to handle dual authentication methods (LDAP and legacy).
- Implemented LDAP authentication logic in a new ldap.go file.
- Enhanced user login flow to support username and password for LDAP.
- Added error handling for authorization and authentication failures.
- Updated UI to include username input when LDAP is enabled and provide authentication options.
- Added localization for new authentication messages in English and Chinese.
1. Added support for multi-level subdomains and certificates, such as
*.example.com, *.level1.example.com, and *.level2.level1.example.com.
2. Enabled remote device access through domains like
devId.example.com, devId.level1.example.com, and
devId.level2.level1.example.com.
Signed-off-by: GL.iNet-Yongping.Xie <yongping.xie@gl-inet.com>
1. Published official Docker images to Docker Hub.
2. Added docker-compose configuration template for easier deployment.
Signed-off-by: GL.iNet-Yongping.Xie <yongping.xie@gl-inet.com>
1. Official image has been pushed to Docker Hub.
2. Updated the docker-compose YAML file to reference the official image.
Signed-off-by: GL.iNet-Yongping.Xie <yongping.xie@gl-inet.com>
1. Updated the documentation for starting services with docker-compose,
making the description clearer and more accurate.
Signed-off-by: GL.iNet-Yongping.Xie <yongping.xie@gl-inet.com>
1. Updated the documentation for starting services with docker-compose,
making the description clearer and more accurate.
Signed-off-by: GL.iNet-Yongping.Xie <yongping.xie@gl-inet.com>
1. Added support for docker-compose.yml to simplify deployment and
service management.
2. Tested environment variable configurations to validate compatibility
and ensure correct behavior.
Signed-off-by: GL.iNet-Yongping.Xie <yongping.xie@gl-inet.com>
1. The glkvm-cloud image has not yet been pushed to the repository and
cannot be used directly.
2. Temporarily removed the docker-compose.yml file to prevent customers
from misusing it.
Signed-off-by: GL.iNet-Yongping.Xie <yongping.xie@gl-inet.com>
1. Added clarification about dedicated bandwidth for self-hosted
deployments.
2. Corrected grammar errors in the English documentation.
3. Added server bandwidth configuration requirements to guide proper
deployment.
Signed-off-by: GL.iNet-Yongping.Xie <yongping.xie@gl-inet.com>
1. Removed unnecessary emoji icons from the documentation.
2. Revised the Chinese README description for improved clarity and
professionalism.
Signed-off-by: GL.iNet-Yongping.Xie <yongping.xie@gl-inet.com>
Updated the project license from MIT to Business Source License (BSL).
The MIT license was no longer suitable for the current context. BSL was
adopted to restrict certain commercial use by competitors while ensuring
that normal customers and community users remain unaffected.
Signed-off-by: GL.iNet-Yongping.Xie <yongping.xie@gl-inet.com>
Updated the README to include new feature introduction images for better
presentation. Removed outdated personal developer information to align
with the current project ownership and maintain a more professional
documentation.
Signed-off-by: GL.iNet-Yongping.Xie <yongping.xie@gl-inet.com>
Removed the existing FUNDING.yml file as required by the company project.
This file contained donation methods related to the original developer,
which needed to be cleaned up to avoid confusion and ensure project
consistency.
Signed-off-by: GL.iNet-Yongping.Xie <yongping.xie@gl-inet.com>
Fixed an issue where some frontend CSS and JS files could not be loaded.
The root cause was that go:embed by default ignores files starting with '.' or '_', which led to certain assets being excluded.
Signed-off-by: GL.iNet-Yongping.Xie <yongping.xie@gl-inet.com>
1. Removed the limitation note regarding 50 KVM devices.
2. Added emphasis on quick deployment of the cloud platform and data security.
Signed-off-by: GL.iNet-Yongping.Xie <yongping.xie@gl-inet.com>
- Removed outdated note regarding support for 50 KVM devices
- Added emphasis on quick deployment of the cloud platform and enhanced data security
Signed-off-by: GL.iNet-Yongping.Xie <yongping.xie@gl-inet.com>
- Removed obsolete scripts to clean up the codebase
- Updated GLKVM Cloud one-click installation URL with CDN support for faster and more reliable access
Signed-off-by: GL.iNet-Yongping.Xie <yongping.xie@gl-inet.com>
1. Fixed a bug in http.go where file upload cancellation was not handled correctly.
2. Updated the minimum system requirements for self-host deployment in the markdown documentation.
Signed-off-by: GL.iNet-Yongping.Xie <yongping.xie@gl-inet.com>
prevent accidental removal of existing device on duplicate ID conflict
When a new device connection is established, it creates a Device struct and
checks for ID conflicts. If a conflict exists, the new device connection
closes and triggers DelDevice via its defer statement. The original
implementation used LoadAndDelete which removed any device with the given ID,
causing the existing device to be incorrectly removed.
This changes the deletion logic to use CompareAndDelete, which verifies
both the device ID and the specific device instance. Now when a duplicate
connection closes, only the new (unregistered) device is attempted for removal,
preserving the existing device in the registry.
This ensures legitimate devices remain connected when duplicate connection
attempts occur.
Signed-off-by: GL.iNet-Yongping.Xie <yongping.xie@gl-inet.com>