3x-ui/web/service
pwnnex eb4791a1cd hysteria: also accept "hysteria2" protocol string
UI stores v1 and v2 both as "hysteria" with settings.version, but
inbounds that came in from imports / manual SQL can carry the
literal "hysteria2" string and get silently dropped everywhere we
switch on protocol.

Add Hysteria2 constant + IsHysteria helper, use it in the places
that gate on protocol (sub SQL, getLink, genHysteriaLink, clash
buildProxy, json gen, inbound.go validation, xray AddUser).

Existing "hysteria" inbounds are untouched.

closes #4081
2026-04-22 18:55:09 +03:00
..
config.json dokodemo-door, socks renamed to mixed, tunnel 2025-09-09 13:57:40 +02:00
custom_geo.go Add SSRF protection (#4044) 2026-04-20 00:18:20 +02:00
custom_geo_test.go Add SSRF protection (#4044) 2026-04-20 00:18:20 +02:00
inbound.go hysteria: also accept "hysteria2" protocol string 2026-04-22 18:55:09 +03:00
nord.go feat: Add NordVPN NordLynx (WireGuard) integration (#3827) 2026-04-20 00:41:50 +02:00
outbound.go fix security issue 2026-02-09 23:36:10 +01:00
panel.go docs: add comments for all functions 2025-09-20 09:35:50 +02:00
server.go Lower minimum Xray version 2026-04-21 21:20:59 +02:00
setting.go fix timelocation for windows 2026-04-21 20:05:52 +02:00
tgbot.go Extract bot command setup into trySetBotCommands 2026-04-22 10:47:30 +02:00
user.go Add Go code analyzer workflow 2026-03-17 23:01:15 +01:00
warp.go docs: add comments for all functions 2025-09-20 09:35:50 +02:00
xray.go add hysteria inbound 2026-04-20 16:05:27 +02:00
xray_setting.go Fix blank Xray Settings page from wrapped xrayTemplateConfig (#4059) (#4069) 2026-04-21 20:30:02 +02:00
xray_setting_test.go Fix blank Xray Settings page from wrapped xrayTemplateConfig (#4059) (#4069) 2026-04-21 20:30:02 +02:00