coolify/resources/views/livewire/project/database
Andras Bacsai 94560ea6c7 feat: streamline S3 restore with single-step flow and improved UI consistency
Major architectural improvements:
- Merged download and restore into single atomic operation
- Eliminated separate S3DownloadFinished event (redundant)
- Files now transfer directly: S3 → helper container → server → database container
- Removed download progress tracking in favor of unified restore progress

UI/UX improvements:
- Unified restore method selection with visual cards
- Consistent "File Information" display between local and S3 restore
- Single slide-over for all restore operations (removed separate S3 download monitor)
- Better visual feedback with loading states

Security enhancements:
- Added isSafeTmpPath() helper for path traversal protection
- URL decode validation to catch encoded attacks
- Canonical path resolution to prevent symlink attacks
- Comprehensive path validation in all cleanup events

Cleanup improvements:
- S3RestoreJobFinished now handles all cleanup (helper container + all temp files)
- RestoreJobFinished uses new isSafeTmpPath() validation
- CoolifyTask dispatches cleanup events even on job failure
- All cleanup uses non-throwing commands (2>/dev/null || true)

Other improvements:
- S3 storage policy authorization on Show component
- Storage Form properly syncs is_usable state after test
- Removed debug code and improved error handling
- Better command organization and documentation

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-17 10:05:18 +01:00
..
backup feat(acl): Change views/backend code to able to use proper ACL's later on. Currently it is not enabled. 2025-08-26 10:27:38 +02:00
clickhouse feat(acl): Change views/backend code to able to use proper ACL's later on. Currently it is not enabled. 2025-08-26 10:27:38 +02:00
dragonfly feat(acl): Change views/backend code to able to use proper ACL's later on. Currently it is not enabled. 2025-08-26 10:27:38 +02:00
keydb feat(acl): Change views/backend code to able to use proper ACL's later on. Currently it is not enabled. 2025-08-26 10:27:38 +02:00
mariadb refactor: migrate database components from legacy model binding to explicit properties 2025-10-13 10:01:17 +02:00
mongodb refactor: migrate database components from legacy model binding to explicit properties 2025-10-13 10:01:17 +02:00
mysql refactor: migrate database components from legacy model binding to explicit properties 2025-10-13 10:01:17 +02:00
postgresql fix: clean up input attributes for PostgreSQL settings in general.blade.php 2025-11-04 21:06:12 +01:00
redis refactor: migrate database components from legacy model binding to explicit properties 2025-10-13 10:01:17 +02:00
backup-edit.blade.php fix: remove unnecessary step attribute from maximum storage input fields 2025-10-29 20:43:32 +01:00
backup-executions.blade.php feat: add S3 storage integration for file import 2025-11-14 10:43:19 +01:00
backup-now.blade.php fix: update Livewire button click method to use camelCase 2025-01-07 11:03:23 +01:00
configuration.blade.php feat(acl): Change views/backend code to able to use proper ACL's later on. Currently it is not enabled. 2025-08-26 10:27:38 +02:00
create-scheduled-backup.blade.php feat(ui): Upgrade to Tailwind v4 (#5710) 2025-05-14 12:43:23 +02:00
heading.blade.php feat(acl): Change views/backend code to able to use proper ACL's later on. Currently it is not enabled. 2025-08-26 10:27:38 +02:00
import.blade.php feat: streamline S3 restore with single-step flow and improved UI consistency 2025-11-17 10:05:18 +01:00
init-script.blade.php fix indexing after deletion and make sure init script is removed form the server 2024-10-18 20:51:51 +02:00
scheduled-backups.blade.php feat: add S3 storage integration for file import 2025-11-14 10:43:19 +01:00