Fix a bug existed in the main branch where any modifications to node content could not be saved via WebUI.
The patch has been compiled and tested on version 2.4.9, and the save function works properly.
Further testing is still required as potential side effects introduced by this patch remain unknown.
Signed-off-by: haotiangood <haotiangood2008@gmail.com>
- Clean up outbound_connections foreign key before deleting from servers in ListRemove
- Preserve user's TproxyExcludedInterfaces setting after FillEmpty defaults
- Add cursor: pointer style to proxy group toggle tag in frontend
- Update core/xray submodule from v1.260327.0 (v26.3.27) to v26.6.1
- Remove deprecated AllowInsecure field from all protocol structs
- Add PinnedPeerCertSha256 and VerifyPeerCertByName fields (service layer)
- Update ngui (Nuxt) frontend with text inputs for new fields
- Update gui (Vue 2) frontend with text inputs for new fields
- Keep existing PinnedSHA256 for juicity (no duplicate)
- Backward compatible: old allowInsecure params silently ignored
- Run go mod tidy to update dependencies
When transparent proxy (TinyTun/wintun) is enabled on Windows, the wintun
driver briefly disrupts all traffic while installing routes. This caused
two problems:
1. The connectivity monitor fired its first probe too early, before routes
were fully set up, and received a false network-unavailable result. This
stopped TinyTun prematurely and set networkPaused=true, leaving the
frontend's status tag stuck on the Checking spinner indefinitely.
2. The frontend's /touch request in node.vue created() could fail during
that same disruption window, making the component stay in the loading
state with no retry.
Fixes:
- connectivity.go: add a 5-second startup delay before the first probe so
that wintun has time to finish installing routes.
- node.vue: replace the single /touch call with a retry loop (up to 3
attempts, 2 s apart) that handles both network errors and non-SUCCESS
responses; always sets ready=true after the last attempt to unblock the UI.
- App.vue: call syncLatestNodeOverview() on every WebSocket (re)connect so
the running state is refreshed even if a WS message was missed while the
connection was down.
- Split the single 'V2RAY' tab in gui/modalServer.vue into separate
'VMESS' (tab 0) and 'VLESS' (tab 1) tabs
- Remove the 'Extra Raw JSON' textarea for XHTTP transport and replace
it with complete structured form fields in both tabs:
- Mode, Uplink HTTP Method
- noGRPCHeader / noSSEHeader toggles
- Range config pairs: scMaxEachPostBytes, scMinPostsIntervalMs,
scStreamUpServerSecs, xPaddingBytes, scMaxBufferedPosts
- Full xmux config: maxConcurrency, maxConnections, cMaxReuseTimes,
hMaxRequestTimes, hMaxReusableSecs (all ranges), hKeepAlivePeriod
- Dynamic Custom Headers list (key/value pairs)
- Add XHTTPRangeConfig and XHTTPXmux types to coreObj.go; expand
XHTTPSettings to cover all splithttp proto client fields
- Extend V2Ray struct with 25 new XHTTP fields; update ParseVlessURL,
ExportToURL, and Configuration() accordingly
- Add queryInt / setIntQuery helpers for URL param parsing
- Update all tabChoice indices (+1) for WireGuard through AnyTLS
- Add watch on tabChoice to auto-set v2ray.protocol
- Add maxEarlyData and earlyDataHeaderName input fields for WebSocket transport in modalServer.vue
- Add multiMode switch, idleTimeout, healthCheckTimeout, permitWithoutStream, initialWindowsSize fields for gRPC transport
- Add WireGuard protocol tab with 12 configuration fields (name, address, port, keys, etc.)
- Update resolveURL/generateURL functions to support new parameters for vless:// and wireguard:// links
- Update data model initialization with new fields
- Add Chinese and English translations for all new UI labels
- Fix backend v2ray.go: add IdleTimeout, HealthCheckTimeout, PermitWithoutStream, InitialWindowsSize parsing in gRPC config generation
ci: upgrade download-artifact@v4 to v7
ci: use matrix workflow to build
ci: use matrix workflow to build
ci: use matrix workflow to build
ci: use matrix workflow to build
Squashed from:
- 856a3730 ci: update go to 1.26
- 191be38f tun: fix IPv6 address under win
- 3ca4d5cd windows: v2rayA should read win env like %temp%
- 48a84438 windows: v2rayA should start after modified PATH
- c87bbf62 fix .exe ext-name under windows
- 614bfe1c dns: fix a error about dns format
- 991319ff pre.go: don't create C:\etc
- 9f31b39c translated all comments to English
- aaa269f7 try to fix Tun DNS
- 25c84ad9 面向云代理会话的 VS Code 中的检查点
Co-authored-by: Markson Hon <markson@nixos.local>
- Add 'TproxyExcludedInterfaces' to settings with a default list of common interfaces.
- Replace hardcoded interface exclusions in tproxy and redirect logic with the new configurable setting.
- Add UI field and translations for the new setting.