Commit Graph

64 Commits

Author SHA1 Message Date
courtmanr@gmail.com 3e12a572ba fix: resolve configuration save and redirect issues
- Use current state for configuration status check in root route
- Prevent double reload when saving config through API
- Track reload times globally to avoid file watcher conflicts
- This fixes the issue where setup page doesn't redirect after save

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-05-30 10:57:57 +01:00
courtmanr@gmail.com 49eb3628e5 fix: correct API client initialization for test connection
- Fix apiClients object access (use bracket notation, not .get())
- Initialize apiClients as plain objects, not Maps, for consistency
- This fixes the "apiClients.get is not a function" error when testing connections

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-05-30 10:45:52 +01:00
courtmanr@gmail.com 8a4ef723db fix: allow server to start without configuration
- Change configuration loader to warn instead of throwing error when config is missing
- Allow server to start in setup mode with empty endpoints
- Skip API client initialization when no endpoints are configured
- This enables the web-based setup flow to work properly

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-05-30 10:40:52 +01:00
courtmanr@gmail.com d3a82d14df feat: add web-based configuration interface
- Create configuration setup page at /setup.html for entering Proxmox credentials
- Add configuration API endpoints for save, test, and reload operations
- Implement automatic .env file watching with hot reload on changes
- Add configuration warning banner when placeholder config detected
- Auto-redirect to setup page when configuration is missing
- Add WebSocket notifications for configuration reload events
- Update empty states with configuration required message
- No SSH or manual restarts needed - everything through web UI

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-05-30 10:35:25 +01:00
courtmanr@gmail.com cec6f9975b feat: add clickable host names in dashboard and PBS views
- Add endpoint configuration sharing between server and client
- Make Proxmox node group headers clickable using API-based mapping
- Make PBS instance names clickable in both desktop and mobile views
- Links open correct cluster endpoints based on node's actual endpointId
- Subtle hover styling without blue underlines for cleaner UI
- All links open in new tabs with security attributes

Resolves issue with users wanting direct access to host web interfaces.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-05-30 00:16:08 +01:00
courtmanr@gmail.com 51c0d78bce Update UI components and JavaScript files for improved functionality 2025-05-27 19:52:49 +01:00
courtmanr@gmail.com a483b7bcc4 feat: Add basic diagnostics functionality and integrate with server 2025-05-27 12:45:52 +01:00
courtmanr@gmail.com 43c4095cb1 Update server index.js and public index.html 2025-05-27 12:40:18 +01:00
courtmanr@gmail.com 3f3afaac5d fix: Resolve test failures and integrate recent UI/backend updates 2025-05-26 22:08:12 +01:00
courtmanr@gmail.com 02f384c849 Feat: Implement enhanced server monitoring, alerting, and performance tracking 2025-05-24 22:01:28 +01:00
courtmanr@gmail.com b58169b30d Refactor(server): Extract socket state sending to sendCurrentStateToSocket helper 2025-05-08 11:18:46 +01:00
courtmanr@gmail.com 0ad3706c14 chore: Remove debugging logs for placeholder flag 2025-05-05 08:58:53 +01:00
courtmanr@gmail.com 5e0749f3b9 debug: Add logging for placeholder flag state 2025-05-05 08:55:30 +01:00
courtmanr@gmail.com ef97085aba fix: Ensure stateManager is required before configLoader 2025-05-05 08:52:51 +01:00
courtmanr@gmail.com f587a8876d fix: Correct stateManager initialization order 2025-05-05 08:52:02 +01:00
courtmanr@gmail.com eddcd20d28 refactor: Store placeholder flag in state manager 2025-05-05 08:50:36 +01:00
courtmanr@gmail.com 432fa9c5b6 feat: Improve initial load experience with placeholder config 2025-05-05 08:42:17 +01:00
courtmanr@gmail.com f2e85b592d refactor: Improve server state management 2025-05-04 14:37:57 +01:00
courtmanr@gmail.com caf9313a0f feat: Sync all local changes including UI and server updates 2025-04-30 16:21:07 +01:00
courtmanr@gmail.com 8a807388fd fix(pbs): Add missing worker types for verification tasks (fixes #61) 2025-04-30 10:07:56 +01:00
courtmanr@gmail.com 9827a65b04 feat: Await initial discovery cycle before server start 2025-04-29 18:18:02 +01:00
courtmanr@gmail.com ebac21137b chore: Bump version to 3.2.0 and fix PBS task fetch 2025-04-29 10:29:42 +01:00
courtmanr@gmail.com f05644be08 Refactor: Refine logging in server/index.js 2025-04-29 10:19:12 +01:00
courtmanr@gmail.com e006a0b43d fix(pbs): Resolve PBS data display issues and update docs - Corrects PBS API interaction logic, retains logging/fetch improvements, updates README/.env.example based on testing. 2025-04-29 09:45:25 +01:00
courtmanr@gmail.com 25b51160da Fix: Resolve PBS API /tasks issue and update README 2025-04-28 12:34:17 +01:00
courtmanr@gmail.com 4fa72ce7b9 feat: Add PBS docs, increase recent task limit, clean up logs 2025-04-28 10:38:57 +01:00
courtmanr@gmail.com 4148dfa346 fix(storage): Ensure PVE storage data is correctly aggregated 2025-04-27 19:47:43 +01:00
courtmanr@gmail.com c1d9dd0ff4 fix(pbs): Use correct colon separator for PBS API token auth 2025-04-27 19:40:04 +01:00
courtmanr@gmail.com cb580bfad3 refactor: Remove password auth, require API tokens 2025-04-27 16:55:19 +01:00
courtmanr@gmail.com 72255fa081 Style: Consolidate tab header styles and apply stopped style to backup tab 2025-04-27 16:27:27 +01:00
courtmanr@gmail.com 2a039b9c22 fix: Resolve PBS banner bug and build issues (fixes #55) 2025-04-26 10:20:22 +01:00
courtmanr@gmail.com 722aa61c58 fix(server): Resolve ReferenceErrors in /api/storage and socket requestData 2025-04-24 23:05:59 +01:00
courtmanr@gmail.com 31bb968c0a fix(server): Remove obsolete code referencing globalPbsStatus 2025-04-24 23:03:02 +01:00
courtmanr@gmail.com ae5e1bac03 refactor(server): Explicitly disable index serving in express.static 2025-04-24 23:02:15 +01:00
courtmanr@gmail.com f058ffef19 fix(server): Define http server before initializing Socket.IO 2025-04-24 22:58:47 +01:00
courtmanr@gmail.com 7550e9b2be fix(server): Add express static middleware and root route handler 2025-04-24 22:55:25 +01:00
courtmanr@gmail.com 93397140f2 fix: Align Dockerfile and server paths for LXC/Docker compatibility
- Revert server/index.js sendFile path to ../src/public

 - Modify Dockerfile to COPY assets to ./src/public
2025-04-24 20:08:02 +01:00
courtmanr@gmail.com dd5afa442f fix: Resolve UI loading issues for v3.1.2
- Add explicit SPA route handler in server/index.js

- Correct middleware order in server/index.js

- Build CSS locally and copy into Docker image

- Adjust Dockerfile to copy pre-built CSS
2025-04-24 19:37:36 +01:00
courtmanr@gmail.com d59538c5ee fix: Use maxcpu from /nodes endpoint and remove debug logs 2025-04-24 16:17:25 +01:00
courtmanr@gmail.com 487368327f feat: Re-add specific debug log for maxcpu 2025-04-24 16:13:24 +01:00
courtmanr@gmail.com 6402f895f1 revert: Remove potentially problematic maxcpu debug log 2025-04-24 16:11:53 +01:00
courtmanr@gmail.com 16c98dea60 feat: Add specific debug log for maxcpu 2025-04-24 16:10:38 +01:00
courtmanr@gmail.com f51b5eb45e fix: Remove node status debug log 2025-04-24 16:01:28 +01:00
courtmanr@gmail.com 64fd32e708 feat: Add debug log for node status before merge 2025-04-24 16:00:15 +01:00
courtmanr@gmail.com c62df68d7f fix(ui): correct sort state key handling in updateSortUI for PBS tables 2025-04-24 15:10:57 +01:00
courtmanr@gmail.com 463e5f39b0 refactor: improve high-level PBS logging 2025-04-24 14:38:14 +01:00
courtmanr@gmail.com 0af9726fec fix: simplify PBS connected status text 2025-04-24 14:36:19 +01:00
courtmanr@gmail.com 681fe4c449 feat: add icons to navigation tabs 2025-04-24 14:25:17 +01:00
courtmanr@gmail.com 54de297ddf chore: Remove raw API metrics log from backend 2025-04-24 13:58:45 +01:00
courtmanr@gmail.com 2b7a8233ed fix: Use explicit copy for metrics data point to prevent stale disk values 2025-04-24 13:32:29 +01:00