borgitory 2.7.1__tar.gz → 2.8.0__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.7.1 → borgitory-2.8.0}/PKG-INFO +7 -2
- {borgitory-2.7.1 → borgitory-2.8.0}/README.md +1 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/pyproject.toml +21 -9
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/api/auth.py +4 -10
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/api/cloud_sync/cloud_sync.py +31 -12
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/api/repositories.py +3 -3
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/api/schedules.py +7 -7
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/constants/retention.py +2 -2
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/dependencies.py +30 -67
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/models/borg_info.py +2 -2
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/models/database.py +2 -3
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/models/schemas.py +3 -3
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/protocols/path_protocols.py +10 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/services/archives/archive_manager.py +14 -7
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/services/borg_service.py +4 -1
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/services/cloud_providers/cloud_sync_service.py +2 -4
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/services/cloud_providers/registry.py +2 -2
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/services/cloud_providers/storage/__init__.py +8 -0
- borgitory-2.8.0/src/borgitory/services/cloud_providers/storage/base.py +119 -0
- borgitory-2.8.0/src/borgitory/services/cloud_providers/storage/pcloud_storage.py +360 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/services/cloud_providers/storage/s3_storage.py +63 -63
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/services/cloud_providers/storage/sftp_storage.py +15 -55
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/services/cloud_providers/storage/smb_storage.py +16 -60
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/services/cloud_sync_config_service.py +13 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/services/command_execution/command_executor_factory.py +11 -4
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/services/command_execution/linux_command_executor.py +18 -1
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/services/cron_description_service.py +1 -1
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/services/files/file_service_factory.py +11 -4
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/services/jobs/broadcaster/job_event_broadcaster.py +1 -1
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/services/jobs/task_executors/notification_task_executor.py +1 -1
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/services/migrations/migration_service.py +1 -1
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/services/notifications/service.py +1 -1
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/services/path/path_service_factory.py +1 -1
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/services/path/platform_service.py +12 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/services/repositories/repository_service.py +2 -2
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/services/repositories/repository_stats_service.py +1 -1
- borgitory-2.8.0/src/borgitory/services/scheduling/cron_utils.py +99 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/services/scheduling/hook_service.py +4 -4
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/services/scheduling/pattern_service.py +2 -2
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/services/scheduling/schedule_service.py +4 -3
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/services/scheduling/scheduler_service.py +4 -1
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/services/system/system_operations.py +1 -1
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/index.html +7 -9
- borgitory-2.8.0/src/borgitory/templates/partials/cloud_sync/providers/pcloud/pcloud_fields.html +53 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/cloud_sync/providers/s3/s3_endpoint_field.html +2 -1
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/cloud_sync/providers/s3/s3_fields.html +25 -26
- borgitory-2.8.0/src/borgitory/templates/partials/cloud_sync/providers/s3/s3_region_options.html +19 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/cloud_sync/providers/s3/s3_storage_class_options.html +4 -4
- borgitory-2.7.1/src/borgitory/templates/partials/cloud_sync/providers/sftp/sftp_fields_edit.html → borgitory-2.8.0/src/borgitory/templates/partials/cloud_sync/providers/sftp/sftp_fields.html +16 -14
- borgitory-2.7.1/src/borgitory/templates/partials/cloud_sync/providers/smb/smb_fields_edit.html → borgitory-2.8.0/src/borgitory/templates/partials/cloud_sync/providers/smb/smb_fields.html +15 -16
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/statistics/tab.html +1 -1
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/utils/datetime_utils.py +3 -3
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/utils/secure_path.py +2 -2
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/utils/security.py +10 -5
- borgitory-2.8.0/tests/conftest.py +100 -0
- borgitory-2.8.0/tests/e2e/__init__.py +1 -0
- borgitory-2.8.0/tests/e2e/cloud_providers/test_cloud_providers.py +116 -0
- borgitory-2.8.0/tests/e2e/conftest.py +91 -0
- borgitory-2.8.0/tests/e2e/pytest.e2e.ini +2 -0
- borgitory-2.8.0/tests/e2e/test_navigation.py +76 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/tests/fixtures/registry_fixtures.py +2 -3
- {borgitory-2.7.1/tests → borgitory-2.8.0/tests/integration}/archives/test_archive_browser_htmx.py +1 -0
- {borgitory-2.7.1/tests → borgitory-2.8.0/tests/integration}/cloud_sync/test_cloud_sync_api.py +6 -4
- borgitory-2.8.0/tests/integration/conftest.py +218 -0
- borgitory-2.8.0/tests/integration/jobs/__init__.py +0 -0
- {borgitory-2.7.1/tests → borgitory-2.8.0/tests/integration}/jobs/test_jobs_api_sse.py +0 -1
- borgitory-2.8.0/tests/integration/notifications/__init__.py +0 -0
- {borgitory-2.7.1/tests → borgitory-2.8.0/tests/integration}/notifications/test_notification_edit_integration.py +4 -1
- borgitory-2.8.0/tests/integration/packages/__init__.py +0 -0
- borgitory-2.8.0/tests/integration/repositories/__init__.py +0 -0
- {borgitory-2.7.1/tests → borgitory-2.8.0/tests/integration}/repositories/test_repository_management_api.py +24 -24
- {borgitory-2.7.1/tests → borgitory-2.8.0/tests/integration}/repositories/test_repository_stats_html.py +7 -6
- borgitory-2.8.0/tests/integration/schedules/__init__.py +0 -0
- {borgitory-2.7.1/tests → borgitory-2.8.0/tests/integration}/schedules/test_manual_run_apscheduler.py +3 -2
- {borgitory-2.7.1/tests → borgitory-2.8.0/tests/integration}/schedules/test_schedule_creation_api.py +4 -4
- {borgitory-2.7.1/tests → borgitory-2.8.0/tests/integration}/schedules/test_schedules_api.py +4 -4
- {borgitory-2.7.1/tests → borgitory-2.8.0/tests/integration}/schedules/test_schedules_hooks_api.py +2 -2
- {borgitory-2.7.1/tests → borgitory-2.8.0/tests/integration}/schedules/test_schedules_patterns_api.py +2 -2
- {borgitory-2.7.1 → borgitory-2.8.0}/tests/integration/test_app_startup.py +42 -36
- {borgitory-2.7.1/tests → borgitory-2.8.0/tests/integration}/test_jobs_api.py +4 -4
- {borgitory-2.7.1/tests → borgitory-2.8.0/tests/integration}/test_tabs_api.py +16 -37
- borgitory-2.8.0/tests/unit/__init__.py +0 -0
- borgitory-2.8.0/tests/unit/archives/__init__.py +0 -0
- {borgitory-2.7.1/tests → borgitory-2.8.0/tests/unit}/archives/test_archive_manager.py +132 -2
- {borgitory-2.7.1/tests → borgitory-2.8.0/tests/unit}/archives/test_archive_manager_caching.py +58 -42
- borgitory-2.8.0/tests/unit/borg/__init__.py +0 -0
- borgitory-2.8.0/tests/unit/cloud_providers/__init__.py +0 -0
- borgitory-2.8.0/tests/unit/cloud_providers/test_pcloud_storage.py +242 -0
- {borgitory-2.7.1/tests → borgitory-2.8.0/tests/unit}/cloud_providers/test_provider_validation.py +2 -0
- {borgitory-2.7.1/tests → borgitory-2.8.0/tests/unit}/cloud_providers/test_registry_integration.py +5 -6
- borgitory-2.8.0/tests/unit/command_execution/__init__.py +0 -0
- borgitory-2.8.0/tests/unit/factories/__init__.py +0 -0
- borgitory-2.8.0/tests/unit/hooks/__init__.py +0 -0
- {borgitory-2.7.1/tests → borgitory-2.8.0/tests/unit}/hooks/test_job_manager_critical_hooks.py +1 -3
- borgitory-2.8.0/tests/unit/jobs/__init__.py +0 -0
- borgitory-2.8.0/tests/unit/jobs/test_database_integration.py +0 -0
- {borgitory-2.7.1/tests → borgitory-2.8.0/tests/unit}/jobs/test_job_stream_service.py +2 -2
- borgitory-2.8.0/tests/unit/notifications/__init__.py +0 -0
- borgitory-2.8.0/tests/unit/packages/__init__.py +0 -0
- borgitory-2.8.0/tests/unit/path/test_platform_service_macos.py +81 -0
- borgitory-2.8.0/tests/unit/protocols/__init__.py +0 -0
- {borgitory-2.7.1/tests → borgitory-2.8.0/tests/unit}/protocols/test_simple_command_runner_protocol.py +1 -1
- borgitory-2.8.0/tests/unit/repositories/__init__.py +0 -0
- borgitory-2.8.0/tests/unit/schedules/__init__.py +0 -0
- {borgitory-2.7.1/tests → borgitory-2.8.0/tests/unit}/schedules/test_next_run_update.py +1 -3
- {borgitory-2.7.1/tests → borgitory-2.8.0/tests/unit}/schedules/test_schedule_service.py +9 -0
- {borgitory-2.7.1/tests → borgitory-2.8.0/tests/unit}/schedules/test_schedule_validation_service.py +3 -0
- borgitory-2.8.0/tests/unit/scheduling/__init__.py +0 -0
- borgitory-2.8.0/tests/unit/scheduling/test_cron_utils.py +76 -0
- borgitory-2.8.0/tests/unit/services/__init__.py +0 -0
- borgitory-2.8.0/tests/unit/services/migrations/__init__.py +0 -0
- borgitory-2.8.0/tests/unit/templates/__init__.py +0 -0
- {borgitory-2.7.1/tests → borgitory-2.8.0/tests/unit}/templates/test_current_jobs_template.py +4 -1
- borgitory-2.8.0/tests/unit/test_cache_dir_functionality.py +0 -0
- borgitory-2.8.0/tests/unit/test_cache_dir_normalization.py +0 -0
- {borgitory-2.7.1/tests → borgitory-2.8.0/tests/unit}/test_job_manager_proper_di.py +6 -3
- borgitory-2.8.0/tests/unit/test_secure_borg_command_env.py +31 -0
- borgitory-2.8.0/tests/unit/utils/__init__.py +0 -0
- {borgitory-2.7.1/tests → borgitory-2.8.0/tests/unit}/utils/test_path_prefix.py +2 -2
- borgitory-2.7.1/src/borgitory/services/cloud_providers/storage/base.py +0 -97
- borgitory-2.7.1/src/borgitory/templates/partials/cloud_sync/providers/s3/s3_region_options.html +0 -14
- borgitory-2.7.1/src/borgitory/templates/partials/cloud_sync/providers/sftp/sftp_fields.html +0 -72
- borgitory-2.7.1/src/borgitory/templates/partials/cloud_sync/providers/smb/smb_fields.html +0 -143
- borgitory-2.7.1/tests/cloud_providers/__init__.py +0 -1
- borgitory-2.7.1/tests/conftest.py +0 -291
- borgitory-2.7.1/tests/factories/__init__.py +0 -3
- borgitory-2.7.1/tests/hooks/__init__.py +0 -3
- borgitory-2.7.1/tests/integration/conftest.py +0 -86
- borgitory-2.7.1/tests/protocols/__init__.py +0 -6
- borgitory-2.7.1/tests/services/__init__.py +0 -1
- borgitory-2.7.1/tests/services/migrations/__init__.py +0 -1
- {borgitory-2.7.1 → borgitory-2.8.0}/.gitignore +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/LICENSE +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/__init__.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/alembic/README +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/alembic/env.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/alembic/script.py.mako +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/alembic/versions/02b7b29d38c0_add_encryption_type_and_keyfile_content_.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/alembic/versions/18b9095bc772_add_patterns_column_to_schedules_table.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/alembic/versions/1d47e9231dd0_rename_cleanup_to_prune.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/alembic/versions/2628b151e709_make_passphrase_optional.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/alembic/versions/3335c0eac68e_create_initial_schema.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/alembic/versions/5e6cc17d11a5_user_installed_packages.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/alembic/versions/78c9fff46e06_add_compact_after_field_to_pruneconfig.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/alembic/versions/9b5d5f5e8cbc_add_pre_post_job_hooks_to_schedule.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/alembic/versions/9e4c8456ea53_add_cache_dir_field_to_repositories_.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/alembic/versions/9f06f8c8088d_initial_empty_state.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/alembic/versions/d294fdc9a5e7_fix_uuid_columns_for_sqlite.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/alembic/versions/eb3518e71c73_add_more_prune_settings_to_cleanup_.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/alembic.ini +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/api/__init__.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/api/backups.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/api/cancel_on_disconnect.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/api/cloud_sync/__init__.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/api/cloud_sync/s3.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/api/debug.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/api/jobs.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/api/notifications.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/api/packages.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/api/prune.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/api/repository_check_configs.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/api/repository_stats.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/api/shared.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/api/tabs.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/cli.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/config/__init__.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/config/command_runner_config.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/config/job_manager_config.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/config_module.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/constants/__init__.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/custom_types.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/factories/__init__.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/factories/service_factory.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/main.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/models/__init__.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/models/enums.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/models/job_results.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/models/patterns.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/models/repository_dtos.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/protocols/__init__.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/protocols/archive_manager_protocol.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/protocols/cloud_protocols.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/protocols/command_executor_protocol.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/protocols/command_protocols.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/protocols/environment_protocol.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/protocols/file_protocols.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/protocols/job_database_manager_protocol.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/protocols/job_event_broadcaster_protocol.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/protocols/job_output_manager_protocol.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/protocols/job_protocols.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/protocols/job_queue_manager_protocol.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/protocols/notification_protocols.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/protocols/repository_protocols.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/protocols/storage_protocols.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/protocols/system_protocol.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/py.typed +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/services/__init__.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/services/archives/archive_models.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/services/borg/borg_pattern_validation_service.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/services/borg/shell_pattern.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/services/cloud_providers/__init__.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/services/cloud_providers/orchestration.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/services/cloud_providers/registry_factory.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/services/cloud_providers/storage/s3_provider_config.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/services/cloud_providers/types.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/services/command_execution/__init__.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/services/command_execution/wsl_command_executor.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/services/configuration_service.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/services/debug_service.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/services/encryption_service.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/services/files/linux_file_service.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/services/files/wsl_file_service.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/services/hooks/__init__.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/services/hooks/hook_config.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/services/hooks/hook_execution_service.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/services/jobs/broadcaster/event_type.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/services/jobs/broadcaster/job_event.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/services/jobs/job_database_manager.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/services/jobs/job_executor.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/services/jobs/job_manager.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/services/jobs/job_manager_factory.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/services/jobs/job_models.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/services/jobs/job_output_manager.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/services/jobs/job_queue_manager.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/services/jobs/job_render_service.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/services/jobs/job_service.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/services/jobs/job_stream_service.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/services/jobs/task_executors/__init__.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/services/jobs/task_executors/backup_task_executor.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/services/jobs/task_executors/check_task_executor.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/services/jobs/task_executors/cloud_sync_task_executor.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/services/jobs/task_executors/compact_task_executor.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/services/jobs/task_executors/hook_task_executor.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/services/jobs/task_executors/prune_task_executor.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/services/migrations/__init__.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/services/migrations/migration_factory.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/services/notifications/__init__.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/services/notifications/config_service.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/services/notifications/providers/__init__.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/services/notifications/providers/base.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/services/notifications/providers/discord_provider.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/services/notifications/providers/pushover_provider.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/services/notifications/providers/telegram_provider.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/services/notifications/registry.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/services/notifications/registry_factory.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/services/notifications/types.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/services/package_manager_service.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/services/path/__init__.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/services/path/path_service.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/services/prune_service.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/services/rclone_service.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/services/rclone_types.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/services/recovery_service.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/services/repositories/repository_check_config_service.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/services/simple_command_runner.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/services/startup/package_restoration_service.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/services/system/__init__.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/services/task_definition_builder.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/services/upcoming_backups_service.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/services/volumes/file_system_interface.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/services/volumes/os_file_system.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/static/css/modern-components.css +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/static/css/tailwind-input.css +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/static/favicon/android-chrome-192x192.png +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/static/favicon/android-chrome-512x512.png +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/static/favicon/apple-touch-icon.png +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/static/favicon/favicon-16x16.png +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/static/favicon/favicon-32x32.png +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/static/favicon/favicon.ico +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/static/favicon/site.webmanifest +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/static/js/app.js +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/static/js/components/jobs.js +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/static/js/components/navigation.js +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/static/vendor/chart.min.js +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/static/vendor/htmx-ext-json-enc.js +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/static/vendor/htmx-ext-sse.js +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/static/vendor/htmx.min.js +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/base.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/login.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/macros/datetime.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/archives/contents_modal.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/archives/directory_contents.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/archives/directory_loading_state.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/archives/directory_loading_with_trigger.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/archives/empty_state.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/archives/error_message.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/archives/list_content.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/archives/loading_state.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/archives/loading_with_trigger.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/archives/repository_selector.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/archives/tab.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/auth/login_error.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/auth/login_form_active.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/auth/login_success.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/auth/register_error.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/auth/register_form_active.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/auth/register_success.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/backups/manual_form.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/backups/operations.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/backups/tab.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/cloud_sync/action_error.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/cloud_sync/action_success.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/cloud_sync/config_list_content.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/cloud_sync/create_error.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/cloud_sync/create_success.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/cloud_sync/form.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/cloud_sync/list.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/cloud_sync/provider_fields.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/cloud_sync/providers/s3/s3_provider_options.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/cloud_sync/tab.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/cloud_sync/test_error.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/cloud_sync/test_success.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/cloud_sync/test_warning.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/cloud_sync/update_error.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/cloud_sync/update_success.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/common/error_message.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/debug/debug_panel.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/debug/tab.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/jobs/backup_error.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/jobs/backup_success.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/jobs/current_jobs_list.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/jobs/empty_state.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/jobs/error_state.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/jobs/job_details_static.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/jobs/job_details_streaming.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/jobs/job_item.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/jobs/job_stop_error.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/jobs/job_stop_success.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/jobs/tab.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/jobs/task_item_static.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/jobs/task_item_streaming.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/navigation.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/navigation_nav.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/notifications/action_error.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/notifications/action_success.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/notifications/add_form.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/notifications/config_list_content.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/notifications/create_error.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/notifications/create_success.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/notifications/edit_form.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/notifications/list.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/notifications/providers/discord_fields.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/notifications/providers/pushover_fields.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/notifications/providers/telegram_fields.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/notifications/tab.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/notifications/test_error.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/notifications/test_success.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/notifications/update_error.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/notifications/update_success.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/packages/empty_search.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/packages/error.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/packages/install_error.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/packages/install_success.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/packages/installed_list.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/packages/package_manager.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/packages/remove_error.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/packages/remove_success.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/packages/search_error.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/packages/search_results.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/packages/selected_packages.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/packages/tab.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/prune/action_error.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/prune/action_success.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/prune/config_form.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/prune/config_form_error.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/prune/config_form_success.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/prune/config_list_content.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/prune/create_error.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/prune/create_success.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/prune/delete_error.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/prune/delete_success.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/prune/form.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/prune/policies.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/prune/prune_error.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/prune/prune_success.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/prune/retention_fields.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/prune/strategy_fields.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/prune/tab.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/prune/update_error.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/prune/update_success.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/repositories/create/form_create.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/repositories/create/form_create_error.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/repositories/create/form_create_success.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/repositories/create/form_update_error.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/repositories/create/form_update_success.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/repositories/create/passphrase_field.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/repositories/delete_success.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/repositories/import/encryption_fields.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/repositories/import/form_import.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/repositories/import/form_import_error.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/repositories/import/form_import_success.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/repositories/list.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/repositories/list_content.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/repositories/modal/borg_info.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/repositories/modal/break_lock_button.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/repositories/modal/break_lock_button_modal.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/repositories/modal/details_modal.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/repositories/modal/lock_status.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/repositories/tab.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/repository_check/action_error.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/repository_check/action_success.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/repository_check/check_error.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/repository_check/check_success.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/repository_check/config_list_content.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/repository_check/create_error.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/repository_check/create_form.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/repository_check/create_success.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/repository_check/custom_options.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/repository_check/delete_error.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/repository_check/delete_success.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/repository_check/dynamic_options.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/repository_check/edit_form.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/repository_check/form.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/repository_check/tab.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/repository_check/update_error.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/repository_check/update_success.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/repository_stats/stats_panel.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/schedules/create_error.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/schedules/create_form.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/schedules/create_success.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/schedules/cron_description.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/schedules/cron_expression_form.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/schedules/delete_error.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/schedules/delete_success.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/schedules/edit_form.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/schedules/hooks/hook_field_modal.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/schedules/hooks/hooks_container.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/schedules/hooks/hooks_edit_content.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/schedules/hooks/hooks_modal.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/schedules/hooks/hooks_save_response.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/schedules/hooks/hooks_validation_error.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/schedules/list.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/schedules/patterns/pattern_field_modal.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/schedules/patterns/pattern_validation_result.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/schedules/patterns/patterns_container.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/schedules/patterns/patterns_modal.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/schedules/patterns/patterns_save_response.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/schedules/patterns/patterns_validation_error.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/schedules/patterns/patterns_validation_results.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/schedules/run_success.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/schedules/schedule_list_content.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/schedules/tab.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/schedules/upcoming.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/schedules/upcoming_backups_content.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/schedules/update_error.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/schedules/update_success.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/shared/notification.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/shared/package_autocomplete.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/shared/path_autocomplete.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/shared/path_autocomplete_dropdown.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/shared/path_autocomplete_loading.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/statistics/empty_state.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/statistics/loading_state.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/templates/partials/statistics/repository_selector.html +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/utils/__init__.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/utils/path_prefix.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/utils/template_paths.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/src/borgitory/utils/template_responses.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/tests/__init__.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/tests/fixtures/__init__.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/tests/fixtures/job_fixtures.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/tests/integration/__init__.py +0 -0
- /borgitory-2.7.1/tests/jobs/test_database_integration.py → /borgitory-2.8.0/tests/integration/archives/__init__.py +0 -0
- /borgitory-2.7.1/tests/test_cache_dir_functionality.py → /borgitory-2.8.0/tests/integration/auth/__init__.py +0 -0
- {borgitory-2.7.1/tests → borgitory-2.8.0/tests/integration}/auth/test_auth_htmx.py +0 -0
- {borgitory-2.7.1/tests → borgitory-2.8.0/tests/integration}/auth/test_auth_redirect_flow.py +0 -0
- {borgitory-2.7.1/tests → borgitory-2.8.0/tests/integration}/auth/test_main_login_page.py +0 -0
- /borgitory-2.7.1/tests/test_cache_dir_normalization.py → /borgitory-2.8.0/tests/integration/cloud_sync/__init__.py +0 -0
- {borgitory-2.7.1/tests → borgitory-2.8.0/tests/integration}/cloud_sync/test_s3_api.py +0 -0
- {borgitory-2.7.1/tests → borgitory-2.8.0/tests/integration}/jobs/test_job_stop_api_simple.py +0 -0
- {borgitory-2.7.1/tests → borgitory-2.8.0/tests/integration}/jobs/test_job_stop_integration.py +0 -0
- {borgitory-2.7.1/tests → borgitory-2.8.0/tests/integration}/notifications/test_notification_configs_api.py +0 -0
- {borgitory-2.7.1/tests → borgitory-2.8.0/tests/integration}/packages/test_package_selection_endpoints.py +0 -0
- {borgitory-2.7.1/tests → borgitory-2.8.0/tests/integration}/repositories/test_repositories_api.py +0 -0
- {borgitory-2.7.1/tests → borgitory-2.8.0/tests/integration}/repositories/test_repository_check_configs_api.py +0 -0
- {borgitory-2.7.1/tests → borgitory-2.8.0/tests/integration}/schedules/test_cron_description_api.py +0 -0
- {borgitory-2.7.1/tests → borgitory-2.8.0/tests/integration}/schedules/test_cron_description_htmx_api.py +0 -0
- {borgitory-2.7.1/tests → borgitory-2.8.0/tests/integration}/test_backups_api.py +0 -0
- {borgitory-2.7.1/tests → borgitory-2.8.0/tests/integration}/test_basic.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/tests/integration/test_basic_endpoints.py +0 -0
- {borgitory-2.7.1/tests → borgitory-2.8.0/tests/integration}/test_di_testing_infrastructure.py +0 -0
- {borgitory-2.7.1/tests → borgitory-2.8.0/tests/integration}/test_prune_api.py +0 -0
- {borgitory-2.7.1/tests → borgitory-2.8.0/tests/integration}/test_repository_archives_navigation.py +0 -0
- {borgitory-2.7.1/tests → borgitory-2.8.0/tests/unit}/borg/test_borg_service_core.py +0 -0
- {borgitory-2.7.1/tests → borgitory-2.8.0/tests/unit}/cloud_providers/test_display_details.py +0 -0
- {borgitory-2.7.1/tests → borgitory-2.8.0/tests/unit}/cloud_providers/test_orchestration.py +0 -0
- {borgitory-2.7.1/tests → borgitory-2.8.0/tests/unit}/cloud_providers/test_registry.py +0 -0
- {borgitory-2.7.1/tests → borgitory-2.8.0/tests/unit}/cloud_providers/test_s3_provider_config.py +0 -0
- {borgitory-2.7.1/tests → borgitory-2.8.0/tests/unit}/cloud_providers/test_schema_validation.py +0 -0
- {borgitory-2.7.1/tests → borgitory-2.8.0/tests/unit}/cloud_providers/test_service.py +0 -0
- {borgitory-2.7.1/tests → borgitory-2.8.0/tests/unit}/cloud_providers/test_smb_storage.py +0 -0
- {borgitory-2.7.1/tests → borgitory-2.8.0/tests/unit}/cloud_providers/test_storage.py +0 -0
- {borgitory-2.7.1/tests → borgitory-2.8.0/tests/unit}/cloud_providers/test_types.py +0 -0
- {borgitory-2.7.1/tests → borgitory-2.8.0/tests/unit}/command_execution/test_linux_command_executor.py +0 -0
- {borgitory-2.7.1/tests → borgitory-2.8.0/tests/unit}/command_execution/test_wsl_command_executor.py +0 -0
- {borgitory-2.7.1/tests → borgitory-2.8.0/tests/unit}/factories/test_service_factory.py +0 -0
- {borgitory-2.7.1/tests → borgitory-2.8.0/tests/unit}/hooks/test_api_critical_hooks.py +0 -0
- {borgitory-2.7.1/tests → borgitory-2.8.0/tests/unit}/hooks/test_composite_job_critical_failure.py +0 -0
- {borgitory-2.7.1/tests → borgitory-2.8.0/tests/unit}/hooks/test_critical_hook_config.py +0 -0
- {borgitory-2.7.1/tests → borgitory-2.8.0/tests/unit}/hooks/test_critical_hook_execution.py +0 -0
- {borgitory-2.7.1/tests → borgitory-2.8.0/tests/unit}/hooks/test_hook_config.py +0 -0
- {borgitory-2.7.1/tests → borgitory-2.8.0/tests/unit}/hooks/test_hook_execution_service.py +0 -0
- {borgitory-2.7.1/tests → borgitory-2.8.0/tests/unit}/hooks/test_notification_messages_hooks.py +0 -0
- {borgitory-2.7.1/tests → borgitory-2.8.0/tests/unit}/hooks/test_task_definition_integration.py +0 -0
- {borgitory-2.7.1/tests → borgitory-2.8.0/tests/unit}/jobs/conftest.py +0 -0
- {borgitory-2.7.1/tests → borgitory-2.8.0/tests/unit}/jobs/test_compact_task_executor.py +0 -0
- {borgitory-2.7.1/tests → borgitory-2.8.0/tests/unit}/jobs/test_ignore_lock_functionality.py +0 -0
- {borgitory-2.7.1/tests → borgitory-2.8.0/tests/unit}/jobs/test_job_database_manager.py +0 -0
- {borgitory-2.7.1/tests → borgitory-2.8.0/tests/unit}/jobs/test_job_event_broadcaster.py +0 -0
- {borgitory-2.7.1/tests → borgitory-2.8.0/tests/unit}/jobs/test_job_executor.py +0 -0
- {borgitory-2.7.1/tests → borgitory-2.8.0/tests/unit}/jobs/test_job_executor_comprehensive.py +0 -0
- {borgitory-2.7.1/tests → borgitory-2.8.0/tests/unit}/jobs/test_job_manager.py +0 -0
- {borgitory-2.7.1/tests → borgitory-2.8.0/tests/unit}/jobs/test_job_manager_comprehensive.py +0 -0
- {borgitory-2.7.1/tests → borgitory-2.8.0/tests/unit}/jobs/test_job_manager_factory.py +0 -0
- {borgitory-2.7.1/tests → borgitory-2.8.0/tests/unit}/jobs/test_job_manager_stop.py +0 -0
- {borgitory-2.7.1/tests → borgitory-2.8.0/tests/unit}/jobs/test_job_manager_task_execution.py +0 -0
- {borgitory-2.7.1/tests → borgitory-2.8.0/tests/unit}/jobs/test_job_output_manager.py +0 -0
- {borgitory-2.7.1/tests → borgitory-2.8.0/tests/unit}/jobs/test_job_render_service_coverage.py +0 -0
- {borgitory-2.7.1/tests → borgitory-2.8.0/tests/unit}/jobs/test_job_render_service_new_architecture.py +0 -0
- {borgitory-2.7.1/tests → borgitory-2.8.0/tests/unit}/jobs/test_job_service.py +0 -0
- {borgitory-2.7.1/tests → borgitory-2.8.0/tests/unit}/jobs/test_job_stop_functionality.py +0 -0
- {borgitory-2.7.1/tests → borgitory-2.8.0/tests/unit}/jobs/test_job_stop_service.py +0 -0
- {borgitory-2.7.1/tests → borgitory-2.8.0/tests/unit}/jobs/test_sse_multiline_formatting.py +0 -0
- {borgitory-2.7.1/tests → borgitory-2.8.0/tests/unit}/notifications/test_discord_provider.py +0 -0
- {borgitory-2.7.1/tests → borgitory-2.8.0/tests/unit}/notifications/test_notification_config_service.py +0 -0
- {borgitory-2.7.1/tests → borgitory-2.8.0/tests/unit}/notifications/test_pushover_provider.py +0 -0
- {borgitory-2.7.1/tests → borgitory-2.8.0/tests/unit}/notifications/test_telegram_provider.py +0 -0
- {borgitory-2.7.1/tests → borgitory-2.8.0/tests/unit}/packages/test_package_database_integration.py +0 -0
- {borgitory-2.7.1/tests → borgitory-2.8.0/tests/unit}/packages/test_package_manager_service.py +0 -0
- {borgitory-2.7.1/tests → borgitory-2.8.0/tests/unit}/protocols/protocol_testing_utils.py +0 -0
- {borgitory-2.7.1/tests → borgitory-2.8.0/tests/unit}/protocols/test_protocol_compliance.py +0 -0
- {borgitory-2.7.1/tests → borgitory-2.8.0/tests/unit}/repositories/test_repository_check_config_service.py +0 -0
- {borgitory-2.7.1/tests → borgitory-2.8.0/tests/unit}/repositories/test_repository_management_service.py +0 -0
- {borgitory-2.7.1/tests → borgitory-2.8.0/tests/unit}/repositories/test_repository_service.py +0 -0
- {borgitory-2.7.1/tests → borgitory-2.8.0/tests/unit}/repositories/test_repository_stats_service_unit.py +0 -0
- {borgitory-2.7.1/tests → borgitory-2.8.0/tests/unit}/schedules/test_scheduler_service.py +0 -0
- {borgitory-2.7.1/tests → borgitory-2.8.0/tests/unit}/schedules/test_validate_patterns_json.py +0 -0
- {borgitory-2.7.1/tests → borgitory-2.8.0/tests/unit}/scheduling/test_hook_service.py +0 -0
- {borgitory-2.7.1/tests → borgitory-2.8.0/tests/unit}/scheduling/test_pattern_service.py +0 -0
- {borgitory-2.7.1/tests → borgitory-2.8.0/tests/unit}/services/migrations/test_migration_service.py +0 -0
- {borgitory-2.7.1/tests → borgitory-2.8.0/tests/unit}/services/test_borg_pattern_validation_service.py +0 -0
- {borgitory-2.7.1/tests → borgitory-2.8.0/tests/unit}/test_cron_description_service.py +0 -0
- {borgitory-2.7.1/tests → borgitory-2.8.0/tests/unit}/test_database_models.py +0 -0
- {borgitory-2.7.1/tests → borgitory-2.8.0/tests/unit}/test_datetime_utils.py +0 -0
- {borgitory-2.7.1/tests → borgitory-2.8.0/tests/unit}/test_debug_service.py +0 -0
- {borgitory-2.7.1/tests → borgitory-2.8.0/tests/unit}/test_dependencies.py +0 -0
- {borgitory-2.7.1/tests → borgitory-2.8.0/tests/unit}/test_path_service.py +0 -0
- {borgitory-2.7.1/tests → borgitory-2.8.0/tests/unit}/test_prune_service.py +0 -0
- {borgitory-2.7.1/tests → borgitory-2.8.0/tests/unit}/test_recovery_service.py +0 -0
- {borgitory-2.7.1/tests → borgitory-2.8.0/tests/unit}/test_retention_constants.py +0 -0
- {borgitory-2.7.1/tests → borgitory-2.8.0/tests/unit}/test_secure_path_comprehensive.py +0 -0
- {borgitory-2.7.1/tests → borgitory-2.8.0/tests/unit}/test_simple_command_runner.py +0 -0
- {borgitory-2.7.1/tests → borgitory-2.8.0/tests/unit}/test_streaming_edge_cases.py +0 -0
- {borgitory-2.7.1/tests → borgitory-2.8.0/tests/unit}/test_streaming_fixes.py +0 -0
- {borgitory-2.7.1/tests → borgitory-2.8.0/tests/unit}/test_task_definition_builder.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/tests/utils/__init__.py +0 -0
- {borgitory-2.7.1 → borgitory-2.8.0}/tests/utils/di_testing.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: borgitory
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.8.0
|
|
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
|
|
@@ -45,23 +45,27 @@ Requires-Dist: alembic>=1.18.2
|
|
|
45
45
|
Requires-Dist: apscheduler>=3.11.2
|
|
46
46
|
Requires-Dist: bcrypt>=5.0.0
|
|
47
47
|
Requires-Dist: cron-descriptor>=2.0.6
|
|
48
|
-
Requires-Dist: cryptography>=46.0.
|
|
48
|
+
Requires-Dist: cryptography>=46.0.5
|
|
49
49
|
Requires-Dist: docker>=7.1.0
|
|
50
50
|
Requires-Dist: fastapi>=0.128.4
|
|
51
|
+
Requires-Dist: greenlet>=3.2.0
|
|
51
52
|
Requires-Dist: jinja2>=3.1.6
|
|
52
53
|
Requires-Dist: pydantic>=2.12.5
|
|
53
54
|
Requires-Dist: python-dotenv>=1.2.1
|
|
54
55
|
Requires-Dist: python-multipart>=0.0.22
|
|
55
56
|
Requires-Dist: sqlalchemy>=2.0.46
|
|
56
57
|
Requires-Dist: sse-starlette>=3.2.0
|
|
58
|
+
Requires-Dist: urllib3>=2.6.3
|
|
57
59
|
Requires-Dist: uvicorn[standard]>=0.40.0
|
|
58
60
|
Provides-Extra: dev
|
|
59
61
|
Requires-Dist: debugpy>=1.8.20; extra == 'dev'
|
|
60
62
|
Requires-Dist: djlint>=1.36.4; extra == 'dev'
|
|
61
63
|
Requires-Dist: httpx>=0.28.1; extra == 'dev'
|
|
62
64
|
Requires-Dist: mypy>=1.19.1; extra == 'dev'
|
|
65
|
+
Requires-Dist: pre-commit>=4.5.1; extra == 'dev'
|
|
63
66
|
Requires-Dist: pytest-asyncio>=1.3.0; extra == 'dev'
|
|
64
67
|
Requires-Dist: pytest-cov>=7.0.0; extra == 'dev'
|
|
68
|
+
Requires-Dist: pytest-playwright>=0.7.2; extra == 'dev'
|
|
65
69
|
Requires-Dist: pytest>=9.0.2; extra == 'dev'
|
|
66
70
|
Requires-Dist: ruff>=0.15.0; extra == 'dev'
|
|
67
71
|
Requires-Dist: sqlalchemy[mypy]>=2.0.46; extra == 'dev'
|
|
@@ -71,6 +75,7 @@ Description-Content-Type: text/markdown
|
|
|
71
75
|
|
|
72
76
|
|
|
73
77
|
# Borgitory
|
|
78
|
+
[](https://www.bestpractices.dev/projects/12059)
|
|
74
79
|
[](https://codecov.io/gh/mlapaglia/Borgitory)
|
|
75
80
|
[](https://github.com/mlapaglia/Borgitory/actions/workflows/release.yml)
|
|
76
81
|
[](https://github.com/sponsors/mlapaglia)
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
# Borgitory
|
|
3
|
+
[](https://www.bestpractices.dev/projects/12059)
|
|
3
4
|
[](https://codecov.io/gh/mlapaglia/Borgitory)
|
|
4
5
|
[](https://github.com/mlapaglia/Borgitory/actions/workflows/release.yml)
|
|
5
6
|
[](https://github.com/sponsors/mlapaglia)
|
|
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "borgitory"
|
|
7
|
-
version = "2.
|
|
7
|
+
version = "2.8.0"
|
|
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"}
|
|
@@ -31,31 +31,35 @@ dependencies = [
|
|
|
31
31
|
"apscheduler>=3.11.2",
|
|
32
32
|
"bcrypt>=5.0.0",
|
|
33
33
|
"cron-descriptor>=2.0.6",
|
|
34
|
-
"cryptography>=46.0.
|
|
34
|
+
"cryptography>=46.0.5",
|
|
35
35
|
"docker>=7.1.0",
|
|
36
36
|
"fastapi>=0.128.4",
|
|
37
|
+
"greenlet>=3.2.0",
|
|
37
38
|
"jinja2>=3.1.6",
|
|
38
39
|
"pydantic>=2.12.5",
|
|
39
40
|
"python-dotenv>=1.2.1",
|
|
40
41
|
"python-multipart>=0.0.22",
|
|
41
42
|
"sqlalchemy>=2.0.46",
|
|
42
43
|
"sse-starlette>=3.2.0",
|
|
44
|
+
"urllib3>=2.6.3",
|
|
43
45
|
"uvicorn[standard]>=0.40.0",
|
|
44
46
|
]
|
|
45
47
|
|
|
46
48
|
[project.optional-dependencies]
|
|
47
49
|
dev = [
|
|
48
|
-
"
|
|
50
|
+
"debugpy>=1.8.20",
|
|
49
51
|
"djlint>=1.36.4",
|
|
52
|
+
"httpx>=0.28.1",
|
|
53
|
+
"mypy>=1.19.1",
|
|
54
|
+
"pre-commit>=4.5.1",
|
|
50
55
|
"pytest>=9.0.2",
|
|
51
56
|
"pytest-asyncio>=1.3.0",
|
|
52
57
|
"pytest-cov>=7.0.0",
|
|
53
|
-
"
|
|
54
|
-
"
|
|
58
|
+
"pytest-playwright>=0.7.2",
|
|
59
|
+
"ruff>=0.15.0",
|
|
55
60
|
"sqlalchemy[mypy]>=2.0.46",
|
|
56
61
|
"types-python-dateutil>=2.9.0.20260124",
|
|
57
62
|
"types-aiofiles>=25.1.0.20251011",
|
|
58
|
-
"debugpy>=1.8.20",
|
|
59
63
|
]
|
|
60
64
|
|
|
61
65
|
[project.urls]
|
|
@@ -114,7 +118,7 @@ line-length = 88
|
|
|
114
118
|
indent-width = 4
|
|
115
119
|
|
|
116
120
|
# Assume Python 3.14+.
|
|
117
|
-
target-version = "2.
|
|
121
|
+
target-version = "2.8.0"
|
|
118
122
|
|
|
119
123
|
[tool.ruff.lint]
|
|
120
124
|
# Enable Pyflakes (`F`) and a subset of the pycodestyle (`E`) codes by default.
|
|
@@ -150,13 +154,15 @@ python_files = ["test_*.py"]
|
|
|
150
154
|
python_classes = ["Test*"]
|
|
151
155
|
python_functions = ["test_*"]
|
|
152
156
|
|
|
157
|
+
addopts = "-p no:playwright -m 'not e2e'"
|
|
158
|
+
|
|
153
159
|
# asyncio plugin configuration
|
|
154
160
|
asyncio_mode = "auto"
|
|
155
|
-
asyncio_default_fixture_loop_scope = "function"
|
|
156
161
|
|
|
157
162
|
# Custom markers
|
|
158
163
|
markers = [
|
|
159
164
|
"integration: marks tests as integration tests (may require external dependencies)",
|
|
165
|
+
"e2e: marks tests as end-to-end browser tests (requires playwright)",
|
|
160
166
|
]
|
|
161
167
|
|
|
162
168
|
[tool.coverage.run]
|
|
@@ -181,7 +187,7 @@ exclude_lines = [
|
|
|
181
187
|
|
|
182
188
|
[tool.mypy]
|
|
183
189
|
# Basic settings
|
|
184
|
-
python_version = "2.
|
|
190
|
+
python_version = "2.8.0"
|
|
185
191
|
strict = true
|
|
186
192
|
|
|
187
193
|
# Display options
|
|
@@ -235,6 +241,12 @@ module = [
|
|
|
235
241
|
]
|
|
236
242
|
ignore_missing_imports = true
|
|
237
243
|
|
|
244
|
+
[[tool.mypy.overrides]]
|
|
245
|
+
module = "tests.*"
|
|
246
|
+
disallow_untyped_decorators = false
|
|
247
|
+
disallow_any_unimported = false
|
|
248
|
+
warn_return_any = false
|
|
249
|
+
|
|
238
250
|
[tool.djlint]
|
|
239
251
|
profile = "jinja"
|
|
240
252
|
indent = 4
|
|
@@ -16,9 +16,7 @@ router = APIRouter()
|
|
|
16
16
|
|
|
17
17
|
@router.get("/check-users")
|
|
18
18
|
async def check_users_exist(
|
|
19
|
-
request: Request,
|
|
20
|
-
templates: TemplatesDep,
|
|
21
|
-
db: AsyncSession = Depends(get_db)
|
|
19
|
+
request: Request, templates: TemplatesDep, db: AsyncSession = Depends(get_db)
|
|
22
20
|
) -> _TemplateResponse:
|
|
23
21
|
result = await db.execute(select(func.count(User.id)))
|
|
24
22
|
user_count = result.scalar() or 0
|
|
@@ -206,9 +204,7 @@ async def login_user(
|
|
|
206
204
|
|
|
207
205
|
@router.post("/logout")
|
|
208
206
|
async def logout(
|
|
209
|
-
request: Request,
|
|
210
|
-
response: Response,
|
|
211
|
-
db: AsyncSession = Depends(get_db)
|
|
207
|
+
request: Request, response: Response, db: AsyncSession = Depends(get_db)
|
|
212
208
|
) -> Dict[str, str]:
|
|
213
209
|
auth_token = request.cookies.get("auth_token")
|
|
214
210
|
if auth_token:
|
|
@@ -222,8 +218,7 @@ async def logout(
|
|
|
222
218
|
|
|
223
219
|
|
|
224
220
|
async def get_current_user(
|
|
225
|
-
request: Request,
|
|
226
|
-
db: AsyncSession = Depends(get_db)
|
|
221
|
+
request: Request, db: AsyncSession = Depends(get_db)
|
|
227
222
|
) -> User:
|
|
228
223
|
auth_token = request.cookies.get("auth_token")
|
|
229
224
|
if not auth_token:
|
|
@@ -256,8 +251,7 @@ async def get_current_user(
|
|
|
256
251
|
|
|
257
252
|
|
|
258
253
|
async def get_current_user_optional(
|
|
259
|
-
request: Request,
|
|
260
|
-
db: AsyncSession = Depends(get_db)
|
|
254
|
+
request: Request, db: AsyncSession = Depends(get_db)
|
|
261
255
|
) -> Optional[User]:
|
|
262
256
|
try:
|
|
263
257
|
return await get_current_user(request, db)
|
|
@@ -2,7 +2,7 @@ import json
|
|
|
2
2
|
import logging
|
|
3
3
|
import os
|
|
4
4
|
import re
|
|
5
|
-
from typing import Dict, List, Optional, Union, cast, Mapping
|
|
5
|
+
from typing import Dict, List, Optional, Union, cast, Mapping, Any
|
|
6
6
|
from fastapi import APIRouter, Depends, HTTPException, Request
|
|
7
7
|
from fastapi.templating import Jinja2Templates
|
|
8
8
|
from fastapi.responses import HTMLResponse
|
|
@@ -51,7 +51,7 @@ def _get_supported_providers(registry: ProviderRegistryDep) -> List[Dict[str, st
|
|
|
51
51
|
|
|
52
52
|
|
|
53
53
|
def _get_provider_template(provider: str) -> Optional[str]:
|
|
54
|
-
"""Get the appropriate template path for a provider
|
|
54
|
+
"""Get the appropriate template path for a provider"""
|
|
55
55
|
if not provider:
|
|
56
56
|
return None
|
|
57
57
|
|
|
@@ -102,16 +102,27 @@ def _get_submit_button_text(
|
|
|
102
102
|
return f"{action} Sync Location"
|
|
103
103
|
|
|
104
104
|
|
|
105
|
+
def _provider_details_to_html(details: Union[str, Dict[str, Any]]) -> str:
|
|
106
|
+
if isinstance(details, str):
|
|
107
|
+
return details
|
|
108
|
+
return "\n".join(
|
|
109
|
+
f"<div><strong>{k.replace('_', ' ').title()}:</strong> {v}</div>"
|
|
110
|
+
for k, v in details.items()
|
|
111
|
+
)
|
|
112
|
+
|
|
113
|
+
|
|
105
114
|
def _get_provider_display_details(
|
|
106
115
|
registry: ProviderRegistryDep, provider: str, provider_config: Dict[str, object]
|
|
107
|
-
) -> Dict[str, str]:
|
|
116
|
+
) -> Dict[str, Union[str, Dict[str, Any]]]:
|
|
108
117
|
"""Get provider display details using registry and storage classes"""
|
|
109
118
|
try:
|
|
110
119
|
storage_class = registry.get_storage_class(provider)
|
|
111
120
|
if storage_class:
|
|
112
121
|
temp_storage = storage_class(None, None, None)
|
|
113
|
-
|
|
114
|
-
|
|
122
|
+
return cast(
|
|
123
|
+
Dict[str, Union[str, Dict[str, Any]]],
|
|
124
|
+
temp_storage.get_display_details(provider_config),
|
|
125
|
+
)
|
|
115
126
|
except Exception as e:
|
|
116
127
|
logger.warning(f"Error getting display details for provider '{provider}': {e}")
|
|
117
128
|
|
|
@@ -234,22 +245,20 @@ async def create_cloud_sync_config(
|
|
|
234
245
|
request,
|
|
235
246
|
"partials/cloud_sync/create_error.html",
|
|
236
247
|
{"error_message": error_msg},
|
|
237
|
-
status_code=422,
|
|
238
248
|
)
|
|
239
249
|
except HTTPException as e:
|
|
240
250
|
return templates.TemplateResponse(
|
|
241
251
|
request,
|
|
242
252
|
"partials/cloud_sync/create_error.html",
|
|
243
253
|
{"error_message": str(e.detail)},
|
|
244
|
-
status_code=e.status_code,
|
|
245
254
|
)
|
|
246
255
|
except Exception as e:
|
|
247
256
|
error_msg = f"Failed to create cloud sync configuration: {str(e)}"
|
|
257
|
+
logger.error(error_msg, exc_info=True)
|
|
248
258
|
return templates.TemplateResponse(
|
|
249
259
|
request,
|
|
250
260
|
"partials/cloud_sync/create_error.html",
|
|
251
261
|
{"error_message": error_msg},
|
|
252
|
-
status_code=500,
|
|
253
262
|
)
|
|
254
263
|
|
|
255
264
|
|
|
@@ -271,7 +280,7 @@ async def get_cloud_sync_configs_html(
|
|
|
271
280
|
for config in configs_raw:
|
|
272
281
|
try:
|
|
273
282
|
provider_config = json.loads(config.provider_config)
|
|
274
|
-
except
|
|
283
|
+
except json.JSONDecodeError, AttributeError:
|
|
275
284
|
provider_config = {}
|
|
276
285
|
|
|
277
286
|
display_info = _get_provider_display_details(
|
|
@@ -280,7 +289,9 @@ async def get_cloud_sync_configs_html(
|
|
|
280
289
|
|
|
281
290
|
processed_config = config.__dict__.copy()
|
|
282
291
|
processed_config["provider_name"] = display_info["provider_name"]
|
|
283
|
-
processed_config["provider_details"] =
|
|
292
|
+
processed_config["provider_details"] = _provider_details_to_html(
|
|
293
|
+
display_info["provider_details"]
|
|
294
|
+
)
|
|
284
295
|
processed_configs.append(type("Config", (), processed_config)())
|
|
285
296
|
|
|
286
297
|
browser_tz_offset = get_browser_timezone_offset(request)
|
|
@@ -384,21 +395,29 @@ async def update_cloud_sync_config(
|
|
|
384
395
|
response.headers["HX-Trigger"] = "cloudSyncUpdate"
|
|
385
396
|
return response
|
|
386
397
|
|
|
398
|
+
except ValidationError as e:
|
|
399
|
+
# Use sanitized validation errors that exclude the original input values
|
|
400
|
+
error_details = e.errors(include_input=False)
|
|
401
|
+
error_msg = "Validation error while updating cloud sync configuration."
|
|
402
|
+
return templates.TemplateResponse(
|
|
403
|
+
request,
|
|
404
|
+
"partials/cloud_sync/update_error.html",
|
|
405
|
+
{"error_message": error_msg, "error_details": error_details},
|
|
406
|
+
)
|
|
387
407
|
except HTTPException as e:
|
|
388
408
|
return templates.TemplateResponse(
|
|
389
409
|
request,
|
|
390
410
|
"partials/cloud_sync/update_error.html",
|
|
391
411
|
{"error_message": str(e.detail)},
|
|
392
|
-
status_code=e.status_code,
|
|
393
412
|
)
|
|
394
413
|
except Exception as e:
|
|
395
414
|
error_msg = f"Failed to update cloud sync configuration: {str(e)}"
|
|
415
|
+
logger.error(error_msg, exc_info=True)
|
|
396
416
|
|
|
397
417
|
return templates.TemplateResponse(
|
|
398
418
|
request,
|
|
399
419
|
"partials/cloud_sync/update_error.html",
|
|
400
420
|
{"error_message": error_msg},
|
|
401
|
-
status_code=500,
|
|
402
421
|
)
|
|
403
422
|
|
|
404
423
|
|
|
@@ -649,7 +649,7 @@ async def load_archives_with_spinner(
|
|
|
649
649
|
"partials/archives/loading_with_trigger.html",
|
|
650
650
|
{"repository_id": repo_id},
|
|
651
651
|
)
|
|
652
|
-
except
|
|
652
|
+
except ValueError, TypeError:
|
|
653
653
|
return templates.TemplateResponse(
|
|
654
654
|
request, "partials/archives/empty_state.html", {}
|
|
655
655
|
)
|
|
@@ -704,7 +704,7 @@ async def get_archives_list(
|
|
|
704
704
|
formatted_time = format_datetime_for_display(dt)
|
|
705
705
|
else:
|
|
706
706
|
formatted_time = archive_time
|
|
707
|
-
except
|
|
707
|
+
except ValueError, TypeError:
|
|
708
708
|
pass
|
|
709
709
|
|
|
710
710
|
size_info = ""
|
|
@@ -747,7 +747,7 @@ async def get_archives_list(
|
|
|
747
747
|
|
|
748
748
|
except HTTPException:
|
|
749
749
|
raise
|
|
750
|
-
except
|
|
750
|
+
except ValueError, TypeError:
|
|
751
751
|
return templates.TemplateResponse(
|
|
752
752
|
request, "partials/archives/empty_state.html", {}
|
|
753
753
|
)
|
|
@@ -489,7 +489,7 @@ async def move_hook(
|
|
|
489
489
|
{"hook_type": hook_type, "hooks": current_hooks},
|
|
490
490
|
)
|
|
491
491
|
|
|
492
|
-
except
|
|
492
|
+
except ValueError, TypeError, KeyError:
|
|
493
493
|
return HTMLResponse(content='<div class="space-y-4"></div>')
|
|
494
494
|
|
|
495
495
|
|
|
@@ -519,7 +519,7 @@ async def remove_hook_field(
|
|
|
519
519
|
{"hook_type": hook_type, "hooks": current_hooks},
|
|
520
520
|
)
|
|
521
521
|
|
|
522
|
-
except
|
|
522
|
+
except ValueError, TypeError, KeyError:
|
|
523
523
|
return HTMLResponse(content='<div class="space-y-4"></div>')
|
|
524
524
|
|
|
525
525
|
|
|
@@ -537,7 +537,7 @@ async def get_hooks_modal(
|
|
|
537
537
|
# Get data from the actual form field names
|
|
538
538
|
pre_hooks_json = str(json_data.get("pre_job_hooks", "[]"))
|
|
539
539
|
post_hooks_json = str(json_data.get("post_job_hooks", "[]"))
|
|
540
|
-
except
|
|
540
|
+
except ValueError, TypeError, KeyError:
|
|
541
541
|
pre_hooks_json = "[]"
|
|
542
542
|
post_hooks_json = "[]"
|
|
543
543
|
|
|
@@ -580,7 +580,7 @@ async def save_hooks(
|
|
|
580
580
|
try:
|
|
581
581
|
pre_count = len(json.loads(pre_hooks_json)) if pre_hooks_json else 0
|
|
582
582
|
post_count = len(json.loads(post_hooks_json)) if post_hooks_json else 0
|
|
583
|
-
except
|
|
583
|
+
except json.JSONDecodeError, TypeError:
|
|
584
584
|
pre_count = 0
|
|
585
585
|
post_count = 0
|
|
586
586
|
|
|
@@ -663,7 +663,7 @@ async def move_pattern(
|
|
|
663
663
|
{"patterns": current_patterns},
|
|
664
664
|
)
|
|
665
665
|
|
|
666
|
-
except
|
|
666
|
+
except ValueError, TypeError, KeyError:
|
|
667
667
|
return HTMLResponse(content='<div class="space-y-4"></div>')
|
|
668
668
|
|
|
669
669
|
|
|
@@ -690,7 +690,7 @@ async def remove_pattern_field(
|
|
|
690
690
|
{"patterns": current_patterns},
|
|
691
691
|
)
|
|
692
692
|
|
|
693
|
-
except
|
|
693
|
+
except ValueError, TypeError, KeyError:
|
|
694
694
|
return HTMLResponse(content='<div class="space-y-4"></div>')
|
|
695
695
|
|
|
696
696
|
|
|
@@ -741,7 +741,7 @@ async def save_patterns(
|
|
|
741
741
|
|
|
742
742
|
try:
|
|
743
743
|
total_count = len(json.loads(patterns_json)) if patterns_json else 0
|
|
744
|
-
except
|
|
744
|
+
except json.JSONDecodeError, TypeError:
|
|
745
745
|
total_count = 0
|
|
746
746
|
|
|
747
747
|
return templates.TemplateResponse(
|
|
@@ -153,7 +153,7 @@ class RetentionFieldHandler:
|
|
|
153
153
|
int_value = int(value) if isinstance(value, (str, int)) else None
|
|
154
154
|
if int_value is not None and int_value > 0:
|
|
155
155
|
args.extend([RETENTION_FIELD_MAPPING[field], str(int_value)])
|
|
156
|
-
except
|
|
156
|
+
except ValueError, TypeError:
|
|
157
157
|
continue
|
|
158
158
|
|
|
159
159
|
return args
|
|
@@ -283,7 +283,7 @@ class RetentionFieldHandler:
|
|
|
283
283
|
if value is not None:
|
|
284
284
|
try:
|
|
285
285
|
result[key] = int(value) if value else None
|
|
286
|
-
except
|
|
286
|
+
except ValueError, TypeError:
|
|
287
287
|
result[key] = None
|
|
288
288
|
else:
|
|
289
289
|
result[key] = None
|
|
@@ -325,13 +325,9 @@ def get_notification_service_singleton() -> NotificationService:
|
|
|
325
325
|
"""
|
|
326
326
|
Create NotificationService singleton for application-scoped use.
|
|
327
327
|
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
❌ Don't use for: FastAPI endpoints (use get_notification_service instead)
|
|
331
|
-
|
|
332
|
-
📋 PATTERN: Dual Functions
|
|
328
|
+
Use for singletons, direct instantiation, tests, and JobManager.
|
|
329
|
+
For FastAPI endpoints use get_notification_service with Depends() instead.
|
|
333
330
|
This is the singleton version that resolves dependencies directly.
|
|
334
|
-
For FastAPI DI, use get_notification_service() with Depends().
|
|
335
331
|
|
|
336
332
|
Returns:
|
|
337
333
|
NotificationService: Cached singleton instance
|
|
@@ -351,16 +347,9 @@ def get_notification_service(
|
|
|
351
347
|
"""
|
|
352
348
|
Provide NotificationService with FastAPI dependency injection.
|
|
353
349
|
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
⚠️ WARNING: This function should ONLY be called by FastAPI's DI system.
|
|
359
|
-
⚠️ For direct calls, use get_notification_service_singleton() instead.
|
|
360
|
-
|
|
361
|
-
📋 PATTERN: Dual Functions
|
|
362
|
-
This is the FastAPI DI version that expects resolved dependencies.
|
|
363
|
-
For direct calls, use get_notification_service_singleton().
|
|
350
|
+
Use for FastAPI endpoints with Depends(get_notification_service).
|
|
351
|
+
For direct calls or singletons use get_notification_service_singleton() instead.
|
|
352
|
+
This function should only be called by FastAPI's DI system.
|
|
364
353
|
|
|
365
354
|
Args:
|
|
366
355
|
provider_factory: Injected by FastAPI DI system
|
|
@@ -516,7 +505,7 @@ def get_browser_timezone_offset(request: Request) -> Optional[int]:
|
|
|
516
505
|
if tz_cookie:
|
|
517
506
|
try:
|
|
518
507
|
return int(tz_cookie)
|
|
519
|
-
except
|
|
508
|
+
except ValueError, TypeError:
|
|
520
509
|
pass
|
|
521
510
|
return None
|
|
522
511
|
|
|
@@ -575,7 +564,7 @@ def get_templates() -> TimezoneAwareJinja2Templates:
|
|
|
575
564
|
|
|
576
565
|
try:
|
|
577
566
|
return json.loads(json_str) if json_str else []
|
|
578
|
-
except
|
|
567
|
+
except json.JSONDecodeError, TypeError:
|
|
579
568
|
return []
|
|
580
569
|
|
|
581
570
|
def to_json_filter(obj: Any) -> str:
|
|
@@ -727,13 +716,9 @@ def get_job_manager_singleton() -> "JobManagerProtocol":
|
|
|
727
716
|
"""
|
|
728
717
|
Create JobManager singleton for application-scoped use.
|
|
729
718
|
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
❌ Don't use for: FastAPI endpoints (use get_job_manager_dependency instead)
|
|
733
|
-
|
|
734
|
-
📋 PATTERN: Dual Functions
|
|
719
|
+
Use for singletons, direct instantiation, tests, and background tasks.
|
|
720
|
+
For FastAPI endpoints use get_job_manager_dependency with Depends() instead.
|
|
735
721
|
This is the singleton version that resolves dependencies directly.
|
|
736
|
-
For FastAPI DI, use get_job_manager_dependency() with Depends().
|
|
737
722
|
|
|
738
723
|
Returns:
|
|
739
724
|
JobManagerProtocol: Cached singleton instance
|
|
@@ -801,16 +786,10 @@ def get_job_manager_dependency() -> "JobManagerProtocol":
|
|
|
801
786
|
"""
|
|
802
787
|
Provide JobManager with FastAPI dependency injection.
|
|
803
788
|
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
⚠️ WARNING: This function should ONLY be called by FastAPI's DI system.
|
|
809
|
-
⚠️ For direct calls, use get_job_manager_singleton() instead.
|
|
810
|
-
|
|
811
|
-
📋 PATTERN: Dual Functions
|
|
812
|
-
This is the FastAPI DI version that returns the same singleton instance.
|
|
813
|
-
For direct calls, use get_job_manager_singleton().
|
|
789
|
+
Use for FastAPI endpoints with Depends(get_job_manager_dependency).
|
|
790
|
+
For direct calls or singletons use get_job_manager_singleton() instead.
|
|
791
|
+
This function should only be called by FastAPI's DI system.
|
|
792
|
+
Returns the same singleton instance as get_job_manager_singleton().
|
|
814
793
|
|
|
815
794
|
Returns:
|
|
816
795
|
JobManagerProtocol: The same singleton instance as get_job_manager_singleton()
|
|
@@ -825,13 +804,9 @@ def get_scheduler_service_singleton() -> SchedulerService:
|
|
|
825
804
|
"""
|
|
826
805
|
Create SchedulerService singleton for application-scoped use.
|
|
827
806
|
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
❌ Don't use for: FastAPI endpoints (use get_scheduler_service_dependency instead)
|
|
831
|
-
|
|
832
|
-
📋 PATTERN: Dual Functions
|
|
807
|
+
Use for singletons, direct instantiation, tests, background tasks, and application lifecycle.
|
|
808
|
+
For FastAPI endpoints use get_scheduler_service_dependency with Depends() instead.
|
|
833
809
|
This is the singleton version that resolves dependencies directly.
|
|
834
|
-
For FastAPI DI, use get_scheduler_service_dependency() with Depends().
|
|
835
810
|
|
|
836
811
|
Returns:
|
|
837
812
|
SchedulerService: Cached singleton instance
|
|
@@ -851,16 +826,10 @@ def get_scheduler_service_dependency() -> SchedulerService:
|
|
|
851
826
|
"""
|
|
852
827
|
Provide SchedulerService with FastAPI dependency injection.
|
|
853
828
|
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
⚠️ WARNING: This function should ONLY be called by FastAPI's DI system.
|
|
859
|
-
⚠️ For direct calls, use get_scheduler_service_singleton() instead.
|
|
860
|
-
|
|
861
|
-
📋 PATTERN: Dual Functions
|
|
862
|
-
This is the FastAPI DI version that returns the same singleton instance.
|
|
863
|
-
For direct calls, use get_scheduler_service_singleton().
|
|
829
|
+
Use for FastAPI endpoints with Depends(get_scheduler_service_dependency).
|
|
830
|
+
For direct calls or singletons use get_scheduler_service_singleton() instead.
|
|
831
|
+
This function should only be called by FastAPI's DI system.
|
|
832
|
+
Returns the same singleton instance as get_scheduler_service_singleton().
|
|
864
833
|
|
|
865
834
|
Returns:
|
|
866
835
|
SchedulerService: The same singleton instance as get_scheduler_service_singleton()
|
|
@@ -965,7 +934,7 @@ def get_cloud_sync_config_service(
|
|
|
965
934
|
return factory.create_cloud_sync_config_service("default")
|
|
966
935
|
|
|
967
936
|
|
|
968
|
-
#
|
|
937
|
+
# SEMANTIC TYPE ALIASES FOR DEPENDENCY INJECTION
|
|
969
938
|
#
|
|
970
939
|
# These type aliases express the INTENDED USAGE PATTERN and LIFECYCLE:
|
|
971
940
|
# - ApplicationScoped* = Singleton instances for app-wide services (JobManager, background tasks)
|
|
@@ -1097,13 +1066,9 @@ def get_archive_manager_singleton() -> ArchiveManagerProtocol:
|
|
|
1097
1066
|
"""
|
|
1098
1067
|
Create ArchiveManager singleton for application-scoped use.
|
|
1099
1068
|
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
❌ Don't use for: FastAPI endpoints (use get_archive_manager_dependency instead)
|
|
1103
|
-
|
|
1104
|
-
📋 PATTERN: Dual Functions
|
|
1069
|
+
Use for singletons, direct instantiation, tests, and background tasks.
|
|
1070
|
+
For FastAPI endpoints use get_archive_manager_dependency with Depends() instead.
|
|
1105
1071
|
This is the singleton version that resolves dependencies directly.
|
|
1106
|
-
For FastAPI DI, use get_archive_manager_dependency() with Depends().
|
|
1107
1072
|
|
|
1108
1073
|
Returns:
|
|
1109
1074
|
ArchiveManagerProtocol: Cached singleton instance with persistent cache state
|
|
@@ -1113,10 +1078,12 @@ def get_archive_manager_singleton() -> ArchiveManagerProtocol:
|
|
|
1113
1078
|
platform_service = get_platform_service()
|
|
1114
1079
|
command_executor = get_command_executor(wsl_executor, platform_service)
|
|
1115
1080
|
job_executor = get_job_executor(command_executor)
|
|
1081
|
+
command_runner_config = get_command_runner_config()
|
|
1116
1082
|
|
|
1117
1083
|
return ArchiveManager(
|
|
1118
1084
|
job_executor=job_executor,
|
|
1119
1085
|
command_executor=command_executor,
|
|
1086
|
+
command_runner_config=command_runner_config,
|
|
1120
1087
|
cache_ttl=timedelta(minutes=30),
|
|
1121
1088
|
)
|
|
1122
1089
|
|
|
@@ -1125,16 +1092,10 @@ def get_archive_manager_dependency() -> ArchiveManagerProtocol:
|
|
|
1125
1092
|
"""
|
|
1126
1093
|
Provide ArchiveManager with FastAPI dependency injection.
|
|
1127
1094
|
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
⚠️ WARNING: This function should ONLY be called by FastAPI's DI system.
|
|
1133
|
-
⚠️ For direct calls, use get_archive_manager_singleton() instead.
|
|
1134
|
-
|
|
1135
|
-
📋 PATTERN: Dual Functions
|
|
1136
|
-
This is the FastAPI DI version that returns the same singleton instance.
|
|
1137
|
-
For direct calls, use get_archive_manager_singleton().
|
|
1095
|
+
Use for FastAPI endpoints with Depends(get_archive_manager_dependency).
|
|
1096
|
+
For direct calls or singletons use get_archive_manager_singleton() instead.
|
|
1097
|
+
This function should only be called by FastAPI's DI system.
|
|
1098
|
+
Returns the same singleton instance as get_archive_manager_singleton().
|
|
1138
1099
|
|
|
1139
1100
|
Returns:
|
|
1140
1101
|
ArchiveManagerProtocol: The same singleton instance as get_archive_manager_singleton()
|
|
@@ -1191,6 +1152,7 @@ def get_borg_service(
|
|
|
1191
1152
|
def get_archive_manager(
|
|
1192
1153
|
job_executor: JobExecutor = Depends(get_job_executor),
|
|
1193
1154
|
command_executor: "CommandExecutorProtocol" = Depends(get_command_executor),
|
|
1155
|
+
command_runner_config: "CommandRunnerConfig" = Depends(get_command_runner_config),
|
|
1194
1156
|
) -> ArchiveManagerProtocol:
|
|
1195
1157
|
"""
|
|
1196
1158
|
Provide an ArchiveManager instance with proper dependency injection.
|
|
@@ -1203,6 +1165,7 @@ def get_archive_manager(
|
|
|
1203
1165
|
"""
|
|
1204
1166
|
return ArchiveManager(
|
|
1205
1167
|
job_executor=job_executor,
|
|
1168
|
+
command_runner_config=command_runner_config,
|
|
1206
1169
|
command_executor=command_executor,
|
|
1207
1170
|
cache_ttl=timedelta(minutes=30),
|
|
1208
1171
|
)
|
|
@@ -122,7 +122,7 @@ class BorgArchive:
|
|
|
122
122
|
"""Convert start timestamp to datetime object."""
|
|
123
123
|
try:
|
|
124
124
|
return datetime.fromisoformat(self.start.replace("Z", "+00:00"))
|
|
125
|
-
except
|
|
125
|
+
except ValueError, AttributeError:
|
|
126
126
|
return None
|
|
127
127
|
|
|
128
128
|
@property
|
|
@@ -130,7 +130,7 @@ class BorgArchive:
|
|
|
130
130
|
"""Convert end timestamp to datetime object."""
|
|
131
131
|
try:
|
|
132
132
|
return datetime.fromisoformat(self.end.replace("Z", "+00:00"))
|
|
133
|
-
except
|
|
133
|
+
except ValueError, AttributeError:
|
|
134
134
|
return None
|
|
135
135
|
|
|
136
136
|
|
|
@@ -87,6 +87,7 @@ def get_cipher_suite() -> Fernet:
|
|
|
87
87
|
_cipher_suite = Fernet(fernet_key)
|
|
88
88
|
return _cipher_suite
|
|
89
89
|
|
|
90
|
+
|
|
90
91
|
class Repository(Base):
|
|
91
92
|
__tablename__ = "repositories"
|
|
92
93
|
|
|
@@ -287,9 +288,7 @@ class User(Base):
|
|
|
287
288
|
raise ValueError(
|
|
288
289
|
f"Password exceeds bcrypt limit of {BCRYPT_MAX_PASSWORD_BYTES} bytes"
|
|
289
290
|
)
|
|
290
|
-
self.password_hash = bcrypt.hashpw(
|
|
291
|
-
encoded,
|
|
292
|
-
bcrypt.gensalt()).decode("utf-8")
|
|
291
|
+
self.password_hash = bcrypt.hashpw(encoded, bcrypt.gensalt()).decode("utf-8")
|
|
293
292
|
|
|
294
293
|
def verify_password(self, password: str) -> bool:
|
|
295
294
|
"""Verify a password against the stored hash. Returns False if password exceeds 72 bytes."""
|