coolify/app/Events
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
..
ApplicationConfigurationChanged.php
ApplicationStatusChanged.php
BackupCreated.php
CloudflareTunnelChanged.php
CloudflareTunnelConfigured.php
DatabaseProxyStopped.php
DatabaseStatusChanged.php
DockerCleanupDone.php
FileStorageChanged.php
ProxyStatusChanged.php
ProxyStatusChangedUI.php Make proxy restart run as background job to prevent localhost lockout 2025-12-03 10:30:12 +01:00
RestoreJobFinished.php
S3RestoreJobFinished.php
ScheduledTaskDone.php
SentinelRestarted.php
ServerPackageUpdated.php
ServerReachabilityChanged.php
ServerValidated.php
ServiceChecked.php
ServiceStatusChanged.php
TestEvent.php