borgitory 2.6.1__tar.gz → 2.6.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {borgitory-2.6.1 → borgitory-2.6.3}/PKG-INFO +1 -1
- {borgitory-2.6.1 → borgitory-2.6.3}/pyproject.toml +3 -3
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/dependencies.py +4 -2
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/services/scheduling/scheduler_service.py +7 -8
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/schedules/test_manual_run_apscheduler.py +220 -5
- {borgitory-2.6.1 → borgitory-2.6.3}/.gitignore +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/LICENSE +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/README.md +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/__init__.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/alembic/README +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/alembic/env.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/alembic/script.py.mako +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/alembic/versions/02b7b29d38c0_add_encryption_type_and_keyfile_content_.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/alembic/versions/18b9095bc772_add_patterns_column_to_schedules_table.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/alembic/versions/1d47e9231dd0_rename_cleanup_to_prune.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/alembic/versions/2628b151e709_make_passphrase_optional.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/alembic/versions/3335c0eac68e_create_initial_schema.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/alembic/versions/5e6cc17d11a5_user_installed_packages.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/alembic/versions/78c9fff46e06_add_compact_after_field_to_pruneconfig.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/alembic/versions/9b5d5f5e8cbc_add_pre_post_job_hooks_to_schedule.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/alembic/versions/9e4c8456ea53_add_cache_dir_field_to_repositories_.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/alembic/versions/9f06f8c8088d_initial_empty_state.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/alembic/versions/d294fdc9a5e7_fix_uuid_columns_for_sqlite.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/alembic/versions/eb3518e71c73_add_more_prune_settings_to_cleanup_.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/alembic.ini +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/api/__init__.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/api/auth.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/api/backups.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/api/cancel_on_disconnect.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/api/cloud_sync/__init__.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/api/cloud_sync/cloud_sync.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/api/cloud_sync/s3.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/api/debug.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/api/jobs.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/api/notifications.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/api/packages.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/api/prune.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/api/repositories.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/api/repository_check_configs.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/api/repository_stats.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/api/schedules.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/api/shared.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/api/tabs.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/cli.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/config/__init__.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/config/command_runner_config.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/config/job_manager_config.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/config_module.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/constants/__init__.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/constants/retention.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/custom_types.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/factories/__init__.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/factories/service_factory.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/main.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/models/__init__.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/models/borg_info.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/models/database.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/models/enums.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/models/job_results.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/models/patterns.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/models/repository_dtos.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/models/schemas.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/protocols/__init__.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/protocols/archive_manager_protocol.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/protocols/cloud_protocols.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/protocols/command_executor_protocol.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/protocols/command_protocols.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/protocols/environment_protocol.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/protocols/file_protocols.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/protocols/job_database_manager_protocol.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/protocols/job_event_broadcaster_protocol.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/protocols/job_output_manager_protocol.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/protocols/job_protocols.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/protocols/job_queue_manager_protocol.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/protocols/notification_protocols.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/protocols/path_protocols.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/protocols/repository_protocols.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/protocols/storage_protocols.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/protocols/system_protocol.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/py.typed +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/services/__init__.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/services/archives/archive_manager.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/services/archives/archive_models.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/services/borg/borg_pattern_validation_service.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/services/borg/shell_pattern.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/services/borg_service.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/services/cloud_providers/__init__.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/services/cloud_providers/cloud_sync_service.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/services/cloud_providers/orchestration.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/services/cloud_providers/registry.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/services/cloud_providers/registry_factory.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/services/cloud_providers/storage/__init__.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/services/cloud_providers/storage/base.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/services/cloud_providers/storage/s3_provider_config.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/services/cloud_providers/storage/s3_storage.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/services/cloud_providers/storage/sftp_storage.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/services/cloud_providers/storage/smb_storage.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/services/cloud_providers/types.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/services/cloud_sync_config_service.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/services/command_execution/__init__.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/services/command_execution/command_executor_factory.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/services/command_execution/linux_command_executor.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/services/command_execution/wsl_command_executor.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/services/configuration_service.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/services/cron_description_service.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/services/debug_service.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/services/encryption_service.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/services/files/file_service_factory.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/services/files/linux_file_service.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/services/files/wsl_file_service.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/services/hooks/__init__.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/services/hooks/hook_config.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/services/hooks/hook_execution_service.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/services/jobs/broadcaster/event_type.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/services/jobs/broadcaster/job_event.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/services/jobs/broadcaster/job_event_broadcaster.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/services/jobs/job_database_manager.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/services/jobs/job_executor.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/services/jobs/job_manager.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/services/jobs/job_manager_factory.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/services/jobs/job_models.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/services/jobs/job_output_manager.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/services/jobs/job_queue_manager.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/services/jobs/job_render_service.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/services/jobs/job_service.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/services/jobs/job_stream_service.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/services/jobs/task_executors/__init__.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/services/jobs/task_executors/backup_task_executor.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/services/jobs/task_executors/check_task_executor.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/services/jobs/task_executors/cloud_sync_task_executor.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/services/jobs/task_executors/compact_task_executor.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/services/jobs/task_executors/hook_task_executor.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/services/jobs/task_executors/notification_task_executor.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/services/jobs/task_executors/prune_task_executor.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/services/migrations/__init__.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/services/migrations/migration_factory.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/services/migrations/migration_service.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/services/notifications/__init__.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/services/notifications/config_service.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/services/notifications/providers/__init__.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/services/notifications/providers/base.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/services/notifications/providers/discord_provider.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/services/notifications/providers/pushover_provider.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/services/notifications/providers/telegram_provider.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/services/notifications/registry.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/services/notifications/registry_factory.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/services/notifications/service.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/services/notifications/types.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/services/package_manager_service.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/services/path/__init__.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/services/path/path_service.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/services/path/path_service_factory.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/services/path/platform_service.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/services/prune_service.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/services/rclone_service.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/services/rclone_types.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/services/recovery_service.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/services/repositories/repository_check_config_service.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/services/repositories/repository_service.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/services/repositories/repository_stats_service.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/services/scheduling/hook_service.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/services/scheduling/pattern_service.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/services/scheduling/schedule_service.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/services/simple_command_runner.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/services/startup/package_restoration_service.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/services/system/__init__.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/services/system/system_operations.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/services/task_definition_builder.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/services/upcoming_backups_service.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/services/volumes/file_system_interface.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/services/volumes/os_file_system.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/static/css/modern-components.css +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/static/favicon/android-chrome-192x192.png +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/static/favicon/android-chrome-512x512.png +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/static/favicon/apple-touch-icon.png +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/static/favicon/favicon-16x16.png +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/static/favicon/favicon-32x32.png +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/static/favicon/favicon.ico +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/static/favicon/site.webmanifest +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/static/js/app.js +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/static/js/components/jobs.js +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/static/js/components/navigation.js +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/base.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/index.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/login.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/macros/datetime.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/archives/contents_modal.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/archives/directory_contents.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/archives/directory_loading_state.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/archives/directory_loading_with_trigger.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/archives/empty_state.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/archives/error_message.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/archives/list_content.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/archives/loading_state.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/archives/loading_with_trigger.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/archives/repository_selector.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/archives/tab.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/auth/login_error.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/auth/login_form_active.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/auth/login_success.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/auth/register_error.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/auth/register_form_active.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/auth/register_success.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/backups/manual_form.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/backups/operations.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/backups/tab.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/cloud_sync/action_error.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/cloud_sync/action_success.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/cloud_sync/config_list_content.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/cloud_sync/create_error.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/cloud_sync/create_success.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/cloud_sync/form.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/cloud_sync/list.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/cloud_sync/provider_fields.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/cloud_sync/providers/s3/s3_endpoint_field.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/cloud_sync/providers/s3/s3_fields.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/cloud_sync/providers/s3/s3_provider_options.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/cloud_sync/providers/s3/s3_region_options.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/cloud_sync/providers/s3/s3_storage_class_options.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/cloud_sync/providers/sftp/sftp_fields.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/cloud_sync/providers/sftp/sftp_fields_edit.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/cloud_sync/providers/smb/smb_fields.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/cloud_sync/providers/smb/smb_fields_edit.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/cloud_sync/tab.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/cloud_sync/test_error.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/cloud_sync/test_success.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/cloud_sync/test_warning.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/cloud_sync/update_error.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/cloud_sync/update_success.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/common/error_message.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/debug/debug_panel.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/debug/tab.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/jobs/backup_error.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/jobs/backup_success.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/jobs/current_jobs_list.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/jobs/empty_state.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/jobs/error_state.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/jobs/job_details_static.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/jobs/job_details_streaming.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/jobs/job_item.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/jobs/job_stop_error.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/jobs/job_stop_success.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/jobs/tab.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/jobs/task_item_static.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/jobs/task_item_streaming.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/navigation.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/navigation_nav.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/notifications/action_error.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/notifications/action_success.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/notifications/add_form.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/notifications/config_list_content.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/notifications/create_error.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/notifications/create_success.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/notifications/edit_form.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/notifications/list.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/notifications/providers/discord_fields.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/notifications/providers/pushover_fields.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/notifications/providers/telegram_fields.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/notifications/tab.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/notifications/test_error.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/notifications/test_success.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/notifications/update_error.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/notifications/update_success.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/packages/empty_search.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/packages/error.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/packages/install_error.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/packages/install_success.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/packages/installed_list.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/packages/package_manager.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/packages/remove_error.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/packages/remove_success.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/packages/search_error.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/packages/search_results.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/packages/selected_packages.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/packages/tab.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/prune/action_error.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/prune/action_success.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/prune/config_form.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/prune/config_form_error.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/prune/config_form_success.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/prune/config_list_content.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/prune/create_error.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/prune/create_success.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/prune/delete_error.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/prune/delete_success.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/prune/form.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/prune/policies.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/prune/prune_error.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/prune/prune_success.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/prune/retention_fields.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/prune/strategy_fields.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/prune/tab.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/prune/update_error.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/prune/update_success.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/repositories/create/form_create.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/repositories/create/form_create_error.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/repositories/create/form_create_success.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/repositories/create/form_update_error.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/repositories/create/form_update_success.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/repositories/create/passphrase_field.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/repositories/delete_success.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/repositories/import/encryption_fields.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/repositories/import/form_import.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/repositories/import/form_import_error.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/repositories/import/form_import_success.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/repositories/list.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/repositories/list_content.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/repositories/modal/borg_info.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/repositories/modal/break_lock_button.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/repositories/modal/break_lock_button_modal.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/repositories/modal/details_modal.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/repositories/modal/lock_status.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/repositories/tab.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/repository_check/action_error.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/repository_check/action_success.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/repository_check/check_error.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/repository_check/check_success.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/repository_check/config_list_content.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/repository_check/create_error.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/repository_check/create_form.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/repository_check/create_success.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/repository_check/custom_options.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/repository_check/delete_error.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/repository_check/delete_success.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/repository_check/dynamic_options.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/repository_check/edit_form.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/repository_check/form.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/repository_check/tab.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/repository_check/update_error.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/repository_check/update_success.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/repository_stats/stats_panel.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/schedules/create_error.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/schedules/create_form.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/schedules/create_success.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/schedules/cron_description.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/schedules/cron_expression_form.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/schedules/delete_error.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/schedules/delete_success.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/schedules/edit_form.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/schedules/hooks/hook_field_modal.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/schedules/hooks/hooks_container.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/schedules/hooks/hooks_edit_content.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/schedules/hooks/hooks_modal.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/schedules/hooks/hooks_save_response.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/schedules/hooks/hooks_validation_error.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/schedules/list.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/schedules/patterns/pattern_field_modal.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/schedules/patterns/pattern_validation_result.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/schedules/patterns/patterns_container.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/schedules/patterns/patterns_modal.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/schedules/patterns/patterns_save_response.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/schedules/patterns/patterns_validation_error.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/schedules/patterns/patterns_validation_results.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/schedules/run_success.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/schedules/schedule_list_content.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/schedules/tab.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/schedules/upcoming.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/schedules/upcoming_backups_content.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/schedules/update_error.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/schedules/update_success.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/shared/notification.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/shared/package_autocomplete.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/shared/path_autocomplete.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/shared/path_autocomplete_dropdown.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/shared/path_autocomplete_loading.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/statistics/empty_state.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/statistics/loading_state.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/statistics/repository_selector.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/templates/partials/statistics/tab.html +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/utils/__init__.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/utils/datetime_utils.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/utils/path_prefix.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/utils/secure_path.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/utils/security.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/utils/template_paths.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/utils/template_responses.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/__init__.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/archives/test_archive_browser_htmx.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/archives/test_archive_manager.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/archives/test_archive_manager_caching.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/auth/test_auth_htmx.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/auth/test_auth_redirect_flow.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/auth/test_main_login_page.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/borg/test_borg_service_core.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/cloud_providers/__init__.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/cloud_providers/test_display_details.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/cloud_providers/test_orchestration.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/cloud_providers/test_provider_validation.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/cloud_providers/test_registry.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/cloud_providers/test_registry_integration.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/cloud_providers/test_s3_provider_config.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/cloud_providers/test_schema_validation.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/cloud_providers/test_service.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/cloud_providers/test_smb_storage.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/cloud_providers/test_storage.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/cloud_providers/test_types.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/cloud_sync/test_cloud_sync_api.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/cloud_sync/test_s3_api.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/command_execution/test_linux_command_executor.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/command_execution/test_wsl_command_executor.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/conftest.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/factories/__init__.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/factories/test_service_factory.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/fixtures/__init__.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/fixtures/job_fixtures.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/fixtures/registry_fixtures.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/hooks/__init__.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/hooks/test_api_critical_hooks.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/hooks/test_composite_job_critical_failure.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/hooks/test_critical_hook_config.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/hooks/test_critical_hook_execution.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/hooks/test_hook_config.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/hooks/test_hook_execution_service.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/hooks/test_job_manager_critical_hooks.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/hooks/test_notification_messages_hooks.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/hooks/test_task_definition_integration.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/integration/__init__.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/integration/conftest.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/integration/test_app_startup.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/integration/test_basic_endpoints.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/jobs/conftest.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/jobs/test_compact_task_executor.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/jobs/test_database_integration.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/jobs/test_ignore_lock_functionality.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/jobs/test_job_database_manager.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/jobs/test_job_event_broadcaster.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/jobs/test_job_executor.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/jobs/test_job_executor_comprehensive.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/jobs/test_job_manager.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/jobs/test_job_manager_comprehensive.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/jobs/test_job_manager_factory.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/jobs/test_job_manager_stop.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/jobs/test_job_manager_task_execution.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/jobs/test_job_output_manager.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/jobs/test_job_render_service_coverage.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/jobs/test_job_render_service_new_architecture.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/jobs/test_job_service.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/jobs/test_job_stop_api_simple.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/jobs/test_job_stop_functionality.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/jobs/test_job_stop_integration.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/jobs/test_job_stop_service.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/jobs/test_job_stream_service.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/jobs/test_jobs_api_sse.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/jobs/test_sse_multiline_formatting.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/notifications/test_discord_provider.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/notifications/test_notification_config_service.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/notifications/test_notification_configs_api.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/notifications/test_notification_edit_integration.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/notifications/test_pushover_provider.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/notifications/test_telegram_provider.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/packages/test_package_database_integration.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/packages/test_package_manager_service.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/packages/test_package_selection_endpoints.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/protocols/__init__.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/protocols/protocol_testing_utils.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/protocols/test_protocol_compliance.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/protocols/test_simple_command_runner_protocol.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/repositories/test_repositories_api.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/repositories/test_repository_check_config_service.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/repositories/test_repository_check_configs_api.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/repositories/test_repository_management_api.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/repositories/test_repository_management_service.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/repositories/test_repository_service.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/repositories/test_repository_stats_html.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/repositories/test_repository_stats_service_unit.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/schedules/test_cron_description_api.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/schedules/test_cron_description_htmx_api.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/schedules/test_schedule_creation_api.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/schedules/test_schedule_service.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/schedules/test_schedule_validation_service.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/schedules/test_scheduler_service.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/schedules/test_schedules_api.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/schedules/test_schedules_hooks_api.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/schedules/test_schedules_patterns_api.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/schedules/test_validate_patterns_json.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/scheduling/test_hook_service.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/scheduling/test_pattern_service.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/services/__init__.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/services/migrations/__init__.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/services/migrations/test_migration_service.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/services/test_borg_pattern_validation_service.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/templates/test_current_jobs_template.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/test_backups_api.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/test_basic.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/test_cache_dir_functionality.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/test_cache_dir_normalization.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/test_cron_description_service.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/test_database_models.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/test_datetime_utils.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/test_debug_service.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/test_dependencies.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/test_di_testing_infrastructure.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/test_job_manager_proper_di.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/test_jobs_api.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/test_path_service.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/test_prune_api.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/test_prune_service.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/test_recovery_service.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/test_repository_archives_navigation.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/test_retention_constants.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/test_secure_path_comprehensive.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/test_simple_command_runner.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/test_streaming_edge_cases.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/test_streaming_fixes.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/test_tabs_api.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/test_task_definition_builder.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/utils/__init__.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/utils/di_testing.py +0 -0
- {borgitory-2.6.1 → borgitory-2.6.3}/tests/utils/test_path_prefix.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: borgitory
|
|
3
|
-
Version: 2.6.
|
|
3
|
+
Version: 2.6.3
|
|
4
4
|
Summary: A comprehensive web-based management interface for BorgBackup repositories with real-time monitoring, automated scheduling, and cloud synchronization capabilities.
|
|
5
5
|
Project-URL: Homepage, https://borgitory.com
|
|
6
6
|
Project-URL: Repository, https://github.com/mlapaglia/Borgitory
|
|
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "borgitory"
|
|
7
|
-
version = "2.6.
|
|
7
|
+
version = "2.6.3"
|
|
8
8
|
description = "A comprehensive web-based management interface for BorgBackup repositories with real-time monitoring, automated scheduling, and cloud synchronization capabilities."
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
license = {file = "LICENSE"}
|
|
@@ -114,7 +114,7 @@ line-length = 88
|
|
|
114
114
|
indent-width = 4
|
|
115
115
|
|
|
116
116
|
# Assume Python 3.14+.
|
|
117
|
-
target-version = "2.6.
|
|
117
|
+
target-version = "2.6.3"
|
|
118
118
|
|
|
119
119
|
[tool.ruff.lint]
|
|
120
120
|
# Enable Pyflakes (`F`) and a subset of the pycodestyle (`E`) codes by default.
|
|
@@ -181,7 +181,7 @@ exclude_lines = [
|
|
|
181
181
|
|
|
182
182
|
[tool.mypy]
|
|
183
183
|
# Basic settings
|
|
184
|
-
python_version = "2.6.
|
|
184
|
+
python_version = "2.6.3"
|
|
185
185
|
strict = true
|
|
186
186
|
|
|
187
187
|
# Display options
|
|
@@ -836,9 +836,11 @@ def get_scheduler_service_singleton() -> SchedulerService:
|
|
|
836
836
|
Returns:
|
|
837
837
|
SchedulerService: Cached singleton instance
|
|
838
838
|
"""
|
|
839
|
-
# Resolve dependencies directly (not via FastAPI DI)
|
|
839
|
+
# Resolve dependencies directly (not via FastAPI DI).
|
|
840
|
+
# Do not call get_job_service() here: it uses Depends() and only resolves when
|
|
841
|
+
# invoked by FastAPI; called directly, job_manager would be a Depends object.
|
|
840
842
|
job_manager = get_job_manager_singleton()
|
|
841
|
-
job_service =
|
|
843
|
+
job_service = JobService(job_manager)
|
|
842
844
|
return SchedulerService(
|
|
843
845
|
job_manager=job_manager,
|
|
844
846
|
job_service=job_service,
|
|
@@ -25,18 +25,17 @@ from borgitory.protocols import JobManagerProtocol
|
|
|
25
25
|
logger = logging.getLogger(__name__)
|
|
26
26
|
|
|
27
27
|
|
|
28
|
-
async def execute_scheduled_backup(
|
|
29
|
-
|
|
30
|
-
job_service: JobService,
|
|
31
|
-
) -> None:
|
|
32
|
-
"""Execute a scheduled backup using injected dependencies"""
|
|
28
|
+
async def execute_scheduled_backup(schedule_id: int) -> None:
|
|
29
|
+
"""Execute a scheduled backup. Resolves job_service at runtime to keep job args picklable."""
|
|
33
30
|
logger.info(
|
|
34
31
|
f"SCHEDULER: execute_scheduled_backup called for schedule_id: {schedule_id}"
|
|
35
32
|
)
|
|
36
33
|
|
|
37
|
-
|
|
34
|
+
from borgitory.dependencies import get_scheduler_service_singleton
|
|
38
35
|
from borgitory.models.database import async_session_maker
|
|
39
36
|
|
|
37
|
+
job_service = get_scheduler_service_singleton().job_service
|
|
38
|
+
|
|
40
39
|
async with async_session_maker() as db:
|
|
41
40
|
logger.info(f"SCHEDULER: Looking up schedule {schedule_id}")
|
|
42
41
|
result = await db.execute(
|
|
@@ -242,7 +241,7 @@ class SchedulerService:
|
|
|
242
241
|
self.scheduler.add_job(
|
|
243
242
|
execute_scheduled_backup,
|
|
244
243
|
trigger,
|
|
245
|
-
args=[schedule_id
|
|
244
|
+
args=[schedule_id],
|
|
246
245
|
id=job_id,
|
|
247
246
|
name=schedule_name,
|
|
248
247
|
max_instances=1,
|
|
@@ -323,7 +322,7 @@ class SchedulerService:
|
|
|
323
322
|
self.scheduler.add_job(
|
|
324
323
|
execute_scheduled_backup,
|
|
325
324
|
DateTrigger(run_date=now_utc()),
|
|
326
|
-
args=[schedule_id
|
|
325
|
+
args=[schedule_id],
|
|
327
326
|
id=job_id,
|
|
328
327
|
name=f"Manual run: {schedule_name}",
|
|
329
328
|
max_instances=1,
|
|
@@ -9,17 +9,19 @@ from apscheduler.triggers.date import DateTrigger
|
|
|
9
9
|
from httpx import AsyncClient
|
|
10
10
|
import pytest
|
|
11
11
|
import uuid
|
|
12
|
-
from unittest.mock import Mock, AsyncMock
|
|
12
|
+
from unittest.mock import Mock, AsyncMock, patch
|
|
13
13
|
from sqlalchemy.ext.asyncio import AsyncSession
|
|
14
14
|
|
|
15
15
|
from borgitory.main import app
|
|
16
16
|
from borgitory.models.database import Schedule, Repository
|
|
17
|
+
from borgitory.models.enums import JobType
|
|
18
|
+
from borgitory.models.job_results import JobCreationResult
|
|
17
19
|
from borgitory.services.scheduling.schedule_service import ScheduleService
|
|
18
20
|
from borgitory.services.scheduling.scheduler_service import (
|
|
19
21
|
SchedulerService,
|
|
20
22
|
execute_scheduled_backup,
|
|
21
23
|
)
|
|
22
|
-
from borgitory.dependencies import get_schedule_service
|
|
24
|
+
from borgitory.dependencies import get_schedule_service, get_scheduler_service_singleton
|
|
23
25
|
from borgitory.protocols.job_protocols import JobManagerProtocol
|
|
24
26
|
|
|
25
27
|
def create_test_scheduler_service(
|
|
@@ -321,7 +323,7 @@ class TestManualRunAPScheduler:
|
|
|
321
323
|
job = scheduler_service.scheduler.get_job(job_id)
|
|
322
324
|
assert job is not None
|
|
323
325
|
|
|
324
|
-
assert len(job.args) ==
|
|
326
|
+
assert len(job.args) == 1
|
|
325
327
|
assert job.args[0] == schedule_id
|
|
326
328
|
assert job.name == f"Manual run: {schedule_name}"
|
|
327
329
|
assert job.max_instances == 1
|
|
@@ -377,7 +379,7 @@ class TestManualRunAPScheduler:
|
|
|
377
379
|
await scheduler_service.stop()
|
|
378
380
|
|
|
379
381
|
async def test_scheduler_service_with_mock_dependencies(self) -> None:
|
|
380
|
-
"""Test scheduler service with properly mocked dependencies
|
|
382
|
+
"""Test scheduler service with properly mocked dependencies"""
|
|
381
383
|
# Create a mock job manager that tracks calls
|
|
382
384
|
mock_job_manager = Mock(spec=JobManagerProtocol)
|
|
383
385
|
test_job_id = uuid.uuid4()
|
|
@@ -411,7 +413,7 @@ class TestManualRunAPScheduler:
|
|
|
411
413
|
assert job is not None
|
|
412
414
|
assert job.name == f"Manual run: {schedule_name}"
|
|
413
415
|
# args should be (schedule_id, job_service) - two arguments
|
|
414
|
-
assert len(job.args) ==
|
|
416
|
+
assert len(job.args) == 1
|
|
415
417
|
assert job.args[0] == schedule_id
|
|
416
418
|
|
|
417
419
|
assert isinstance(job.trigger, DateTrigger)
|
|
@@ -419,3 +421,216 @@ class TestManualRunAPScheduler:
|
|
|
419
421
|
|
|
420
422
|
finally:
|
|
421
423
|
await scheduler_service.stop()
|
|
424
|
+
|
|
425
|
+
def test_scheduler_singleton_injects_resolved_job_manager_not_depends(self) -> None:
|
|
426
|
+
"""Singleton path must build JobService with resolved job_manager, not get_job_service().
|
|
427
|
+
|
|
428
|
+
If the singleton called get_job_service(), job_manager would be a Depends object
|
|
429
|
+
when called outside FastAPI, causing AttributeError on create_composite_job.
|
|
430
|
+
"""
|
|
431
|
+
scheduler = get_scheduler_service_singleton()
|
|
432
|
+
job_manager = scheduler.job_service.job_manager
|
|
433
|
+
|
|
434
|
+
assert hasattr(job_manager, "create_composite_job"), (
|
|
435
|
+
"job_manager must be a resolved JobManager with create_composite_job; "
|
|
436
|
+
"if it were from get_job_service() called directly, it would be a Depends object."
|
|
437
|
+
)
|
|
438
|
+
assert callable(job_manager.create_composite_job)
|
|
439
|
+
|
|
440
|
+
|
|
441
|
+
class TestExecuteScheduledBackup:
|
|
442
|
+
"""Tests for execute_scheduled_backup() behavior (DB lookup, last_run, job creation)."""
|
|
443
|
+
|
|
444
|
+
@pytest.fixture
|
|
445
|
+
def mock_schedule(self) -> Mock:
|
|
446
|
+
schedule = Mock(spec=Schedule)
|
|
447
|
+
schedule.id = 1
|
|
448
|
+
schedule.name = "Test Schedule"
|
|
449
|
+
schedule.repository_id = 10
|
|
450
|
+
schedule.source_path = "/data/backup"
|
|
451
|
+
schedule.cloud_sync_config_id = None
|
|
452
|
+
schedule.prune_config_id = 2
|
|
453
|
+
schedule.check_config_id = 3
|
|
454
|
+
schedule.notification_config_id = None
|
|
455
|
+
schedule.pre_job_hooks = None
|
|
456
|
+
schedule.post_job_hooks = None
|
|
457
|
+
schedule.patterns = None
|
|
458
|
+
schedule.last_run = None
|
|
459
|
+
return schedule
|
|
460
|
+
|
|
461
|
+
@pytest.fixture
|
|
462
|
+
def mock_repository(self) -> Mock:
|
|
463
|
+
repo = Mock()
|
|
464
|
+
repo.id = 10
|
|
465
|
+
repo.name = "test_repo"
|
|
466
|
+
return repo
|
|
467
|
+
|
|
468
|
+
def _make_mock_db_session(
|
|
469
|
+
self,
|
|
470
|
+
schedule_or_none: Mock | None,
|
|
471
|
+
) -> Mock:
|
|
472
|
+
mock_result = Mock()
|
|
473
|
+
mock_result.scalar_one_or_none.return_value = schedule_or_none
|
|
474
|
+
mock_db = Mock()
|
|
475
|
+
mock_db.execute = AsyncMock(return_value=mock_result)
|
|
476
|
+
mock_db.commit = AsyncMock()
|
|
477
|
+
mock_db.__aenter__ = AsyncMock(return_value=mock_db)
|
|
478
|
+
mock_db.__aexit__ = AsyncMock(return_value=None)
|
|
479
|
+
return mock_db
|
|
480
|
+
|
|
481
|
+
@pytest.mark.asyncio
|
|
482
|
+
async def test_execute_scheduled_backup_success(
|
|
483
|
+
self,
|
|
484
|
+
mock_schedule: Mock,
|
|
485
|
+
mock_repository: Mock,
|
|
486
|
+
) -> None:
|
|
487
|
+
mock_schedule.repository = mock_repository
|
|
488
|
+
mock_db = self._make_mock_db_session(mock_schedule)
|
|
489
|
+
job_id = uuid.uuid4()
|
|
490
|
+
mock_job_service = Mock()
|
|
491
|
+
mock_job_service.create_backup_job = AsyncMock(
|
|
492
|
+
return_value=JobCreationResult(job_id=job_id, status="started")
|
|
493
|
+
)
|
|
494
|
+
mock_scheduler = Mock()
|
|
495
|
+
mock_scheduler.job_service = mock_job_service
|
|
496
|
+
|
|
497
|
+
with (
|
|
498
|
+
patch(
|
|
499
|
+
"borgitory.dependencies.get_scheduler_service_singleton",
|
|
500
|
+
return_value=mock_scheduler,
|
|
501
|
+
),
|
|
502
|
+
patch(
|
|
503
|
+
"borgitory.models.database.async_session_maker",
|
|
504
|
+
) as mock_session_maker,
|
|
505
|
+
patch(
|
|
506
|
+
"borgitory.services.scheduling.scheduler_service.now_utc",
|
|
507
|
+
) as mock_now_utc,
|
|
508
|
+
):
|
|
509
|
+
from datetime import datetime, UTC
|
|
510
|
+
|
|
511
|
+
fixed_now = datetime.now(UTC)
|
|
512
|
+
mock_now_utc.return_value = fixed_now
|
|
513
|
+
mock_session_maker.return_value = mock_db
|
|
514
|
+
|
|
515
|
+
await execute_scheduled_backup(1)
|
|
516
|
+
|
|
517
|
+
assert mock_schedule.last_run == fixed_now
|
|
518
|
+
mock_db.commit.assert_called_once()
|
|
519
|
+
mock_job_service.create_backup_job.assert_called_once()
|
|
520
|
+
call_args = mock_job_service.create_backup_job.call_args
|
|
521
|
+
assert call_args.args[0] is mock_db
|
|
522
|
+
backup_request = call_args.args[1]
|
|
523
|
+
assert backup_request.repository_id == 10
|
|
524
|
+
assert backup_request.source_path == "/data/backup"
|
|
525
|
+
assert backup_request.prune_config_id == 2
|
|
526
|
+
assert backup_request.check_config_id == 3
|
|
527
|
+
assert call_args.args[2] == JobType.SCHEDULED_BACKUP
|
|
528
|
+
|
|
529
|
+
@pytest.mark.asyncio
|
|
530
|
+
async def test_execute_scheduled_backup_schedule_not_found(self) -> None:
|
|
531
|
+
mock_db = self._make_mock_db_session(None)
|
|
532
|
+
mock_job_service = Mock()
|
|
533
|
+
mock_job_service.create_backup_job = AsyncMock()
|
|
534
|
+
mock_scheduler = Mock()
|
|
535
|
+
mock_scheduler.job_service = mock_job_service
|
|
536
|
+
|
|
537
|
+
with (
|
|
538
|
+
patch(
|
|
539
|
+
"borgitory.dependencies.get_scheduler_service_singleton",
|
|
540
|
+
return_value=mock_scheduler,
|
|
541
|
+
),
|
|
542
|
+
patch(
|
|
543
|
+
"borgitory.models.database.async_session_maker",
|
|
544
|
+
) as mock_session_maker,
|
|
545
|
+
):
|
|
546
|
+
mock_session_maker.return_value = mock_db
|
|
547
|
+
|
|
548
|
+
await execute_scheduled_backup(999)
|
|
549
|
+
|
|
550
|
+
mock_job_service.create_backup_job.assert_not_called()
|
|
551
|
+
|
|
552
|
+
@pytest.mark.asyncio
|
|
553
|
+
async def test_execute_scheduled_backup_repository_not_found(
|
|
554
|
+
self,
|
|
555
|
+
mock_schedule: Mock,
|
|
556
|
+
) -> None:
|
|
557
|
+
mock_schedule.repository = None
|
|
558
|
+
mock_db = self._make_mock_db_session(mock_schedule)
|
|
559
|
+
mock_job_service = Mock()
|
|
560
|
+
mock_job_service.create_backup_job = AsyncMock()
|
|
561
|
+
mock_scheduler = Mock()
|
|
562
|
+
mock_scheduler.job_service = mock_job_service
|
|
563
|
+
|
|
564
|
+
with (
|
|
565
|
+
patch(
|
|
566
|
+
"borgitory.dependencies.get_scheduler_service_singleton",
|
|
567
|
+
return_value=mock_scheduler,
|
|
568
|
+
),
|
|
569
|
+
patch(
|
|
570
|
+
"borgitory.models.database.async_session_maker",
|
|
571
|
+
) as mock_session_maker,
|
|
572
|
+
):
|
|
573
|
+
mock_session_maker.return_value = mock_db
|
|
574
|
+
|
|
575
|
+
await execute_scheduled_backup(1)
|
|
576
|
+
|
|
577
|
+
mock_job_service.create_backup_job.assert_not_called()
|
|
578
|
+
|
|
579
|
+
@pytest.mark.asyncio
|
|
580
|
+
async def test_execute_scheduled_backup_create_job_returns_error(
|
|
581
|
+
self,
|
|
582
|
+
mock_schedule: Mock,
|
|
583
|
+
mock_repository: Mock,
|
|
584
|
+
) -> None:
|
|
585
|
+
mock_schedule.repository = mock_repository
|
|
586
|
+
mock_db = self._make_mock_db_session(mock_schedule)
|
|
587
|
+
mock_job_service = Mock()
|
|
588
|
+
error_result = Mock()
|
|
589
|
+
error_result.error = "Backup creation failed"
|
|
590
|
+
mock_job_service.create_backup_job = AsyncMock(return_value=error_result)
|
|
591
|
+
mock_scheduler = Mock()
|
|
592
|
+
mock_scheduler.job_service = mock_job_service
|
|
593
|
+
|
|
594
|
+
with (
|
|
595
|
+
patch(
|
|
596
|
+
"borgitory.dependencies.get_scheduler_service_singleton",
|
|
597
|
+
return_value=mock_scheduler,
|
|
598
|
+
),
|
|
599
|
+
patch(
|
|
600
|
+
"borgitory.models.database.async_session_maker",
|
|
601
|
+
) as mock_session_maker,
|
|
602
|
+
):
|
|
603
|
+
mock_session_maker.return_value = mock_db
|
|
604
|
+
|
|
605
|
+
await execute_scheduled_backup(1)
|
|
606
|
+
|
|
607
|
+
mock_job_service.create_backup_job.assert_called_once()
|
|
608
|
+
|
|
609
|
+
@pytest.mark.asyncio
|
|
610
|
+
async def test_execute_scheduled_backup_create_job_raises(
|
|
611
|
+
self,
|
|
612
|
+
mock_schedule: Mock,
|
|
613
|
+
mock_repository: Mock,
|
|
614
|
+
) -> None:
|
|
615
|
+
mock_schedule.repository = mock_repository
|
|
616
|
+
mock_db = self._make_mock_db_session(mock_schedule)
|
|
617
|
+
mock_job_service = Mock()
|
|
618
|
+
mock_job_service.create_backup_job = AsyncMock(
|
|
619
|
+
side_effect=RuntimeError("DB error")
|
|
620
|
+
)
|
|
621
|
+
mock_scheduler = Mock()
|
|
622
|
+
mock_scheduler.job_service = mock_job_service
|
|
623
|
+
|
|
624
|
+
with (
|
|
625
|
+
patch(
|
|
626
|
+
"borgitory.dependencies.get_scheduler_service_singleton",
|
|
627
|
+
return_value=mock_scheduler,
|
|
628
|
+
),
|
|
629
|
+
patch(
|
|
630
|
+
"borgitory.models.database.async_session_maker",
|
|
631
|
+
) as mock_session_maker,
|
|
632
|
+
):
|
|
633
|
+
mock_session_maker.return_value = mock_db
|
|
634
|
+
|
|
635
|
+
with pytest.raises(RuntimeError, match="DB error"):
|
|
636
|
+
await execute_scheduled_backup(1)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/protocols/job_database_manager_protocol.py
RENAMED
|
File without changes
|
{borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/protocols/job_event_broadcaster_protocol.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/services/borg/borg_pattern_validation_service.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/services/cloud_providers/cloud_sync_service.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/services/cloud_providers/registry_factory.py
RENAMED
|
File without changes
|
{borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/services/cloud_providers/storage/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/services/cloud_providers/storage/s3_storage.py
RENAMED
|
File without changes
|
{borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/services/cloud_providers/storage/sftp_storage.py
RENAMED
|
File without changes
|
{borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/services/cloud_providers/storage/smb_storage.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{borgitory-2.6.1 → borgitory-2.6.3}/src/borgitory/services/command_execution/wsl_command_executor.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|