3x-ui/web
Bug Fix Bot 71dc7d983d fix: comprehensive bug fixes - wrong toast messages, duplicate calls, hardcoded strings
Bugs Fixed (17 total across 3 files):

== web/controller/inbound.go ==
1-11. Fix 11 error paths showing success toast messages:
  - addInbound: inboundCreateSuccess → somethingWentWrong
  - delInbound: inboundDeleteSuccess → somethingWentWrong
  - updateInbound (2x): inboundUpdateSuccess → somethingWentWrong
  - clearClientIps: updateSuccess → somethingWentWrong
  - addInboundClient: inboundUpdateSuccess → somethingWentWrong
  - delInboundClient: inboundUpdateSuccess → somethingWentWrong
  - updateInboundClient: inboundUpdateSuccess → somethingWentWrong
  - resetClientTraffic: inboundUpdateSuccess → somethingWentWrong
  - resetAllClientTraffics: inboundUpdateSuccess → somethingWentWrong
  - delDepletedClients: inboundUpdateSuccess → somethingWentWrong
12. Remove duplicate xrayService.SetToNeedRestart() in resetAllTraffics
13. Remove duplicate xrayService.SetToNeedRestart() in resetAllClientTraffics
14-16. Replace hardcoded strings in delInboundClientByEmail with I18n

== web/controller/server.go ==
17. Replace hardcoded strings with I18n in:
  - getNewUUID, getNewmlkem768, getNewEchCert

== web/service/inbound.go ==
18. Remove duplicate 'User not found' nested if-check in disableInvalidClients

Related to PR #3974 (same class of bugs extended to all error paths)
2026-03-28 15:42:08 +08:00
..
assets Fix DeepLink for Happ, remove encoding URL (#3863) 2026-03-04 12:29:46 +01:00
controller fix: comprehensive bug fixes - wrong toast messages, duplicate calls, hardcoded strings 2026-03-28 15:42:08 +08:00
entity feat: more subscription information fields (#3701) 2026-01-26 23:06:01 +01:00
global Refactor code and fix linter warnings (#3627) 2026-01-05 05:54:56 +01:00
html Adjust KCP MTU when selecting xDNS mask 2026-03-04 13:39:14 +01:00
job fix: Ban new IPs with fail2ban instead of disconnected the client. (#3919) 2026-03-17 21:18:10 +01:00
locale update dependencies 2026-03-04 13:05:29 +01:00
middleware docs: add comments for all functions 2025-09-20 09:35:50 +02:00
network docs: add comments for all functions 2025-09-20 09:35:50 +02:00
service fix: comprehensive bug fixes - wrong toast messages, duplicate calls, hardcoded strings 2026-03-28 15:42:08 +08:00
session docs: add comments for all functions 2025-09-20 09:35:50 +02:00
translation Update translate.ru_RU.toml (#3889) 2026-03-17 21:24:09 +01:00
websocket Add url speed test for outbound (#3767) 2026-02-09 21:43:17 +01:00
web.go fix: remove excluded paths from gzip middleware in router initialization (#3860) 2026-03-01 15:18:16 +01:00