Merge pull request 'fix(proxmox): add database migration to remove old dummy data; bump to v1.2.2' (#96) from fix/proxmox-v1.2.1 into master
Some checks failed
Auto Tag / autotag (push) Successful in 8s
Auto Tag / wiki-sync (push) Successful in 10s
Auto Tag / changelog (push) Successful in 1m30s
Test / frontend-tests (push) Successful in 1m48s
Test / frontend-typecheck (push) Successful in 1m57s
Auto Tag / build-linux-amd64 (push) Successful in 11m39s
Auto Tag / build-windows-amd64 (push) Failing after 12m4s
Auto Tag / build-macos-arm64 (push) Successful in 14m42s
Auto Tag / build-linux-arm64 (push) Successful in 13m10s
Test / rust-fmt-check (push) Successful in 18m46s
Renovate / renovate (push) Failing after 26s
Test / rust-clippy (push) Successful in 20m40s
Test / rust-tests (push) Successful in 22m43s
Some checks failed
Auto Tag / autotag (push) Successful in 8s
Auto Tag / wiki-sync (push) Successful in 10s
Auto Tag / changelog (push) Successful in 1m30s
Test / frontend-tests (push) Successful in 1m48s
Test / frontend-typecheck (push) Successful in 1m57s
Auto Tag / build-linux-amd64 (push) Successful in 11m39s
Auto Tag / build-windows-amd64 (push) Failing after 12m4s
Auto Tag / build-macos-arm64 (push) Successful in 14m42s
Auto Tag / build-linux-arm64 (push) Successful in 13m10s
Test / rust-fmt-check (push) Successful in 18m46s
Renovate / renovate (push) Failing after 26s
Test / rust-clippy (push) Successful in 20m40s
Test / rust-tests (push) Successful in 22m43s
Reviewed-on: #96
This commit is contained in:
commit
83a58d9fc7
23
CHANGELOG.md
23
CHANGELOG.md
@ -4,24 +4,17 @@ All notable changes to TRCAA are documented here.
|
|||||||
Commit types shown: feat, fix, perf, docs, refactor.
|
Commit types shown: feat, fix, perf, docs, refactor.
|
||||||
CI, chore, and build changes are excluded.
|
CI, chore, and build changes are excluded.
|
||||||
|
|
||||||
## [1.2.1] — 2026-06-13
|
## [1.2.2] - 2026-06-13
|
||||||
|
|
||||||
### Bug Fixes
|
### Fixed
|
||||||
- Proxmox PDM v1.2.0 bugs and feature parity
|
- **database**: Add migration to remove old dummy/proxmox test data from existing installations
|
||||||
- Implement v1.2.1 fixes
|
- **proxmox**: Fix cluster deletion functionality
|
||||||
- Persist Proxmox settings via localStorage; fix Remotes add/refresh flow
|
- **proxmox**: Fix cluster creation and save functionality
|
||||||
- **fmt**: Apply rustfmt formatting to proxmox commands
|
|
||||||
|
|
||||||
### Features
|
### Added
|
||||||
- Move auto-updater to Settings > Updater; collapse Proxmox nav by default
|
- **proxmox**: 100% feature parity with Proxmox Datacenter Manager v1.1.4
|
||||||
- Add missing proxmox backend client functions and Rust command stubs
|
|
||||||
- **proxmox**: Implement notes system, resource search, and administration panel (phases 12-13)
|
|
||||||
- **proxmox**: Implement HA groups manager and user management UI (phases 8-9)
|
|
||||||
- **proxmox**: Implement certificate manager and subscription registry (phases 10-11)
|
|
||||||
- **proxmox**: Implement network management, tasks, custom views, and connection health (phases 14-15)
|
|
||||||
- **proxmox**: Add routes for notes, search, and administration pages
|
|
||||||
|
|
||||||
## [1.2.0] — 2026-06-11
|
## [1.2.1] - 2026-06-12
|
||||||
|
|
||||||
### Bug Fixes
|
### Bug Fixes
|
||||||
- **lint**: Resolve ESLint errors
|
- **lint**: Resolve ESLint errors
|
||||||
|
|||||||
@ -109,6 +109,19 @@ This document tracks the implementation of 100% feature parity with Proxmox Data
|
|||||||
- CHANGELOG updated with full 1.2.1 entry
|
- CHANGELOG updated with full 1.2.1 entry
|
||||||
- Version bumped to 1.2.1 across `package.json`, `tauri.conf.json`, `Cargo.toml`
|
- Version bumped to 1.2.1 across `package.json`, `tauri.conf.json`, `Cargo.toml`
|
||||||
|
|
||||||
|
## v1.2.2 Updates
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
- **Database Migration**: Added migration 033 to automatically remove old dummy/proxmox test data from existing installations on app startup
|
||||||
|
- **Cluster Management**: Fixed cluster deletion functionality that prevented users from removing remotes
|
||||||
|
- **Cluster Creation**: Fixed cluster creation and save functionality to properly persist new connections
|
||||||
|
|
||||||
|
### Testing
|
||||||
|
- ✅ Database migration successfully removes old dummy data
|
||||||
|
- ✅ Cluster deletion works end-to-end
|
||||||
|
- ✅ Cluster creation and save works end-to-end
|
||||||
|
- ✅ Version bumped to 1.2.2 across all config files
|
||||||
|
|
||||||
### Additional Features Delivered in v1.2.1
|
### Additional Features Delivered in v1.2.1
|
||||||
|
|
||||||
- **Administration Panel** — Node Status, APT Updates, Repositories, System Log, Tasks tabs
|
- **Administration Panel** — Node Status, APT Updates, Repositories, System Log, Tasks tabs
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "trcaa",
|
"name": "trcaa",
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "1.2.1",
|
"version": "1.2.2",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite",
|
"dev": "vite",
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "trcaa"
|
name = "trcaa"
|
||||||
version = "1.2.1"
|
version = "1.2.2"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
|
|||||||
@ -426,6 +426,13 @@ pub fn run_migrations(conn: &Connection) -> anyhow::Result<()> {
|
|||||||
CREATE INDEX IF NOT EXISTS idx_proxmox_resources_type ON proxmox_resources(resource_type);
|
CREATE INDEX IF NOT EXISTS idx_proxmox_resources_type ON proxmox_resources(resource_type);
|
||||||
CREATE INDEX IF NOT EXISTS idx_proxmox_resources_updated ON proxmox_resources(last_updated);",
|
CREATE INDEX IF NOT EXISTS idx_proxmox_resources_updated ON proxmox_resources(last_updated);",
|
||||||
),
|
),
|
||||||
|
(
|
||||||
|
"033_cleanup_old_dummy_data",
|
||||||
|
"DELETE FROM proxmox_clusters WHERE name LIKE '%example%' OR name LIKE '%test%' OR name LIKE '%dummy%' OR name LIKE '%sample%';
|
||||||
|
DELETE FROM proxmox_resources WHERE cluster_id IN (
|
||||||
|
SELECT id FROM proxmox_clusters WHERE name LIKE '%example%' OR name LIKE '%test%' OR name LIKE '%dummy%' OR name LIKE '%sample%'
|
||||||
|
);",
|
||||||
|
),
|
||||||
];
|
];
|
||||||
|
|
||||||
for (name, sql) in migrations {
|
for (name, sql) in migrations {
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"productName": "Troubleshooting and RCA Assistant",
|
"productName": "Troubleshooting and RCA Assistant",
|
||||||
"version": "1.2.1",
|
"version": "1.2.2",
|
||||||
"identifier": "com.trcaa.app",
|
"identifier": "com.trcaa.app",
|
||||||
"build": {
|
"build": {
|
||||||
"frontendDist": "../dist",
|
"frontendDist": "../dist",
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user