Commit Graph

536 Commits

Author SHA1 Message Date
t8y2 6f2e4774f4 feat(updates): add AtomGit update download source 2026-07-03 11:01:27 +08:00
t8y2 b51d6f02df chore: bump module versions 2026-07-03 01:06:54 +08:00
Guoyu Su 074715b002
fix(redis): connect pubsub to desktop websocket server 2026-07-02 19:47:41 +08:00
t8y2 3e01840825 fix(ai): remove temperature from AI requests 2026-07-02 17:58:35 +08:00
zipg 4efff9a190
fix(editor): prompt before closing unsaved SQL tabs
Co-authored-by: staff <staff@qimaos-MacBook-Pro.local>
2026-07-02 16:43:55 +08:00
Tony Tang 23b9228f82
feat(connection): add StarRocks TLS support 2026-07-02 16:37:20 +08:00
Abeautifulsnow a0754206d3
feat(ai-config): persist AI settings per provider (#2412)
## 背景说明
AI 设置原本只有一个配置槽,切换模型厂商时会覆盖之前填写的 endpoint、API Key、model 等信息。本次改动让每个模型厂商各自保存一份配置,并在设置页和对话窗口提供已配置状态与快速切换能力。

## 修改内容
- 新增 ai_provider_configs 存储表,用于按 provider 保存独立 AI 配置
- 新增 Tauri/Web API:保存和加载 provider 级 AI 配置
- 设置页 provider 下拉展示“当前/已配置”状态
- 设置页切换 provider 前会先保存当前表单编辑内容,避免未保存输入丢失
- 对话窗口模型选择器支持查看并切换已配置过的其他 provider
- provider 配置保存时强制 config.provider 与 provider key 一致,避免错位配置污染
- 所有语言补齐新增 i18n 文案

## 修复的问题
- 切换模型厂商时原厂商配置会丢失
- 设置页切换 provider 时本地表单编辑态可能未保存
- provider key 与 config.provider 不一致时可能激活错误厂商
- 对话窗口模型选择器只能看到当前 provider 的模型,不能看到其他已配置厂商

## 测试
- npx tsc --noEmit
- cargo check -p dbx-core
- cargo check -p dbx-web
- cargo check --manifest-path src-tauri/Cargo.toml
2026-07-02 14:24:57 +08:00
clj1566317 486b9ee8ed
fix redis sentinel tunnel route 2026-07-02 14:21:52 +08:00
onenewcode 71e618dd46
fix: support mysql install scripts without selected database (#2356) 2026-07-02 13:18:49 +08:00
miracle 72a7207283
fix(kafka): improve mq admin compatibility 2026-07-02 12:58:33 +08:00
lexmin0412 24d952dc12
feat(vector): add Qdrant/Milvus collection dimension display (#2396) 2026-07-02 12:08:30 +08:00
t8y2 2c9f07755f chore(release): bump app version to 0.5.43 2026-07-02 02:55:25 +08:00
Abeautifulsnow d55a708d6a
feat(query): add manual transaction controls 2026-07-02 01:30:31 +08:00
onenewcode 93eeeaa9c6
feat(mongo): add dropIndex and dropIndexes support across full stack 2026-07-01 17:53:09 +08:00
t8y2 a529344ac7 fix(mcp): write bridge port to resolved data dir 2026-07-01 15:14:31 +08:00
t8y2 d88e1b1e6a fix(mcp): use node entry for Windows configs 2026-07-01 13:40:48 +08:00
miracle 0c91fecf5d
feat(editor): add table copy/paste keyboard shortcuts
* feat: add table copy/paste with configurable structure and data options

- Implement Navicat-style table copy/paste functionality
- Support multi-table selection and batch operations
- Configurable paste modes: structure+data (default), structure only, data only
- Backend: add build_copy_table_data_sql API (INSERT INTO ... SELECT)
- TreeItem.vue: copy/paste context menus, paste dialog with mode selection
- ObjectBrowser.vue: batch toolbar buttons, context menu, paste dialog
- Refactor TreeClipboard type to support multi-table entries
- Add i18n keys for all 7 locale files (en, zh-CN, zh-TW, ja, es, it, pt-BR)

* Fix table paste shortcuts

* Fix Kafka MQ sidebar detection

* Restrict table paste scope

* Support data copy for primary SQL databases
2026-07-01 12:49:37 +08:00
t8y2 62951de2b3 fix(release): allow missing WebView2 loader 2026-07-01 10:28:05 +08:00
t8y2 3d6c609f42 chore(release): prepare v0.5.42 2026-07-01 02:20:43 +08:00
t8y2 299a9843f3 fix(elasticsearch): pass routing for document writes 2026-07-01 00:43:14 +08:00
onenewcode b90e4fd64e
feat(mongodb): support createIndex shell command (#2187) 2026-06-30 21:34:58 +08:00
t8y2 25dcbeb7e4 feat(oscar): add OSCAR database support 2026-06-30 20:07:55 +08:00
zipg d04463ebeb
Feature:支持 SQL Server 旧版兼容模式 (#2181)
* fix: 支持 SQL Server 旧版非加密重试

* fix: 优化 SQL Server 旧版兼容模式入口

---------

Co-authored-by: staff <staff@qimaos-MacBook-Pro.local>
2026-06-30 19:52:07 +08:00
zipg da63f6e358
feat(release): add Windows WebView2 offline installer 2026-06-30 19:50:41 +08:00
miracle 7cec4892bf
feat(kafka): support Kafka MQ admin client 2026-06-30 17:01:24 +08:00
t8y2 ba87230302 feat(release): bump app version to 0.5.41 2026-06-29 12:35:59 +08:00
t8y2 4c48263793 feat(grid): add database value filter 2026-06-29 03:13:35 +08:00
Guoyu Su 7a5984a1fd
fix(mongodb): support shell projection and db.version 2026-06-29 00:27:27 +08:00
zipg f57c41381b
fix(portable): prevent stale portable marker from wiping history data 2026-06-28 19:00:40 +08:00
t8y2 6c232899b4 feat(agents): remove legacy Oracle Java agents 2026-06-28 16:11:22 +08:00
t8y2 05058bd777 feat(release): bump app version to 0.5.40 2026-06-28 02:24:39 +08:00
zipg 8b3fe8a7cc
Fix:修复 macOS 全屏关闭窗口异常 2026-06-27 23:28:39 +08:00
zipg b85b14bfde
Fix: 优化 SQL 库启动加载
Co-authored-by: staff <staff@qimaos-MacBook-Pro.local>
2026-06-27 15:07:26 +08:00
miracle de39c1662d
feat: ZK 节点树改为真正懒加载 (#1987)
* feat: lazy load zookeeper nodes

* fix: preserve zookeeper focused path hierarchy
2026-06-27 15:02:09 +08:00
hb 7b08307896
fix: prevent implicit database creation on connection for SQLite (#1986) 2026-06-27 12:31:02 +08:00
t8y2 23b44cc2b9 fix(mcp): add direct Redis command execution 2026-06-26 22:27:31 +08:00
eryajf 76e2d33cd3 feat(update): add configurable update download source 2026-06-26 22:25:42 +08:00
二丫讲梵 10aff74072
feat(export-tracker): 增强导出任务跟踪功能 (#1958)
- 添加了对数据库导出、SQL 文件导出和数据传输任务的支持
- 引入了新的状态和错误处理机制
- 实现了任务的重叠检查,防止同时进行相同目标表的数据传输
- 更新了 API 调用以支持新的任务类型
- 增加了相应的国际化文本
- 添加了单元测试以确保新功能的正确性
2026-06-26 18:50:25 +08:00
t8y2 23ee0a42a3 fix(connection): clone url_params to avoid partial move in influxdb test 2026-06-26 18:17:51 +08:00
Oleksandr Liakhevych def59969e5
fix(ai): fix Windows Codex CLI launch with npm-installed shims (#1953) 2026-06-26 17:45:45 +08:00
ptma fdd7d2095b
feat(influxdb): support influxdb epoch parameter (#1946) 2026-06-26 17:33:58 +08:00
林剑凛 895f116b04
fix(ai): resolve Codex CLI on Windows (#1935) 2026-06-26 17:06:24 +08:00
t8y2 cdfe576024 fix(structure): load dynamic data type options 2026-06-26 15:22:33 +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
jischeng 82fd078c10
fix(mysql): health-check pooled connection before DDL query
* fix(mysql): health-check pooled connection before DDL query

`mysql_ddl` fetched a connection with a raw `pool.get_conn()` and issued
`SHOW CREATE TABLE` directly, unlike other read paths (`get_columns`,
`list_indexes`, ...) which go through `get_conn_with_health_check`. A
pooled connection that went stale while idle (server closed it after its
idle timeout, NAT/firewall dropped the TCP state, ...) would then fail on
the first DDL request after a period of inactivity, surfacing a low-level
connection error that a manual refresh would mask.

Route `mysql_ddl` through `get_conn_with_health_check` so stale
connections are pinged and replaced before the query runs, matching the
rest of the MySQL metadata path.

* fix(test): add redis_scan_page_size to ConnectionConfig test helpers

`d815a16b` (feat(redis): move scan page size to connections) added
`redis_scan_page_size` to `ConnectionConfig` but did not update several
struct-literal test helpers, so `cargo clippy --workspace --all-targets`
fails with `missing field redis_scan_page_size`. This is a pre-existing
breakage on `main` (CI has been red since that commit) and is unrelated to
this PR's actual change; included here only to unblock CI.

Helpers fixed here:
- src-tauri/src/commands/connection.rs (`mongodb_config`)
- crates/dbx-web/src/routes/connection.rs (`sqlite_config`)
2026-06-26 13:16:52 +08:00
backtrack 546a59b1e3
fix(app): load host GTK IM modules for AppImage 2026-06-26 12:13:41 +08:00
林剑凛 476c5cbc09
fix(app): detect npm in common Windows paths 2026-06-26 11:56:23 +08:00
t8y2 367d3682d2 fix(desktop): use custom window controls on Linux 2026-06-26 11:11:22 +08:00
t8y2 486c7a69c6 chore(release): bump app version to 0.5.39 2026-06-26 02:47:33 +08:00
t8y2 4ad4580789 fix(linux): allow dead code for webkit rendering workarounds and appimage backend override 2026-06-26 01:46:42 +08:00