dify/api/services
longbingljw 36e6205c6c
feat:update latest commit (#51)
* test: adding some web tests (#27792)

* feat: add validation to prevent saving empty opening statement in conversation opener modal (#27843)

* fix(web): improve the consistency of the inputs-form UI (#27837)

* fix(web): increase z-index of PortalToFollowElemContent (#27823)

* fix: installation_id is missing when in tools page (#27849)

* fix: avoid passing empty uniqueIdentifier to InstallFromMarketplace (#27802)

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

* test: create new test scripts and update some existing test scripts o… (#27850)

* feat: change feedback to forum (#27862)

* chore: translate i18n files and update type definitions (#27868)

Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>

* Fix/template transformer line number (#27867)

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>

* bump vite to 6.4.1 (#27877)

* Add WEAVIATE_GRPC_ENDPOINT as designed in weaviate migration guide (#27861)

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>

* Fix: correct DraftWorkflowApi.post response model (#27289)

Signed-off-by: Yongtao Huang <yongtaoh2022@gmail.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>

* fix Version 2.0.0-beta.2: Chat annotations Api Error #25506  (#27206)

Co-authored-by: crazywoola <100913391+crazywoola@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: Asuka Minato <i@asukaminato.eu.org>

* fix jina reader creadential migration command (#27883)

* fix agent putout the output of workflow-tool twice (#26835) (#27087)

* fix jina reader transform (#27922)

* fix: prevent fetch version info in enterprise edition (#27923)

* fix(api): fix `VariablePool.get` adding unexpected keys to variable_dictionary (#26767)

Co-authored-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* refactor: implement tenant self queue for rag tasks (#27559)

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: -LAN- <laipz8200@outlook.com>

* fix: bump brotli to 1.2.0 resloved CVE-2025-6176 (#27950)

Signed-off-by: kenwoodjw <blackxin55+@gmail.com>

---------

Signed-off-by: Yongtao Huang <yongtaoh2022@gmail.com>
Signed-off-by: kenwoodjw <blackxin55+@gmail.com>
Co-authored-by: aka James4u <smart.jamesjin@gmail.com>
Co-authored-by: Novice <novice12185727@gmail.com>
Co-authored-by: yangzheli <43645580+yangzheli@users.noreply.github.com>
Co-authored-by: Elliott <105957288+Elliott-byte@users.noreply.github.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
Co-authored-by: johnny0120 <johnny0120@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: Gritty_dev <101377478+codomposer@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: wangjifeng <163279492+kk-wangjifeng@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Boris Polonsky <BorisPolonsky@users.noreply.github.com>
Co-authored-by: Yongtao Huang <yongtaoh2022@gmail.com>
Co-authored-by: Cursx <33718736+Cursx@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Asuka Minato <i@asukaminato.eu.org>
Co-authored-by: Jyong <76649700+JohnJyong@users.noreply.github.com>
Co-authored-by: red_sun <56100962+redSun64@users.noreply.github.com>
Co-authored-by: NFish <douxc512@gmail.com>
Co-authored-by: QuantumGhost <obelisk.reg+git@gmail.com>
Co-authored-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: hj24 <huangjian@dify.ai>
Co-authored-by: kenwoodjw <blackxin55+@gmail.com>
2025-11-07 17:25:58 +08:00
..
auth Issue 23579 (#26777) 2025-10-13 10:16:12 +08:00
enterprise feat: use id for webapp (#27576) 2025-10-29 01:45:40 -07:00
entities fix RetrievalMethod StrEnum (#26768) 2025-10-13 10:29:37 +08:00
errors feat: implement file extension blacklist for upload security (#27540) 2025-11-04 15:45:22 +08:00
plugin rm type ignore (#25715) 2025-10-21 11:26:58 +08:00
rag_pipeline feat:update latest commit (#51) 2025-11-07 17:25:58 +08:00
recommend_app change all to httpx (#26119) 2025-10-10 23:41:16 +08:00
tools fix: set conditional capabilities upon MCP client session initialization (#26234) 2025-10-29 15:11:45 +08:00
workflow use deco to avoid current_user (#26077) 2025-10-16 15:45:51 +09:00
__init__.py chore(api/services): apply ruff reformatting (#7599) 2024-08-26 13:43:57 +08:00
account_service.py Feature:during account initialization, set the interface language to be consistent with the display language(#27029) (#27042) 2025-10-21 15:53:12 +08:00
advanced_prompt_template_service.py chore: adopt StrEnum and auto() for some string-typed enums (#25129) 2025-09-12 21:14:26 +08:00
agent_service.py use deco to avoid current_user (#26077) 2025-10-16 15:45:51 +09:00
annotation_service.py feat: enhance annotation API to support optional message_id and content fields (#27460) 2025-11-04 14:11:09 +08:00
api_based_extension_service.py remove bare list, dict, Sequence, None, Any (#25058) 2025-09-06 03:32:23 +08:00
app_dsl_service.py rm type ignore (#25715) 2025-10-21 11:26:58 +08:00
app_generate_service.py refactor: replace hardcoded user plan strings with CloudPlan enum (#27675) 2025-11-03 11:51:09 +08:00
app_model_config_service.py remove bare list, dict, Sequence, None, Any (#25058) 2025-09-06 03:32:23 +08:00
app_service.py use deco to avoid current_user (#26077) 2025-10-16 15:45:51 +09:00
audio_service.py fix: remove unnecessary Flask context preservation to avoid circular import in audio service (#27380) 2025-10-24 10:41:14 +08:00
billing_service.py refactor: replace hardcoded user plan strings with CloudPlan enum (#27675) 2025-11-03 11:51:09 +08:00
clear_free_plan_tenant_expired_logs.py refactor: replace hardcoded user plan strings with CloudPlan enum (#27675) 2025-11-03 11:51:09 +08:00
code_based_extension_service.py remove bare list, dict, Sequence, None, Any (#25058) 2025-09-06 03:32:23 +08:00
conversation_service.py use deco to avoid current_user (#26077) 2025-10-16 15:45:51 +09:00
dataset_service.py feat:update latest commit (#51) 2025-11-07 17:25:58 +08:00
datasource_provider_service.py fix 27003 (#27005) 2025-10-17 09:10:16 +08:00
document_indexing_task_proxy.py feat:update latest commit (#51) 2025-11-07 17:25:58 +08:00
external_knowledge_service.py fix: external knowledge url check ssrf (#26789) 2025-10-13 11:19:00 +08:00
feature_service.py refactor: replace hardcoded user plan strings with CloudPlan enum (#27675) 2025-11-03 11:51:09 +08:00
file_service.py feat: implement file extension blacklist for upload security (#27540) 2025-11-04 15:45:22 +08:00
hit_testing_service.py rm type ignore (#25715) 2025-10-21 11:26:58 +08:00
knowledge_service.py rm type ignore (#25715) 2025-10-21 11:26:58 +08:00
message_service.py Ensure suggested questions parser returns typed sequence (#27104) 2025-10-20 13:01:09 +08:00
metadata_service.py rm type ignore (#25715) 2025-10-21 11:26:58 +08:00
model_load_balancing_service.py chore: add ast-grep rule to convert Optional[T] to T | None (#25560) 2025-09-15 13:06:33 +08:00
model_provider_service.py rm type ignore (#25715) 2025-10-21 11:26:58 +08:00
oauth_server.py use deco to avoid current_user (#26077) 2025-10-16 15:45:51 +09:00
operation_service.py more httpx (#25651) 2025-09-22 23:07:09 +08:00
ops_service.py feat: add Tencent Cloud APM tracing integration (#25657) 2025-10-14 10:21:17 +08:00
recommended_app_service.py chore: add ast-grep rule to convert Optional[T] to T | None (#25560) 2025-09-15 13:06:33 +08:00
saved_message_service.py use deco to avoid current_user (#26077) 2025-10-16 15:45:51 +09:00
tag_service.py one example of Session (#24135) 2025-09-24 03:32:48 +08:00
variable_truncator.py fix(api): Disable SSE events truncation for service api (#27484) 2025-10-27 21:15:44 +08:00
vector_service.py remove .value (#26633) 2025-10-11 09:08:29 +08:00
web_conversation_service.py use deco to avoid current_user (#26077) 2025-10-16 15:45:51 +09:00
webapp_auth_service.py refactor: replace localStorage with HTTP-only cookies for auth tokens (#24365) 2025-10-19 21:29:04 +08:00
website_service.py refactor: Update Firecrawl to use v2 API (#24734) 2025-10-15 10:48:54 +08:00
workflow_app_service.py fix: use account id in workflow app log filter (#26811) 2025-10-14 14:32:40 +08:00
workflow_draft_variable_service.py feat:mysql adaptation for meta db (#50) 2025-11-07 15:35:31 +08:00
workflow_run_service.py feat(api): Introduce workflow pause state management (#27298) 2025-10-30 14:41:09 +08:00
workflow_service.py feat(graph_engine): Support pausing workflow graph executions (#26585) 2025-10-19 21:33:41 +08:00
workspace_service.py Fix basedpyright type errors (#25435) 2025-09-10 01:54:26 +08:00