hjlarry
6b7574023e
fix(workflow): enforce tenant access in online users query
...
Validate requested workflow_ids against current tenant before reading collaboration online-user state from Redis.
Move workflow access-id lookup into WorkflowService to keep controller thin and aligned with layering.
Limit query size, and stop exposing sid in REST response fields.
Add unit tests for inaccessible workflow filtering and workflow_ids limit checks.
2026-04-12 16:05:29 +08:00
hjlarry
828276d672
fix(collaboration): seed CRDT graph before leader resync
...
Avoid writing partial graph into CRDT during initial HTTP draft parsing in workflow-app.
Seed CRDT from current ReactFlow graph only when CRDT is empty and collaboration is connected, then reuse it for leader snapshot rebroadcast.
This prevents join-time resync from broadcasting an empty snapshot when leader has not produced local CRDT mutations yet.
2026-04-12 15:41:54 +08:00
hjlarry
a29e831ce5
chore: improve py codecov
2026-04-11 21:57:20 +08:00
hjlarry
6209038918
fix: web test
2026-04-11 21:24:54 +08:00
hjlarry
7747b637db
fix: web style
2026-04-11 20:29:33 +08:00
hjlarry
cbeeccf13b
fix: py style and unittest
2026-04-11 20:25:03 +08:00
hjlarry
fb27f368e8
chore: improve workflowComment schema define
2026-04-11 20:21:09 +08:00
hjlarry
76a5123865
chore: revert not related change
2026-04-11 20:07:50 +08:00
hjlarry
558aca31e7
chore: revert not related change
2026-04-11 20:04:39 +08:00
hjlarry
98a977eaf2
chore: revert not related change
2026-04-11 19:58:40 +08:00
hjlarry
9c8bef1064
chore: refactor env-panel collaboration
2026-04-11 19:51:17 +08:00
hjlarry
9ce4517ee1
chore: revert not related change
2026-04-11 19:43:41 +08:00
hjlarry
73c77b6701
fix: web style
2026-04-11 19:35:04 +08:00
hjlarry
e5ab4d1ed3
chore: improve codecov
2026-04-11 18:44:31 +08:00
hjlarry
577ab01bbb
chore: improve codecov
2026-04-11 18:12:27 +08:00
hjlarry
295306a30d
chore: directly 0.0.0.0:5001 for dev
2026-04-11 17:41:16 +08:00
hjlarry
aea20a576f
chore: improve codecov
2026-04-11 16:29:23 +08:00
hjlarry
026af49ec2
Merge branch 'feat/collaboration2' of github.com:langgenius/dify into feat/collaboration2
2026-04-11 12:22:19 +08:00
hjlarry
aa8376b5d2
fix: web tests
2026-04-11 12:22:15 +08:00
hjlarry
8760286a27
fix: web style
2026-04-11 11:42:11 +08:00
autofix-ci[bot]
c34f4757dc
[autofix.ci] apply automated fixes
2026-04-11 02:52:03 +00:00
hjlarry
0220006c50
fix: add missing app list page online users
2026-04-11 10:47:04 +08:00
hjlarry
8e38a19de7
fix: web style
2026-04-11 10:46:52 +08:00
hjlarry
341fdc8201
fix: web tests
2026-04-11 09:17:00 +08:00
hjlarry
7520d65a7e
Merge branch 'feat/collaboration2' of github.com:langgenius/dify into feat/collaboration2
2026-04-10 23:15:28 +08:00
hjlarry
f46c45dd11
chore: fix import avatar error
2026-04-10 23:15:22 +08:00
autofix-ci[bot]
d28dceb621
[autofix.ci] apply automated fixes
2026-04-10 14:56:44 +00:00
hjlarry
53277d77c9
chore: size of AvatarProps should not be number
2026-04-10 22:51:10 +08:00
hjlarry
ee2b021395
Merge remote-tracking branch 'myori/main' into feat/collaboration2
2026-04-10 22:47:40 +08:00
hjlarry
70eafde45e
chore: revert some changes not related to collaboration
2026-04-10 22:42:17 +08:00
hjlarry
078ab83009
chore: improve log
2026-04-10 21:51:05 +08:00
Coding On Star
1703df5c00
test: add unit tests for workflow components including tools and inspect vars ( #34843 )
...
Co-authored-by: CodingOnStar <hanxujiang@dify.com>
2026-04-10 13:11:36 +00:00
dataCenter430
674495680d
refactor(api): type Redis connection param builder functions with TypedDicts ( #34875 )
2026-04-10 11:36:39 +00:00
wangxiaolei
04f5fe5e38
fix: fix outputs share same name var ( #34604 )
2026-04-10 11:30:21 +00:00
非法操作
1b7d0bd4e6
chore: should hide change action when node is undeletable ( #34592 )
2026-04-10 11:29:29 +00:00
-LAN-
66183c1f0a
docs(contributing): move agent attribution guidance to PR template ( #34919 )
2026-04-10 11:11:12 +00:00
corevibe555
130ad295d0
refactor(api): replace Any with precise types in db_migration_lock ( #34891 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-04-10 11:09:33 +00:00
XHamzaX
6612ba69b1
fix(workflow): correct maximized editor panel layout in execution logs ( #34909 )
2026-04-10 10:59:09 +00:00
plind
2dc015b360
fix(api): default parent_mode to paragraph for hierarchical chunking via API ( #34635 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-04-10 10:55:40 +00:00
sxxtony
2eb43b1e1f
refactor: make DefaultFieldsMixin compatible with TypeBase (MappedAsDataclass) ( #34686 )
2026-04-10 18:53:27 +08:00
Ygor Leal
8633b2f1f7
refactor(tools): replace redundant dict[str, str] with EmojiIconDict ( #34786 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-04-10 18:53:05 +08:00
dataCenter430
c9f525a3b2
refactor(api): type workflow generator args dict with TypedDict ( #34876 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-04-10 08:27:32 +00:00
volcano303
e224c77920
test: migrate hit_testing_service tests to testcontainers ( #34750 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-04-10 08:26:40 +00:00
volcano303
28b8215c9b
test: migrate ops_service tests to testcontainers ( #34749 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-04-10 08:25:50 +00:00
hjlarry
cdbc2d631b
chore: rm unused handleDownloadGraphImportLog
2026-04-10 16:05:44 +08:00
hjlarry
89144b61c8
chore: rm graphViewActive
2026-04-10 16:05:05 +08:00
hjlarry
50c307739f
Merge branch 'feat/collaboration2' of github.com:langgenius/dify into feat/collaboration2
2026-04-10 15:46:17 +08:00
hjlarry
b281a9ab1b
fix: comment input avatar padding
2026-04-10 15:46:10 +08:00
corevibe555
98eedf14dc
refactor(services): replace Union with | syntax in service layer ( #34905 )
2026-04-10 07:44:47 +00:00
呆萌闷油瓶
cd3ee5bd5d
fix: sqlalchemy.orm.exc.DetachedInstanceError ( #34910 )
2026-04-10 07:44:22 +00:00