-
Notifications
You must be signed in to change notification settings - Fork 29
feat: alpha5 #44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
feat: alpha5 #44
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Enhanced the RCRequest structure by adding an Args field to core commands in the Manager. This change improves the flexibility of requests made to the RClone RC server, allowing for future expansions and more complex command arguments.
…arFailedQueue function if not provided
… validation Introduced functionality to load the PORT from the environment, including validation to ensure it is a valid number within the acceptable range (1-65535). This allows for dynamic configuration of the WebDAV port based on environment settings.
…rship configuration Introduced new input fields for User ID (UID) and Group ID (GID) in the RClone configuration section, allowing users to specify file ownership settings. Default values are set to 1000, with validation for input range (0-65535).
…y in PoolMetricsCard
…ce cleanup - Simplified logging for configuration updates by removing the new_config detail. - Added error handling and logging for clearing the NNTP pool and closing the NZB system. - Updated Dashboard component to correctly calculate pending items based on total queued.
- Added context timeout for RAR archive analysis to prevent long-running operations. - Implemented synchronous cleanup with timeout in usenet reader to avoid goroutine leaks. - Improved context awareness during segment selection and download completion handling.
- Removed goroutine for download completion and replaced it with direct error handling from pool.Wait(). - Enhanced clarity and efficiency in managing download completion within the usenet reader.
…rdering - Introduced a loading overlay to indicate when providers are being reordered, enhancing user experience. - Updated drag-and-drop functionality to disable dragging while reordering is in progress, preventing user errors.
…etion - Added a new cleanup feature to remove health records older than a specified date, with an option to delete associated physical files. - Introduced a modal for user confirmation and configuration of cleanup parameters. - Updated API client and server handlers to support the new cleanup request and response structures. - Enhanced user experience with loading indicators during cleanup operations.
…arity - Enhanced the cleanupHealthRecords method to handle record deletion more efficiently by using direct SQL deletes when not deleting files. - Implemented batch processing for fetching health records to improve performance during file deletions. - Updated logic to ensure proper handling of old records and file paths, streamlining the cleanup process.
- Changed the date format for the cleanup configuration from YYYY-MM-DD to YYYY-MM-DDTHH:mm to support datetime-local input. - Updated the input type for selecting records to be deleted from date to datetime-local, enhancing user clarity on the deletion timing. - Adjusted the display of the selected date in the confirmation message to include both date and time.
- Added symlink validation to the LibrarySyncWorker to ensure metadata files correspond to existing library symlinks. - Introduced a new method, validateSymlinks, to delete orphaned metadata files and refresh the mount cache. - Updated SyncResult to include a count of deleted metadata files for better tracking of sync operations. - Integrated symlinkFinder and rcloneClient into the LibrarySyncWorker for improved functionality.
…eanup options - Updated health configuration to include options for enabling metadata cleanup and specifying a library directory. - Introduced symlink management features to facilitate the creation and validation of symlinks for imported files. - Refactored health check logic to utilize a new scheduled_check_at field, consolidating health check scheduling. - Enhanced HealthPage components to support new cleanup settings and improved user interactions. - Added database migration to remove deprecated fields and ensure data integrity.
- Updated logging calls to include context in multiple files, improving traceability and debugging capabilities. - Refactored functions to pass context where necessary, ensuring consistent logging practices throughout the application. - Adjusted log messages in the pool, importer, and webdav packages to utilize context-aware logging for better error tracking and information flow.
- Added context to logging calls in the runServe function, enhancing traceability during server operations. - Implemented a Close method for ProgressBroadcaster to ensure proper resource management. - Updated log messages to provide clearer insights into service status and shutdown processes.
…tions - Updated various repository methods to accept context as a parameter, enhancing the ability to manage request-scoped values and cancellation signals. - Refactored health, user, queue, and media repositories to utilize context-aware database operations, improving consistency and traceability across the application. - Adjusted API handlers and service methods to pass context through to repository calls, ensuring better integration with the overall context management strategy.
…e logging - Updated multiple components to accept context as a parameter, enhancing request-scoped value management and cancellation signals. - Refactored health check and library sync processes to utilize context-aware operations, improving consistency and traceability. - Enhanced logging throughout the application to include context, providing better insights during operations and error tracking. - Adjusted API handlers and service methods to ensure better integration with context management strategies.
… management - Introduced a new checkbox in the MetadataConfigSection to allow users to delete the original NZB file when its metadata is removed. - Updated the MetadataService to handle the deletion of the source NZB file based on user preference. - Enhanced the MetadataConfig interface to include a new field for managing this deletion option. - Refactored related components and services to ensure consistent handling of the new feature across the application.
… components - Eliminated the max_validation_goroutines field from ImportConfig and related interfaces, streamlining the import configuration. - Updated the WorkersConfigSection to remove validation goroutines input and adjusted the description for max_import_connections to clarify its usage. - Refactored the Processor and Service components to replace max_validation_goroutines with max_import_connections, ensuring consistent handling of concurrent connections for processing. - Enhanced documentation and comments to reflect the changes in import settings and improve clarity for future development.
- Updated the HealthConfigSection to replace references from max_connections_for_repair to max_connections_for_health_checks, aligning with the new health check functionality. - Modified the HealthConfig interface and related types to reflect the change in naming for maximum connections. - Adjusted validation logic and default configuration settings to ensure consistency with the updated health check parameters. - Refactored the HealthChecker to utilize the new health check connection settings, enhancing clarity and maintainability of the code.
…figurations - Introduced segment_sample_percentage field in HealthConfig and ImportConfig interfaces to allow configuration of the percentage of segments to check during validation (1-100%). - Updated HealthConfigSection and WorkersConfigSection components to include input fields for segment sample percentage, enhancing user control over validation speed and thoroughness. - Refactored validation logic in the HealthChecker and Processor to utilize the new segment sample percentage, ensuring consistent behavior across health checks and imports. - Enhanced documentation and comments to clarify the purpose and usage of the segment sample percentage feature.
- Added `cancelQueueItem` and `cancelBulkQueueItems` methods to the APIClient for handling cancellation requests. - Introduced `useCancelQueueItem` and `useBulkCancelQueueItems` hooks to manage cancellation operations in the frontend. - Updated `QueuePage` to include buttons for cancelling individual and selected queue items, with confirmation prompts. - Implemented backend handlers for processing cancellation requests, ensuring proper validation and response handling. - Enhanced the importer service to support cancellation of processing items, allowing for user-initiated cancellation during item processing.
…e compatibility - Modified SQL migration script to align with goose migration format, adding necessary statements for Up and Down migrations. - Included new columns `release_date` and `scheduled_check_at` in the `file_health` table to enhance health check scheduling capabilities. - Ensured proper handling of index creation and deletion for the new fields, maintaining database integrity during migrations.
- Added functionality to automatically create categories in SABnzbd based on the ARR type during instance registration.
- Introduced default categories for Radarr ("movies") and Sonarr ("tv") to streamline user experience.
- Refactored the RegisterInstance method to include category handling and logging improvements.
- Implemented ensureCategoryExists methods to manage category existence in the configuration.
- Updated relevant logging to provide better context during ARR registration and category management.
- Enhanced the error handling in the handleSABnzbdHistoryDelete method to return a successful response when no rows are found during deletion. - Updated the RemoveFromQueue method to return sql.ErrNoRows for better clarity on deletion outcomes. - Adjusted progress tracking in the RAR and 7zip archive processing to accurately reflect validation stages and segment counts, improving user feedback during imports.
- Updated the default segment sample percentage from 2% to 1% for improved validation accuracy. - Enhanced progress tracking in RAR and 7zip archive processing to provide real-time updates during segment validation. - Added offset tracking for cumulative progress across multiple files in both RAR and 7zip processing. - Implemented progress callbacks for multi-file and single-file imports to ensure consistent user feedback during operations.
- Replaced symlink and STRM configuration with a unified import strategy selection in the WorkersConfigSection component. - Updated the ImportConfig interface to include import_strategy and import_dir fields, removing the previous symlink and STRM specific fields. - Enhanced validation logic to ensure correct handling of import strategies and their corresponding directories. - Refactored related services and handlers to accommodate the new import strategy structure, improving overall code clarity and maintainability.
…sample percentage - Eliminated the full_segment_validation field from ImportConfig and related interfaces, streamlining the import configuration. - Updated the WorkersConfigSection component to focus on segment_sample_percentage, enhancing user control over validation processes. - Refactored validation logic across various components to utilize the segment sample percentage for determining validation thoroughness. - Improved documentation to clarify the new validation approach and its implications for performance and accuracy.
…ime display - Introduced a new configuration option for library sync interval in minutes, allowing users to set how often the library directory syncs to discover new files. - Updated the HealthConfigSection component to include input for library sync interval with validation. - Enhanced the LibraryScanStatus component to calculate and display the next scheduled sync time based on the configured interval. - Improved type definitions in the config to accommodate the new library sync features.
…nder - Eliminated the SymlinkFinder utility in favor of a new LibraryItemFinder that supports both symlinks and STRM files. - Updated health worker and library sync worker to utilize the LibraryItemFinder for improved library item resolution. - Refactored related functions to streamline library path lookups and enhance performance. - Adjusted health record handling to ensure proper triggering of file repairs using the resolved library paths.
- Added a new sync method to handle cases where the import strategy is set to NONE, allowing for synchronization of database records with metadata files without scanning library directories. - Introduced progress tracking and error handling for metadata retrieval and health check record management during the sync process. - Enhanced logging to provide detailed information about the sync operation, including added and deleted records.
- Introduced new data structures for managing metadata and database records during synchronization, improving code organization and readability. - Refactored the syncLibrary method to utilize helper functions for building lookup maps and finding files to delete, enhancing maintainability. - Implemented a new recordSyncResult method to streamline logging and result storage after synchronization operations. - Improved progress tracking and error handling throughout the synchronization process, ensuring better performance and user feedback.
- Renamed 'Source NZB' to 'Library Path' in the HealthTableHeader for clarity. - Updated HealthTableRow to display 'library_path' instead of 'source_nzb_path'. - Enhanced ImportConfigSection to provide clearer descriptions for import strategies and symlink paths. - Added 'library_path' to the FileHealth interface and adjusted database queries to include this new field.
…e UsenetFile struct to fix importing for some files
…nitoring - Updated the introduction to include Rar/7zip support and clarified symlink/STRM options. - Revised import strategy section to detail how files can be accessed via symlinks or STRM files. - Improved health monitoring documentation with new configuration options and detailed sync behavior. - Removed outdated basic configuration guide and streamlined ARR integration instructions. - Enhanced clarity on library synchronization processes and automatic repair workflows.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Breaking Changes migration steps
cp config.yaml config.backup.yamlcp config.sample.yaml config.yaml