795 Commits

Author SHA1 Message Date
GL.iNet-Yongping.Xie 72f1986309 Merge branch 'dev' v1.2.0 2025-11-12 23:48:34 -08:00
GL.iNet-Yongping.Xie e9e773408d docs: update README with OIDC feature support details
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>
2025-11-12 23:47:27 -08:00
GL.iNet-Yongping.Xie f6f06582dd feat: add whitelist support for subid and group
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>
2025-11-12 23:08:45 -08:00
GL.iNet-Yongping.Xie 1ab54dae68 feat: add token signature verification logic
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>
2025-11-12 18:51:34 -08:00
GL.iNet-Yongping.Xie d9a66add94 feat: switch code comments from Chinese to English
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>
2025-11-12 17:53:48 -08:00
GL.iNet-Yongping.Xie de48a9041e feat: add OIDC whitelist feature
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>
2025-11-12 03:19:33 -08:00
GL.iNet-Yongping.Xie a31607ad09 feat: add support for custom OIDC login flow
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>
2025-11-12 01:54:04 -08:00
pengyu.lu a9711565cd feat: Add the function of logging in with OIDC 2025-11-12 17:51:54 +08:00
GL.iNet-Yongping.Xie b29ca0c117 doc: update Chinese and English README for LDAP login
1. Updated both Chinese and English README files to document LDAP login
   support.

Signed-off-by: GL.iNet-Yongping.Xie <yongping.xie@gl-inet.com>
v1.1.0
2025-09-30 04:12:49 -07:00
iclannad 7ce942d0d3 Merge pull request #8 from CU-Jon/feature/LDAP
feat: add optional LDAP authentication support
2025-09-30 18:39:16 +08:00
Jon Agramonte 5e16e10e9a feat: add optional LDAP authentication support
- 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.
2025-09-29 09:59:14 -04:00
GL.iNet-Yongping.Xie 3e9e5bb93a feat: support multi-level subdomain certificates
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>
v1.0.2
2025-09-26 02:29:17 -07:00
pengyu.lu 3c6c214479 fix: Fixed the issue where the gl/main dependency could not be downloaded 2025-09-25 11:40:26 +08:00
GL.iNet-Yongping.Xie ed3da45ddf feat: release version v1.0.1
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>
v1.0.1
2025-09-15 21:00:58 -07:00
GL.iNet-Yongping.Xie b089169270 doc: update docker-compose YAML file
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>
2025-09-15 19:17:00 -07:00
GL.iNet-Yongping.Xie 2349554c22 doc: update docker-compose startup instructions
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>
2025-09-15 01:24:49 -07:00
GL.iNet-Yongping.Xie 77886cf052 doc: update docker-compose startup instructions
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>
2025-09-15 01:19:29 -07:00
GL.iNet-Yongping.Xie 9be7a854ce feat: add initial docker-compose.yml for testing
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>
2025-09-15 01:05:21 -07:00
GL.iNet-Yongping.Xie 2b6aecf72a fix: remove docker-compose.yml file
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>
2025-09-10 01:08:44 -07:00
GL.iNet-Yongping.Xie efa73caf75 fix: update Chinese and English README
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>
2025-09-07 20:08:56 -07:00
GL.iNet-Yongping.Xie 4cb11a1ddb fix: update Chinese and English README files
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>
v1.0.0
2025-09-05 03:01:09 -07:00
pengyu.lu d18637fa5d feat: Modify the rtty regarding the jump address of the button 2025-09-05 12:28:13 +08:00
pengyu.lu 876a77b55b feat: Set the default language according to the browser language 2025-09-04 17:05:23 +08:00
GL.iNet-Yongping.Xie 4572b05e32 feat: change open-source license from MIT to BSL
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>
2025-09-03 23:55:28 -07:00
pengyu.lu 5732adc24b Merge branch 'feat-0822-web-ui' into selfhost 2025-09-04 12:27:23 +08:00
pengyu.lu 6bf91b2ebf feat: Modify the prompt message for adding device pop-up Windows 2025-09-04 12:26:10 +08:00
GL.iNet-Yongping.Xie 32db799b67 fix: update README images and remove personal developer info
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>
2025-09-03 19:33:49 -07:00
GL.iNet-Yongping.Xie e82640d076 fix: remove GitHub FUNDING.yml file
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>
2025-09-03 03:10:10 -07:00
GL.iNet-Yongping.Xie 42ecd7d3db fix: resolve missing frontend CSS and JS loading issue
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>
2025-08-29 02:17:19 -07:00
pengyu.lu 63b8dd295b fix: fix the issue of incorrect time calculation in the list 2025-08-29 16:53:18 +08:00
pengyu.lu fc820b0bfa feat: New version UI development 2025-08-29 09:23:56 +08:00
GL.iNet-Yongping.Xie dd67ab50a9 fix: update Chinese and English README descriptions
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>
2025-08-26 02:42:05 -07:00
GL.iNet-Yongping.Xie a0b931d173 fix: update README documentation (EN & CN)
- 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>
2025-08-26 01:28:15 -07:00
GL.iNet-Yongping.Xie 210ed72218 fix: update password image
1. Hide IP information in the image to prevent potential personal data leakage.

Signed-off-by: GL.iNet-Yongping.Xie <yongping.xie@gl-inet.com>
2025-08-17 21:13:14 -07:00
GL.iNet-Yongping.Xie 4eff83070e feat: update one-click installation URL
- Updated one-click installation URL
- Improved compatibility for operating systems without curl pre-installed

Signed-off-by: GL.iNet-Yongping.Xie <yongping.xie@gl-inet.com>
2025-08-15 03:18:37 -07:00
GL.iNet-Yongping.Xie 51aed0699c feat: remove unused scripts and update one-click installation URL
- 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>
2025-08-15 02:38:40 -07:00
GL.iNet-Yongping.Xie fea0163b8b feat: update markdown and http.go
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>
2025-08-14 21:03:09 -07:00
GL.iNet-Yongping.Xie 70c96a9d34 Fixed: fix ID conflicts BUG
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>
2025-08-14 00:09:49 -07:00
GL.iNet-Yongping.Xie 15591a3594 feat: Update installtion script
Update installtion script

Signed-off-by: GL.iNet-Yongping.Xie <yongping.xie@gl-inet.com>
2025-08-13 01:32:27 -07:00
GL.iNet-Yongping.Xie 2b6e4f81fa feat: Update installtion script
Update installtion script

Signed-off-by: GL.iNet-Yongping.Xie <yongping.xie@gl-inet.com>
2025-08-10 23:39:53 -07:00
GL.iNet-Yongping.Xie 0922049c7c feat: Update script
Update script

Signed-off-by: GL.iNet-Yongping.Xie <yongping.xie@gl-inet.com>
2025-08-10 20:24:42 -07:00
GL.iNet-Yongping.Xie 8a86cb67b7 feat: Update readme and script
Update readme and script

Signed-off-by: GL.iNet-Yongping.Xie <yongping.xie@gl-inet.com>
2025-08-10 20:21:20 -07:00
GL.iNet-Yongping.Xie 6b7987163c feat: Update makefile comment
Update makefile comment

Signed-off-by: GL.iNet-Yongping.Xie <yongping.xie@gl-inet.com>
2025-08-10 20:01:16 -07:00
GL.iNet-Yongping.Xie 7dcb23283e feat: Update ssh web readme
Update ssh web readme

Signed-off-by: GL.iNet-Yongping.Xie <yongping.xie@gl-inet.com>
2025-08-10 19:36:22 -07:00
GL.iNet-Yongping.Xie d8e0b0cbc9 feat: Update ssh web readme
Update ssh web readme

Signed-off-by: GL.iNet-Yongping.Xie <yongping.xie@gl-inet.com>
2025-08-10 19:33:01 -07:00
GL.iNet-Yongping.Xie 8b2abe5a95 feat: Update cn version ssh web readme
Update cn version ssh web readme

Signed-off-by: GL.iNet-Yongping.Xie <yongping.xie@gl-inet.com>
2025-08-10 19:31:08 -07:00
GL.iNet-Yongping.Xie 9884f3d67d feat: Update cn version readme markdown
Update cn version readme markdown

Signed-off-by: GL.iNet-Yongping.Xie <yongping.xie@gl-inet.com>
2025-08-10 19:25:57 -07:00
GL.iNet-Yongping.Xie 34966f186b feat: Update readme markdown
Update readme markdown

Signed-off-by: GL.iNet-Yongping.Xie <yongping.xie@gl-inet.com>
2025-08-07 18:17:23 -07:00
GL.iNet-Yongping.Xie 6db39f82a3 feat: Update readme markdown
Update readme markdown

Signed-off-by: GL.iNet-Yongping.Xie <yongping.xie@gl-inet.com>
2025-08-07 00:40:46 -07:00
GL.iNet-Yongping.Xie e7b31a2302 feat: Update readme markdown
Update readme markdown

Signed-off-by: GL.iNet-Yongping.Xie <yongping.xie@gl-inet.com>
2025-08-07 00:36:27 -07:00