Commit Graph

194 Commits

Author SHA1 Message Date
Peter Wood
6d726cb015 feat: Add base HTML template and implement dashboard, logs, and service views
- 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.
2025-06-18 08:06:08 -04:00
Peter Wood
d066f32b10 Enhance PowerShell profile with comprehensive features and error handling
- 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.
2025-06-18 04:23:28 -04:00
Peter Wood
e60d27b77e feat: Update Plex Recent Additions script to use custom SQLite binary and improve query output 2025-06-14 09:17:02 -04:00
Peter Wood
dfab956d9f feat: Enhance Plex Recent Additions script with dynamic day range and error handling 2025-06-14 08:47:23 -04:00
Peter Wood
1345bbfc62 feat: Add comprehensive backup script for Gitea and PostgreSQL database 2025-06-12 17:19:08 -04:00
Peter Wood
7d45acf6c6 fix: Clean up unnecessary whitespace and improve code readability in backup-plex.sh 2025-06-12 17:18:57 -04:00
Peter Wood
2b979f0950 feat: Add Jellyfin database repair script and documentation 2025-06-12 17:18:37 -04:00
Peter Wood
ed6a1a3d76 backing up my changes because my server is about to get wiped 2025-06-12 10:05:41 -04:00
Peter Wood
af5528f5cd jellyfin restoration info and shell scripts 2025-06-11 17:48:14 -04:00
Peter Wood
02fc6391ef fix: Start SSH agent and add key silently if not already running 2025-06-11 07:11:29 -04:00
Peter Wood
82d8e63ed7 added ssh-agent 2025-06-10 21:36:44 -04:00
Peter Wood
36b4f5c667 Remove obsolete backup and validation scripts for Plex Media Server
- 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.
2025-06-09 06:45:43 -04:00
Peter Wood
11c110d729 feat: Enhance documentation and add porcelain mode support for improved automation in plex scripts 2025-06-09 06:44:06 -04:00
Peter Wood
16dd496c31 feat: Add color support toggle for improved output in plex.sh and update.sh 2025-06-08 20:47:23 -04:00
Peter Wood
6b90447b30 fix: Improve sudo privilege check and provide user guidance for password prompts 2025-06-08 20:06:18 -04:00
Peter Wood
c698813d6b refactor: Update output formatting and enhance log retrieval in plex.sh 2025-06-08 19:46:29 -04:00
Peter Wood
9bb5545268 fix: Ensure proper ownership of backup files after copying in backup-plex.sh 2025-06-06 08:24:38 -04:00
Peter Wood
b76a9632c3 fix: Correct variable declaration order and improve output formatting in show_loading function 2025-06-06 07:59:07 -04:00
Peter Wood
58b5dea8b4 Refactor variable assignments and improve script readability in validate-plex-backups.sh and validate-plex-recovery.sh
- 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.
2025-06-05 17:14:02 -04:00
Peter Wood
c3f237a321 feat: Revamp system update script with enhanced logging, error handling, and package manager detection 2025-06-05 08:40:20 -04:00
Peter Wood
b9d946bfb5 formatting 2025-06-05 07:53:59 -04:00
Peter Wood
0123fc6007 feat: Add comprehensive Plex recovery validation script
- 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.
2025-06-05 07:22:28 -04:00
Peter Wood
8b514ac0b2 feat: Implement backup TUI with enhanced refresh functionality and consistent build system 2025-06-04 08:57:09 -04:00
Peter Wood
780e78f132 feat: Update backup script to disable interactive mode by default and add command-line option for enabling it 2025-06-04 08:02:21 -04:00
Peter Wood
f202301529 feat: Implement comprehensive security enhancements in restoration scripts, including path validation, SQL injection prevention, and improved container management 2025-06-03 17:37:30 -04:00
Peter Wood
bc6958b74b feat: Enhance restoration script with disk space validation and improved PostgreSQL readiness checks 2025-06-03 15:19:03 -04:00
Peter Wood
c1479a8b0c feat: Implement comprehensive restore functionality for Immich
- 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.
2025-06-03 14:38:55 -04:00
Peter Wood
48e51fa094 feat: Enhance backup script documentation and workflow for shared storage integration 2025-06-03 12:35:08 -04:00
Peter Wood
4ebf1ca87d removed test file 2025-06-03 11:58:49 -04:00
Peter Wood
94dc0e6c5b feat: Add Plex scripts documentation and enhance monitoring script with detailed checks and recommendations 2025-06-03 08:59:11 -04:00
Peter Wood
6e6b263c53 feat: Add convenience script and documentation for SKIP_OLLAMA feature in setup 2025-06-02 13:29:30 -04:00
Peter Wood
20a19230d8 formatting 2025-06-02 10:39:45 -04:00
Peter Wood
a49d3743fb old copy of binary 2025-06-02 09:20:52 -04:00
Peter Wood
b94c41f3f2 feat: Enhance backup details display and support for scheduled backups in directory loading 2025-06-01 21:33:26 -04:00
Peter Wood
c38dd066f7 feat: Remove unused features and enhance backup file browsing functionality 2025-06-01 19:17:36 -04:00
Peter Wood
5b249c89bd feat: Update README for Backup File Browser TUI and remove demo script 2025-06-01 17:32:32 -04:00
Peter Wood
209b855977 feat: Refactor logging system to use local log directory and add synchronization and cleanup functions 2025-06-01 13:22:06 -04:00
Peter Wood
6811d2ba5e feat: Enhance Plex backup validation script with optional file handling and dependency checks 2025-06-01 10:34:33 -04:00
Peter Wood
90c6033a95 feat: Add backup viewer and enhance backup management features in TUI
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
2025-06-01 09:47:18 -04:00
Peter Wood
e81d895630 fix: Update .env file download source from gist to git repository 2025-05-31 11:09:00 -04:00
Peter Wood
f1ed75a6d4 refactor: Remove golang-go from essential package list for shell setup 2025-05-30 19:30:52 -04:00
Peter Wood
7a7dd76bb9 feat: Enhance setup script to download .env configuration and create fallback template for Fabric AI providers 2025-05-30 17:51:56 -04:00
Peter Wood
696f91e928 feat: Implement SKIP_OLLAMA feature for optional setup without Ollama installation and add documentation
refactor: Enhance .profile for Go path management and environment variable setup
2025-05-30 17:34:05 -04:00
Peter Wood
bdda278408 refactor: Improve .profile for shell compatibility and PATH management 2025-05-30 17:17:27 -04:00
Peter Wood
d6c76ac146 Fix TUI newline display issue
- Add processEscapeSequences() function to convert literal \n to actual newlines
- Apply fix to backup success, error, and running output displays
- Add TUI binary to gitignore
- Include comprehensive documentation of the fix

Resolves issue where backup output showed literal escape sequences
instead of properly formatted text with line breaks.
2025-05-30 10:03:43 -04:00
Peter Wood
374da47bf5 refactor: Clean up whitespace and improve formatting in backup update logic 2025-05-30 08:57:28 -04:00
Peter Wood
137e5e8e2f feat: Update Go installation method to use package manager and adjust environment variables 2025-05-30 08:57:10 -04:00
Peter Wood
f2c415cc1b Add test script for Enhanced Backup TUI Features
- Implement a comprehensive test script to validate the enhanced functionality of the Backup TUI.
- Include tests for compilation, startup, feature validation, backup script integration, dependency checks, performance, and documentation.
- Utilize color-coded output for better readability of test results.
2025-05-30 07:24:03 -04:00
Peter Wood
3ce2b687ac feat: Add Docker deployment manager and stack assignment helper scripts
- Introduced `docker-deployment-manager.sh` for managing Docker stack deployments across multiple servers, including initialization, deployment, and status checks.
- Added `stack-assignment-helper.sh` to analyze Docker stacks and suggest server assignments based on predefined patterns.
- Removed outdated `SETUP_COMPLETE.md` file as it is no longer relevant to the current setup process.
- Ref - Documentation review #11
2025-05-29 18:19:37 -04:00
Peter Wood
a05f5c6d9d feat: Integrate Ollama and Fabric with Docker setup and testing scripts 2025-05-29 16:59:32 -04:00