3x-ui/internal/web/service/tgbot
MHSanaei bb18734c77 fix(tgbot): resolve the panel egress bridge per connection
The bot read the panel-egress bridge once at start, so when Xray came up
after the bot (or Panel Outbound was set later) it kept dialing Telegram
directly until restarted - on a filtered host it never connected.

With no dedicated bot proxy, the fasthttp client now resolves the bridge on
every new connection and falls back to a direct dial when it is absent.
Raised in #6682.
2026-10-03 01:35:13 +02:00
..
numeric_input.go refactor(tgbot): extract the shared numeric keypad builder 2026-09-10 21:07:57 +02:00
numeric_input_test.go test(tgbot): detect open-coded keypad transitions (#6214) 2026-08-15 15:27:02 +02:00
tgbot.go fix(tgbot): resolve the panel egress bridge per connection 2026-10-03 01:35:13 +02:00
tgbot_add_client_expiry_test.go fix(tgbot): scope the add-client wizard to the admin, not the chat (#6604) 2026-09-26 20:31:39 +02:00
tgbot_add_client_picker_test.go perf(tests): copy a migrated template DB instead of migrating per test 2026-09-27 03:04:50 +02:00
tgbot_admin_list_race_test.go fix(tgbot): read the admin list and running flag under their mutex (#6491) 2026-09-13 11:46:36 +02:00
tgbot_broadcast.go feat(tgbot): add /broadcast to relay an admin message to all clients (#6510) 2026-09-27 01:43:32 +02:00
tgbot_broadcast_test.go feat(tgbot): add /broadcast to relay an admin message to all clients (#6510) 2026-09-27 01:43:32 +02:00
tgbot_callback_auth_test.go Repo-wide self-correcting audit: 54 verified bug fixes (#5970) 2026-07-17 00:33:06 +02:00
tgbot_client.go fix(tgbot): build a client's individual links in-process 2026-09-27 18:07:33 +02:00
tgbot_client_draft_per_admin_test.go perf(tests): copy a migrated template DB instead of migrating per test 2026-09-27 03:04:50 +02:00
tgbot_client_draft_per_chat_test.go perf(tests): copy a migrated template DB instead of migrating per test 2026-09-27 03:04:50 +02:00
tgbot_client_expiry_test.go perf(tests): copy a migrated template DB instead of migrating per test 2026-09-27 03:04:50 +02:00
tgbot_client_links_authz_test.go perf(tests): copy a migrated template DB instead of migrating per test 2026-09-27 03:04:50 +02:00
tgbot_declined_callback_test.go fix(tgbot): answer the callbacks the bot cannot route (#6493) 2026-09-13 11:47:22 +02:00
tgbot_delete_after_test.go fix(tgbot): scope the add-client wizard to the admin, not the chat (#6604) 2026-09-26 20:31:39 +02:00
tgbot_draft_render_test.go fix(tgbot): scope the add-client wizard to the admin, not the chat (#6604) 2026-09-26 20:31:39 +02:00
tgbot_event.go feat(memory): add memory threshold alerts (#5366) 2026-06-21 17:45:33 +02:00
tgbot_inbound.go fix(tgbot): unstick the add-client wizard's inbound picker (#6621) 2026-09-26 22:01:56 +02:00
tgbot_individual_links_test.go fix(tgbot): build a client's individual links in-process 2026-09-27 18:07:33 +02:00
tgbot_invite.go feat(tgbot): access levels and /start account binding (#6518) 2026-09-27 13:33:29 +02:00
tgbot_invite_test.go feat(tgbot): access levels and /start account binding (#6518) 2026-09-27 13:33:29 +02:00
tgbot_level.go feat(tgbot): access levels and /start account binding (#6518) 2026-09-27 13:33:29 +02:00
tgbot_level_test.go feat(tgbot): access levels and /start account binding (#6518) 2026-09-27 13:33:29 +02:00
tgbot_report.go fix(tgbot): read the admin list and running flag under their mutex (#6491) 2026-09-13 11:46:36 +02:00
tgbot_report_batching_test.go perf(tests): copy a migrated template DB instead of migrating per test 2026-09-27 03:04:50 +02:00
tgbot_router.go feat(tgbot): access levels and /start account binding (#6518) 2026-09-27 13:33:29 +02:00
tgbot_send.go fix(tgbot): read the admin list and running flag under their mutex (#6491) 2026-09-13 11:46:36 +02:00
tgbot_send_test.go fix(tgbot): use a token telego accepts in the edit-message tests 2026-09-06 17:32:01 +02:00
tgbot_stale_button_test.go perf(tests): copy a migrated template DB instead of migrating per test 2026-09-27 03:04:50 +02:00
tgbot_test.go fix(tgbot): resolve the panel egress bridge per connection 2026-10-03 01:35:13 +02:00