Commit Graph

87 Commits

Author SHA1 Message Date
Paul Payne
07bb8f83ef feat(apps): Add restart functionality for deployed apps and update related components 2026-02-28 05:20:06 +00:00
Paul Payne
09171b7d85 refactor(config): Remove dnsmasq configuration from global settings and update related tests and components 2026-02-17 09:21:05 +00:00
Paul Payne
f8e826eade refactor(dns): Remove DNS configuration interface from global settings and clean up related UI components 2026-02-17 08:30:50 +00:00
Paul Payne
591c58a1a5 feat(dns): Implement modular dnsmasq configuration and update instance DNS handling
refactor(tests): Enhance DNS testing functionality and streamline component structure
refactor(ui): Improve loading states and descriptions in service and app detail dialogs
2026-02-17 07:58:15 +00:00
Paul Payne
afa39a9786 refactor(sse): Update event type formatting for Kubernetes resources in watchers and tests 2026-02-17 06:18:02 +00:00
Paul Payne
4f08487abe refactor: Clean up unused functions and improve error handling in tests 2026-02-17 06:11:09 +00:00
Paul Payne
f8ca59f6ef refactor(tests): Rename and enhance resource quantity parsing tests for CPU and memory 2026-02-17 05:56:42 +00:00
Paul Payne
982933e802 feat(sse): Add Server-Sent Events support for real-time updates in web app 2026-02-17 05:56:35 +00:00
Paul Payne
2ed8c94d2a feat: Implement global SSE architecture and remove all polling
- Replaced all polling with Server-Sent Events (SSE) for real-time updates
- Created unified global SSE endpoint at /api/v1/events
- Implemented SSE broadcasting for operations, central status, and dnsmasq events
- Added SSE manager with wildcard subscription support for global events
- Created useGlobalSSE hook with singleton connection management
- Updated all frontend hooks to use SSE instead of polling:
  - useApps: SSE for app deployments and status
  - useSetupStatus: SSE for setup operations
  - useNodes: SSE for node management
  - useDnsmasq: SSE for DNS configuration
  - useCentralStatus: SSE for central daemon status
  - useServices: SSE for service management
  - useOperations: SSE for long-running operations
- Fixed CORS configuration for wild-central.lan access
- Fixed SSE connection loop issues with proper state management
- Added client-side event filtering for instance-specific updates
- Increased React Query staleTime since SSE provides real-time updates
- Added proper cleanup and reconnection logic with timeouts

This eliminates all polling overhead and provides instant UI updates
when cluster state changes occur.

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
2026-02-17 04:53:49 +00:00
Paul Payne
326a6bf2b6 feat(backup): Implement backup resource discovery for apps and enhance app detail panel with backup data display 2026-02-16 22:16:50 +00:00
Paul Payne
d0f03dd644 fix(api): Correct CPU percentage calculation in resource metrics
The CPU percentage was showing incorrect values (e.g., 10,000% instead of 10%)
because the parseResourceQuantity function wasn't properly converting CPU cores
to millicores. CPU values specified as whole numbers (e.g., "1" for 1 core) were
being treated as 1 millicore instead of 1000 millicores.

Split parseResourceQuantity into separate parseCPUQuantity and parseMemoryQuantity
functions to properly handle the different unit conversions:
- CPU values without "m" suffix are now converted from cores to millicores (×1000)
- CPU values with "m" suffix remain in millicores
- Memory parsing remains unchanged

This ensures consistent millicore units for accurate percentage calculations.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2026-02-13 06:23:09 +00:00
Paul Payne
6f221978fa Enhance app and node management: update deployment status handling, introduce EntityTile component for UI consistency, and implement live app status fetching 2026-02-13 05:16:38 +00:00
Paul Payne
543967ae81 Refactor CoreDNS and utility installation scripts to use kustomize for applying configurations, and update version in utility manifest 2026-02-11 16:31:46 +00:00
Paul Payne
9e97ec6aa9 Enhance service management: add checks for manifest and kustomization files, improve error handling in Fetch, and implement CleanFiles method to remove service files 2026-02-11 16:30:09 +00:00
Paul Payne
b7da8133e1 Add endpoint to clean compiled and cached service files 2026-02-11 16:29:56 +00:00
Paul Payne
7c8c182a9c Enhance service lifecycle management: add lifecycle status tracking, update UI components for lifecycle actions, and improve service manifest definitions 2026-02-10 09:24:33 +00:00
Paul Payne
96dfaaf07c Add comprehensive documentation for Talos v1.11: architecture, operations, troubleshooting, and CLI essentials 2026-02-10 07:28:58 +00:00
Paul Payne
5d8129dad8 Refactor service management: update SMTP handling to be configuration-only and enhance CloudComponent with SMTP configuration UI 2026-02-10 06:30:35 +00:00
Paul Payne
c054dbff39 Fix type-check problems. 2026-02-10 06:03:57 +00:00
Paul Payne
01bea32b9c Refactor cluster configuration management: streamline instance configuration checks, remove unused cluster settings, and replace NodeFormDrawer with NodeFormDialog for improved node management. 2026-02-01 18:45:36 +00:00
Paul Payne
654fcc94a2 Enhance DNS configuration: add support for commented DNS entries without load balancer IP; update instance count logic to include commented domains; implement dynamic DNS configuration with save functionality and setup instructions. 2026-02-01 13:24:39 +00:00
Paul Payne
8c5e83f667 Remove Talos version check from instance configuration phase for streamlined setup validation 2026-02-01 11:46:54 +00:00
Paul Payne
f6864bb2a7 Refactor configuration management to replace 'dns' with 'dnsmasq' for clarity; update EnsureInstanceConfig to accept instance name, and streamline instance creation in the main API. 2026-02-01 11:28:23 +00:00
Paul Payne
0d4fb41e7e Refactor DNS configuration to use 'dnsmasq' instead of 'dns' for improved clarity and consistency across the codebase; update related tests and configuration files accordingly. 2026-02-01 10:42:48 +00:00
Paul Payne
4e49c435a9 Enhance configuration management by adding global config validation and network detection; refactor tests to align with updated config structure 2026-02-01 09:00:03 +00:00
Paul Payne
c20006192e Refactor type definitions to use 'unknown' instead of 'any' for improved type safety across multiple components and services 2026-02-01 08:03:25 +00:00
Paul Payne
158b1cbf6b Add setup status endpoint and enhance instance configuration structure 2026-01-28 08:08:16 +00:00
Paul Payne
5c582f07a9 Refactor configuration structure and update test cases for instance configuration 2026-01-28 01:12:18 +00:00
Paul Payne
229f52baa0 Terminal access from the app. 2026-01-12 00:49:18 +00:00
Paul Payne
e498c9e4ed Set default talos endpoint on setup and terminal connect. 2026-01-11 19:42:11 +00:00
Paul Payne
6e7552fdcb Advanced terminal in app. 2026-01-11 19:04:41 +00:00
Paul Payne
679af2605f API cleanup. 2026-01-11 18:04:15 +00:00
Paul Payne
2079a6b2d4 See logs for each pod-container. 2026-01-11 00:38:34 +00:00
Paul Payne
41ff618a61 Adds service versions to manifests. 2026-01-11 00:13:31 +00:00
Paul Payne
8ae873ae19 Adds deployment name to service manifest to remove hardcoding in daemon. 2026-01-10 23:55:05 +00:00
Paul Payne
7f863d8226 Add crowdsec 2026-01-10 23:16:16 +00:00
Paul Payne
41c52e7827 Shorten api dir name. 2026-01-09 09:43:12 -08:00