coolify/app/Livewire/Server
Andras Bacsai e4810a28d2 Make proxy restart run as background job to prevent localhost lockout
When restarting the proxy on localhost (where Coolify is running), the UI becomes inaccessible because the connection is lost. This change makes all proxy restarts run as background jobs with WebSocket notifications, allowing the operation to complete even after connection loss.

Changes:
- Enhanced ProxyStatusChangedUI event to carry activityId for log monitoring
- Updated RestartProxyJob to dispatch status events and track activity
- Simplified Navbar restart() to always dispatch job for all servers
- Enhanced showNotification() to handle activity monitoring and new statuses
- Added comprehensive unit and feature tests

Benefits:
- Prevents localhost lockout during proxy restarts
- Consistent behavior across all server types
- Non-blocking UI with real-time progress updates
- Automatic activity log monitoring
- Proper error handling and recovery

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-03 10:30:12 +01:00
..
CaCertificate refactor: replace direct SslCertificate queries with server relationship methods for consistency 2025-10-09 17:00:05 +02:00
CloudProviderToken improved hetzner features 2025-10-09 12:53:57 +02:00
New fix: update boarding flow logic to complete onboarding when server is created 2025-10-29 23:06:39 +01:00
PrivateKey feat(private-key-refresh): add refresh dispatch on private key update and connection check 2025-09-23 16:49:59 +02:00
Proxy fix: enhance validation for database names and filenames to prevent command injection 2025-11-27 14:51:23 +01:00
Security fix(security): implement authorization checks for terminal access management 2025-09-25 11:45:07 +02:00
Advanced.php refactor(dashboard): remove deployment loading logic and introduce DeploymentsIndicator component for better UI management 2025-09-30 11:43:30 +02:00
Charts.php Revert "rector: arrrrr" 2025-01-07 15:31:43 +01:00
CloudflareTunnel.php feat(auth): implement authorization checks for server updates across multiple components 2025-08-22 13:02:11 +02:00
Create.php improved hetzner features 2025-10-09 12:53:57 +02:00
Delete.php work work on hetzner integration 2025-10-09 16:54:13 +02:00
Destinations.php feat(auth): implement authorization for Docker and server management 2025-08-22 14:04:25 +02:00
DockerCleanup.php feat(auth): implement authorization checks for server updates across multiple components 2025-08-22 13:02:11 +02:00
DockerCleanupExecutions.php feat: Docker cleanup executions UI 2025-01-15 20:11:40 +01:00
Index.php Fix styling 2024-06-10 20:43:34 +00:00
LogDrains.php feat(auth): implement authorization checks for server updates across multiple components 2025-08-22 13:02:11 +02:00
Navbar.php Make proxy restart run as background job to prevent localhost lockout 2025-12-03 10:30:12 +01:00
Proxy.php Merge branch 'next' into fix-traefik-startup 2025-11-28 17:54:48 +01:00
Resources.php Revert "rector: arrrrr" 2025-01-07 15:31:43 +01:00
Show.php fix: correct dispatch logic for Hetzner server status refresh in checkHetznerServerStatus method 2025-10-10 10:13:14 +02:00
ValidateAndInstall.php fix: resolve Docker validation race conditions and sudo prefix bug 2025-11-27 09:04:42 +01:00