+11
33edf97f81
feat: RBAC ( #37107 )
...
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: fatelei <[email protected] >
Co-authored-by: Copilot <[email protected] >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: 盐粒 Yanli <[email protected] >
Co-authored-by: Charles Yao <[email protected] >
Co-authored-by: Claude Opus 4.8 <[email protected] >
Co-authored-by: yunlu.wen <[email protected] >
Co-authored-by: yyh <[email protected] >
Co-authored-by: Jingyi <[email protected] >
Co-authored-by: yyh <[email protected] >
Co-authored-by: Joel <[email protected] >
Co-authored-by: hjlarry <[email protected] >
Co-authored-by: Asuka Minato <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Xiyuan Chen <[email protected] >
Co-authored-by: gigglewang <[email protected] >
Co-authored-by: chariri <[email protected] >
Co-authored-by: Evan <[email protected] >
Co-authored-by: zyssyz123 <[email protected] >
2026-06-18 16:35:29 +00:00
+5
9b74df21d0
feat(web): refine onboarding UI ( #37433 )
...
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: yyh <[email protected] >
Co-authored-by: Joel <[email protected] >
Co-authored-by: hjlarry <[email protected] >
Co-authored-by: fatelei <[email protected] >
Co-authored-by: Asuka Minato <[email protected] >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Xiyuan Chen <[email protected] >
Co-authored-by: gigglewang <[email protected] >
Co-authored-by: Yunlu Wen <[email protected] >
Co-authored-by: chariri <[email protected] >
Co-authored-by: Evan <[email protected] >
Co-authored-by: yyh <[email protected] >
2026-06-15 08:47:15 +00:00
YBoy and GitHub
485fc2c416
refactor(api): type Tenant custom config with TypedDict and tighten MCP headers type ( #34670 )
2026-04-07 13:18:19 +00:00
7757bb5089
refactor(api): Query API to select function_1 ( #33565 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-03-17 23:29:16 +09:00
tmimmanuel and GitHub
98df8e1d6c
refactor: replace remaining sa.String with EnumText 2 ( #33448 )
2026-03-14 20:20:30 +09:00
e64f4d6039
refactor: replace sa.String with EnumText in mapped_column for type s… ( #33332 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Claude Opus 4.6 <[email protected] >
2026-03-14 13:38:27 +09:00
5b02e5dcb6
refactor: migrate some ns.model to BaseModel ( #30388 )
...
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2026-01-01 00:38:12 +08:00
-LAN- and GitHub
38522e5dfa
fix: use default_factory for callable defaults in ORM dataclasses ( #28730 )
2025-11-27 09:39:49 +09:00
Asuka Minato and GitHub
a6c6bcf95c
more typed orm ( #28507 )
2025-11-21 21:45:51 +08:00
longbingljw and GitHub
c0b7ffd5d0
feat:mysql adaptation for metadb ( #28188 )
2025-11-20 09:44:39 +08:00
7994144df7
add onupdate=func.current_timestamp() ( #28014 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-11-10 01:48:52 +09:00
32c715c4d0
rm type ignore ( #25715 )
...
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>
Co-authored-by: -LAN- <[email protected] >
2025-10-21 11:26:58 +08:00
8a2b208299
Refactor account models to use SQLAlchemy 2.0 dataclass mapping ( #26415 )
...
Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Copilot <[email protected] >
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-10-10 17:12:12 +09:00
bab4975809
chore: add ast-grep rule to convert Optional[T] to T | None ( #25560 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-09-15 13:06:33 +08:00
QuantumGhost and GitHub
874406d934
security(api): fix privilege escalation vulnerability in model config and chat message APIs ( #25518 )
...
The `ChatMessageApi` (`POST /console/api/apps/{app_id}/chat-messages`) and
`ModelConfigResource` (`POST /console/api/apps/{app_id}/model-config`)
endpoints do not properly validate user permissions, allowing users without `editor`
permission to access restricted functionality.
This PR addresses this issue by adding proper permission check.
2025-09-11 14:53:35 +08:00
cbc0e639e4
update sql in batch ( #24801 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: -LAN- <[email protected] >
2025-09-10 13:00:17 +08:00
9b8a03b53b
[Chore/Refactor] Improve type annotations in models module ( #25281 )
...
Signed-off-by: -LAN- <[email protected] >
Co-authored-by: crazywoola <[email protected] >
2025-09-08 09:42:27 +08:00
a78339a040
remove bare list, dict, Sequence, None, Any ( #25058 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: -LAN- <[email protected] >
2025-09-06 03:32:23 +08:00
QuantumGhost and GitHub
d9eb1a73af
fix(api): fix DetachedInstanceError for Account.current_tenant_id ( #24789 )
...
The `Account._current_tenant` object is loaded by a database session (typically `db.session`) whose lifetime
is not aligned with the Account model instance. This misalignment causes a `DetachedInstanceError` to be raised
when accessing attributes of `Account._current_tenant` after the original session has been closed.
To resolve this issue, we now reload the tenant object with `expire_on_commit=False`, ensuring the tenant remains
accessible even after the session is closed.
2025-08-29 19:12:02 +08:00
Bowen Liang and GitHub
39064197da
chore: cleanup unnecessary mypy suppressions on imports ( #24712 )
2025-08-28 23:17:25 +08:00
Asuka Minato and GitHub
58165c3951
example on orm typing ( #23322 )
2025-08-26 18:16:58 +08:00
Asuka Minato and GitHub
58608f51da
replace db with sa to get typing support ( #23240 )
2025-08-02 23:54:23 +08:00
Asuka Minato and GitHub
79ea94483e
refine some orm types ( #22885 )
2025-07-31 18:43:04 +08:00
ef51678c73
orm filter -> where ( #22801 )
...
Signed-off-by: -LAN- <[email protected] >
Co-authored-by: -LAN- <[email protected] >
Co-authored-by: Claude <[email protected] >
2025-07-24 00:57:45 +08:00
eaae79a581
feat: plugin auto upgrade strategy ( #19758 )
...
Co-authored-by: Joel <[email protected] >
Co-authored-by: crazywoola <[email protected] >
Co-authored-by: Copilot <[email protected] >
Co-authored-by: Novice <[email protected] >
2025-07-23 15:33:39 +08:00
6d3e198c3c
Mapped column ( #22644 )
...
Co-authored-by: Copilot <[email protected] >
2025-07-23 00:39:59 +08:00
-LAN- and GitHub
1715dd4320
refactor: Fix some type error ( #22594 )
...
Signed-off-by: -LAN- <[email protected] >
2025-07-18 09:26:29 +08:00
-LAN- and GitHub
3196dc2d61
refactor: Use typed SQLAlchemy base model and fix type errors ( #19980 )
...
Signed-off-by: -LAN- <[email protected] >
2025-05-21 15:38:03 +08:00
crazywoola and GitHub
b29087b680
fix: db.session.query(TenantAccountJoin) ( #19482 )
2025-05-10 04:43:56 -07:00
-LAN- and GitHub
792b321a81
refactor(models): Use the SQLAlchemy base model. ( #19435 )
...
Signed-off-by: -LAN- <[email protected] >
2025-05-09 13:52:05 +08:00
0415cc209d
chore: use TenantAccountRole instead of TenantAccountJoinRole ( #15514 )
...
Co-authored-by: 刘江波 <[email protected] >
2025-03-12 12:56:30 +08:00
+110
403e2d58b9
Introduce Plugins ( #13836 )
...
Signed-off-by: yihong0618 <[email protected] >
Signed-off-by: -LAN- <[email protected] >
Signed-off-by: xhe <[email protected] >
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: takatost <[email protected] >
Co-authored-by: kurokobo <[email protected] >
Co-authored-by: Novice Lee <[email protected] >
Co-authored-by: zxhlyh <[email protected] >
Co-authored-by: AkaraChen <[email protected] >
Co-authored-by: Yi <[email protected] >
Co-authored-by: Joel <[email protected] >
Co-authored-by: JzoNg <[email protected] >
Co-authored-by: twwu <[email protected] >
Co-authored-by: Hiroshi Fujita <[email protected] >
Co-authored-by: AkaraChen <[email protected] >
Co-authored-by: NFish <[email protected] >
Co-authored-by: Wu Tianwei <[email protected] >
Co-authored-by: 非法操作 <[email protected] >
Co-authored-by: Novice <[email protected] >
Co-authored-by: Hiroki Nagai <[email protected] >
Co-authored-by: Gen Sato <[email protected] >
Co-authored-by: eux <[email protected] >
Co-authored-by: huangzhuo1949 <[email protected] >
Co-authored-by: huangzhuo <[email protected] >
Co-authored-by: lotsik <[email protected] >
Co-authored-by: crazywoola <[email protected] >
Co-authored-by: nite-knite <[email protected] >
Co-authored-by: Jyong <[email protected] >
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: gakkiyomi <[email protected] >
Co-authored-by: CN-P5 <[email protected] >
Co-authored-by: CN-P5 <[email protected] >
Co-authored-by: Chuehnone <[email protected] >
Co-authored-by: yihong <[email protected] >
Co-authored-by: Kevin9703 <[email protected] >
Co-authored-by: -LAN- <[email protected] >
Co-authored-by: Boris Feld <[email protected] >
Co-authored-by: mbo <[email protected] >
Co-authored-by: mabo <[email protected] >
Co-authored-by: Warren Chen <[email protected] >
Co-authored-by: JzoNgKVO <[email protected] >
Co-authored-by: jiandanfeng <[email protected] >
Co-authored-by: zhu-an <[email protected] >
Co-authored-by: zhaoqingyu.1075 <[email protected] >
Co-authored-by: 海狸大師 <[email protected] >
Co-authored-by: Xu Song <[email protected] >
Co-authored-by: rayshaw001 <[email protected] >
Co-authored-by: Ding Jiatong <[email protected] >
Co-authored-by: Bowen Liang <[email protected] >
Co-authored-by: JasonVV <[email protected] >
Co-authored-by: le0zh <[email protected] >
Co-authored-by: zhuxinliang <[email protected] >
Co-authored-by: k-zaku <[email protected] >
Co-authored-by: luckylhb90 <[email protected] >
Co-authored-by: hobo.l <[email protected] >
Co-authored-by: jiangbo721 <[email protected] >
Co-authored-by: 刘江波 <[email protected] >
Co-authored-by: Shun Miyazawa <[email protected] >
Co-authored-by: EricPan <[email protected] >
Co-authored-by: crazywoola <[email protected] >
Co-authored-by: sino <[email protected] >
Co-authored-by: Jhvcc <[email protected] >
Co-authored-by: lowell <[email protected] >
Co-authored-by: Boris Polonsky <[email protected] >
Co-authored-by: Ademílson Tonato <[email protected] >
Co-authored-by: Ademílson Tonato <[email protected] >
Co-authored-by: IWAI, Masaharu <[email protected] >
Co-authored-by: Yueh-Po Peng (Yabi) <[email protected] >
Co-authored-by: Jason <[email protected] >
Co-authored-by: Xin Zhang <[email protected] >
Co-authored-by: yjc980121 <[email protected] >
Co-authored-by: heyszt <[email protected] >
Co-authored-by: Abdullah AlOsaimi <[email protected] >
Co-authored-by: Abdullah AlOsaimi <[email protected] >
Co-authored-by: Yingchun Lai <[email protected] >
Co-authored-by: Hash Brown <[email protected] >
Co-authored-by: zuodongxu <[email protected] >
Co-authored-by: Masashi Tomooka <[email protected] >
Co-authored-by: aplio <[email protected] >
Co-authored-by: Obada Khalili <[email protected] >
Co-authored-by: Nam Vu <[email protected] >
Co-authored-by: Kei YAMAZAKI <[email protected] >
Co-authored-by: TechnoHouse <[email protected] >
Co-authored-by: Riddhimaan-Senapati <[email protected] >
Co-authored-by: MaFee921 <[email protected] >
Co-authored-by: te-chan <[email protected] >
Co-authored-by: HQidea <[email protected] >
Co-authored-by: Joshbly <[email protected] >
Co-authored-by: xhe <[email protected] >
Co-authored-by: weiwenyan-dev <[email protected] >
Co-authored-by: ex_wenyan.wei <[email protected] >
Co-authored-by: engchina <[email protected] >
Co-authored-by: engchina <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: 呆萌闷油瓶 <[email protected] >
Co-authored-by: Kemal <[email protected] >
Co-authored-by: Lazy_Frog <[email protected] >
Co-authored-by: Yi Xiao <[email protected] >
Co-authored-by: Steven sun <[email protected] >
Co-authored-by: steven <[email protected] >
Co-authored-by: Kalo Chin <[email protected] >
Co-authored-by: Katy Tao <[email protected] >
Co-authored-by: depy <[email protected] >
Co-authored-by: 胡春东 <[email protected] >
Co-authored-by: Junjie.M <[email protected] >
Co-authored-by: MuYu <[email protected] >
Co-authored-by: Naoki Takashima <[email protected] >
Co-authored-by: Summer-Gu <[email protected] >
Co-authored-by: Fei He <[email protected] >
Co-authored-by: ybalbert001 <[email protected] >
Co-authored-by: Yuanbo Li <[email protected] >
Co-authored-by: douxc <[email protected] >
Co-authored-by: liuzhenghua <[email protected] >
Co-authored-by: Wu Jiayang <[email protected] >
Co-authored-by: Your Name <[email protected] >
Co-authored-by: kimjion <[email protected] >
Co-authored-by: AugNSo <[email protected] >
Co-authored-by: llinvokerl <[email protected] >
Co-authored-by: liusurong.lsr <[email protected] >
Co-authored-by: Vasu Negi <[email protected] >
Co-authored-by: Hundredwz <[email protected] >
Co-authored-by: Xiyuan Chen <[email protected] >
2025-02-17 17:05:13 +08:00
-LAN- and GitHub
83ea931e3c
refactor: optimize database usage ( #12071 )
...
Signed-off-by: -LAN- <[email protected] >
2024-12-25 16:24:52 +08:00
yihong and GitHub
56e15d09a9
feat: mypy for all type check ( #10921 )
2024-12-24 18:38:51 +08:00
yihong and GitHub
dfc25dbdd0
fix: drop useless and wrong code in Account ( #11961 )
...
Signed-off-by: yihong0618 <[email protected] >
2024-12-23 16:30:04 +08:00
9578246bbb
fix: The default updated_at when a workflow is created ( #11709 )
...
Co-authored-by: 刘江波 <[email protected] >
2024-12-21 23:13:58 +08:00
-LAN- and GitHub
3599751f93
chore(db): use a better way to export models and remove unused table ( #11838 )
...
Signed-off-by: -LAN- <[email protected] >
2024-12-20 14:12:29 +08:00
-LAN- and GitHub
8d5a1be227
fix: Cannot use files in the user inputs. ( #11112 )
2024-11-26 13:43:38 +08:00
Dr.MerdanBay and GitHub
41772c325f
Feat/add admin check ( #11050 )
2024-11-25 11:11:00 +08:00
Bowen Liang and GitHub
6c8e208ef3
chore: bump minimum supported Python version to 3.11 ( #10386 )
2024-11-24 13:28:46 +08:00
d109881410
chore(api/models): apply ruff reformatting ( #7600 )
...
Co-authored-by: -LAN- <[email protected] >
2024-09-10 17:08:06 +08:00
935e72d449
Feat: conversation variable & variable assigner node ( #7222 )
...
Signed-off-by: -LAN- <[email protected] >
Co-authored-by: Joel <[email protected] >
Co-authored-by: -LAN- <[email protected] >
2024-08-13 14:44:10 +08:00
5e6fc58db3
Feat/environment variables in workflow ( #6515 )
...
Co-authored-by: JzoNg <[email protected] >
2024-07-22 15:29:39 +08:00
ce930f19b9
fix dataset operator ( #6064 )
...
Co-authored-by: JzoNg <[email protected] >
2024-07-09 17:47:54 +08:00
takatost and GitHub
79df8825c8
Revert "feat: knowledge admin role" ( #6018 )
2024-07-05 21:31:34 +08:00
5d9ad430af
feat: knowledge admin role ( #5965 )
...
Co-authored-by: JzoNg <[email protected] >
Co-authored-by: jyong <[email protected] >
2024-07-04 16:21:40 +08:00
takatost and GitHub
d30c13891b
feat: add fix-app-site-missing command ( #5711 )
2024-06-28 20:20:23 +08:00
8bcc5a36bb
feat: new editor user permission profile ( #4435 )
...
Co-authored-by: crazywoola <[email protected] >
Co-authored-by: crazywoola <[email protected] >
2024-06-14 20:34:25 +08:00
Jyong and GitHub
3e9dbe3e0a
add pgvecto_rs support and upgrade SQLAlchemy ( #3833 )
2024-04-29 11:58:17 +08:00
Bowen Liang and GitHub
c54fcfb45d
extract enum type for tenant account role ( #3788 )
2024-04-25 18:20:08 +08:00