mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-04-17 04:55:46 +00:00
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) |
||
|---|---|---|
| .. | ||
| api.go | ||
| base.go | ||
| inbound.go | ||
| index.go | ||
| server.go | ||
| setting.go | ||
| util.go | ||
| websocket.go | ||
| xray_setting.go | ||
| xui.go | ||