Commit Graph

299 Commits

Author SHA1 Message Date
skyler 2fd76886d2
Merge pull request #91 from Mukesh-234234/main
issue-88 fix
2026-05-05 16:04:27 +08:00
t8y2 24537093ad feat(update): add API endpoint to retrieve app version and update client-side calls 2026-05-05 16:01:38 +08:00
Mukesh-234234 f6857a52bd
Merge branch 't8y2:main' into main 2026-05-05 13:24:37 +05:30
t8y2 3acd9280ac chore: add oxfmt + husky + lint-staged for code formatting and CI format checks 2026-05-05 15:41:34 +08:00
t8y2 c295bf5780 feat(sql): add save/open SQL file buttons and enable tab persistence on desktop 2026-05-05 15:18:54 +08:00
Agent-43 b6709a0280 Updated 2026-05-05 12:40:32 +05:30
Agent-43 419a3cf069 issue-88 fix 2026-05-05 12:12:50 +05:30
t8y2 2de0894a99 feat(update): refactor release fetching to use structured JSON response 2026-05-05 14:40:05 +08:00
t8y2 41445ff474 chore: add rustfmt.toml and apply unified code formatting 2026-05-05 14:16:18 +08:00
t8y2 edcdd652ae fix(connection): reduce failed connection timeout
Closes #86
2026-05-05 14:13:07 +08:00
t8y2 1d6621e471 feat: update dependencies and integrate tracing for improved logging and performance 2026-05-05 13:29:02 +08:00
t8y2 10d1d31053 Refactor code structure for improved readability and maintainability 2026-05-05 13:21:04 +08:00
t8y2 4c26de0534 feat: update favicon image for improved branding 2026-05-05 12:17:10 +08:00
t8y2 f0941c083e feat: update tab execution logic to handle multiple tabs with SQL queries 2026-05-05 12:07:02 +08:00
t8y2 6beae4e139 feat: add Docker update instructions for non-desktop users in UpdateDialog 2026-05-05 12:01:56 +08:00
t8y2 45785fd11e feat: enhance connection and query store logic for improved tab management and persistence 2026-05-05 11:11:08 +08:00
t8y2 684877f563 feat: enhance auth check logic to handle password hash absence 2026-05-05 10:41:20 +08:00
t8y2 e76b836eb4 feat: refactor database loading logic and update database options handling 2026-05-05 05:13:55 +08:00
t8y2 371a763b9e feat: add Docker workflow for building and pushing images 2026-05-05 05:09:01 +08:00
t8y2 f9a9945f1f feat: migrate storage from JSON files to SQLite
Replace all JSON file storage (connections, secrets, history, AI config,
conversations, sidebar layout) with a single SQLite database (dbx.db).
Auto-migrates existing JSON data on first launch, renaming old files to
.bak. Remove keyring dependency — passwords now stored in SQLite.
2026-05-05 04:48:45 +08:00
t8y2 af36373953 feat: implement web backend for API interactions and connection management 2026-05-05 04:24:10 +08:00
t8y2 c8c13eacac feat: add AI assistant SQL handling functions for query tab management 2026-05-05 04:18:51 +08:00
t8y2 bdd8b3fa03 refactor: split App.vue into composables and layout components
Extract 11 composables and 5 layout components from App.vue, reducing it
from 1921 to 327 lines. Unify dialog overlay style across DialogContent
and DialogScrollContent for consistent backdrop appearance.
2026-05-05 04:14:00 +08:00
t8y2 794c5375c7 feat: add execute-script route and handler for executing SQL scripts 2026-05-05 03:22:26 +08:00
t8y2 41bceffc0e feat: add web deployment with axum server, Docker support, and browser UI
Introduce src-web (axum HTTP server) exposing all 43 database operations
as REST APIs with SSE streaming for AI, transfers, and SQL file execution.
Frontend adapts automatically between Tauri and HTTP backends via api.ts.
Includes password authentication, Docker packaging, and login page.
2026-05-05 03:16:50 +08:00
t8y2 cf4f25fd52 feat: extract dbx-core crate for web deployment support
Refactor all database drivers, query execution, schema operations, and
business logic into a shared `dbx-core` crate. The Tauri desktop app
becomes a thin shell delegating to dbx-core, enabling future web and
CLI frontends to reuse the same core.
2026-05-05 03:16:24 +08:00
t8y2 7bee4bca55 fix: adjust layout and improve connection selection UI for better usability 2026-05-05 00:22:14 +08:00
t8y2 50f55bd6dc feat: enhance connection selection UI with database icons 2026-05-04 23:51:33 +08:00
t8y2 830f18bef4 feat: add publish step to release workflow for draft releases 2026-05-04 23:22:18 +08:00
t8y2 0d6892bae2 fix: base64-encode updater pubkey to match expected format 2026-05-04 23:07:52 +08:00
t8y2 1eea70af87 fix: double-base64 encode signing key to avoid multiline env var issues 2026-05-04 22:56:37 +08:00
t8y2 c278f8da27 fix: write signing key to file and pass path via GITHUB_ENV 2026-05-04 22:45:29 +08:00
t8y2 18471be243 fix: pass raw key body without comment line to TAURI_SIGNING_PRIVATE_KEY 2026-05-04 22:33:57 +08:00
t8y2 b6bec033e6 fix: use YAML block scalar for signing key to preserve newlines 2026-05-04 22:23:02 +08:00
t8y2 4e93f18779 debug: add signing key diagnostics to release workflow 2026-05-04 22:08:25 +08:00
t8y2 e5e008fef2 fix: reconstruct signing key from single-line secret to avoid multiline corruption 2026-05-04 21:58:42 +08:00
t8y2 7060f89155 fix: use heredoc to write multi-line signing key to GITHUB_ENV 2026-05-04 21:45:54 +08:00
t8y2 b9e29b423f fix: update SQLite connection options for network paths 2026-05-04 21:45:16 +08:00
t8y2 f761e5530f fix: read signing key from file into GITHUB_ENV to preserve newlines 2026-05-04 21:37:27 +08:00
t8y2 90eb09db8a fix: write signing key to file in CI to work around Tauri env var bug 2026-05-04 21:23:43 +08:00
t8y2 85706d5c86 fix: update updater pubkey and settings dialog overflow 2026-05-04 21:21:31 +08:00
t8y2 790791f946 feat: add execute mode settings and cursor position handling in SQL editor 2026-05-04 21:19:07 +08:00
t8y2 9ced92fdc8 fix: expand tilde in SQLite/DuckDB file paths to home directory
Closes #84
2026-05-04 21:10:34 +08:00
t8y2 7118feea4b fix: use sha256sum instead of shasum for Windows compatibility 2026-05-04 19:07:25 +08:00
t8y2 0f73e2d9ca fix: use portable grep instead of sed for cache hash computation 2026-05-04 19:04:45 +08:00
t8y2 cdd64c9edf ci: use dependency-only hash for Rust cache key to survive version bumps 2026-05-04 18:58:23 +08:00
t8y2 f97c9da11d ci: enable cache-on-failure for Rust build cache 2026-05-04 18:52:54 +08:00
t8y2 af9c206d75 feat: add auto-update support via tauri-plugin-updater 2026-05-04 18:14:40 +08:00
t8y2 8d3c14c24a chore: bump version to 0.4.0 2026-05-04 17:41:07 +08:00
t8y2 0877abe960 fix: clean up tab bar styling - remove bottom border accent and hover background 2026-05-04 17:35:19 +08:00