[PR #3605] [MERGED] feat: Add WebSocket support for real-time updates and enhance VLESS settings #5480

Closed
opened 2026-10-31 20:47:15 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/MHSanaei/3x-ui/pull/3605
Author: @lolka1333
Created: 12/14/2025
Status: ✅ Merged
Merged: 1/3/2026
Merged by: @MHSanaei

Base: main ← Head: main


📝 Commits (10+)

  • 4d5efe8 feat: add support for trusted X-Forwarded-For and testseed parameters in VLESS settings
  • 688099f chore: update Xray Core version to 25.12.8 in release workflow
  • 8ed2119 chore: update Xray Core version to 25.12.8 in Docker initialization script
  • d56139a chore: bump version to 2.8.6 and add watcher for security changes in inbound modal
  • 4b499c8 refactor: remove default and random seed buttons from outbound form
  • d7116ab refactor: update VLESS form to rename 'Test Seed' to 'Vision Seed' and change button functionality for seed generation
  • 95551dd refactor: enhance TLS settings form layout with improved button styling and spacing
  • 3ed6d36 feat: integrate WebSocket support for real-time updates on inbounds and Xray service status
  • 71ff84a chore: downgrade version to 2.8.5
  • 6247e79 refactor: translate comments to English

📊 Changes

40 files changed (+1329 additions, -109 deletions)

View changed files

📝 .github/workflows/release.yml (+2 -2)
📝 DockerInit.sh (+1 -1)
📝 go.mod (+2 -2)
📝 go.sum (+2 -2)
📝 web/assets/js/model/inbound.js (+22 -2)
📝 web/assets/js/model/outbound.js (+23 -5)
➕ web/assets/js/websocket.js (+145 -0)
📝 web/controller/inbound.go (+12 -0)
📝 web/controller/server.go (+17 -0)
➕ web/controller/websocket.go (+189 -0)
📝 web/global/global.go (+1 -0)
📝 web/html/common/page.html (+1 -0)
📝 web/html/form/outbound.html (+31 -0)
📝 web/html/form/protocol/vless.html (+30 -0)
📝 web/html/form/stream/stream_sockopt.html (+9 -0)
📝 web/html/form/tls_settings.html (+11 -7)
📝 web/html/inbounds.html (+108 -13)
📝 web/html/index.html (+65 -7)
📝 web/html/modals/inbound_modal.html (+90 -4)
📝 web/html/settings/xray/dns.html (+7 -0)

...and 20 more files

📄 Description

What is the pull request?

This PR adds WebSocket support for real-time updates and enhances VLESS protocol settings.

Main Changes:

  • Added WebSocket hub for real-time updates on inbounds and Xray service status
  • Enhanced VLESS settings with X-Forwarded-For support and Vision Seed functionality
  • Improved UI forms (TLS settings, VLESS configuration)
  • Updated Xray Core to version 25.12.8

Which part of the application is affected by the change?

  • Frontend
  • Backend

Type of Changes

  • Bug fix
  • New feature
  • Refactoring
  • Other

Screenshots

image image

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/MHSanaei/3x-ui/pull/3605 **Author:** [@lolka1333](https://github.com/lolka1333) **Created:** 12/14/2025 **Status:** ✅ Merged **Merged:** 1/3/2026 **Merged by:** [@MHSanaei](https://github.com/MHSanaei) **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (10+) - [`4d5efe8`](https://github.com/MHSanaei/3x-ui/commit/4d5efe8dcdf71a309dc6346343187ea1a61fd102) feat: add support for trusted X-Forwarded-For and testseed parameters in VLESS settings - [`688099f`](https://github.com/MHSanaei/3x-ui/commit/688099fd99e86dea71c1203e3e06cc883c121086) chore: update Xray Core version to 25.12.8 in release workflow - [`8ed2119`](https://github.com/MHSanaei/3x-ui/commit/8ed21190040369aa82fe26c71a16015c91f93739) chore: update Xray Core version to 25.12.8 in Docker initialization script - [`d56139a`](https://github.com/MHSanaei/3x-ui/commit/d56139acd3bef9cfb8d42d1978f9627b016e590f) chore: bump version to 2.8.6 and add watcher for security changes in inbound modal - [`4b499c8`](https://github.com/MHSanaei/3x-ui/commit/4b499c8027f28211550aa1c3eb95ec7d30b481a5) refactor: remove default and random seed buttons from outbound form - [`d7116ab`](https://github.com/MHSanaei/3x-ui/commit/d7116abf6932206e676c5873c9e594eaf697f4f1) refactor: update VLESS form to rename 'Test Seed' to 'Vision Seed' and change button functionality for seed generation - [`95551dd`](https://github.com/MHSanaei/3x-ui/commit/95551dd2d5802e2cc27da3d96486237afae8a633) refactor: enhance TLS settings form layout with improved button styling and spacing - [`3ed6d36`](https://github.com/MHSanaei/3x-ui/commit/3ed6d368b664a5db687e0dc9025c00a3a2825d60) feat: integrate WebSocket support for real-time updates on inbounds and Xray service status - [`71ff84a`](https://github.com/MHSanaei/3x-ui/commit/71ff84a24d4b956f265e6acaf0d13fc77e827c12) chore: downgrade version to 2.8.5 - [`6247e79`](https://github.com/MHSanaei/3x-ui/commit/6247e79ac364f08e4506f1ba8dd3fbaca5310aa3) refactor: translate comments to English ### 📊 Changes **40 files changed** (+1329 additions, -109 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/release.yml` (+2 -2) 📝 `DockerInit.sh` (+1 -1) 📝 `go.mod` (+2 -2) 📝 `go.sum` (+2 -2) 📝 `web/assets/js/model/inbound.js` (+22 -2) 📝 `web/assets/js/model/outbound.js` (+23 -5) ➕ `web/assets/js/websocket.js` (+145 -0) 📝 `web/controller/inbound.go` (+12 -0) 📝 `web/controller/server.go` (+17 -0) ➕ `web/controller/websocket.go` (+189 -0) 📝 `web/global/global.go` (+1 -0) 📝 `web/html/common/page.html` (+1 -0) 📝 `web/html/form/outbound.html` (+31 -0) 📝 `web/html/form/protocol/vless.html` (+30 -0) 📝 `web/html/form/stream/stream_sockopt.html` (+9 -0) 📝 `web/html/form/tls_settings.html` (+11 -7) 📝 `web/html/inbounds.html` (+108 -13) 📝 `web/html/index.html` (+65 -7) 📝 `web/html/modals/inbound_modal.html` (+90 -4) 📝 `web/html/settings/xray/dns.html` (+7 -0) _...and 20 more files_ </details> ### 📄 Description ## What is the pull request? This PR adds WebSocket support for real-time updates and enhances VLESS protocol settings. **Main Changes:** - Added WebSocket hub for real-time updates on inbounds and Xray service status - Enhanced VLESS settings with X-Forwarded-For support and Vision Seed functionality - Improved UI forms (TLS settings, VLESS configuration) - Updated Xray Core to version 25.12.8 ## Which part of the application is affected by the change? - [x] Frontend - [x] Backend ## Type of Changes - [ ] Bug fix - [x] New feature - [x] Refactoring - [ ] Other ## Screenshots <!-- Add screenshots to illustrate the changes --> <img width="1128" height="285" alt="image" src="https://github.com/user-attachments/assets/329a2641-1008-4451-9d49-b7f75fa18f65" /> <img width="1139" height="313" alt="image" src="https://github.com/user-attachments/assets/75dd7f51-b31a-4ca8-a3d6-c8145d009c1b" /> <!-- Remove this section if it is not applicable. --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-31 20:47:15 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
MHSanaei/3x-ui#5480
No description provided.