npc0-hue
|
bcd2ff4a45
|
fix: 修复text-to-audio 记得添加 api_token
fix: 修复监控界面刷新每次会先显示半秒余额15后才切换为真实值
fix: 添加使用统计
|
2025-12-06 11:14:49 +08:00 |
|
npc0-hue
|
c507fc2675
|
feat:-皮肤处理和oauth快捷登录
- 同步至应用模板
- 取消同步至应用模板
- 计费唯一索引
|
2025-10-28 11:53:05 +08:00 |
|
npc0-hue
|
17832f2424
|
fix: Dify 1.8.1问题修复
本次提交整合了多个功能改进和问题修复:
主要功能:
- 批量工作流处理功能完善,支持 Excel 上传和进度跟踪
- 管理中心反向代理和转发配置优化
- 用户同步添加互斥锁,防止并发问题
- 计费系统和额度显示优化
- AI 绘图功能扩展
前端改进:
- 文本生成应用显示修复
- 批量任务进度展示优化
- 按钮样式和 CSS 优化,禁止换行
- 多语言支持完善(新增印尼语等)
- 构建镜像逻辑优化
- 批量处理进度管理器实现
后端改进:
- Docker Compose 配置升级
- 队列任务和 Worker Pool 优化
- Admin API 初始化和验证逻辑改进
- 数据库迁移和初始化完善
- 静态变量处理优化
- URL 签名助手实现
- Celery 扩展优化
- 代码和导入包问题修复(idea 自动调整代码位置)
技术改进:
- 兼容性修复 (flask-restx, jschardet)
- 钉钉 Web API 版本更新
- 代码格式化和导入包问题修复
- 日志处理优化
- 工作流循环管理优化
Docker 相关:
- Nginx 配置更新
- 容器启动脚本优化
- 镜像构建流程改进
- docker-compose.dify-plus.yaml 大幅更新
管理后台:
- 工作流批量处理 API 实现
- 工作池初始化
- 批量工作流服务实现
- 转发扩展配置
- 用户服务扩展
|
2025-10-17 23:04:25 +08:00 |
|
npc0-hue
|
f26fe2f4d2
|
Merge tag '1.8.1' into merge-tag-1.8.1
# Conflicts:
# .gitignore
# README.md
# api/.env.example
# api/Dockerfile
# api/commands.py
# api/configs/app_config.py
# api/controllers/console/__init__.py
# api/controllers/console/apikey.py
# api/controllers/console/app/statistic.py
# api/controllers/service_api/app/app.py
# api/controllers/service_api/app/audio.py
# api/controllers/service_api/app/completion.py
# api/controllers/service_api/app/conversation.py
# api/controllers/service_api/app/file.py
# api/controllers/service_api/app/message.py
# api/controllers/service_api/app/workflow.py
# api/controllers/service_api/wraps.py
# api/controllers/web/completion.py
# api/core/app/apps/advanced_chat/app_generator.py
# api/core/app/apps/advanced_chat/generate_task_pipeline.py
# api/core/app/apps/agent_chat/app_generator.py
# api/core/app/apps/workflow/app_generator.py
# api/core/app/apps/workflow/generate_task_pipeline.py
# api/core/app/task_pipeline/workflow_cycle_manage.py
# api/core/helper/code_executor/code_executor.py
# api/core/tools/builtin_tool/providers/code/tools/simple_code.py
# api/core/workflow/nodes/code/code_node.py
# api/docker/entrypoint.sh
# api/events/event_handlers/__init__.py
# api/extensions/ext_celery.py
# api/extensions/ext_commands.py
# api/models/model.py
# api/models/workflow.py
# api/poetry.lock
# api/pyproject.toml
# api/services/app_service.py
# api/services/feature_service.py
# api/services/workspace_service.py
# web/.env.example
# web/Dockerfile
# web/app/(commonLayout)/apps/Apps.tsx
# web/app/components/apps/app-card.tsx
# web/app/components/base/chat/embedded-chatbot/index.tsx
# web/app/components/base/mermaid/index.tsx
# web/app/components/develop/index.tsx
# web/app/components/develop/secret-key/secret-key-modal.tsx
# web/app/components/develop/secret-key/style.module.css
# web/app/components/develop/template/template.zh.mdx
# web/app/components/explore/app-list/index.tsx
# web/app/components/explore/category.tsx
# web/app/components/explore/sidebar/index.tsx
# web/app/components/header/account-dropdown/index.tsx
# web/app/components/header/index.tsx
# web/app/components/share/utils.ts
# web/app/layout.tsx
# web/app/signin/components/mail-and-password-auth.tsx
# web/app/signin/normal-form.tsx
# web/app/signin/page.module.css
# web/context/app-context.tsx
# web/i18n/i18next-config.ts
# web/i18n/ja-JP/login.ts
# web/i18n/ko-KR/login.ts
#
if dify_config.WORKFLOW_LOG_CLEANUP_ENABLED:
# 2:00 AM every day
imports.append("schedule.clean_workflow_runlogs_precise")
beat_schedule["clean_workflow_runlogs_precise"] = {
"task": "schedule.clean_workflow_runlogs_precise.clean_workflow_runlogs_precise",
"schedule": crontab(minute="0", hour="2"),
} web/package.json
# web/pnpm-lock.yaml
# web/types/feature.ts
|
2025-09-25 15:55:13 +08:00 |
|
非法操作
|
69e77cd0df
|
feat: improve multi model credentials (#25009)
Co-authored-by: Claude <noreply@anthropic.com>
|
2025-09-03 13:52:31 +08:00 |
|
-LAN-
|
b17527c32a
|
[Chore/Refactor] Switch from MyPy to Basedpyright for type checking (#25047)
Signed-off-by: -LAN- <laipz8200@outlook.com>
|
2025-09-03 11:52:26 +08:00 |
|
湛露先生
|
7a01b3cd36
|
clean console apis and rag cleans. (#25042)
Signed-off-by: zhanluxianshen <zhanluxianshen@163.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
|
2025-09-03 11:25:18 +08:00 |
|
Will
|
caea6de71f
|
fix: workflow not published (#25030)
|
2025-09-03 10:07:31 +08:00 |
|
Yongtao Huang
|
0341b20b70
|
Refactor: use DatasourceType.XX.value instead of hardcoded (#25015)
Signed-off-by: Yongtao Huang <yongtaoh2022@gmail.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
|
2025-09-03 08:56:48 +08:00 |
|
Will
|
99f57f5954
|
fix: EndUser is not bound to a Session (#25010)
|
2025-09-02 21:37:21 +08:00 |
|
GuanMu
|
354cf90ad4
|
Export DSL from history (#24939)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
|
2025-09-02 21:36:52 +08:00 |
|
Novice
|
0f1ccd43d9
|
fix: workflow log status filter add parial success status (#24977)
|
2025-09-02 16:24:03 +08:00 |
|
Bowen Liang
|
eafe26f2a5
|
chore: apply ty checks on api code with script and ci action (#24653)
|
2025-09-02 16:05:13 +08:00 |
|
Yongtao Huang
|
1865879f69
|
Fix: ensure InstalledApp deletion uses model instances instead of Row (#24942)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
|
2025-09-02 11:59:38 +08:00 |
|
jiangbo721
|
899bcf0be4
|
fix: remove duplicated code (#24893)
|
2025-09-02 08:58:31 +08:00 |
|
Asuka Minato
|
2b2cd9fc9d
|
example enum to StrEnum (#24877)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
|
2025-09-01 15:40:26 +08:00 |
|
NeatGuyCoding
|
a35a18e4f7
|
the conversion OAuthGrantType(parsed_args["grant_type"]) can raise ValueError for invalid values which is not caught and will produce a 500 (#24854)
|
2025-09-01 10:05:54 +08:00 |
|
NeatGuyCoding
|
56a83114c1
|
remove duplicated authorization header handling and bearer should be case-insensitive (#24852)
|
2025-09-01 10:05:19 +08:00 |
|
Asuka Minato
|
c3ab06c27b
|
example of decorator typing (#24857)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
|
2025-09-01 10:04:24 +08:00 |
|
Asuka Minato
|
20b0f41bff
|
Update ast-grep pattern for session.query (#24828)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
|
2025-08-31 17:03:51 +08:00 |
|
Novice
|
d0c665ab88
|
fix: change the mcp server strucutre to support github copilot (#24788)
|
2025-08-29 18:00:58 +08:00 |
|
kenwoodjw
|
3a41d28050
|
Chore: remove dupliacte logic in DatasetApi.get() (#24769)
Signed-off-by: kenwoodjw <blackxin55+@gmail.com>
|
2025-08-29 14:25:36 +08:00 |
|
Junyan Qin (Chin)
|
9107f951de
|
feat: oauth provider (#24206)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: yessenia <yessenia.contact@gmail.com>
|
2025-08-29 14:10:51 +08:00 |
|
Bowen Liang
|
e91a9f8935
|
chore: cleanup unnecessary mypy suppressions on imports (#24712)
|
2025-08-28 23:17:25 +08:00 |
|
Eric Guo
|
b825db3185
|
✨fix: has_more logic in ChatMessageListApi to ensure correct on behavior when no more messages are available. (#24661)
|
2025-08-28 15:05:52 +08:00 |
|
Guangdong Liu
|
b62f8a12ca
|
refactor: Migrate part of the web API module to Flask-RESTX (#24659)
|
2025-08-28 09:22:31 +08:00 |
|
Guangdong Liu
|
bc4369ef86
|
feat: migrate part of the web chat module to Flask-RESTX (#24664)
|
2025-08-28 09:21:42 +08:00 |
|
Yongtao Huang
|
8c5362bc4d
|
Refactor: replace count() > 0 check with exists() (#24583)
Co-authored-by: Yongtao Huang <99629139+hyongtao-db@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
|
2025-08-27 17:46:52 +08:00 |
|
Guangdong Liu
|
4731a55af6
|
feat: migrate part of the web API module to Flask-RESTX (#24577)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
|
2025-08-27 16:05:22 +08:00 |
|
Yongtao Huang
|
87650fe3fc
|
Chore : rm dead code detected by pylance (#24588)
|
2025-08-27 13:19:40 +08:00 |
|
Yongtao Huang
|
6f89b9a19f
|
Chore: remove dead var in DocumentBatchIndexingEstimateApi (#24497)
Co-authored-by: Yongtao Huang <99629139+hyongtao-db@users.noreply.github.com>
|
2025-08-26 23:33:50 +08:00 |
|
Yongtao Huang
|
76ce0afec0
|
Refactor: use logger = logging.getLogger(__name__) in logging (#24515)
Co-authored-by: Yongtao Huang <99629139+hyongtao-db@users.noreply.github.com>
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-08-26 18:10:31 +08:00 |
|
-LAN-
|
2836e9bc27
|
fix: standardize authentication error messages to prevent user enumeration (#24324)
Signed-off-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
|
2025-08-26 09:46:23 +08:00 |
|
Yongtao Huang
|
a1234f24d4
|
Fix missing return 200 in response handling (#24499)
Co-authored-by: Yongtao Huang <99629139+hyongtao-db@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
|
2025-08-26 09:24:18 +08:00 |
|
Guangdong Liu
|
6daf0d8f41
|
feat: migrate Inner API module to Flask-RESTX (#24492)
|
2025-08-26 00:23:48 +08:00 |
|
Asuka Minato
|
3cf8d26459
|
example: limit current user usage (#24470)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
|
2025-08-26 00:23:29 +08:00 |
|
非法操作
|
ee927868ee
|
feat: add multi model credentials (#24451)
Co-authored-by: zxhlyh <jasonapring2015@outlook.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
|
2025-08-25 16:12:29 +08:00 |
|
quicksand
|
13482a413b
|
fix(flask_restx): invite member email parse error (#24464)
|
2025-08-25 15:50:20 +08:00 |
|
quicksand
|
8e01726bac
|
remove: document download file permission (#24459)
|
2025-08-25 15:11:48 +08:00 |
|
quicksand
|
9703d19dd1
|
fix: flask_restx namespace path wrong (#24456)
|
2025-08-25 14:56:20 +08:00 |
|
-LAN-
|
610fab56e2
|
fix: Fix login error handling by raising exception instead of returning (#24452)
|
2025-08-25 13:54:25 +08:00 |
|
znn
|
662fe6d97d
|
fix delete conversations via Api and delete conversations from db as well (#23591)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: crazywoola <427733928@qq.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
|
2025-08-25 09:43:45 +08:00 |
|
Yongtao Huang
|
e54471ec78
|
Fix auth error handling (#24420)
Signed-off-by: Yongtao Huang <yongtaoh2022@gmail.com>
Co-authored-by: Yongtao Huang <99629139+hyongtao-db@users.noreply.github.com>
|
2025-08-25 09:28:10 +08:00 |
|
-LAN-
|
0684a41b2c
|
feat: API docs for /files (#24423)
Signed-off-by: -LAN- <laipz8200@outlook.com>
|
2025-08-25 09:27:09 +08:00 |
|
-LAN-
|
57e7e44b0e
|
feat: API docs for mcp (#24424)
Signed-off-by: -LAN- <laipz8200@outlook.com>
|
2025-08-25 09:27:01 +08:00 |
|
-LAN-
|
d08f6cd27e
|
feat: API docs for service api (#24425)
Signed-off-by: -LAN- <laipz8200@outlook.com>
|
2025-08-25 09:26:54 +08:00 |
|
Asuka Minato
|
a864ed1985
|
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 |
|
kenwoodjw
|
cc2fccfead
|
fix child-chunk ownership validation (#24374)
Signed-off-by: kenwoodjw <blackxin55+@gmail.com>
|
2025-08-23 20:17:44 +08:00 |
|
willzhao
|
cbc2e67ddb
|
[CHORE]: x: T = None to x: Optional[T] = None (#24217)
|
2025-08-21 21:58:39 +08:00 |
|
Guangdong Liu
|
6fae74d8e6
|
refactor: replace try-except blocks with contextlib.suppress for cleaner exception handling (#24284)
|
2025-08-21 18:18:49 +08:00 |
|