3x-ui/web/service
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
..
config.json dokodemo-door, socks renamed to mixed, tunnel 2025-09-09 13:57:40 +02:00
inbound.go fix: comprehensive bug fixes - wrong toast messages, duplicate calls, hardcoded strings 2026-03-28 15:42:08 +08: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 v2.8.10 2026-02-11 18:21:43 +01:00
setting.go update dependencies 2026-03-04 13:05:29 +01:00
tgbot.go feat(tgbot): send connection links and qrs on client creation (closes #3320)\n\n- Refactored inline keyboards into getCommonClientButtons to respect DRY\n- Extended SubmitAddClient callback handlers to dispatch individual links and QR codes to the bot chat on success. (#3888) 2026-03-17 22:09:49 +01: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 Return nil if no error in GetXrayErr 2026-01-13 17:40:52 +01:00
xray_setting.go docs: add comments for all functions 2025-09-20 09:35:50 +02:00