- Created a centralized database repair script (`plex-database-repair.sh`) to handle all database integrity checks and repairs for Plex Media Server.
- Updated the main Plex management script (`plex.sh`) to integrate the new repair functionality and fixed Unicode/ASCII display issues.
- Refactored the backup script (`backup-plex.sh`) to remove duplicate repair functions and ensure it utilizes the new repair script.
- Conducted thorough code validation and functional testing to ensure all scripts operate correctly with the new changes.
- Enhanced documentation for the new repair script, detailing usage, features, and integration points with other scripts.
- Fixed critical bugs related to WAL file handling and corrected typos in script options.
- Created a base HTML template for consistent layout across pages.
- Developed a dashboard page to display backup service metrics and statuses.
- Implemented a log viewer for detailed log file inspection.
- Added error handling page for better user experience during failures.
- Introduced service detail page to show specific service metrics and actions.
- Enhanced log filtering and viewing capabilities.
- Integrated auto-refresh functionality for real-time updates on metrics.
- Created integration and unit test scripts for backup metrics functionality.
- Added automatic installation and import of essential PowerShell modules (Terminal-Icons, PSReadLine, PSScriptAnalyzer, PSFzf).
- Improved error handling during module installation and import.
- Integrated oh-my-posh for prompt theming with a specified theme.
- Configured PSReadLine options for better user experience.
- Added fzf to PATH if not already present and checked for its installation.
- Implemented functions for network utilities (Get-Ip-Address, Invoke-WslReboot) and application management (Update-Budget, Update-Winget).
- Enhanced file system utilities with functions like ff (file finder), touch (create/update file), and Unix-like commands (grep, which, head, tail).
- Added clipboard utilities (cpy, pst) for easier text management.
- Included Fabric AI integration for dynamic pattern functions and YouTube transcript retrieval.
- Created a sync function for VS Code profile to maintain consistency with the main PowerShell profile.
- Improved overall structure and documentation for better maintainability and usability.
- Deleted `restore-plex.sh.sc2162_backup`: This script provided a comprehensive restoration process for Plex Media Server backups, including validation and logging features.
- Deleted `test-plex-backup.sh.sc2086_backup`: This script served as a comprehensive test suite for the Plex backup system, covering unit tests, integration tests, and performance benchmarks.
- Deleted `validate-plex-recovery.sh.sc2086_backup`: This script was responsible for validating the success of Plex database recovery operations, ensuring database integrity and service functionality.
- Changed inline variable assignments to separate declaration and assignment for clarity.
- Updated condition checks and log messages for better readability and consistency.
- Added a backup of validate-plex-recovery.sh for safety.
- Introduced a new script run-docker-tests.sh for testing setup in Docker containers.
- Enhanced ssh-login.sh to improve condition checks and logging functionality.
- Introduced `validate-plex-recovery.sh` for validating Plex database recovery.
- Implemented checks for service status, database integrity, web interface accessibility, API functionality, and recent logs.
- Added detailed recovery summary and next steps for users.
fix: Improve Debian patching script for compatibility
- Enhanced `debian-patches.sh` to securely download and execute bootstrap scripts.
- Updated package mapping logic and ensured proper permissions for patched files.
fix: Update Docker test scripts for better permission handling
- Modified `run-docker-tests.sh` to set appropriate permissions on logs directory.
- Ensured log files have correct permissions after test runs.
fix: Enhance setup scripts for secure installations
- Updated `setup.sh` to securely download and execute installation scripts for zoxide and nvm.
- Improved error handling for failed downloads.
fix: Refine startup script for log directory permissions
- Adjusted `startup.sh` to set proper permissions for log directories and files.
chore: Revamp update-containers.sh for better error handling and logging
- Rewrote `update-containers.sh` to include detailed logging and error handling.
- Added validation for Docker image names and improved overall script robustness.
- Added `restore-immich.sh` script to handle complete restoration from backups.
- Implemented database restoration with integrity checks and error handling.
- Added uploads restoration with proper ownership and permissions setup.
- Introduced validation script `validate-immich-backups.sh` for backup integrity checks.
- Created test suite `test-immich-restore.sh` to validate restoration functionality with mock data.
- Enhanced logging and notification features for restoration processes.
- Updated README.md with detailed usage instructions for backup and restore workflows.
refactor: Improve backup item structure and add detailed descriptions for services
feat: Implement loading of backup directories and log files with detailed information
feat: Enhance file content loading with size limits for display