npc0-hue
|
bcd2ff4a45
|
fix: 修复text-to-audio 记得添加 api_token
fix: 修复监控界面刷新每次会先显示半秒余额15后才切换为真实值
fix: 添加使用统计
|
2025-12-06 11:14:49 +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 |
|
-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 |
|
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
|
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 |
|
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 |
|
-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 |
|
Zhehao Peng
|
0d16663fa7
|
Use typing.Literal to replace str places (#24099)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
|
2025-08-18 21:34:13 +08:00 |
|
Alex Chim
|
9853b18df8
|
Fixes #23921 (#23924)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
|
2025-08-14 15:54:25 +08:00 |
|
Yongtao Huang
|
0fb7a2b4c4
|
Restructure the File errors in controller (#23801)
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-13 17:06:07 +08:00 |
|
lyzno1
|
1c992f5f91
|
feat: add Service API file preview endpoint (#23534)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
|
2025-08-07 21:44:29 +08:00 |
|
Yongtao Huang
|
ec93cc7713
|
Chore: remove unused variable pruned_memory (#23514)
|
2025-08-07 09:06:17 +08:00 |
|
qiaofenlin
|
b108f213b1
|
feat: support workflow version specification in workflow and chat APIs (#23188)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
|
2025-08-03 16:27:12 +08:00 |
|
Alex Chim
|
17c9afedfb
|
[Enhancement] Allow modify conversation variable via api (#23112)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
|
2025-08-01 09:34:56 +08:00 |
|
Shaun
|
49e87da091
|
refactor: pass external_trace_id to message trace (#23089)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
|
2025-07-29 19:34:46 +08:00 |
|
Yongtao Huang
|
fe215b8318
|
Refactor: remove redundant full module paths in exception handlers (#23076)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
|
2025-07-29 09:40:51 +08:00 |
|
Asuka Minato
|
9bc8bb6e91
|
make logging not use f-str, change others to f-str (#22882)
|
2025-07-25 10:32:48 +08:00 |
|
Asuka Minato
|
8b2d7fc78e
|
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 |
|
qfl
|
4ed8876348
|
feat(trace): support external trace id propagation (#22623)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
|
2025-07-22 15:17:43 +08:00 |
|
-LAN-
|
417e538311
|
feat(api/repo): Allow to config repository implementation (#21458)
Signed-off-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: QuantumGhost <obelisk.reg+git@gmail.com>
|
2025-07-14 14:54:38 +08:00 |
|
jiangbo721
|
4dd7cc9930
|
fix: Before publish the app, preview the voice of tts, it raise an er… (#21821)
Co-authored-by: 刘江波 <jiangbo721@163.com>
|
2025-07-03 10:53:14 +08:00 |
|
Ganondorf
|
b885ccd94e
|
Add Filter of Get Workflow Logs (#21172)
Co-authored-by: lizb <lizb@sugon.com>
|
2025-06-19 10:10:16 +08:00 |
|
quicksand
|
a35f01e058
|
chore: app info add author_name (#20973)
|
2025-06-13 10:17:35 +02:00 |
|
-LAN-
|
03db78adc6
|
Refactor/remove db from cycle manager (#20455)
Signed-off-by: -LAN- <laipz8200@outlook.com>
|
2025-05-30 04:34:13 +08:00 |
|
quicksand
|
7132a0683a
|
fix: apps/annotation missing 1 required positional argument: 'end_user' (#20428)
|
2025-05-29 16:10:28 +08:00 |
|
-LAN-
|
526441d63f
|
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 |
|
lexmin0412
|
04e45b784a
|
Add /site API (#19631)
|
2025-05-14 10:43:36 +08:00 |
|
Ganondorf
|
504d152bbe
|
add endpoint of get feedbacks (#18697)
Co-authored-by: lizb <lizb@sugon.com>
|
2025-05-13 10:35:14 +08:00 |
|
Good Wood
|
8552fcbb2a
|
feat: add mode for /info api (#19264)
|
2025-05-06 13:24:53 +08:00 |
|
Bowen Liang
|
5a3baa271f
|
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 |
|
小马哥
|
94ac330591
|
fix: annotation update need use http put method and annotation-reply api doc parms wrong (#18891)
|
2025-04-27 16:13:36 +08:00 |
|
devxing
|
5d47e2d552
|
fix: change delete app status code from 204 to 200 (#18398)
Co-authored-by: devxing <devxing@gmail.com>
Co-authored-by: crazywoola <427733928@qq.com>
|
2025-04-27 12:12:46 +08:00 |
|
1betatsu
|
450d77beff
|
fix: Allow advanced chat app to get workflow run detail (#18753) (#18758)
|
2025-04-25 16:48:38 +08:00 |
|
Alex Chim
|
addab84401
|
Resolves #18536 Retreive conversation variables (#18581)
|
2025-04-25 11:52:25 +08:00 |
|
Yeuoly
|
7f47f9bdc5
|
feat: fetch app info in plugins (#18202)
|
2025-04-16 20:27:29 +08:00 |
|
jiangbo721
|
cbf871f30c
|
fix: ruff check isoparse (#18033)
Co-authored-by: 刘江波 <jiangbo721@163.com>
|
2025-04-16 19:21:18 +08:00 |
|
crazywoola
|
a39b287150
|
fix: 17712-get-messages-api-encountered-internal-server-error (#17716)
|
2025-04-10 11:09:38 +08:00 |
|
FamousMai
|
73e81323fc
|
合并dify1.2.0版本代码
# Conflicts:
# api/controllers/service_api/app/workflow.py
# api/controllers/service_api/wraps.py
# web/.env.example
# web/app/components/share/utils.ts
# web/app/signin/page.module.css
# web/context/debug-configuration.ts
|
2025-04-09 19:57:08 +08:00 |
|
Jasonfish
|
0afad94378
|
fix: Correct "The job is not exist" to "The job does not exist" (#17516)
|
2025-04-07 12:32:25 +08:00 |
|
Jasonfish
|
fd443941a2
|
feat(improve-api-endpoints): Added Datasets and Annotation APIs (#12237)
|
2025-04-07 10:36:58 +08:00 |
|
liguochuan
|
11e95d2a61
|
Fix (api): Fix the processing logic of the retriever_resources field. (#17304)
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
|
2025-04-02 12:44:29 +08:00 |
|
FamousMai
|
4dd8a527d2
|
Merge branch 'main' into main_merge_dify_1.1.3
* main:
fix:docker compose加上sandbox-full镜像
fix:更换镜像地址
fix: 管理中心admin,初始化数据漏了新加的菜单数据权限
fix:修复上传图片等api因加密钥计费导致报错问题
fix: 更新镜像,还有修复一些初始化的bug
ci: 测试使用gitlab-ci,去构建推送镜像
ci: 测试使用gitlab-ci,去构建推送镜像
ci: 测试使用gitlab-ci,去构建推送镜像
feat:docker-compose镜像版本更新
# Conflicts:
# docker/docker-compose.dify-plus.yaml
|
2025-04-01 15:51:03 +08:00 |
|
FamousMai
|
9b7182270e
|
fix:修复上传图片等api因加密钥计费导致报错问题
|
2025-04-01 11:04:04 +08:00 |
|
jiangbo721
|
a1aa325ce3
|
Chore/code format and Repair commit_id 3254018d more deleted codes and Fix naming error ambiguity between workflow_run_id and workflow_id (#17075)
Co-authored-by: 刘江波 <jiangbo721@163.com>
|
2025-03-29 14:15:53 +08:00 |
|
FamousMai
|
81dbfd6748
|
feat: 合并dify1.1.3版本
# Conflicts:
# README.md
# api/.env.example
# api/controllers/console/__init__.py
# api/controllers/console/apikey.py
# api/controllers/console/explore/completion.py
# api/controllers/console/explore/workflow.py
# api/controllers/service_api/app/workflow.py
# api/controllers/service_api/wraps.py
# api/controllers/web/workflow.py
# api/core/model_runtime/model_providers/bedrock/get_bedrock_client.py
# api/core/model_runtime/model_providers/bedrock/llm/llm.py
# api/core/model_runtime/model_providers/openai_api_compatible/openai_api_compatible.yaml
# api/core/model_runtime/model_providers/openai_api_compatible/text_embedding/text_embedding.py
# api/models/model.py
# api/poetry.lock
# api/pyproject.toml
# web/.env.example
# web/Dockerfile
# web/app/(commonLayout)/app/(appDetailLayout)/[appId]/layout.tsx
# web/app/components/app/overview/appCard.tsx
# web/app/components/base/chat/chat-with-history/chat-wrapper.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/explore/app-list/index.tsx
# web/app/components/explore/item-operation/index.tsx
# web/app/components/explore/sidebar/app-nav-item/index.tsx
# web/app/components/explore/sidebar/index.tsx
# web/app/components/header/account-setting/index.tsx
# web/app/components/header/index.tsx
# web/app/components/share/text-generation/index.tsx
# web/app/components/tools/provider/detail.tsx
# web/app/layout.tsx
# web/package.json
# web/service/base.ts
# web/yarn.lock
|
2025-03-28 16:35:13 +08:00 |
|
FamousMai
|
b5aa970766
|
feat: 新增sandbox-full支持
|
2025-03-28 15:18:33 +08:00 |
|
過世秋風
|
377d11d13b
|
fix: WorkflowRunDetailApi created_at、finished_at types changed to timestamps (#16821)
|
2025-03-27 17:23:30 +08:00 |
|
Yeuoly
|
c07af5a1a3
|
feat: tenant app invocations limiter (#16221)
|
2025-03-19 17:24:02 +08:00 |
|