anything-llm/server/utils/middleware
Sean Hatfield 192ca411f2
Telegram bot connector (#5190)
* wip telegram bot connector

* encrypt bot token, reorg telegram bot modules, secure pairing codes

* offload telegram chat to background worker, add @agent support with chart png rendering, reconnect ui

* refactor telegram bot settings page into subcomponents

* response.locals for mum, telemetry for connecting to telegram

* simplify telegram command registration

* improve telegram bot ux: rework switch/history/resume commands

* add voice, photo, and TTS support to telegram bot with long message handling

* lint

* rename external_connectors to external_communication_connectors, add voice response mode, persist chat workspace/thread selection

* lint

* fix telegram bot connect/disconnect bugs, kill telegram bot on multiuser mode enable

* add english translations

* fix qr code in light mode

* repatch migration

* WIP checkpoint

* pipeline overhaul for using response obj

* format functions

* fix comment block

* remove conditional dumpENV + lint

* remove .end() from sendStatus calls

* patch broken streaming where streaming only first chunk

* refactor

* use Ephemeral handler now

* show metrics and citations in real GUI

* bugfixes

* prevent MuM persistence, UI cleanup, styling for status

* add new workspace flow in UI
Add thread chat count
fix 69 byte payload callback limit bug

* handle pagination for workspaces, threads, and models

* modularize commands and navigation

* add /proof support for citation recall

* handle backlog message spam

* support abort of response streams

* code cleanup

* spam prevention

* fix translations, update voice typing indicator, fix token bug

* frontend refactor, update tips on /status and voice response improvements

* collapse agent though blocks

* support images

* Fix mime issues with audio from other devices

* fix config issue post server stop

* persist image on agentic chats

* 5189 i18n (#5245)

* i18n translations
connect #5189

* prune translations

* fix errors

* fix translation gaps

---------

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
2026-03-23 15:10:21 -07:00
..
chatHistoryViewable.js Enable the ability to disable the chat history UI (#2501) 2024-10-21 13:19:19 -07:00
communityHubDownloadsEnabled.js Community hub integration (#2555) 2024-11-26 09:59:43 -08:00
embedMiddleware.js chore: add ESLint to `/server` (#5126) 2026-03-05 16:32:45 -08:00
featureFlagEnabled.js [BETA] Live document sync (#1719) 2024-06-21 13:38:50 -07:00
isSupportedRepoProviders.js GitLab Hosted and Local Connector (#1932) 2024-07-23 12:23:51 -07:00
multiUserProtected.js Telegram bot connector (#5190) 2026-03-23 15:10:21 -07:00
simpleSSOEnabled.js Flag to disable login UI and endpoints for credentialed auth (#3984) 2025-06-11 12:46:40 -07:00
validApiKey.js Replace custom sqlite dbms with prisma (#239) 2023-09-28 14:00:03 -07:00
validBrowserExtensionApiKey.js Enforce user suspension check on browser extension API key path 2026-03-13 10:05:05 -07:00
validWorkspace.js Implement workspace threading that is backwards compatible (#699) 2024-02-08 18:37:22 -08:00
validatedRequest.js Migrate to `bcryptjs` (#4767) 2025-12-11 15:19:04 -08:00