28eb95276d
fix: query end user by session_id when when exchanging token
2025-06-04 00:12:45 +09:00
b39bd0325d
chore: reformat
2025-06-03 22:52:37 +09:00
1845d56234
fix: add session_id for web_login_token
2025-06-03 22:49:40 +09:00
c4821a333f
Merge branch 'main' into feat/webapp-verified-sso-main
2025-06-03 22:17:33 +09:00
51f64797cd
Add APIs for Knowledge Base Tag Management and Dataset Binding ( #20023 )
...
Co-authored-by: lizb <lizb@sugon.com >
2025-05-30 14:48:00 +08:00
1ea4459d9f
update knowledge base api ( #20426 )
2025-05-30 14:45:30 +08:00
bb9ec1a587
fix: make forgort-password web api to enteprise edition only
2025-05-30 10:24:01 +08:00
cbcf06ed65
fix: adjust return pattern for login
2025-05-30 10:07:37 +08:00
38097a75da
fix: bad jwt return pattern
2025-05-30 10:07:37 +08:00
dc79ec52ea
fix: adjust permission check logic to avoid sso_verified apps
2025-05-30 10:07:36 +08:00
20ca9c6a3e
fix: remove app code retrival in web app login
2025-05-30 10:07:36 +08:00
6c3804ca49
fix: adjust webapp login token source name
2025-05-30 10:07:36 +08:00
a321d39cb4
fix: remove app code check in web api
2025-05-30 10:07:36 +08:00
25f1352675
fix: bad jwt decoding
2025-05-30 10:07:36 +08:00
1e5df79e05
fix: remove permission check in web login api
2025-05-30 10:07:36 +08:00
5814b097b8
fix: bad db query syntax
2025-05-30 10:07:36 +08:00
abd13cf2f8
fix: import web login apis
2025-05-30 10:07:36 +08:00
60ce8f6053
fix: adjust interceptor for web apis
2025-05-30 10:07:36 +08:00
2616f89d46
fix: use user_id as session_Id for enterprise logined user
2025-05-30 10:07:35 +08:00
99ac7f0e97
feat: introduce enterprise login token
2025-05-30 10:07:35 +08:00
e57bf8c959
feat: add reset password for web app login
2025-05-30 10:07:35 +08:00
14ddb90525
feat: support both code and id for access mode api
2025-05-30 10:07:35 +08:00
2cb36a5b70
fix: add non-sso login methods for webapp
2025-05-30 10:07:33 +08:00
482e50aae9
Refactor/remove db from cycle manager ( #20455 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
2025-05-30 04:34:13 +08:00
2d4f8f1377
fix: apps/annotation missing 1 required positional argument: 'end_user' ( #20428 )
2025-05-29 16:10:28 +08:00
c3c67d9608
fix: register user model to current_user in backward invoke. ( #20374 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
2025-05-28 19:56:33 +08:00
756f35f480
feat: add pagination for plugin page ( #20151 )
2025-05-27 12:54:52 +08:00
b357eca307
fix: Copy request context and current user in app generators. ( #20240 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
2025-05-27 10:56:23 +08:00
467a1f4063
feat: bypass sso_verified apps
2025-05-26 12:12:12 +08:00
3196dc2d61
refactor: Use typed SQLAlchemy base model and fix type errors ( #19980 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
2025-05-21 15:38:03 +08:00
d35d854259
Revert "fix: fix duplicate app lose custom image" ( #19995 )
2025-05-20 18:42:59 +08:00
618981f1ae
fix: fix duplicate app lose custom image ( #19775 )
2025-05-20 16:44:51 +08:00
d186daa131
E-300 ( #19726 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
Co-authored-by: Hash Brown <hi@xzd.me >
Co-authored-by: crazywoola <427733928@qq.com >
Co-authored-by: GareArc <chen4851@purdue.edu >
Co-authored-by: Byron.wang <byron@dify.ai >
Co-authored-by: Joel <iamjoel007@gmail.com >
Co-authored-by: -LAN- <laipz8200@outlook.com >
Co-authored-by: Garfield Dai <dai.hai@foxmail.com >
Co-authored-by: KVOJJJin <jzongcode@gmail.com >
Co-authored-by: Alexi.F <654973939@qq.com >
Co-authored-by: Xiyuan Chen <52963600+GareArc@users.noreply.github.com >
Co-authored-by: kautsar_masuara <61046989+izon-masuara@users.noreply.github.com >
Co-authored-by: achmad-kautsar <achmad.kautsar@insignia.co.id >
Co-authored-by: Xin Zhang <sjhpzx@gmail.com >
Co-authored-by: kelvintsim <83445753+kelvintsim@users.noreply.github.com >
Co-authored-by: zxhlyh <jasonapring2015@outlook.com >
Co-authored-by: Zixuan Cheng <61724187+Theysua@users.noreply.github.com >
2025-05-20 12:07:50 +08:00
e0e8cd6ca3
feat(DraftWorkflowApi): Requires environment_variables in DraftWorkflowApi ( #19849 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
2025-05-17 13:45:00 +08:00
4977bb21ec
feat(workflow): domain model for workflow node execution ( #19430 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-05-17 00:56:16 +08:00
17b929124f
refactor: simplify success response in dataset API endpoints by returning status code 204 directly ( #19685 )
2025-05-14 18:44:35 +08:00
ff20b56074
Add /site API ( #19631 )
2025-05-14 10:43:36 +08:00
934f724130
fix: invitations get suspended when an existing member appears ( #19584 )
2025-05-13 13:53:52 +08:00
c76d763639
add endpoint of get feedbacks ( #18697 )
...
Co-authored-by: lizb <lizb@sugon.com >
2025-05-13 10:35:14 +08:00
085bd1aa93
chore: model.query change to db.session.query ( #19551 )
...
Co-authored-by: QuantumGhost <obelisk.reg+git@gmail.com >
2025-05-13 09:13:12 +08:00
14cd71ed0a
chore: all model.query replace to db.session.query ( #19521 )
2025-05-12 15:19:41 +08:00
b00f94df64
fix: replace all dataset.Model.query to db.session.query(Model) ( #19509 )
2025-05-12 13:52:33 +08:00
bfa652f2d0
fix: metadata filtering condition variable unassigned; fix External K… ( #19208 )
2025-05-07 14:52:09 +08:00
0b44791eae
feat: add mode for /info api ( #19264 )
2025-05-06 13:24:53 +08:00
8537abfff8
chore: avoid repeated type ignore noqa by adding flask_restful and flask_login in mypy import exclusions ( #19224 )
2025-05-06 11:58:49 +08:00
8ac3a223a8
fix(api): add missing INNER_API_KEY to InnerAPIConfig ( #19166 )
2025-05-06 10:02:14 +08:00
22f5af9987
fix: support non-ascii charactors in filename of the tool files ( #19228 )
2025-05-06 09:18:11 +08:00
349c3cf7b8
feat(api): Add image multimodal support for LLMNode ( #17372 )
...
Enhance `LLMNode` with multimodal capability, introducing support for
image outputs.
This implementation extracts base64-encoded images from LLM responses,
saves them to the storage service, and records the file metadata in the
`ToolFile` table. In conversations, these images are rendered as
markdown-based inline images.
Additionally, the images are included in the LLMNode's output as
file variables, enabling subsequent nodes in the workflow to utilize them.
To integrate file outputs into workflows, adjustments to the frontend code
are necessary.
For multimodal output functionality, updates to related model configurations
are required. Currently, this capability has been applied exclusively to
Google's Gemini models.
Close #15814 .
Signed-off-by: -LAN- <laipz8200@outlook.com >
Co-authored-by: -LAN- <laipz8200@outlook.com >
2025-04-30 17:28:02 +08:00
d70fa2847b
add Accept-Ranges header for audio/video files ( #19119 )
2025-04-30 10:51:27 +08:00
23f6914b9b
fix: image preview triggers binary download ( #19070 )
2025-04-29 15:38:33 +08:00