t8y2
b2edf7cad6
fix(oracle): apply visible schema filter
2026-06-25 15:19:20 +08:00
t8y2
84215a7e60
fix(schema): retry transient metadata pool miss
2026-06-25 13:30:32 +08:00
t8y2
2a30f5dc36
fix(schema): use database for mysql metadata
2026-06-25 13:21:34 +08:00
ptma
484d20922a
fix(postgres): handle PostgreSQL views
2026-06-25 10:54:38 +08:00
大峰
40c93b9dad
feat(connection): add visible schema filtering
2026-06-25 01:36:06 +08:00
t8y2
4f6b92316a
feat(layout): persist query results pane splitter position
2026-06-24 19:28:14 +08:00
t8y2
23edbe391f
feat(postgres): support schema comments
2026-06-24 18:35:43 +08:00
t8y2
95137b70a6
fix(oracle): speed up metadata refresh
2026-06-24 16:15:25 +08:00
t8y2
222584280e
fix(schema): support materialized view object source retrieval
2026-06-24 11:25:11 +08:00
t8y2
6e3e2b2e83
fix(completion): import duckdb completion helper in schema tests
2026-06-24 02:15:45 +08:00
t8y2
989dd09077
fix(completion): import db module in schema tests for clippy
2026-06-24 02:04:36 +08:00
t8y2
cebb39cb80
feat(completion): add scoped metadata assistant
2026-06-24 00:40:28 +08:00
hb
3f65297f25
fix(highgo): preserve nullable metadata for pg-compatible agents ( #1585 )
2026-06-24 00:35:47 +08:00
zipg
1c7ef0d235
feat(mysql): optimize table structure loading
2026-06-23 17:31:37 +08:00
luoianun
8cc7a35c1a
feat: add PrestoSQL connector
2026-06-23 01:27:08 +08:00
t8y2
0b6e1579ca
feat(agent): add execution context recovery
2026-06-22 22:15:16 +08:00
t8y2
f52064bd0e
fix(agent): extend metadata RPC timeout
2026-06-22 18:17:11 +08:00
t8y2
4346192713
feat(mongodb): show collection metadata in sidebar
2026-06-22 12:42:31 +08:00
dbin0123
92d3f64eae
feat: fix connection cascade failure, add auto-recovery for all drivers
2026-06-19 23:06:21 +08:00
t8y2
d59997c090
feat(objects): add table statistics columns
2026-06-19 14:35:32 +08:00
t8y2
e27d34a34a
feat(vector): add qdrant and milvus support
2026-06-19 10:07:56 +08:00
t8y2
17f186db26
fix(sqlserver): rebuild pool after driver panic
2026-06-18 13:43:03 +08:00
t8y2
9e75f62dbf
feat(sqlserver): support linked server browsing
2026-06-18 13:17:44 +08:00
t8y2
71db24813e
fix(informix): add informix_server field to test helpers
2026-06-17 22:59:22 +08:00
t8y2
22b8ba17bb
fix(schema): handle view DDL object types
2026-06-17 19:29:24 +08:00
t8y2
66fa986a9b
fix(sqlserver): include column comments in table DDL
2026-06-17 14:36:16 +08:00
t8y2
000c236619
feat(connection): add keepalive interval
2026-06-16 10:23:49 +08:00
t8y2
c57e18bf3e
fix: resolve clippy warnings and missing struct fields in tests
2026-06-16 00:55:32 +08:00
John Jin
1afc271c18
feat: add QuestDB support
...
Thanks @ptma!
2026-06-14 22:58:05 +08:00
Vergil Lai
f385386284
feat(manticore): add Manticore Search support
...
Add Manticore Search table data editing, structure editing, metadata handling, and SQL completion support.
2026-06-14 16:01:02 +08:00
t8y2
cbc7f9b0db
fix(gbase): support 8a and 8s profiles
2026-06-14 10:16:24 +08:00
Vergil Lai
799d20a2cf
添加 Manticore Search 支持 ( #1145 )
...
* 添加 Manticore Search 支持
* 更新 Manticore Search 文档
2026-06-13 20:23:36 +08:00
John Jin
b640cbd0ba
fix: influxdb code removed on merge
...
Thanks for the fix!
2026-06-13 17:03:27 +08:00
t8y2
30afcb8e69
fix(sidebar): page large table groups
2026-06-13 13:40:36 +08:00
t8y2
115b539758
fix(core): gate duckdb schema metadata
2026-06-12 17:35:56 +08:00
polemp and Sam
ef5ed05ae7
feat(schema-diff): professional DDL diff view with deployment-aware colors and custom themes ( #1112 )
...
Co-authored-by: Sam <14344444@@qq.com>
2026-06-12 17:14:05 +08:00
t8y2
51e2ef0d1f
fix(postgres): support legacy routine metadata
2026-06-12 00:59:52 +08:00
miracle
871fc57c52
[Enhance] add comments in SQL Server DDL output ( #1017 )
...
Thanks!
2026-06-10 22:49:42 +08:00
t8y2
33ab7aeae6
refactor(schema): split metadata providers
2026-06-10 19:10:53 +08:00
t8y2
b6d92f8c38
feat: make duckdb optional behind duckdb-bundled feature
2026-06-10 18:30:14 +08:00
t8y2
d353d4673f
feat(redis): add configurable key namespace separator
2026-06-10 17:46:48 +08:00
John Jin
0bd07ccf46
feat: add InfluxDB support ( #980 )
2026-06-10 14:37:53 +08:00
t8y2
bfec556e9b
feat(readonly): add read-only mode for all database connections
...
- Add read_only field to ConnectionConfig with backward-compatible serde defaults
- SQL classifier with first-keyword + embedded keyword defense layers
- PRAGMA white-listing for safe read-only operations
- Guard all write entry points: SQL, Mongo, Redis, etcd, MCP Bridge
- 16 unit tests covering edge cases (CTE, case insensitivity, string masking)
- 7-language i18n support
- Fast-fail at command/route level before pool creation
Closes #889
2026-06-10 11:58:18 +08:00
runstone
a440415e86
feat(readonly): add read-only mode for all database connections
...
## Background
Add a read-only toggle for database connections that blocks all write
operations (INSERT, UPDATE, DELETE, DROP, etc.) when enabled, allowing
only read queries (SELECT, SHOW, EXPLAIN, etc.). Closes #889 .
## Changes
### Data Model
- Added `read_only: bool` field to ConnectionConfig (Rust struct, TS
interfaces, and ConnectionConfigData deserialization layer)
- Used `#[serde(default, skip_serializing_if = "is_false")]` for
backward/forward compatibility with existing configs
### Frontend UI
- Added "Read Only" checkbox in connection dialog
- 7-language i18n support (en/es/it/pt-BR/zh-CN/zh-TW)
### SQL Classification (query_execution_sql.rs)
- Added `is_write_sql()` with two-layer defense:
- Layer 1: First-keyword check (must start with known read keyword)
- Layer 2: Embedded dangerous keyword detection (catches CTE-wrapped
writes like `WITH ... AS (DELETE FROM ...)`)
- `FROM` keyword supported as DuckDB SELECT-less syntax indicator
- Added `check_read_only()` returning descriptive error with connection name
- Added 16 unit tests covering: pure reads/writes, CTE, case insensitivity,
string literal masking, comment stripping, stored procedure calls, edge cases
### SQL Execution Guards (query.rs / transfer.rs)
- Added `check_read_only_for_connection()` and `_multi()` helper functions
with lazy name clone (only allocates when read_only is true)
- 6 interception points: `do_execute`, MySQL batch, SQL Server batch,
DuckDB batch, transaction execution, transfer execution
### Non-SQL Write Guards — Tauri Commands
- Added `ensure_connection_writable()` helper (connection.rs)
- Mongo: 6 write entry points (insert/update/delete, single + batch)
- Redis: 15 write entry points (SET, DEL, HSET, HDEL, LPUSH, LSET, LREM,
SADD, SREM, ZADD, ZREM, EXPIRE, FLUSHDB, delete_keys, execute_command)
- execute_command uses RedisCommandSafety classification to allow
safe read commands through raw command interface
- etcd: 2 write entry points (put, delete)
- sql_file: SQL file execution guarded
- MCP Bridge: 4 write entry points (Insert/Update/Delete/SQL query)
### Non-SQL Write Guards — Web API
- Local `ensure_writable()` helper in each route module
- Redis: 12 write endpoints including classified execute_command
- Mongo: 6 write endpoints
- etcd: 2 write endpoints
- sql_file, table_import, transfer: early rejection
### Test Updates
- Updated ConnectionConfig construction in 7 test files with
`read_only: false` initialization
## Defense-in-Depth
- Layer 1: Command/Route-level early rejection (saves resources)
- Layer 2: Core SQL classifier (`is_write_sql` — first keyword + embedded scan)
- Layer 3: Core execution-time interception (do_execute/transfer/transaction)
2026-06-10 10:58:52 +08:00
t8y2
d08385e75f
feat: add Turso/libSQL database support
...
Turso is a distributed SQLite database built on libSQL, offering HTTP-based
connectivity with auth token authentication. This change adds full support:
- New DatabaseType::Turso and PoolKind::Turso variants
- TursoClient driver using libSQL HTTP pipeline API (/v2/pipeline)
- Bearer token auth via password or url_params (auth_token=)
- Multi-statement batch pipeline for transactional integrity
- Standalone BEGIN/COMMIT/ROLLBACK treated as no-ops (pipeline is auto-commit)
- Full metadata support: tables, columns, indexes, foreign keys, triggers, DDL
- Frontend: connection form, SQL completion (SQLite syntax), capability sets
- Built-in databases (SQLite/Turso/DuckDB/RQLite/Access) placed first in selector
- Unit tests (15) + integration tests against live libsql-server (12)
- Single connection pool, skips TCP probe
Closes #948
2026-06-10 04:18:05 +08:00
t8y2
2a7b26baad
fix: add missing idle_timeout_secs in ConnectionConfig constructors and fix clippy warnings
2026-06-09 11:56:39 +08:00
t8y2
befee2fd4c
feat(postgres): support sequence objects
2026-06-08 22:54:14 +08:00
Yong Studt
2628fb8374
feat(elasticsearch): add SQL-model execution with mapping-aware completion
...
- Route SELECT * FROM <index> through /_search for simple browses; aggregates/projections stay on /_sql
- Drive completion columns from /_mapping (flattened dotted fields, multi-fields)
- Switch editor completion to SQL when the active statement starts with SELECT/WITH on ES
- Skip generic SQL semantic diagnostics for ES (hyphenated wildcard indices caused 500s)
- Wire ES into server-side pagination plan; derive completion context from line blocks
- Fix result-grid pagination exceeding in-memory result sets (allRowsLoaded)
2026-06-08 17:53:05 +08:00
t8y2
57fe578789
fix: hide YashanDB recyclebin objects
2026-06-08 12:35:14 +08:00
t8y2
a5659d7637
fix(mongodb): support getIndexes shell command
2026-06-08 01:25:44 +08:00