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
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
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
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
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
呆萌闷油瓶
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
-LAN-
b90fe73c96
fix(api): prevent cross-tenant external API use-check disclosure ( #34744 )
2026-04-10 03:23:32 +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
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
hjlarry
9c7a2196ed
feat: send email when user mentioned in comment
2026-04-10 10:18:37 +08:00
hjlarry
59e752dcd3
Merge remote-tracking branch 'myori/main' into feat/collaboration2
2026-04-10 09:41:47 +08:00
Jean Ibarz
d50f096b14
fix(mcp): catch JSONDecodeError in OAuth discovery functions 🤖 🤖 🤖 ( #34868 )
2026-04-10 01:28:57 +00:00
aliworksx08
e143dbce50
refactor: migrate session.query to select API in webhook service ( #34849 )
2026-04-09 14:16:33 +00:00
aliworksx08
8ad131bb3b
refactor: migrate session.query to select API in file service ( #34852 )
2026-04-09 14:15:59 +00:00
wangxiaolei
41eeb1f2e7
fix: fix sqlalchemy.orm.exc.DetachedInstanceError ( #34845 )
2026-04-09 10:55:48 +00:00
wangxiaolei
d042cbc62e
fix: fix remove_leading_symbols remove [ ( #34832 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-04-09 08:22:09 +00:00
hjlarry
305a4b65cb
Merge remote-tracking branch 'myori/main' into feat/collaboration2
2026-04-09 16:02:32 +08:00
-LAN-
d1e33ba9ea
refactor(api): reduce Dify GraphInitParams usage ( #34825 )
2026-04-09 07:59:15 +00:00
carlos4s
66e588c8ca
refactor(api): use sessionmaker in builtin tools manage service ( #34812 )
2026-04-09 05:58:38 +00:00
aliworksx08
ee789db443
refactor: migrate session.query to select API in plugin services ( #34817 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-04-09 05:49:59 +00:00
carlos4s
d360929af1
refactor(api): use sessionmaker in pgvecto_rs VDB service ( #34818 )
2026-04-09 05:49:03 +00:00
Renzo
e3cc4b83c8
refactor: migrate session.query to select API in clean dataset task ( #34815 )
2026-04-09 05:46:36 +00:00
aliworksx08
b5acc8e392
refactor: migrate session.query to select API in core tools ( #34814 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-04-09 05:44:49 +00:00
Renzo
f5ea61e93e
refactor: migrate session.query to select API in document indexing sync task ( #34813 )
2026-04-09 05:44:13 +00:00
carlos4s
a76a8876d1
refactor(api): use sessionmaker in datasource provider service ( #34811 )
2026-04-09 05:43:13 +00:00
autofix-ci[bot]
cd4489563e
[autofix.ci] apply automated fixes
2026-04-09 03:36:49 +00:00
hjlarry
5cac278366
Merge remote-tracking branch 'myori/main' into feat/collaboration2
2026-04-09 11:31:09 +08:00
hjlarry
0055b983dc
Merge remote-tracking branch 'myori/main' into feat/collaboration2
2026-04-09 11:27:12 +08:00
wangxiaolei
27e484e7f8
feat: redis add retry logic ( #34566 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-04-09 03:08:25 +00:00
volcano303
1898a3f8a5
test: migrate recommended_app_service tests to testcontainers ( #34751 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-04-09 00:36:57 +00:00
carlos4s
5aa4e23f54
refactor(api): use sessionmaker in end user, retention & cleanup services ( #34765 )
2026-04-08 23:21:28 +00:00
carlos4s
1d971d3240
refactor(api): use sessionmaker in plugin & trigger services ( #34764 )
2026-04-08 23:18:26 +00:00
carlos4s
02a9f0abca
refactor(api): use sessionmaker in core app generators & pipelines ( #34771 )
2026-04-08 23:15:58 +00:00
tmimmanuel
1a4eb47e1d
refactor(api): tighten types in trivial lint and config fixes ( #34773 )
...
Co-authored-by: tmimmanuel <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>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-04-08 23:14:44 +00:00
carlos4s
4c70bfa8b8
refactor(api): use sessionmaker in trigger provider service & dataset… ( #34774 )
2026-04-08 23:13:38 +00:00
Will
e138523123
fix: legacy model_type deserialization regression ( #34717 )
2026-04-08 05:08:12 +00:00
carlos4s
a65e1f71b4
refactor: use sessionmaker in small services 2 ( #34696 )
...
Co-authored-by: Asuka Minato <i@asukaminato.eu.org>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-04-08 05:06:50 +00:00