0a6b78f883
Use hook to get userid ( #26839 )
...
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-10-14 09:20:37 +08:00
456dbfe7d7
feat: add tracking for updated_by and updated_at fields in app models ( #26736 )
2025-10-11 13:48:57 +08:00
ab2eacb6c1
use model_validate ( #26182 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com >
2025-10-10 17:30:13 +09:00
a13d7987e0
chore: adopt StrEnum and auto() for some string-typed enums ( #25129 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com >
2025-09-12 21:14:26 +08:00
285291f545
refactor: update API routes and documentation for console endpoints ( #25554 )
2025-09-12 11:51:24 +08:00
874406d934
security(api): fix privilege escalation vulnerability in model config and chat message APIs ( #25518 )
...
The `ChatMessageApi` (`POST /console/api/apps/{app_id}/chat-messages`) and
`ModelConfigResource` (`POST /console/api/apps/{app_id}/model-config`)
endpoints do not properly validate user permissions, allowing users without `editor`
permission to access restricted functionality.
This PR addresses this issue by adding proper permission check.
2025-09-11 14:53:35 +08:00
18dce66443
try flask_restful -> flask_restx ( #24310 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
Co-authored-by: -LAN- <laipz8200@outlook.com >
2025-08-24 13:45:47 +08:00
ef51678c73
orm filter -> where ( #22801 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
Co-authored-by: -LAN- <laipz8200@outlook.com >
Co-authored-by: Claude <noreply@anthropic.com >
2025-07-24 00:57:45 +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
56e15d09a9
feat: mypy for all type check ( #10921 )
2024-12-24 18:38:51 +08:00
259cff9f22
fix(api/ops_trace): avoid raise exception directly ( #11732 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
2024-12-17 13:38:57 +08:00
9ac2bb30f4
Feat/add-remote-file-upload-api ( #9906 )
2024-11-01 15:51:22 +08:00
bc3a8e0ca2
feat: store created_by and updated_by for apps, modelconfigs, and sites ( #7613 )
2024-08-28 08:47:30 +08:00
13be84e4d4
chore(api/controllers): Apply Ruff Formatter. ( #7645 )
2024-08-26 15:29:10 +08:00
023dba9475
fix: revert CI path filters ( #5561 )
2024-06-24 23:46:15 +08:00
3480f1c59e
refactor: tool parameter cache ( #3703 )
2024-04-23 15:22:42 +08:00
7753ba2d37
FEAT: NEW WORKFLOW ENGINE ( #3160 )
...
Co-authored-by: Joel <iamjoel007@gmail.com >
Co-authored-by: Yeuoly <admin@srmxy.cn >
Co-authored-by: JzoNg <jzongcode@gmail.com >
Co-authored-by: StyleZhang <jasonapring2015@outlook.com >
Co-authored-by: jyong <jyong@dify.ai >
Co-authored-by: nite-knite <nkCoding@gmail.com >
Co-authored-by: jyong <718720800@qq.com >
2024-04-08 18:51:46 +08:00
f29280ba5c
Fix/compatible to old tool config ( #2839 )
2024-03-15 11:44:24 +08:00
f8951d7f57
fix: api tool provider not found ( #2782 )
2024-03-11 18:21:41 +08:00
ce58f0607b
Feat/tool secret parameter ( #2760 )
2024-03-08 20:31:13 +08:00
063191889d
chore: apply ruff's pyupgrade linter rules to modernize Python code with targeted version ( #2419 )
2024-02-09 15:21:33 +08:00
843280f82b
enhancement: introduce Ruff for Python linter for reordering and removing unused imports with automated pre-commit and sytle check ( #2366 )
2024-02-06 13:21:13 +08:00
cc9e74123c
improve: introduce isort for linting Python imports ( #1983 )
2024-01-12 12:34:01 +08:00
d069c668f8
Model Runtime ( #1858 )
...
Co-authored-by: StyleZhang <jasonapring2015@outlook.com >
Co-authored-by: Garfield Dai <dai.hai@foxmail.com >
Co-authored-by: chenhe <guchenhe@gmail.com >
Co-authored-by: jyong <jyong@dify.ai >
Co-authored-by: Joel <iamjoel007@gmail.com >
Co-authored-by: Yeuoly <admin@srmxy.cn >
2024-01-02 23:42:00 +08:00
a71f2863ac
Annotation management ( #1767 )
...
Co-authored-by: jyong <jyong@dify.ai >
2023-12-18 13:10:05 +08:00
024250803a
feat: move login_required wrapper outside ( #1281 )
2023-10-08 05:21:32 -05:00
18c710c906
feat: support binding context var ( #1227 )
...
Co-authored-by: Joel <iamjoel007@gmail.com >
2023-09-27 14:53:22 +08:00
4b53bb1a32
Feat/token support ( #909 )
...
Co-authored-by: StyleZhang <jasonapring2015@outlook.com >
Co-authored-by: jyong <jyong@dify.ai >
2023-08-21 13:57:18 +08:00
cc2d71c253
feat: optimize override app model config convert ( #874 )
2023-08-16 20:48:42 +08:00
5fa2161b05
feat: server multi models support ( #799 )
2023-08-12 00:57:00 +08:00
4fdb37771a
feat: universal chat in explore ( #649 )
...
Co-authored-by: StyleZhang <jasonapring2015@outlook.com >
2023-07-27 13:08:57 +08:00
a03a92e9db
Feat/chat support voice input ( #532 )
2023-07-07 17:50:42 +08:00
db896255d6
Initial commit
2023-05-15 08:51:32 +08:00