Commit Graph

1041 Commits

Author SHA1 Message Date
zipg c4fe7c8ee8
fix: 修复 PostgreSQL 空字符串默认值处理 (#1970)
Co-authored-by: staff <staff@qimaos-MacBook-Pro.local>
2026-06-27 00:53:53 +08:00
eryajf 76e2d33cd3 feat(update): add configurable update download source 2026-06-26 22:25:42 +08:00
miracle d128604743
fix(connection): 修复数据库连接超时后无法可靠恢复的问题
* feat(core): implement PIP-0001 database connection timeout recovery

- Add DbOperationBudget struct for unified execution budget model
- Add deadpool create/recycle timeout for PostgreSQL pools
- Add checkout_postgres_client helper replacing 14 bare pool.get() calls
  with timeout + cancel token support
- Fix PostgreSQL TLS cancel: rebuild TLS connector from stored context,
  fallback to NoTls on failure
- Add timeout to MySQL kill_query and kill_query_with_opts (5s)
- Extend is_connection_error to match deadpool pool timeout messages
- Unify keepalive default to 30s (was 60s Rust / 0s frontend mismatch)
- Inject PostgreSQL TCP keepalive params (idle=30s, interval=10s, retries=3)
- Inject MySQL tcp_keepalive=30s in OptsBuilder
- Make MySQL inactive_connection_ttl configurable from idle_timeout_secs
- Add stage-based structured logging for pool.checkout/health.check/cancel
- Store PostgresCancelContext in AppState for TLS cancel reconstruction
- Clean up cancel contexts on pool removal/drain
- Add unit tests for DbOperationBudget and pool timeout error detection

* fix(core): align timeout recovery with PIP-0001

* fix(core): handle timeout recovery review issues

* fix(core): complete connection timeout recovery

* fix(core): fall back postgres cancel connector build

* refactor: revert comment translations to English in connection.rs and query.rs

- Revert DbOperationBudget doc comments to English (query.rs)
- Revert PostgresCancelContext and TLS cancel comments to English (connection.rs)
- Keep Chinese error-matching strings in is_connection_error unchanged

---------

Co-authored-by: onceMisery <onceMisery@users.noreply.github.com>
2026-06-26 21:41:56 +08:00
t8y2 796b0ce5b7 fix(dameng): restore exports with identity columns 2026-06-26 21:25:39 +08:00
t8y2 fbcf3591d0 feat(settings): add MCP config templates for AI clients 2026-06-26 19:15:12 +08:00
weihan 31290a09c9
fix(navicatImport): 修复 OceanBase NCX 连接导入模式 (#1963)
- 根据 Navicat NCX 的 ConnType 区分 OceanBase MySQL 和 Oracle 模式:
- MYSQL 导入为 DBX 的 OceanBase MySQL 模式,ORACLE 导入为 oceanbase-oracle。
- 同时忽略 OceanBase Oracle 连接中的 ORCL 占位数据库,避免生成错误连接配置。
2026-06-26 19:12:53 +08:00
t8y2 8732075dc9 fix(vastbase): avoid backslash escape in role grants SQL 2026-06-26 19:07:22 +08:00
二丫讲梵 10aff74072
feat(export-tracker): 增强导出任务跟踪功能 (#1958)
- 添加了对数据库导出、SQL 文件导出和数据传输任务的支持
- 引入了新的状态和错误处理机制
- 实现了任务的重叠检查,防止同时进行相同目标表的数据传输
- 更新了 API 调用以支持新的任务类型
- 增加了相应的国际化文本
- 添加了单元测试以确保新功能的正确性
2026-06-26 18:50:25 +08:00
zipg 90bed417e9
fix: 完善 SQL 表名和字段语义诊断 (#1961)
Co-authored-by: staff <staff@qimaos-MacBook-Pro.local>
2026-06-26 18:47:10 +08:00
t8y2 2b99cd3b62 feat(diagram): add modeled ERD relationships 2026-06-26 18:44:47 +08:00
zipg de10296f69
fix: 修复 AI SQL 方言上下文 (#1943)
Co-authored-by: staff <staff@qimaos-MacBook-Pro.local>
2026-06-26 17:40:41 +08:00
zipg 8bcfb937a8
fix: 优化主题切换交互 (#1945)
Co-authored-by: staff <staff@qimaos-MacBook-Pro.local>
2026-06-26 17:35:12 +08:00
ptma fdd7d2095b
feat(influxdb): support influxdb epoch parameter (#1946) 2026-06-26 17:33:58 +08:00
t8y2 2268771533 fix(structure): refine editor input focus styles 2026-06-26 17:15:27 +08:00
t8y2 2f06ca5fe3 fix(data-compare): batch sync execution 2026-06-26 17:10:26 +08:00
t8y2 f3dfa3e1a7 fix: 修复 webdav 文件格式以恢复 CI 检查 2026-06-26 16:52:13 +08:00
zipg 04021d39f8
fix: 优化单元格详情布局 (#1920)
Co-authored-by: staff <staff@qimaos-MacBook-Pro.local>
2026-06-26 16:13:18 +08:00
LRcoding f963a6e793
fix(app): decode imported connection link names (#1930)
Co-authored-by: zero <zero@zeroMacmini.local>
2026-06-26 16:09:17 +08:00
二丫讲梵 861200d664
fix: 修复webdav自动定时同步异常的问题 (#1921) 2026-06-26 15:35:48 +08:00
t8y2 cdfe576024 fix(structure): load dynamic data type options 2026-06-26 15:22:33 +08:00
t8y2 5ffac129e0 fix(grid): 调整列排序菜单顺序,数据库排序置顶 2026-06-26 15:05:31 +08:00
zipg 49e79eb934
feat: 支持 SQL 参数查询
* Fix: 支持 SQL 参数查询

* Fix: 修复前端格式检查

---------

Co-authored-by: staff <staff@qimaos-MacBook-Pro.local>
Co-authored-by: t8y2 <1156263951@qq.com>
2026-06-26 14:19:05 +08:00
林剑凛 9bed864e61
feat(grid): show selection summary (#1903) 2026-06-26 14:17:04 +08:00
zipg 74d57982c9
feat: 执行查询前提示选择数据库
* Improve:执行查询前提示选择数据库

* Fix:补齐连接配置测试字段

---------

Co-authored-by: staff <staff@qimaos-MacBook-Pro.local>
2026-06-26 14:03:27 +08:00
zipg dbfe284ca9
fix: 修复侧边栏定位表节点异常及连接配置测试字段缺失
* Fix: 修复侧边栏定位表节点异常

* Fix: 修复连接配置测试字段缺失

---------

Co-authored-by: staff <staff@qimaos-MacBook-Pro.local>
2026-06-26 13:59:29 +08:00
zipg 37d0dd7ad7
fix: 修复 PostgreSQL 字段名高亮异常
* Fix:修复 PostgreSQL 字段名高亮异常

* Fix:补齐连接配置测试字段

---------

Co-authored-by: staff <staff@qimaos-MacBook-Pro.local>
2026-06-26 13:27:40 +08:00
林剑凛 41f2468313
feat(objects): support object browser column resizing 2026-06-26 13:23:17 +08:00
lexmin0412 0e1d2dd32e
feat(redis): add column sorting for Hash field/value view (#1789) 2026-06-26 13:22:00 +08:00
Abeautifulsnow 5f2b24d700
fix(ai): enforce SQL task contracts structurally instead of keyword heuristics
* fix: enforce agent task contracts

* fix(ai): enforce SQL task contracts structurally
2026-06-26 13:18:49 +08:00
zipg d6052cff8b
fix: 避免过期连接尝试残留错误提示
Co-authored-by: staff <staff@qimaos-MacBook-Pro.local>
2026-06-26 12:32:02 +08:00
lexmin0412 f17f91c3be
feat(mcp): add OpenCode config guide in settings (#1887) 2026-06-26 11:24:30 +08:00
dalew d815a16b86
feat(redis): move scan page size to connections 2026-06-26 11:13:34 +08:00
t8y2 367d3682d2 fix(desktop): use custom window controls on Linux 2026-06-26 11:11:22 +08:00
lexmin0412 676dcdb490
fix(i18n): add missing MCP settings keys for zh-TW (#1879) 2026-06-26 10:53:43 +08:00
zipg ad9920f1ae
fix: 移除标签页置顶快捷按钮
Co-authored-by: staff <staff@qimaos-MacBook-Pro.local>
2026-06-26 10:42:53 +08:00
二丫讲梵 ad6e13dba8
feat(sidebar): 添加展开全部功能并支持多语言
- 新增 loadAllObjectGroupChildren 函数以加载所有对象组子项
- 在侧边栏菜单中添加“展开全部”选项
- 更新多语言文件以支持“展开全部”文本
2026-06-26 09:54:20 +08:00
t8y2 c1280511ae fix(grid): smooth canvas horizontal scroll 2026-06-26 02:26:26 +08:00
t8y2 dff94d60f5 fix(oceanbase): show oracle mode schemas in sidebar 2026-06-26 02:03:00 +08:00
t8y2 2dc71548c3 fix(grid): prevent horizontal scroll from loading more rows 2026-06-26 01:55:03 +08:00
zipg 4d000c88fa
fix(sidebar): improve scrollbar hover display 2026-06-26 01:52:03 +08:00
t8y2 6646b432d3 fix(oceanbase): preserve oracle mode when editing connection 2026-06-26 01:46:42 +08:00
lexmin0412 c2376494d3
feat(vector): add ChromaDB support 2026-06-26 01:41:36 +08:00
t8y2 a80c30138b fix(vastbase): tolerate missing role bypass rls 2026-06-26 01:34:23 +08:00
t8y2 c3386a0dcd fix(nacos): guard stale connection test timeout 2026-06-26 01:22:11 +08:00
二丫讲梵 a149d9baa4
fix(nacos): route admin API through SSH/proxy transport 2026-06-26 01:01:08 +08:00
t8y2 6ecec64588 fix(editor): keep order/group column suggestions active 2026-06-26 00:25:19 +08:00
t8y2 3a9cf0336a fix(saved-sql): count nested SQL files 2026-06-26 00:07:19 +08:00
zipg 0f312084ff
fix(sidebar): paginate table list by page size 2026-06-25 23:54:09 +08:00
Spencer.Chang 8ac0038ad7
fix: correct CAST completion signature 2026-06-25 23:35:21 +08:00
zipg 49bb28ecf0
fix(sidebar): remove pin shortcut button 2026-06-25 23:31:24 +08:00