hjlarry
d3e9a34917
Merge branch 'feat/collaboration2' of github.com:langgenius/dify into feat/collaboration2
2026-04-13 09:24:29 +08:00
hjlarry
63c2265d55
avoid app context dependency in workflow socket auth
2026-04-13 09:21:55 +08:00
hjlarry
3cf56c8662
preserve comment mentions on position updates
2026-04-13 09:21:47 +08:00
hjlarry
e7de5919a0
guard workflow comment writes with edit permission
2026-04-12 22:07:24 +08:00
hjlarry
f6d0fdefc5
Revert "tighten workflow room app lookup"
...
This reverts commit 5fcda1aaac .
2026-04-12 21:43:56 +08:00
hjlarry
5fcda1aaac
tighten workflow room app lookup
2026-04-12 21:43:03 +08:00
hjlarry
dfcf7f3a11
fix workflow collaboration room authorization
2026-04-12 21:42:06 +08:00
hjlarry
d2e9fdc6b5
fix: localize workflow online user fallback labels
2026-04-12 20:42:46 +08:00
hjlarry
cf74c5c8db
fix: avoid hidden N+1 in workflow comment participants
2026-04-12 20:39:21 +08:00
hjlarry
cadc021bfa
fix: sign workflow online user avatars in app list API
2026-04-12 20:35:23 +08:00
hjlarry
d8e0b499df
fix: debounce follower workflow sync requests in collaboration mode
2026-04-12 20:22:06 +08:00
hjlarry
effe12cbee
fix: require edit permission for draft workflow feature updates
2026-04-12 18:43:43 +08:00
hjlarry
5e8eeb92d9
fix: scope workflow comment reply mutations to tenant/app/comment
2026-04-12 18:42:08 +08:00
hjlarry
763524fc33
fix(web): fine-tune comment marker avatar vertical alignment
2026-04-12 18:05:40 +08:00
hjlarry
1722c883f3
fix(web): adjust app card online avatars layout and counter alignment
2026-04-12 17:56:53 +08:00
hjlarry
0967ad5145
fix(web): localize workflow comments panel filters across locales
2026-04-12 16:38:57 +08:00
hjlarry
0acd329e6d
fix(web): align workflow comment reply contract outputs
2026-04-12 16:28:25 +08:00
hjlarry
977af3399e
fix(api): validate workflow mentions against tenant members
2026-04-12 16:23:19 +08:00
hjlarry
3288f5e100
fix(collaboration): align online-users keys to app_id
...
Switch /apps/workflows/online-users request and response schema from workflow_ids/workflow_id to app_ids/app_id without compatibility fallback.
Align app list online avatar lookup and online-user map indexing to app.id, matching socket room identity.
Update backend access checks, API fields, frontend contract/types, and unit tests accordingly.
2026-04-12 16:16:47 +08:00
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
autofix-ci[bot]
631341e773
[autofix.ci] apply automated fixes
2026-04-11 14:01:59 +00: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