Commit Graph

17 Commits

Author SHA1 Message Date
Jokul 6492d2a060 更新版本号 2026-07-12 15:27:11 +08:00
Jokul 72967c45e9 更新版本号 2026-07-12 00:42:49 +08:00
Jokul 5e867ee3e9 更新版本 2026-07-11 00:17:31 +08:00
Jokul eda30250c6 refactor: 迁移至 electron-vite 官方推荐目录结构
- electron/* -> src/main/* (主进程)
- electron/preload.ts -> src/preload/index.ts (预加载)
- src/electron-api.d.ts -> src/preload/index.d.ts (类型声明)
- src/* -> src/renderer/src/* (渲染进程)
- src/index.html -> src/renderer/index.html
- electron.vite.config.ts 简化为自动入口检测 (零配置)
- tsconfig.app.json -> tsconfig.web.json, 更新 includes/paths
- 构建产物 dist-electron/ -> out/ (修复 main/preload 输出覆盖 bug)
- 更新 package.json main 字段 + electron-builder files
- 更新 .gitignore + eslint ignores
- 更新 AGENTS.md 架构文档
2026-07-10 23:46:34 +08:00
Jokul fe7801062f update 2026-07-10 23:05:10 +08:00
Jokul 6ac5636944 feat: key export/import, command import, virtualized scrolling
- P2-6: KeyList virtualized scrolling using @tanstack/vue-virtual (>100 keys)
- P2-8: Key export to CSV (DUMP + PTTL, hex-encoded)
- P2-9: Key import from CSV (RESTORE ... REPLACE)
- P2-10: CLI command import from text file
- i18n keys for all features (zh-CN + en)
2026-07-07 22:14:22 +08:00
Jokul 05a6f6aa17 feat: Monaco editor for StringEditor
- Install monaco-editor + @guolao/vue-monaco-editor
- main.ts: loader.config + MonacoEnvironment worker setup
- StringEditor.vue: replace textarea with Monaco editor
- JSON syntax highlighting, folding, word wrap
- Read-only mode when not editing, auto-detect JSON
- Theme follows app theme (vs-dark/vs)
- Font size follows app settings
2026-07-07 20:37:04 +08:00
Jokul bb41ea78e6 回退版本 2026-07-05 22:48:02 +08:00
Jokul 405dfa77c4 feat: auto-updater integration
- Install electron-updater
- New updater.ts: check/download/install with progress events
- IPC: updater:check, updater:download, updater:install, updater:status
- Preload bridge for updater API
- electron-builder publish config (github provider)
- Fix build files path: out -> electron-dist
- i18n keys for updater notifications (zh-CN + en)
2026-07-05 22:13:25 +08:00
Jokul 6e6f170403 feat: SSH tunnel support
- Add ssh2 dependency for SSH port forwarding
- NewConnectionDialog: SSH toggle + host/port/user/password/privateKey/passphrase form
- connection.ts: createSshTunnel() with local port forwarding
- Connect ioredis through SSH tunnel when sshEnabled
- Clean up SSH client + tunnel server on disconnect
- i18n keys for all SSH fields (zh-CN + en)
- Add sshPassphrase to all ConnectionConfig types
2026-07-05 16:25:35 +08:00
Jokul a23066e1f6 fix: use electron-dist as output directory 2026-07-04 21:26:29 +08:00
Jokul c85318cc4d feat: 添加应用图标
- SVG 图标设计:数据库 + Redis R 字母 + 连接节点
- 生成各尺寸 PNG (16-512px)
- electron-builder 配置图标路径
- 主进程窗口使用图标
2026-07-04 20:28:41 +08:00
Jokul 363495bf8a fix: 自动修复 Electron 二进制安装
- 添加 scripts/fix-electron.sh 自动检测并下载 Electron 二进制
- postinstall 自动运行修复脚本
- 支持 x64/arm64 架构
- npm run fix:electron 可手动触发
2026-07-04 20:01:08 +08:00
Jokul 4075f20c07 fix: test connection passing auth instead of password
- testConnection now maps auth -> password for Redis service
- fixes test connection failing even with correct credentials
2026-07-04 19:52:30 +08:00
Jokul 4f9398c65d feat(phase2): connection management
- RedisService in main process (ioredis wrapper, execute, scan, hash ops)
- electron-store for connection/settings persistence
- safeStorage credential encrypt/decrypt
- IPC handlers for redis, storage, credential channels
- Preload API typed with all new channels
- useConnectionStore (Pinia) with connect/disconnect/save/delete
- ConnectionCard with 3D hover effect + status indicator
- ConnectionList with search filter
- NewConnectionDialog (create/edit connection form)
- Sidebar component
- StatusBar with live connection status + pulse animation
- App.vue updated with Sidebar layout
2026-07-04 17:45:19 +08:00
Jokul 7e5d61c099 feat(phase1): architecture skeleton
- Electron 33 main process with frameless window, IPC, win-state persistence
- Preload with contextBridge typed API (window, theme, dialog)
- Vue 3 + Pinia + Element Plus + Vue Router renderer
- Dark/light dual theme via CSS custom properties
- TitleBar with window controls + theme toggle
- StatusBar placeholder
- Design spec document
2026-07-04 17:21:00 +08:00
Jokul 3e06def637 chore: init v2 project scaffold
- Add electron-vite + Vue 3 + TypeScript build config
- Add .gitignore with legacy/ exclusion
- Add AGENTS.md with architecture & dev commands
- Update README.md
2026-07-04 16:12:35 +08:00