199 Commits

Author SHA1 Message Date
Paul Payne
42a58d383f Blue-green backup-restore implementation (incomplete). 2026-03-04 17:32:23 +00:00
Paul Payne
10515f2c92 Simplify backup page. 2026-03-04 08:14:07 +00:00
Paul Payne
773d2e88c8 fix(postgres): Separate drop and create database commands in Restore function 2026-03-02 05:19:37 +00:00
Paul Payne
b001b762f3 feat(backups): Enhance restore functionality with toast notifications and loading state 2026-03-02 05:18:54 +00:00
Paul Payne
86cf4443d6 feat(postgres): Enhance database name retrieval from config.yaml for PostgreSQL strategy 2026-03-01 17:56:11 +00:00
Paul Payne
e00ea0503b feat(backups): Integrate app backups retrieval and restore functionality in BackupsPage 2026-03-01 17:56:02 +00:00
Paul Payne
5f305672ac feat(kubectl): Add GetPodsByDeployment and GetPodsByLabel methods for improved pod retrieval
refactor(logs): Enhance pod retrieval logic in GetLogs and StreamLogs methods
refactor(backup): Update JSON unmarshalling to marshal response data before parsing
2026-02-28 21:31:58 +00:00
Paul Payne
26c88decd8 New backup system. 2026-02-28 20:51:46 +00:00
Paul Payne
aa528a2b01 feat(config): Implement config value extraction and tracking for service compilation 2026-02-28 07:58:44 +00:00
Paul Payne
395b740d78 refactor(deployment): Update deployment state terminology from 'needs_redeploy' to 'out_of_sync' 2026-02-28 07:21:43 +00:00
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
e78352e87f refactor(cloud): Remove unnecessary alerts and improve null checks for test results 2026-02-17 09:29:38 +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
c7a6a0e6ae refactor: Remove unused SSE components and simplify instance layout 2026-02-17 05:48:40 +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
7e04f463a2 refactor(docs): Simplify app lifecycle documentation and enhance clarity on user workflows 2026-02-16 22:17:05 +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
5febd84276 feat(apps): Implement app update functionality with UI integration 2026-02-13 06:24:23 +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
457a912c5c Add AppDetailPanel component for enhanced app management and details display 2026-02-12 08:15:49 +00:00
Paul Payne
088fd4903f Enhance service management: refactor service mutations to invalidate queries on mutation completion, add cleanFiles mutation, and improve loading state handling for service operations 2026-02-11 16:38:16 +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
7c670bade2 Refactor ServiceConfigEditor: remove unused fetch state and related UI elements 2026-02-10 17:47:21 +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
3531daf447 Fix some type-check errors. 2026-02-07 07:44:39 +00:00
Paul Payne
f8974d9787 Refactor UI components: enhance headers and descriptions for improved clarity and consistency across AppsComponent, CentralComponent, CloudComponent, ClusterNodesComponent, ClusterServicesComponent, ConfigEditor, DnsComponent, KubernetesDashboard, Terminal, and IsoPage. 2026-02-01 20:30:37 +00:00
Paul Payne
9295804034 Refactor AppSidebar: update tooltip and label for USB installer to improve clarity 2026-02-01 20:00:23 +00:00
Paul Payne
7ba269ae0c Refactor ClusterServicesComponent: enhance service card layout with improved responsiveness and action button arrangement 2026-02-01 19:38:05 +00:00
Paul Payne
b27eef2592 Refactor AppSidebar and CloudComponent: streamline sidebar menu items for collapsed state and remove unused network configuration section in CloudComponent. 2026-02-01 19:24:43 +00:00
Paul Payne
d3e308b5dc Remove CheckCircle icon from phase indicator when complete 2026-02-01 19:07:39 +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
9ae8d446b7 Refactor service status handling: remove unused status icon function and streamline status badge rendering in ClusterServicesComponent 2026-02-01 14:07:45 +00:00
Paul Payne
576e134095 Refactor DNS and configuration management: integrate instance fetching, update global config types, and enhance dynamic DNS setup with detailed instructions. 2026-02-01 13:57:04 +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
2199e90691 Update CentralComponent title and restructure configuration section; make DNS IP retrieval consistent with dnsmasq 2026-02-01 12:08:35 +00:00
Paul Payne
9b5cb77618 Fix asset deletion URL in create-gitea-release script for correct API endpoint 2026-02-01 11:47:05 +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