dify/api/controllers
GareArc 4c84c5957d
fix: run user_connect authorization inside Flask app context
Socket.IO event handlers run in plain gevent greenlets without a Flask
application context, so the db.session() call added in #38227 raises
RuntimeError: Working outside of application context, and every
user_connect is rejected as unauthorized. Wrap the authorization call in
sio.app.app_context(), matching the existing connect handler.
2026-07-08 21:57:07 -07:00
..
common refactor(api): migrate workspace model endpoints to BaseModel (#37963) 2026-07-09 04:05:32 +00:00
console fix: run user_connect authorization inside Flask app context 2026-07-08 21:57:07 -07:00
files chore: clean Db session from service (#38227) 2026-07-08 03:07:27 +00:00
inner_api chore: clean Db session from service (#38227) 2026-07-08 03:07:27 +00:00
mcp refactor(api): remove remaining legacy field remnants (#37967) 2026-07-08 09:59:10 +00:00
openapi chore: clean Db session from service (#38227) 2026-07-08 03:07:27 +00:00
service_api refactor(api): migrate service app endpoints to BaseModel (#37960) 2026-07-09 04:23:47 +00:00
trigger refactor(api): type webhook data extraction with RawWebhookDataDict TypedDict (#34486) 2026-04-03 02:24:17 +00:00
web refactor(api): migrate web chat endpoints to BaseModel (#37962) 2026-07-09 04:23:13 +00:00
__init__.py chore(api/controllers): Apply Ruff Formatter. (#7645) 2024-08-26 15:29:10 +08:00
API_SCHEMA_GUIDE.md refactor(api): migrate console.app.workflow to BaseModel (#36216) 2026-05-18 07:31:37 +00:00
fastopenapi.py chore(api): Fix several typing errors (#37119) 2026-06-06 01:44:32 +00:00