borgitory 2.7.2__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.2 → borgitory-2.8.0}/PKG-INFO +4 -1
- {borgitory-2.7.2 → borgitory-2.8.0}/pyproject.toml +19 -8
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/api/auth.py +4 -10
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/api/cloud_sync/cloud_sync.py +19 -6
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/api/repositories.py +3 -3
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/api/schedules.py +7 -7
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/constants/retention.py +2 -2
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/dependencies.py +30 -67
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/models/borg_info.py +2 -2
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/models/database.py +2 -3
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/models/schemas.py +3 -3
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/protocols/path_protocols.py +10 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/services/archives/archive_manager.py +14 -7
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/services/borg_service.py +4 -1
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/services/cloud_providers/cloud_sync_service.py +2 -1
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/services/cloud_providers/registry.py +2 -2
- {borgitory-2.7.2 → 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.2 → borgitory-2.8.0}/src/borgitory/services/cloud_providers/storage/s3_storage.py +56 -65
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/services/cloud_providers/storage/sftp_storage.py +4 -54
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/services/cloud_providers/storage/smb_storage.py +5 -59
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/services/cloud_sync_config_service.py +13 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/services/command_execution/command_executor_factory.py +11 -4
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/services/command_execution/linux_command_executor.py +18 -1
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/services/cron_description_service.py +1 -1
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/services/files/file_service_factory.py +11 -4
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/services/jobs/broadcaster/job_event_broadcaster.py +1 -1
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/services/jobs/task_executors/notification_task_executor.py +1 -1
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/services/migrations/migration_service.py +1 -1
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/services/notifications/service.py +1 -1
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/services/path/path_service_factory.py +1 -1
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/services/path/platform_service.py +12 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/services/repositories/repository_service.py +2 -2
- {borgitory-2.7.2 → 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.2 → borgitory-2.8.0}/src/borgitory/services/scheduling/hook_service.py +4 -4
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/services/scheduling/pattern_service.py +2 -2
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/services/scheduling/schedule_service.py +4 -3
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/services/scheduling/scheduler_service.py +4 -1
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/services/system/system_operations.py +1 -1
- {borgitory-2.7.2 → 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.2 → borgitory-2.8.0}/src/borgitory/templates/partials/cloud_sync/providers/s3/s3_endpoint_field.html +2 -1
- {borgitory-2.7.2 → 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.2 → borgitory-2.8.0}/src/borgitory/templates/partials/cloud_sync/providers/s3/s3_storage_class_options.html +4 -4
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/cloud_sync/providers/sftp/sftp_fields.html +5 -4
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/statistics/tab.html +1 -1
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/utils/datetime_utils.py +3 -3
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/utils/secure_path.py +2 -2
- {borgitory-2.7.2 → 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.2 → borgitory-2.8.0}/tests/fixtures/registry_fixtures.py +2 -3
- {borgitory-2.7.2/tests → borgitory-2.8.0/tests/integration}/archives/test_archive_browser_htmx.py +1 -0
- {borgitory-2.7.2/tests → borgitory-2.8.0/tests/integration}/cloud_sync/test_cloud_sync_api.py +1 -1
- borgitory-2.8.0/tests/integration/conftest.py +218 -0
- borgitory-2.8.0/tests/integration/jobs/__init__.py +0 -0
- {borgitory-2.7.2/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.2/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.2/tests → borgitory-2.8.0/tests/integration}/repositories/test_repository_management_api.py +24 -24
- {borgitory-2.7.2/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.2/tests → borgitory-2.8.0/tests/integration}/schedules/test_manual_run_apscheduler.py +3 -2
- {borgitory-2.7.2/tests → borgitory-2.8.0/tests/integration}/schedules/test_schedule_creation_api.py +4 -4
- {borgitory-2.7.2/tests → borgitory-2.8.0/tests/integration}/schedules/test_schedules_api.py +4 -4
- {borgitory-2.7.2/tests → borgitory-2.8.0/tests/integration}/schedules/test_schedules_hooks_api.py +2 -2
- {borgitory-2.7.2/tests → borgitory-2.8.0/tests/integration}/schedules/test_schedules_patterns_api.py +2 -2
- {borgitory-2.7.2 → borgitory-2.8.0}/tests/integration/test_app_startup.py +42 -36
- {borgitory-2.7.2/tests → borgitory-2.8.0/tests/integration}/test_jobs_api.py +4 -4
- {borgitory-2.7.2/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.2/tests → borgitory-2.8.0/tests/unit}/archives/test_archive_manager.py +132 -2
- {borgitory-2.7.2/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.2/tests → borgitory-2.8.0/tests/unit}/cloud_providers/test_provider_validation.py +2 -0
- {borgitory-2.7.2/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.2/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.2/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.2/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.2/tests → borgitory-2.8.0/tests/unit}/schedules/test_next_run_update.py +1 -3
- {borgitory-2.7.2/tests → borgitory-2.8.0/tests/unit}/schedules/test_schedule_service.py +9 -0
- {borgitory-2.7.2/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.2/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.2/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.2/tests → borgitory-2.8.0/tests/unit}/utils/test_path_prefix.py +2 -2
- borgitory-2.7.2/src/borgitory/services/cloud_providers/storage/base.py +0 -97
- borgitory-2.7.2/src/borgitory/templates/partials/cloud_sync/providers/s3/s3_region_options.html +0 -14
- borgitory-2.7.2/tests/cloud_providers/__init__.py +0 -1
- borgitory-2.7.2/tests/conftest.py +0 -291
- borgitory-2.7.2/tests/factories/__init__.py +0 -3
- borgitory-2.7.2/tests/hooks/__init__.py +0 -3
- borgitory-2.7.2/tests/integration/conftest.py +0 -86
- borgitory-2.7.2/tests/protocols/__init__.py +0 -6
- borgitory-2.7.2/tests/services/__init__.py +0 -1
- borgitory-2.7.2/tests/services/migrations/__init__.py +0 -1
- {borgitory-2.7.2 → borgitory-2.8.0}/.gitignore +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/LICENSE +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/README.md +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/__init__.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/alembic/README +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/alembic/env.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/alembic/script.py.mako +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/alembic/versions/02b7b29d38c0_add_encryption_type_and_keyfile_content_.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/alembic/versions/18b9095bc772_add_patterns_column_to_schedules_table.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/alembic/versions/1d47e9231dd0_rename_cleanup_to_prune.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/alembic/versions/2628b151e709_make_passphrase_optional.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/alembic/versions/3335c0eac68e_create_initial_schema.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/alembic/versions/5e6cc17d11a5_user_installed_packages.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/alembic/versions/78c9fff46e06_add_compact_after_field_to_pruneconfig.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/alembic/versions/9b5d5f5e8cbc_add_pre_post_job_hooks_to_schedule.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/alembic/versions/9e4c8456ea53_add_cache_dir_field_to_repositories_.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/alembic/versions/9f06f8c8088d_initial_empty_state.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/alembic/versions/d294fdc9a5e7_fix_uuid_columns_for_sqlite.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/alembic/versions/eb3518e71c73_add_more_prune_settings_to_cleanup_.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/alembic.ini +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/api/__init__.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/api/backups.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/api/cancel_on_disconnect.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/api/cloud_sync/__init__.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/api/cloud_sync/s3.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/api/debug.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/api/jobs.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/api/notifications.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/api/packages.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/api/prune.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/api/repository_check_configs.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/api/repository_stats.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/api/shared.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/api/tabs.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/cli.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/config/__init__.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/config/command_runner_config.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/config/job_manager_config.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/config_module.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/constants/__init__.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/custom_types.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/factories/__init__.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/factories/service_factory.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/main.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/models/__init__.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/models/enums.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/models/job_results.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/models/patterns.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/models/repository_dtos.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/protocols/__init__.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/protocols/archive_manager_protocol.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/protocols/cloud_protocols.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/protocols/command_executor_protocol.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/protocols/command_protocols.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/protocols/environment_protocol.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/protocols/file_protocols.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/protocols/job_database_manager_protocol.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/protocols/job_event_broadcaster_protocol.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/protocols/job_output_manager_protocol.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/protocols/job_protocols.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/protocols/job_queue_manager_protocol.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/protocols/notification_protocols.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/protocols/repository_protocols.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/protocols/storage_protocols.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/protocols/system_protocol.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/py.typed +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/services/__init__.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/services/archives/archive_models.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/services/borg/borg_pattern_validation_service.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/services/borg/shell_pattern.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/services/cloud_providers/__init__.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/services/cloud_providers/orchestration.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/services/cloud_providers/registry_factory.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/services/cloud_providers/storage/s3_provider_config.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/services/cloud_providers/types.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/services/command_execution/__init__.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/services/command_execution/wsl_command_executor.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/services/configuration_service.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/services/debug_service.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/services/encryption_service.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/services/files/linux_file_service.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/services/files/wsl_file_service.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/services/hooks/__init__.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/services/hooks/hook_config.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/services/hooks/hook_execution_service.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/services/jobs/broadcaster/event_type.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/services/jobs/broadcaster/job_event.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/services/jobs/job_database_manager.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/services/jobs/job_executor.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/services/jobs/job_manager.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/services/jobs/job_manager_factory.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/services/jobs/job_models.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/services/jobs/job_output_manager.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/services/jobs/job_queue_manager.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/services/jobs/job_render_service.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/services/jobs/job_service.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/services/jobs/job_stream_service.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/services/jobs/task_executors/__init__.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/services/jobs/task_executors/backup_task_executor.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/services/jobs/task_executors/check_task_executor.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/services/jobs/task_executors/cloud_sync_task_executor.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/services/jobs/task_executors/compact_task_executor.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/services/jobs/task_executors/hook_task_executor.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/services/jobs/task_executors/prune_task_executor.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/services/migrations/__init__.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/services/migrations/migration_factory.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/services/notifications/__init__.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/services/notifications/config_service.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/services/notifications/providers/__init__.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/services/notifications/providers/base.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/services/notifications/providers/discord_provider.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/services/notifications/providers/pushover_provider.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/services/notifications/providers/telegram_provider.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/services/notifications/registry.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/services/notifications/registry_factory.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/services/notifications/types.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/services/package_manager_service.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/services/path/__init__.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/services/path/path_service.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/services/prune_service.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/services/rclone_service.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/services/rclone_types.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/services/recovery_service.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/services/repositories/repository_check_config_service.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/services/simple_command_runner.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/services/startup/package_restoration_service.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/services/system/__init__.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/services/task_definition_builder.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/services/upcoming_backups_service.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/services/volumes/file_system_interface.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/services/volumes/os_file_system.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/static/css/modern-components.css +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/static/css/tailwind-input.css +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/static/favicon/android-chrome-192x192.png +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/static/favicon/android-chrome-512x512.png +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/static/favicon/apple-touch-icon.png +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/static/favicon/favicon-16x16.png +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/static/favicon/favicon-32x32.png +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/static/favicon/favicon.ico +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/static/favicon/site.webmanifest +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/static/js/app.js +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/static/js/components/jobs.js +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/static/js/components/navigation.js +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/static/vendor/chart.min.js +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/static/vendor/htmx-ext-json-enc.js +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/static/vendor/htmx-ext-sse.js +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/static/vendor/htmx.min.js +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/base.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/login.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/macros/datetime.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/archives/contents_modal.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/archives/directory_contents.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/archives/directory_loading_state.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/archives/directory_loading_with_trigger.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/archives/empty_state.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/archives/error_message.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/archives/list_content.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/archives/loading_state.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/archives/loading_with_trigger.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/archives/repository_selector.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/archives/tab.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/auth/login_error.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/auth/login_form_active.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/auth/login_success.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/auth/register_error.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/auth/register_form_active.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/auth/register_success.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/backups/manual_form.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/backups/operations.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/backups/tab.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/cloud_sync/action_error.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/cloud_sync/action_success.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/cloud_sync/config_list_content.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/cloud_sync/create_error.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/cloud_sync/create_success.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/cloud_sync/form.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/cloud_sync/list.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/cloud_sync/provider_fields.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/cloud_sync/providers/s3/s3_provider_options.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/cloud_sync/providers/smb/smb_fields.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/cloud_sync/tab.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/cloud_sync/test_error.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/cloud_sync/test_success.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/cloud_sync/test_warning.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/cloud_sync/update_error.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/cloud_sync/update_success.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/common/error_message.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/debug/debug_panel.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/debug/tab.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/jobs/backup_error.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/jobs/backup_success.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/jobs/current_jobs_list.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/jobs/empty_state.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/jobs/error_state.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/jobs/job_details_static.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/jobs/job_details_streaming.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/jobs/job_item.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/jobs/job_stop_error.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/jobs/job_stop_success.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/jobs/tab.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/jobs/task_item_static.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/jobs/task_item_streaming.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/navigation.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/navigation_nav.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/notifications/action_error.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/notifications/action_success.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/notifications/add_form.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/notifications/config_list_content.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/notifications/create_error.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/notifications/create_success.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/notifications/edit_form.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/notifications/list.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/notifications/providers/discord_fields.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/notifications/providers/pushover_fields.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/notifications/providers/telegram_fields.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/notifications/tab.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/notifications/test_error.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/notifications/test_success.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/notifications/update_error.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/notifications/update_success.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/packages/empty_search.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/packages/error.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/packages/install_error.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/packages/install_success.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/packages/installed_list.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/packages/package_manager.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/packages/remove_error.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/packages/remove_success.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/packages/search_error.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/packages/search_results.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/packages/selected_packages.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/packages/tab.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/prune/action_error.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/prune/action_success.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/prune/config_form.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/prune/config_form_error.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/prune/config_form_success.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/prune/config_list_content.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/prune/create_error.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/prune/create_success.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/prune/delete_error.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/prune/delete_success.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/prune/form.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/prune/policies.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/prune/prune_error.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/prune/prune_success.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/prune/retention_fields.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/prune/strategy_fields.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/prune/tab.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/prune/update_error.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/prune/update_success.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/repositories/create/form_create.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/repositories/create/form_create_error.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/repositories/create/form_create_success.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/repositories/create/form_update_error.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/repositories/create/form_update_success.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/repositories/create/passphrase_field.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/repositories/delete_success.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/repositories/import/encryption_fields.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/repositories/import/form_import.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/repositories/import/form_import_error.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/repositories/import/form_import_success.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/repositories/list.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/repositories/list_content.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/repositories/modal/borg_info.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/repositories/modal/break_lock_button.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/repositories/modal/break_lock_button_modal.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/repositories/modal/details_modal.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/repositories/modal/lock_status.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/repositories/tab.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/repository_check/action_error.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/repository_check/action_success.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/repository_check/check_error.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/repository_check/check_success.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/repository_check/config_list_content.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/repository_check/create_error.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/repository_check/create_form.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/repository_check/create_success.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/repository_check/custom_options.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/repository_check/delete_error.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/repository_check/delete_success.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/repository_check/dynamic_options.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/repository_check/edit_form.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/repository_check/form.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/repository_check/tab.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/repository_check/update_error.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/repository_check/update_success.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/repository_stats/stats_panel.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/schedules/create_error.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/schedules/create_form.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/schedules/create_success.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/schedules/cron_description.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/schedules/cron_expression_form.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/schedules/delete_error.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/schedules/delete_success.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/schedules/edit_form.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/schedules/hooks/hook_field_modal.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/schedules/hooks/hooks_container.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/schedules/hooks/hooks_edit_content.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/schedules/hooks/hooks_modal.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/schedules/hooks/hooks_save_response.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/schedules/hooks/hooks_validation_error.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/schedules/list.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/schedules/patterns/pattern_field_modal.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/schedules/patterns/pattern_validation_result.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/schedules/patterns/patterns_container.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/schedules/patterns/patterns_modal.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/schedules/patterns/patterns_save_response.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/schedules/patterns/patterns_validation_error.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/schedules/patterns/patterns_validation_results.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/schedules/run_success.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/schedules/schedule_list_content.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/schedules/tab.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/schedules/upcoming.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/schedules/upcoming_backups_content.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/schedules/update_error.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/schedules/update_success.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/shared/notification.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/shared/package_autocomplete.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/shared/path_autocomplete.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/shared/path_autocomplete_dropdown.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/shared/path_autocomplete_loading.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/statistics/empty_state.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/statistics/loading_state.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/templates/partials/statistics/repository_selector.html +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/utils/__init__.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/utils/path_prefix.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/utils/template_paths.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/src/borgitory/utils/template_responses.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/tests/__init__.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/tests/fixtures/__init__.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/tests/fixtures/job_fixtures.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/tests/integration/__init__.py +0 -0
- /borgitory-2.7.2/tests/jobs/test_database_integration.py → /borgitory-2.8.0/tests/integration/archives/__init__.py +0 -0
- /borgitory-2.7.2/tests/test_cache_dir_functionality.py → /borgitory-2.8.0/tests/integration/auth/__init__.py +0 -0
- {borgitory-2.7.2/tests → borgitory-2.8.0/tests/integration}/auth/test_auth_htmx.py +0 -0
- {borgitory-2.7.2/tests → borgitory-2.8.0/tests/integration}/auth/test_auth_redirect_flow.py +0 -0
- {borgitory-2.7.2/tests → borgitory-2.8.0/tests/integration}/auth/test_main_login_page.py +0 -0
- /borgitory-2.7.2/tests/test_cache_dir_normalization.py → /borgitory-2.8.0/tests/integration/cloud_sync/__init__.py +0 -0
- {borgitory-2.7.2/tests → borgitory-2.8.0/tests/integration}/cloud_sync/test_s3_api.py +0 -0
- {borgitory-2.7.2/tests → borgitory-2.8.0/tests/integration}/jobs/test_job_stop_api_simple.py +0 -0
- {borgitory-2.7.2/tests → borgitory-2.8.0/tests/integration}/jobs/test_job_stop_integration.py +0 -0
- {borgitory-2.7.2/tests → borgitory-2.8.0/tests/integration}/notifications/test_notification_configs_api.py +0 -0
- {borgitory-2.7.2/tests → borgitory-2.8.0/tests/integration}/packages/test_package_selection_endpoints.py +0 -0
- {borgitory-2.7.2/tests → borgitory-2.8.0/tests/integration}/repositories/test_repositories_api.py +0 -0
- {borgitory-2.7.2/tests → borgitory-2.8.0/tests/integration}/repositories/test_repository_check_configs_api.py +0 -0
- {borgitory-2.7.2/tests → borgitory-2.8.0/tests/integration}/schedules/test_cron_description_api.py +0 -0
- {borgitory-2.7.2/tests → borgitory-2.8.0/tests/integration}/schedules/test_cron_description_htmx_api.py +0 -0
- {borgitory-2.7.2/tests → borgitory-2.8.0/tests/integration}/test_backups_api.py +0 -0
- {borgitory-2.7.2/tests → borgitory-2.8.0/tests/integration}/test_basic.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/tests/integration/test_basic_endpoints.py +0 -0
- {borgitory-2.7.2/tests → borgitory-2.8.0/tests/integration}/test_di_testing_infrastructure.py +0 -0
- {borgitory-2.7.2/tests → borgitory-2.8.0/tests/integration}/test_prune_api.py +0 -0
- {borgitory-2.7.2/tests → borgitory-2.8.0/tests/integration}/test_repository_archives_navigation.py +0 -0
- {borgitory-2.7.2/tests → borgitory-2.8.0/tests/unit}/borg/test_borg_service_core.py +0 -0
- {borgitory-2.7.2/tests → borgitory-2.8.0/tests/unit}/cloud_providers/test_display_details.py +0 -0
- {borgitory-2.7.2/tests → borgitory-2.8.0/tests/unit}/cloud_providers/test_orchestration.py +0 -0
- {borgitory-2.7.2/tests → borgitory-2.8.0/tests/unit}/cloud_providers/test_registry.py +0 -0
- {borgitory-2.7.2/tests → borgitory-2.8.0/tests/unit}/cloud_providers/test_s3_provider_config.py +0 -0
- {borgitory-2.7.2/tests → borgitory-2.8.0/tests/unit}/cloud_providers/test_schema_validation.py +0 -0
- {borgitory-2.7.2/tests → borgitory-2.8.0/tests/unit}/cloud_providers/test_service.py +0 -0
- {borgitory-2.7.2/tests → borgitory-2.8.0/tests/unit}/cloud_providers/test_smb_storage.py +0 -0
- {borgitory-2.7.2/tests → borgitory-2.8.0/tests/unit}/cloud_providers/test_storage.py +0 -0
- {borgitory-2.7.2/tests → borgitory-2.8.0/tests/unit}/cloud_providers/test_types.py +0 -0
- {borgitory-2.7.2/tests → borgitory-2.8.0/tests/unit}/command_execution/test_linux_command_executor.py +0 -0
- {borgitory-2.7.2/tests → borgitory-2.8.0/tests/unit}/command_execution/test_wsl_command_executor.py +0 -0
- {borgitory-2.7.2/tests → borgitory-2.8.0/tests/unit}/factories/test_service_factory.py +0 -0
- {borgitory-2.7.2/tests → borgitory-2.8.0/tests/unit}/hooks/test_api_critical_hooks.py +0 -0
- {borgitory-2.7.2/tests → borgitory-2.8.0/tests/unit}/hooks/test_composite_job_critical_failure.py +0 -0
- {borgitory-2.7.2/tests → borgitory-2.8.0/tests/unit}/hooks/test_critical_hook_config.py +0 -0
- {borgitory-2.7.2/tests → borgitory-2.8.0/tests/unit}/hooks/test_critical_hook_execution.py +0 -0
- {borgitory-2.7.2/tests → borgitory-2.8.0/tests/unit}/hooks/test_hook_config.py +0 -0
- {borgitory-2.7.2/tests → borgitory-2.8.0/tests/unit}/hooks/test_hook_execution_service.py +0 -0
- {borgitory-2.7.2/tests → borgitory-2.8.0/tests/unit}/hooks/test_notification_messages_hooks.py +0 -0
- {borgitory-2.7.2/tests → borgitory-2.8.0/tests/unit}/hooks/test_task_definition_integration.py +0 -0
- {borgitory-2.7.2/tests → borgitory-2.8.0/tests/unit}/jobs/conftest.py +0 -0
- {borgitory-2.7.2/tests → borgitory-2.8.0/tests/unit}/jobs/test_compact_task_executor.py +0 -0
- {borgitory-2.7.2/tests → borgitory-2.8.0/tests/unit}/jobs/test_ignore_lock_functionality.py +0 -0
- {borgitory-2.7.2/tests → borgitory-2.8.0/tests/unit}/jobs/test_job_database_manager.py +0 -0
- {borgitory-2.7.2/tests → borgitory-2.8.0/tests/unit}/jobs/test_job_event_broadcaster.py +0 -0
- {borgitory-2.7.2/tests → borgitory-2.8.0/tests/unit}/jobs/test_job_executor.py +0 -0
- {borgitory-2.7.2/tests → borgitory-2.8.0/tests/unit}/jobs/test_job_executor_comprehensive.py +0 -0
- {borgitory-2.7.2/tests → borgitory-2.8.0/tests/unit}/jobs/test_job_manager.py +0 -0
- {borgitory-2.7.2/tests → borgitory-2.8.0/tests/unit}/jobs/test_job_manager_comprehensive.py +0 -0
- {borgitory-2.7.2/tests → borgitory-2.8.0/tests/unit}/jobs/test_job_manager_factory.py +0 -0
- {borgitory-2.7.2/tests → borgitory-2.8.0/tests/unit}/jobs/test_job_manager_stop.py +0 -0
- {borgitory-2.7.2/tests → borgitory-2.8.0/tests/unit}/jobs/test_job_manager_task_execution.py +0 -0
- {borgitory-2.7.2/tests → borgitory-2.8.0/tests/unit}/jobs/test_job_output_manager.py +0 -0
- {borgitory-2.7.2/tests → borgitory-2.8.0/tests/unit}/jobs/test_job_render_service_coverage.py +0 -0
- {borgitory-2.7.2/tests → borgitory-2.8.0/tests/unit}/jobs/test_job_render_service_new_architecture.py +0 -0
- {borgitory-2.7.2/tests → borgitory-2.8.0/tests/unit}/jobs/test_job_service.py +0 -0
- {borgitory-2.7.2/tests → borgitory-2.8.0/tests/unit}/jobs/test_job_stop_functionality.py +0 -0
- {borgitory-2.7.2/tests → borgitory-2.8.0/tests/unit}/jobs/test_job_stop_service.py +0 -0
- {borgitory-2.7.2/tests → borgitory-2.8.0/tests/unit}/jobs/test_sse_multiline_formatting.py +0 -0
- {borgitory-2.7.2/tests → borgitory-2.8.0/tests/unit}/notifications/test_discord_provider.py +0 -0
- {borgitory-2.7.2/tests → borgitory-2.8.0/tests/unit}/notifications/test_notification_config_service.py +0 -0
- {borgitory-2.7.2/tests → borgitory-2.8.0/tests/unit}/notifications/test_pushover_provider.py +0 -0
- {borgitory-2.7.2/tests → borgitory-2.8.0/tests/unit}/notifications/test_telegram_provider.py +0 -0
- {borgitory-2.7.2/tests → borgitory-2.8.0/tests/unit}/packages/test_package_database_integration.py +0 -0
- {borgitory-2.7.2/tests → borgitory-2.8.0/tests/unit}/packages/test_package_manager_service.py +0 -0
- {borgitory-2.7.2/tests → borgitory-2.8.0/tests/unit}/protocols/protocol_testing_utils.py +0 -0
- {borgitory-2.7.2/tests → borgitory-2.8.0/tests/unit}/protocols/test_protocol_compliance.py +0 -0
- {borgitory-2.7.2/tests → borgitory-2.8.0/tests/unit}/repositories/test_repository_check_config_service.py +0 -0
- {borgitory-2.7.2/tests → borgitory-2.8.0/tests/unit}/repositories/test_repository_management_service.py +0 -0
- {borgitory-2.7.2/tests → borgitory-2.8.0/tests/unit}/repositories/test_repository_service.py +0 -0
- {borgitory-2.7.2/tests → borgitory-2.8.0/tests/unit}/repositories/test_repository_stats_service_unit.py +0 -0
- {borgitory-2.7.2/tests → borgitory-2.8.0/tests/unit}/schedules/test_scheduler_service.py +0 -0
- {borgitory-2.7.2/tests → borgitory-2.8.0/tests/unit}/schedules/test_validate_patterns_json.py +0 -0
- {borgitory-2.7.2/tests → borgitory-2.8.0/tests/unit}/scheduling/test_hook_service.py +0 -0
- {borgitory-2.7.2/tests → borgitory-2.8.0/tests/unit}/scheduling/test_pattern_service.py +0 -0
- {borgitory-2.7.2/tests → borgitory-2.8.0/tests/unit}/services/migrations/test_migration_service.py +0 -0
- {borgitory-2.7.2/tests → borgitory-2.8.0/tests/unit}/services/test_borg_pattern_validation_service.py +0 -0
- {borgitory-2.7.2/tests → borgitory-2.8.0/tests/unit}/test_cron_description_service.py +0 -0
- {borgitory-2.7.2/tests → borgitory-2.8.0/tests/unit}/test_database_models.py +0 -0
- {borgitory-2.7.2/tests → borgitory-2.8.0/tests/unit}/test_datetime_utils.py +0 -0
- {borgitory-2.7.2/tests → borgitory-2.8.0/tests/unit}/test_debug_service.py +0 -0
- {borgitory-2.7.2/tests → borgitory-2.8.0/tests/unit}/test_dependencies.py +0 -0
- {borgitory-2.7.2/tests → borgitory-2.8.0/tests/unit}/test_path_service.py +0 -0
- {borgitory-2.7.2/tests → borgitory-2.8.0/tests/unit}/test_prune_service.py +0 -0
- {borgitory-2.7.2/tests → borgitory-2.8.0/tests/unit}/test_recovery_service.py +0 -0
- {borgitory-2.7.2/tests → borgitory-2.8.0/tests/unit}/test_retention_constants.py +0 -0
- {borgitory-2.7.2/tests → borgitory-2.8.0/tests/unit}/test_secure_path_comprehensive.py +0 -0
- {borgitory-2.7.2/tests → borgitory-2.8.0/tests/unit}/test_simple_command_runner.py +0 -0
- {borgitory-2.7.2/tests → borgitory-2.8.0/tests/unit}/test_streaming_edge_cases.py +0 -0
- {borgitory-2.7.2/tests → borgitory-2.8.0/tests/unit}/test_streaming_fixes.py +0 -0
- {borgitory-2.7.2/tests → borgitory-2.8.0/tests/unit}/test_task_definition_builder.py +0 -0
- {borgitory-2.7.2 → borgitory-2.8.0}/tests/utils/__init__.py +0 -0
- {borgitory-2.7.2 → 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
|
|
@@ -48,6 +48,7 @@ Requires-Dist: cron-descriptor>=2.0.6
|
|
|
48
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
|
|
@@ -61,8 +62,10 @@ Requires-Dist: debugpy>=1.8.20; extra == 'dev'
|
|
|
61
62
|
Requires-Dist: djlint>=1.36.4; extra == 'dev'
|
|
62
63
|
Requires-Dist: httpx>=0.28.1; extra == 'dev'
|
|
63
64
|
Requires-Dist: mypy>=1.19.1; extra == 'dev'
|
|
65
|
+
Requires-Dist: pre-commit>=4.5.1; extra == 'dev'
|
|
64
66
|
Requires-Dist: pytest-asyncio>=1.3.0; extra == 'dev'
|
|
65
67
|
Requires-Dist: pytest-cov>=7.0.0; extra == 'dev'
|
|
68
|
+
Requires-Dist: pytest-playwright>=0.7.2; extra == 'dev'
|
|
66
69
|
Requires-Dist: pytest>=9.0.2; extra == 'dev'
|
|
67
70
|
Requires-Dist: ruff>=0.15.0; extra == 'dev'
|
|
68
71
|
Requires-Dist: sqlalchemy[mypy]>=2.0.46; extra == 'dev'
|
|
@@ -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"}
|
|
@@ -34,6 +34,7 @@ dependencies = [
|
|
|
34
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",
|
|
@@ -46,17 +47,19 @@ dependencies = [
|
|
|
46
47
|
|
|
47
48
|
[project.optional-dependencies]
|
|
48
49
|
dev = [
|
|
49
|
-
"
|
|
50
|
+
"debugpy>=1.8.20",
|
|
50
51
|
"djlint>=1.36.4",
|
|
52
|
+
"httpx>=0.28.1",
|
|
53
|
+
"mypy>=1.19.1",
|
|
54
|
+
"pre-commit>=4.5.1",
|
|
51
55
|
"pytest>=9.0.2",
|
|
52
56
|
"pytest-asyncio>=1.3.0",
|
|
53
57
|
"pytest-cov>=7.0.0",
|
|
54
|
-
"
|
|
55
|
-
"
|
|
58
|
+
"pytest-playwright>=0.7.2",
|
|
59
|
+
"ruff>=0.15.0",
|
|
56
60
|
"sqlalchemy[mypy]>=2.0.46",
|
|
57
61
|
"types-python-dateutil>=2.9.0.20260124",
|
|
58
62
|
"types-aiofiles>=25.1.0.20251011",
|
|
59
|
-
"debugpy>=1.8.20",
|
|
60
63
|
]
|
|
61
64
|
|
|
62
65
|
[project.urls]
|
|
@@ -115,7 +118,7 @@ line-length = 88
|
|
|
115
118
|
indent-width = 4
|
|
116
119
|
|
|
117
120
|
# Assume Python 3.14+.
|
|
118
|
-
target-version = "2.
|
|
121
|
+
target-version = "2.8.0"
|
|
119
122
|
|
|
120
123
|
[tool.ruff.lint]
|
|
121
124
|
# Enable Pyflakes (`F`) and a subset of the pycodestyle (`E`) codes by default.
|
|
@@ -151,13 +154,15 @@ python_files = ["test_*.py"]
|
|
|
151
154
|
python_classes = ["Test*"]
|
|
152
155
|
python_functions = ["test_*"]
|
|
153
156
|
|
|
157
|
+
addopts = "-p no:playwright -m 'not e2e'"
|
|
158
|
+
|
|
154
159
|
# asyncio plugin configuration
|
|
155
160
|
asyncio_mode = "auto"
|
|
156
|
-
asyncio_default_fixture_loop_scope = "function"
|
|
157
161
|
|
|
158
162
|
# Custom markers
|
|
159
163
|
markers = [
|
|
160
164
|
"integration: marks tests as integration tests (may require external dependencies)",
|
|
165
|
+
"e2e: marks tests as end-to-end browser tests (requires playwright)",
|
|
161
166
|
]
|
|
162
167
|
|
|
163
168
|
[tool.coverage.run]
|
|
@@ -182,7 +187,7 @@ exclude_lines = [
|
|
|
182
187
|
|
|
183
188
|
[tool.mypy]
|
|
184
189
|
# Basic settings
|
|
185
|
-
python_version = "2.
|
|
190
|
+
python_version = "2.8.0"
|
|
186
191
|
strict = true
|
|
187
192
|
|
|
188
193
|
# Display options
|
|
@@ -236,6 +241,12 @@ module = [
|
|
|
236
241
|
]
|
|
237
242
|
ignore_missing_imports = true
|
|
238
243
|
|
|
244
|
+
[[tool.mypy.overrides]]
|
|
245
|
+
module = "tests.*"
|
|
246
|
+
disallow_untyped_decorators = false
|
|
247
|
+
disallow_any_unimported = false
|
|
248
|
+
warn_return_any = false
|
|
249
|
+
|
|
239
250
|
[tool.djlint]
|
|
240
251
|
profile = "jinja"
|
|
241
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
|
|
@@ -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
|
|
|
@@ -269,7 +280,7 @@ async def get_cloud_sync_configs_html(
|
|
|
269
280
|
for config in configs_raw:
|
|
270
281
|
try:
|
|
271
282
|
provider_config = json.loads(config.provider_config)
|
|
272
|
-
except
|
|
283
|
+
except json.JSONDecodeError, AttributeError:
|
|
273
284
|
provider_config = {}
|
|
274
285
|
|
|
275
286
|
display_info = _get_provider_display_details(
|
|
@@ -278,7 +289,9 @@ async def get_cloud_sync_configs_html(
|
|
|
278
289
|
|
|
279
290
|
processed_config = config.__dict__.copy()
|
|
280
291
|
processed_config["provider_name"] = display_info["provider_name"]
|
|
281
|
-
processed_config["provider_details"] =
|
|
292
|
+
processed_config["provider_details"] = _provider_details_to_html(
|
|
293
|
+
display_info["provider_details"]
|
|
294
|
+
)
|
|
282
295
|
processed_configs.append(type("Config", (), processed_config)())
|
|
283
296
|
|
|
284
297
|
browser_tz_offset = get_browser_timezone_offset(request)
|
|
@@ -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."""
|
|
@@ -295,9 +295,9 @@ class ScheduleBase(BaseModel):
|
|
|
295
295
|
"Cron expression must have 5 parts: minute hour day month weekday"
|
|
296
296
|
)
|
|
297
297
|
|
|
298
|
-
#
|
|
298
|
+
# Allow numbers, wildcards, ranges/lists/steps, and cron month/weekday names
|
|
299
299
|
for i, part in enumerate(parts):
|
|
300
|
-
if not re.match(r"^[\d
|
|
300
|
+
if not re.match(r"^[\d\*a-zA-Z\-\,\/]+$", part):
|
|
301
301
|
raise ValueError(f"Invalid cron expression part {i + 1}: {part}")
|
|
302
302
|
|
|
303
303
|
return v
|
|
@@ -442,7 +442,7 @@ class ScheduleUpdate(BaseModel):
|
|
|
442
442
|
"Invalid cron expression format. Expected 5 parts: minute hour day_of_month month day_of_week"
|
|
443
443
|
)
|
|
444
444
|
for i, part in enumerate(parts):
|
|
445
|
-
if not re.match(r"^[\d
|
|
445
|
+
if not re.match(r"^[\d\*a-zA-Z\-\,\/]+$", part):
|
|
446
446
|
raise ValueError(f"Invalid cron expression part {i + 1}: {part}")
|
|
447
447
|
return v
|
|
448
448
|
|
|
@@ -60,6 +60,16 @@ class PlatformServiceProtocol(ABC):
|
|
|
60
60
|
"""
|
|
61
61
|
pass
|
|
62
62
|
|
|
63
|
+
@abstractmethod
|
|
64
|
+
def is_macos(self) -> bool:
|
|
65
|
+
"""
|
|
66
|
+
Check if running on macOS.
|
|
67
|
+
|
|
68
|
+
Returns:
|
|
69
|
+
True if running on macOS (darwin)
|
|
70
|
+
"""
|
|
71
|
+
pass
|
|
72
|
+
|
|
63
73
|
|
|
64
74
|
class PathServiceInterface(ABC):
|
|
65
75
|
"""
|
|
@@ -12,6 +12,7 @@ from datetime import datetime, timedelta
|
|
|
12
12
|
|
|
13
13
|
from starlette.responses import StreamingResponse
|
|
14
14
|
|
|
15
|
+
from borgitory.config.command_runner_config import CommandRunnerConfig
|
|
15
16
|
from borgitory.models.database import Repository
|
|
16
17
|
from borgitory.services.archives.archive_models import ArchiveEntry
|
|
17
18
|
from borgitory.protocols.command_executor_protocol import CommandExecutorProtocol
|
|
@@ -42,11 +43,13 @@ class ArchiveManager:
|
|
|
42
43
|
self,
|
|
43
44
|
job_executor: "ProcessExecutorProtocol",
|
|
44
45
|
command_executor: CommandExecutorProtocol,
|
|
46
|
+
command_runner_config: CommandRunnerConfig,
|
|
45
47
|
cache_ttl: timedelta = timedelta(minutes=30),
|
|
46
48
|
) -> None:
|
|
47
49
|
self.job_executor = job_executor
|
|
48
50
|
self.command_executor = command_executor
|
|
49
51
|
self.cache_ttl = cache_ttl
|
|
52
|
+
self.command_runner_config = command_runner_config
|
|
50
53
|
|
|
51
54
|
# In-memory cache for archive contents
|
|
52
55
|
# Key: "repository_path::archive_name", Value: (items, cached_at)
|
|
@@ -202,14 +205,18 @@ class ArchiveManager:
|
|
|
202
205
|
validate_archive_name(archive_name)
|
|
203
206
|
|
|
204
207
|
# Build borg extract command with --stdout
|
|
205
|
-
#
|
|
206
|
-
|
|
207
|
-
|
|
208
|
+
# Borg archives store paths without a leading slash; strip any that
|
|
209
|
+
# may have been passed in so the include pattern matches correctly.
|
|
210
|
+
file_path = file_path.lstrip("/")
|
|
208
211
|
borg_args = ["--stdout", f"{repository.path}::{archive_name}", file_path]
|
|
209
212
|
|
|
210
|
-
#
|
|
213
|
+
# repository_path is intentionally empty here because the
|
|
214
|
+
# REPO::ARCHIVE spec is already embedded in borg_args. Passing it
|
|
215
|
+
# again would cause build_secure_borg_command to append the bare
|
|
216
|
+
# repo path as a trailing argument, which borg treats as an include
|
|
217
|
+
# pattern that never matches (issue #227).
|
|
211
218
|
borg_command = create_borg_command(
|
|
212
|
-
repository_path=
|
|
219
|
+
repository_path="",
|
|
213
220
|
passphrase=repository.get_passphrase(),
|
|
214
221
|
base_command="borg extract",
|
|
215
222
|
additional_args=borg_args,
|
|
@@ -313,7 +320,7 @@ class ArchiveManager:
|
|
|
313
320
|
cmd_result = await self.command_executor.execute_command(
|
|
314
321
|
command=borg_command.command,
|
|
315
322
|
env=borg_command.environment,
|
|
316
|
-
timeout=
|
|
323
|
+
timeout=self.command_runner_config.timeout,
|
|
317
324
|
)
|
|
318
325
|
|
|
319
326
|
if not cmd_result.success:
|
|
@@ -364,7 +371,7 @@ class ArchiveManager:
|
|
|
364
371
|
# Parse size from default JSON output
|
|
365
372
|
try:
|
|
366
373
|
size = int(data.get("size", 0))
|
|
367
|
-
except
|
|
374
|
+
except ValueError, TypeError:
|
|
368
375
|
size = 0
|
|
369
376
|
|
|
370
377
|
# Parse mtime from default JSON output
|