3x-ui/web/service
Aleksei Sidorenko c869c3fc4a fix(tgbot): improve client creation UX, Sub ID validation and RTL support
- Display "Sub ID" and "Flow" with correct HTML formatting (bold/monospace) in the final client creation summary.
- Fix RTL (Right-to-Left) alignment for Arabic and Persian languages by introducing localized labels for "Sub ID" and "Flow".
- Implement robust Unicode regex validation (`^[\p{L}\p{N}\-_]+$`) for Sub ID to block URI-breaking special characters and spaces while allowing multi-language input.
- Fix a bug where an invalid Sub ID was still saved to the global state despite failing validation.
- Fix a critical state-handling bug in `SendMsgToTgbotDeleteAfter` that prematurely deleted user states and caused the bot to ignore user inputs.
- Add success alerts for Flow selection and self-deleting messages on cancellation.
- Add a fallback mechanism for missing localization keys to prevent the bot from silently hanging during error reporting
- Update all 13 `.toml` localization files with new keys (`invalid_subid`, `client_subid`, `client_flow`).
2026-03-04 23:07:58 +03:00
..
config.json dokodemo-door, socks renamed to mixed, tunnel 2025-09-09 13:57:40 +02:00
inbound.go Improve telego client robustness and retries 2026-02-14 22:49:19 +01: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 fix(tgbot): improve client creation UX, Sub ID validation and RTL support 2026-03-04 23:07:58 +03:00
user.go gofmt 2025-10-21 13:02:55 +02: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