autofix-ci[bot]
fe56473fff
[autofix.ci] apply automated fixes
2026-04-13 02:48:42 +00:00
hjlarry
71e7aeb489
fix: CI
2026-04-13 10:43:35 +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
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
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
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
a29e831ce5
chore: improve py codecov
2026-04-11 21:57:20 +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
295306a30d
chore: directly 0.0.0.0:5001 for dev
2026-04-11 17:41:16 +08:00
autofix-ci[bot]
d28dceb621
[autofix.ci] apply automated fixes
2026-04-10 14:56:44 +00:00
hjlarry
ee2b021395
Merge remote-tracking branch 'myori/main' into feat/collaboration2
2026-04-10 22:47:40 +08:00
dataCenter430
674495680d
refactor(api): type Redis connection param builder functions with TypedDicts ( #34875 )
2026-04-10 11:36:39 +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
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
50c307739f
Merge branch 'feat/collaboration2' of github.com:langgenius/dify into feat/collaboration2
2026-04-10 15:46:17 +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
corevibe555
26e8f1f876
feat(ci): add pyrefly type coverage reporting to CI ( #34754 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-04-10 07:43:29 +00:00
corevibe555
af55665ff2
refactor(otel): replace Any with Tracer and [T] generics ( #34883 )
2026-04-10 07:37:14 +00:00
wangxiaolei
bcd738d2e6
fix: fix orm_exc.DetachedInstanceError ( #34904 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-04-10 07:13:59 +00:00
corevibe555
488fcd4f83
refactor(services): replace Union with | syntax in service layer (batch 2) ( #34906 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-04-10 07:05:31 +00:00
corevibe555
7f4bf19186
refactor(mcp): remove unused AnyFunction alias, tighten callback type ( #34890 )
2026-04-10 05:48:01 +00:00
corevibe555
07c573e52f
refactor(api): replace Optional/Union with | syntax, remove dead AnyFunction ( #34894 )
2026-04-10 05:46:05 +00:00
sxxtony
660c7e4a43
refactor: migrate TrialApp and AccountTrialAppRecord to TypeBase ( #34897 )
2026-04-10 05:13:06 +00:00
corevibe555
5fafac0ca4
refactor(api): modernize type annotations — replace Optional/Union with | syntax ( #34888 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-04-10 05:04:10 +00:00
volcano303
c41b62f47e
refactor(api): type format_preview returns with TypedDicts in index processors ( #34893 )
2026-04-10 05:01:01 +00:00
-LAN-
b90fe73c96
fix(api): prevent cross-tenant external API use-check disclosure ( #34744 )
2026-04-10 03:23:32 +00:00
Pulakesh
d19f47b458
fix(api): replace assert isinstance with proper runtime type checks in message transformers ( #34865 )
2026-04-10 03:19:52 +00:00
carlos4s
86fd94767c
refactor(api): use sessionmaker in relyt & tidb_vector VDB services ( #34848 )
2026-04-10 03:16:25 +00:00
corevibe555
d826ac7099
refactor(models): replace Any with precise types in Tenant and MCPToo… ( #34880 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-04-10 03:12:38 +00:00
hjlarry
3e0640a3aa
feat: mentioned user email can directly open app
2026-04-10 11:11:53 +08:00
hjlarry
959a9f3456
fix: make sure restart server not get ghost online user
2026-04-10 10:50:39 +08:00
hjlarry
43b9bcd4e0
fix: ensure leader online to accept graph change
2026-04-10 10:40:21 +08:00
autofix-ci[bot]
19448b3cad
[autofix.ci] apply automated fixes
2026-04-10 02:30:57 +00:00
hjlarry
9c7a2196ed
feat: send email when user mentioned in comment
2026-04-10 10:18:37 +08:00