borgitory 3.1.0__tar.gz → 3.1.1__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-3.1.0 → borgitory-3.1.1}/PKG-INFO +28 -1
- {borgitory-3.1.0 → borgitory-3.1.1}/README.md +26 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/pyproject.toml +32 -12
- borgitory-3.1.1/src/borgitory/alembic/versions/a4c2e8f1b7d3_add_notify_on_to_notification_configs.py +33 -0
- borgitory-3.1.1/src/borgitory/alembic/versions/a7e2c4f1d8b3_hash_session_tokens.py +46 -0
- borgitory-3.1.1/src/borgitory/alembic/versions/b91d3e6a2f57_make_repository_encryption_type_not_null.py +43 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/api/auth.py +45 -9
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/api/cloud_sync/cloud_sync.py +1 -1
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/api/debug.py +14 -3
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/api/notifications.py +52 -3
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/api/repositories.py +1 -1
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/api/repository_check_configs.py +3 -1
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/api/repository_stats.py +6 -4
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/api/schedules.py +3 -1
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/dependencies.py +2 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/main.py +22 -10
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/models/borg_info.py +2 -1
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/models/database.py +4 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/models/schemas.py +6 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/protocols/job_output_manager_protocol.py +10 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/protocols/job_protocols.py +4 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/services/archives/archive_manager.py +5 -4
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/services/borg/borg_pattern_validation_service.py +5 -5
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/services/borg_service.py +2 -2
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/services/cloud_providers/orchestration.py +3 -2
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/services/cloud_providers/registry.py +2 -2
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/services/cloud_providers/registry_factory.py +2 -2
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/services/cloud_providers/storage/base.py +21 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/services/cloud_providers/storage/pcloud_storage.py +14 -7
- borgitory-3.1.1/src/borgitory/services/cloud_providers/storage/rclone_credentials.py +51 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/services/cloud_providers/storage/s3_storage.py +25 -29
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/services/cloud_providers/storage/sftp_storage.py +23 -34
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/services/cloud_providers/storage/smb_storage.py +21 -33
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/services/cloud_sync_config_service.py +2 -2
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/services/command_execution/linux_command_executor.py +3 -2
- borgitory-3.1.1/src/borgitory/services/command_execution/redaction.py +35 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/services/command_execution/wsl_command_executor.py +3 -1
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/services/debug_service.py +15 -4
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/services/files/linux_file_service.py +18 -10
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/services/hooks/hook_config.py +2 -2
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/services/jobs/job_executor.py +1 -1
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/services/jobs/job_manager.py +49 -15
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/services/jobs/job_models.py +25 -3
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/services/jobs/job_output_manager.py +22 -11
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/services/jobs/job_queue_manager.py +15 -7
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/services/jobs/job_render_service.py +2 -2
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/services/jobs/job_stream_service.py +9 -6
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/services/jobs/task_executors/backup_task_executor.py +5 -11
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/services/jobs/task_executors/check_task_executor.py +3 -10
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/services/jobs/task_executors/cloud_sync_task_executor.py +4 -11
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/services/jobs/task_executors/compact_task_executor.py +1 -6
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/services/jobs/task_executors/notification_task_executor.py +39 -10
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/services/jobs/task_executors/prune_task_executor.py +1 -6
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/services/notifications/apprise_storage.py +3 -1
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/services/notifications/config_service.py +12 -3
- borgitory-3.1.1/src/borgitory/services/notifications/types.py +96 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/services/repositories/repository_stats_service.py +1 -1
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/services/scheduling/scheduler_service.py +8 -14
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/services/system/system_operations.py +15 -8
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/services/task_definition_builder.py +1 -1
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/services/upcoming_backups_service.py +5 -4
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/notifications/add_form.html +3 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/notifications/config_list_content.html +4 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/notifications/edit_form.html +1 -0
- borgitory-3.1.1/src/borgitory/templates/partials/notifications/notify_on_select.html +21 -0
- borgitory-3.1.1/src/borgitory/utils/background_tasks.py +68 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/utils/secure_path.py +15 -6
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/utils/security.py +2 -2
- borgitory-3.1.1/src/borgitory/utils/web_security.py +164 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/conftest.py +8 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/fixtures/job_fixtures.py +6 -3
- borgitory-3.1.1/tests/integration/auth/test_auth_hardening.py +73 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/integration/notifications/test_notification_configs_api.py +112 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/integration/schedules/test_cron_description_api.py +1 -1
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/integration/schedules/test_cron_description_htmx_api.py +1 -1
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/integration/test_app_startup.py +15 -3
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/unit/archives/test_archive_manager_caching.py +3 -2
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/unit/borg/test_borg_service_core.py +1 -1
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/unit/cloud_providers/test_orchestration.py +12 -27
- borgitory-3.1.1/tests/unit/cloud_providers/test_process_cleanup.py +58 -0
- borgitory-3.1.1/tests/unit/cloud_providers/test_rclone_credentials.py +138 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/unit/cloud_providers/test_sftp_storage.py +2 -1
- borgitory-3.1.1/tests/unit/command_execution/test_redaction.py +22 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/unit/hooks/test_job_manager_critical_hooks.py +1 -1
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/unit/jobs/test_backup_source_paths.py +2 -2
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/unit/jobs/test_ignore_lock_functionality.py +2 -2
- borgitory-3.1.1/tests/unit/jobs/test_job_memory_bounds.py +67 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/unit/jobs/test_job_stream_service.py +57 -0
- borgitory-3.1.1/tests/unit/jobs/test_notification_task_executor_policy.py +236 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/unit/notifications/test_notification_config_service.py +54 -1
- borgitory-3.1.1/tests/unit/notifications/test_notification_policy.py +56 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/unit/protocols/test_protocol_compliance.py +1 -1
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/unit/protocols/test_simple_command_runner_protocol.py +1 -1
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/unit/services/test_borg_pattern_validation_service.py +1 -1
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/unit/test_cron_description_service.py +1 -1
- borgitory-3.1.1/tests/unit/test_migration_drift.py +116 -0
- borgitory-3.1.1/tests/unit/test_route_auth.py +112 -0
- borgitory-3.1.1/tests/unit/utils/test_background_tasks.py +51 -0
- borgitory-3.1.1/tests/unit/utils/test_web_security.py +130 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/utils/di_testing.py +1 -1
- borgitory-3.1.0/src/borgitory/services/notifications/types.py +0 -49
- {borgitory-3.1.0 → borgitory-3.1.1}/.gitignore +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/LICENSE +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/__init__.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/alembic/README +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/alembic/env.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/alembic/script.py.mako +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/alembic/versions/02b7b29d38c0_add_encryption_type_and_keyfile_content_.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/alembic/versions/18b9095bc772_add_patterns_column_to_schedules_table.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/alembic/versions/1bf41c3dc043_multiple_source_paths_for_schedules.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/alembic/versions/1d47e9231dd0_rename_cleanup_to_prune.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/alembic/versions/256b9fa9d31f_manual_only_and_dry_run_schedules.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/alembic/versions/2628b151e709_make_passphrase_optional.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/alembic/versions/3335c0eac68e_create_initial_schema.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/alembic/versions/5e6cc17d11a5_user_installed_packages.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/alembic/versions/78c9fff46e06_add_compact_after_field_to_pruneconfig.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/alembic/versions/8390ab2be88a_migrate_notifications_to_apprise.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/alembic/versions/9b5d5f5e8cbc_add_pre_post_job_hooks_to_schedule.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/alembic/versions/9e4c8456ea53_add_cache_dir_field_to_repositories_.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/alembic/versions/9f06f8c8088d_initial_empty_state.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/alembic/versions/c3f1a7d2b9e4_add_remote_ssh_fields_to_repositories.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/alembic/versions/d294fdc9a5e7_fix_uuid_columns_for_sqlite.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/alembic/versions/eb3518e71c73_add_more_prune_settings_to_cleanup_.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/alembic.ini +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/api/__init__.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/api/backups.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/api/cancel_on_disconnect.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/api/cloud_sync/__init__.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/api/cloud_sync/s3.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/api/jobs.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/api/packages.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/api/prune.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/api/shared.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/api/tabs.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/cli.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/config/__init__.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/config/command_runner_config.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/config/job_manager_config.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/config_module.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/constants/__init__.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/constants/retention.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/custom_types.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/factories/__init__.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/factories/service_factory.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/models/__init__.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/models/enums.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/models/job_results.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/models/patterns.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/models/repository_dtos.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/protocols/__init__.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/protocols/archive_manager_protocol.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/protocols/cloud_protocols.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/protocols/command_executor_protocol.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/protocols/command_protocols.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/protocols/environment_protocol.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/protocols/file_protocols.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/protocols/job_database_manager_protocol.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/protocols/job_event_broadcaster_protocol.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/protocols/job_queue_manager_protocol.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/protocols/notification_protocols.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/protocols/path_protocols.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/protocols/repository_protocols.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/protocols/storage_protocols.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/protocols/system_protocol.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/py.typed +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/services/__init__.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/services/archives/archive_models.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/services/borg/shell_pattern.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/services/cloud_providers/__init__.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/services/cloud_providers/cloud_sync_service.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/services/cloud_providers/storage/__init__.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/services/cloud_providers/storage/s3_provider_config.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/services/cloud_providers/types.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/services/command_execution/__init__.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/services/command_execution/command_executor_factory.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/services/configuration_service.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/services/cron_description_service.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/services/encryption_service.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/services/files/file_service_factory.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/services/files/wsl_file_service.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/services/hooks/__init__.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/services/hooks/hook_execution_service.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/services/jobs/broadcaster/event_type.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/services/jobs/broadcaster/job_event.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/services/jobs/broadcaster/job_event_broadcaster.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/services/jobs/job_database_manager.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/services/jobs/job_manager_factory.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/services/jobs/job_service.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/services/jobs/task_executors/__init__.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/services/jobs/task_executors/hook_task_executor.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/services/migrations/__init__.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/services/migrations/migration_factory.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/services/migrations/migration_service.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/services/notifications/__init__.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/services/notifications/apprise_catalog.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/services/notifications/apprise_url_builder.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/services/notifications/service.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/services/package_manager_service.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/services/path/__init__.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/services/path/path_service.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/services/path/path_service_factory.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/services/path/platform_service.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/services/prune_service.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/services/rclone_service.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/services/rclone_types.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/services/recovery_service.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/services/repositories/repository_check_config_service.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/services/repositories/repository_environment.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/services/repositories/repository_service.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/services/scheduling/cron_utils.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/services/scheduling/hook_service.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/services/scheduling/pattern_service.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/services/scheduling/schedule_service.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/services/simple_command_runner.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/services/ssh/__init__.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/services/ssh/repository_ssh_service.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/services/startup/package_restoration_service.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/services/system/__init__.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/services/volumes/file_system_interface.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/services/volumes/os_file_system.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/static/css/modern-components.css +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/static/css/tailwind-input.css +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/static/favicon/android-chrome-192x192.png +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/static/favicon/android-chrome-512x512.png +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/static/favicon/apple-touch-icon.png +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/static/favicon/favicon-16x16.png +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/static/favicon/favicon-32x32.png +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/static/favicon/favicon.ico +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/static/favicon/site.webmanifest +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/static/js/app.js +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/static/js/components/jobs.js +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/static/js/components/navigation.js +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/static/vendor/chart.min.js +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/static/vendor/htmx-ext-json-enc.js +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/static/vendor/htmx-ext-sse.js +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/static/vendor/htmx.min.js +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/base.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/index.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/login.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/macros/datetime.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/archives/contents_modal.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/archives/directory_contents.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/archives/directory_loading_state.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/archives/directory_loading_with_trigger.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/archives/empty_state.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/archives/error_message.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/archives/list_content.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/archives/loading_state.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/archives/loading_with_trigger.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/archives/repository_selector.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/archives/tab.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/auth/login_error.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/auth/login_form_active.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/auth/login_success.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/auth/register_error.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/auth/register_form_active.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/auth/register_success.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/backups/manual_form.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/backups/operations.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/backups/tab.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/cloud_sync/action_error.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/cloud_sync/action_success.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/cloud_sync/config_list_content.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/cloud_sync/create_error.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/cloud_sync/create_success.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/cloud_sync/form.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/cloud_sync/list.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/cloud_sync/provider_fields.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/cloud_sync/providers/pcloud/pcloud_fields.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/cloud_sync/providers/s3/s3_endpoint_field.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/cloud_sync/providers/s3/s3_fields.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/cloud_sync/providers/s3/s3_provider_options.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/cloud_sync/providers/s3/s3_region_options.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/cloud_sync/providers/s3/s3_storage_class_options.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/cloud_sync/providers/sftp/sftp_fields.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/cloud_sync/providers/smb/smb_fields.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/cloud_sync/tab.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/cloud_sync/test_error.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/cloud_sync/test_success.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/cloud_sync/test_warning.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/cloud_sync/update_error.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/cloud_sync/update_success.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/common/error_message.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/debug/debug_panel.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/debug/tab.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/jobs/backup_error.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/jobs/backup_success.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/jobs/current_jobs_list.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/jobs/empty_state.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/jobs/error_state.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/jobs/job_details_static.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/jobs/job_details_streaming.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/jobs/job_item.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/jobs/job_stop_error.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/jobs/job_stop_success.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/jobs/tab.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/jobs/task_item_static.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/jobs/task_item_streaming.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/navigation.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/navigation_nav.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/notifications/action_error.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/notifications/action_success.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/notifications/apprise_fields.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/notifications/create_error.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/notifications/create_success.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/notifications/list.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/notifications/manual_fields.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/notifications/service_select.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/notifications/tab.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/notifications/test_error.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/notifications/test_success.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/notifications/update_error.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/notifications/update_success.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/packages/empty_search.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/packages/error.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/packages/install_error.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/packages/install_success.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/packages/installed_list.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/packages/package_manager.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/packages/remove_error.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/packages/remove_success.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/packages/search_error.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/packages/search_results.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/packages/selected_packages.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/packages/tab.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/prune/action_error.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/prune/action_success.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/prune/config_form.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/prune/config_form_error.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/prune/config_form_success.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/prune/config_list_content.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/prune/create_error.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/prune/create_success.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/prune/delete_error.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/prune/delete_success.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/prune/form.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/prune/policies.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/prune/prune_error.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/prune/prune_success.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/prune/retention_fields.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/prune/strategy_fields.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/prune/tab.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/prune/update_error.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/prune/update_success.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/repositories/create/form_create.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/repositories/create/form_create_error.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/repositories/create/form_create_success.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/repositories/create/form_update_error.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/repositories/create/form_update_success.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/repositories/create/passphrase_field.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/repositories/delete_success.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/repositories/import/encryption_fields.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/repositories/import/form_import.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/repositories/import/form_import_error.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/repositories/import/form_import_success.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/repositories/list.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/repositories/list_content.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/repositories/modal/borg_info.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/repositories/modal/break_lock_button.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/repositories/modal/break_lock_button_modal.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/repositories/modal/details_modal.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/repositories/modal/lock_status.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/repositories/ssh_fields.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/repositories/tab.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/repository_check/action_error.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/repository_check/action_success.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/repository_check/check_error.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/repository_check/check_success.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/repository_check/config_list_content.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/repository_check/create_error.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/repository_check/create_form.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/repository_check/create_success.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/repository_check/custom_options.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/repository_check/delete_error.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/repository_check/delete_success.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/repository_check/dynamic_options.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/repository_check/edit_form.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/repository_check/form.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/repository_check/tab.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/repository_check/update_error.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/repository_check/update_success.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/repository_stats/stats_panel.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/schedules/create_error.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/schedules/create_form.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/schedules/create_success.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/schedules/cron_description.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/schedules/cron_expression_form.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/schedules/delete_error.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/schedules/delete_success.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/schedules/edit_form.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/schedules/hooks/hook_field_modal.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/schedules/hooks/hooks_container.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/schedules/hooks/hooks_edit_content.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/schedules/hooks/hooks_modal.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/schedules/hooks/hooks_save_response.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/schedules/hooks/hooks_validation_error.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/schedules/list.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/schedules/patterns/pattern_field_modal.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/schedules/patterns/pattern_validation_result.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/schedules/patterns/patterns_container.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/schedules/patterns/patterns_modal.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/schedules/patterns/patterns_save_response.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/schedules/patterns/patterns_validation_error.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/schedules/patterns/patterns_validation_results.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/schedules/run_success.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/schedules/schedule_list_content.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/schedules/tab.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/schedules/upcoming.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/schedules/upcoming_backups_content.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/schedules/update_error.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/schedules/update_success.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/shared/notification.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/shared/package_autocomplete.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/shared/path_autocomplete.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/shared/path_autocomplete_dropdown.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/shared/path_autocomplete_loading.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/shared/source_path_row.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/shared/source_paths_input.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/statistics/empty_state.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/statistics/loading_state.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/statistics/repository_selector.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/templates/partials/statistics/tab.html +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/utils/__init__.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/utils/datetime_utils.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/utils/path_prefix.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/utils/template_paths.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/src/borgitory/utils/template_responses.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/__init__.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/e2e/__init__.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/e2e/cloud_providers/test_cloud_providers.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/e2e/conftest.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/e2e/pytest.e2e.ini +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/e2e/test_navigation.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/fixtures/__init__.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/fixtures/notification_fixtures.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/fixtures/registry_fixtures.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/integration/__init__.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/integration/archives/__init__.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/integration/archives/test_archive_browser_htmx.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/integration/auth/__init__.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/integration/auth/test_auth_htmx.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/integration/auth/test_auth_redirect_flow.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/integration/auth/test_main_login_page.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/integration/cloud_sync/__init__.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/integration/cloud_sync/test_cloud_sync_api.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/integration/cloud_sync/test_s3_api.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/integration/conftest.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/integration/jobs/__init__.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/integration/jobs/test_job_stop_api_simple.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/integration/jobs/test_job_stop_integration.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/integration/jobs/test_jobs_api_sse.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/integration/notifications/__init__.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/integration/packages/__init__.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/integration/packages/test_package_selection_endpoints.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/integration/repositories/__init__.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/integration/repositories/test_remote_ssh_repositories.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/integration/repositories/test_repositories_api.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/integration/repositories/test_repository_check_configs_api.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/integration/repositories/test_repository_management_api.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/integration/repositories/test_repository_stats_html.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/integration/schedules/__init__.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/integration/schedules/test_manual_run_apscheduler.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/integration/schedules/test_schedule_creation_api.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/integration/schedules/test_schedules_api.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/integration/schedules/test_schedules_hooks_api.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/integration/schedules/test_schedules_patterns_api.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/integration/ssh_server.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/integration/test_backups_api.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/integration/test_basic.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/integration/test_basic_endpoints.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/integration/test_di_testing_infrastructure.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/integration/test_jobs_api.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/integration/test_prune_api.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/integration/test_repository_archives_navigation.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/integration/test_tabs_api.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/unit/__init__.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/unit/archives/__init__.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/unit/archives/test_archive_manager.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/unit/borg/__init__.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/unit/cloud_providers/__init__.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/unit/cloud_providers/test_display_details.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/unit/cloud_providers/test_pcloud_storage.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/unit/cloud_providers/test_provider_validation.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/unit/cloud_providers/test_registry.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/unit/cloud_providers/test_registry_integration.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/unit/cloud_providers/test_s3_provider_config.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/unit/cloud_providers/test_schema_validation.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/unit/cloud_providers/test_service.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/unit/cloud_providers/test_smb_storage.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/unit/cloud_providers/test_storage.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/unit/cloud_providers/test_types.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/unit/command_execution/__init__.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/unit/command_execution/test_linux_command_executor.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/unit/command_execution/test_wsl_command_executor.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/unit/factories/__init__.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/unit/factories/test_service_factory.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/unit/hooks/__init__.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/unit/hooks/test_api_critical_hooks.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/unit/hooks/test_composite_job_critical_failure.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/unit/hooks/test_critical_hook_config.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/unit/hooks/test_critical_hook_execution.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/unit/hooks/test_hook_config.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/unit/hooks/test_hook_execution_service.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/unit/hooks/test_notification_messages_hooks.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/unit/hooks/test_task_definition_integration.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/unit/jobs/__init__.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/unit/jobs/conftest.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/unit/jobs/test_compact_task_executor.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/unit/jobs/test_database_integration.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/unit/jobs/test_job_database_manager.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/unit/jobs/test_job_event_broadcaster.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/unit/jobs/test_job_executor.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/unit/jobs/test_job_executor_comprehensive.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/unit/jobs/test_job_manager.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/unit/jobs/test_job_manager_comprehensive.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/unit/jobs/test_job_manager_factory.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/unit/jobs/test_job_manager_stop.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/unit/jobs/test_job_manager_task_execution.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/unit/jobs/test_job_output_manager.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/unit/jobs/test_job_render_service_coverage.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/unit/jobs/test_job_render_service_new_architecture.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/unit/jobs/test_job_service.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/unit/jobs/test_job_stop_functionality.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/unit/jobs/test_job_stop_service.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/unit/jobs/test_sse_multiline_formatting.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/unit/notifications/__init__.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/unit/notifications/test_apprise_catalog.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/unit/notifications/test_apprise_url_builder.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/unit/notifications/test_notification_service.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/unit/packages/__init__.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/unit/packages/test_package_database_integration.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/unit/packages/test_package_manager_service.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/unit/path/test_platform_service_macos.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/unit/protocols/__init__.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/unit/protocols/protocol_testing_utils.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/unit/repositories/__init__.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/unit/repositories/test_remote_repositories.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/unit/repositories/test_repository_check_config_service.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/unit/repositories/test_repository_management_service.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/unit/repositories/test_repository_service.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/unit/repositories/test_repository_stats_service_unit.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/unit/schedules/__init__.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/unit/schedules/test_next_run_update.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/unit/schedules/test_schedule_service.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/unit/schedules/test_schedule_validation_service.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/unit/schedules/test_scheduler_service.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/unit/schedules/test_validate_patterns_json.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/unit/scheduling/__init__.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/unit/scheduling/test_cron_utils.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/unit/scheduling/test_hook_service.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/unit/scheduling/test_pattern_service.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/unit/services/__init__.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/unit/services/migrations/__init__.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/unit/services/migrations/test_migration_service.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/unit/templates/__init__.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/unit/templates/test_current_jobs_template.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/unit/templates/test_task_item_streaming_template.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/unit/test_cache_dir_functionality.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/unit/test_cache_dir_normalization.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/unit/test_database_models.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/unit/test_datetime_utils.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/unit/test_debug_service.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/unit/test_dependencies.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/unit/test_job_manager_proper_di.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/unit/test_migrate_notifications_to_apprise.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/unit/test_multiple_source_paths_migration.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/unit/test_path_service.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/unit/test_prune_service.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/unit/test_recovery_service.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/unit/test_retention_constants.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/unit/test_secure_borg_command_env.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/unit/test_secure_path_comprehensive.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/unit/test_simple_command_runner.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/unit/test_source_paths_schema.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/unit/test_streaming_edge_cases.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/unit/test_streaming_fixes.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/unit/test_task_definition_builder.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/unit/utils/__init__.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/unit/utils/test_path_prefix.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/unit/utils/test_secret_key.py +0 -0
- {borgitory-3.1.0 → borgitory-3.1.1}/tests/utils/__init__.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: borgitory
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.1
|
|
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
|
|
@@ -35,6 +35,7 @@ Classifier: License :: OSI Approved :: MIT License
|
|
|
35
35
|
Classifier: Operating System :: OS Independent
|
|
36
36
|
Classifier: Programming Language :: Python :: 3
|
|
37
37
|
Classifier: Programming Language :: Python :: 3.14
|
|
38
|
+
Classifier: Programming Language :: Python :: 3.15
|
|
38
39
|
Classifier: Topic :: System :: Archiving :: Backup
|
|
39
40
|
Classifier: Topic :: System :: Systems Administration
|
|
40
41
|
Requires-Python: >=3.14
|
|
@@ -179,6 +180,32 @@ borgitory serve --host 0.0.0.0 --port 8000
|
|
|
179
180
|
- Rclone installed (optional, for cloud sync features)
|
|
180
181
|
- BorgBackup does not have a native Windows executable, so WSL2 is required for all backup operations
|
|
181
182
|
|
|
183
|
+
### Running behind a reverse proxy (HTTPS)
|
|
184
|
+
|
|
185
|
+
| Variable | Default | Purpose |
|
|
186
|
+
|---|---|---|
|
|
187
|
+
| `BORGITORY_SECURE_COOKIES` | auto | `true` marks the session cookie `Secure`. Set it when TLS terminates at a proxy; by default the cookie is only `Secure` when Borgitory itself sees an `https` request. |
|
|
188
|
+
| `BORGITORY_TRUSTED_ORIGINS` | *(empty)* | Comma-separated origins (e.g. `https://backup.example.com`) allowed to make state-changing requests if your proxy rewrites the `Host` header and your browser does not send `Sec-Fetch-Site`. Not normally needed. |
|
|
189
|
+
|
|
190
|
+
Borgitory rejects cross-site `POST`/`PUT`/`PATCH`/`DELETE` requests (CSRF protection), and throttles repeated failed logins per client IP.
|
|
191
|
+
|
|
192
|
+
The container exposes an unauthenticated `GET /health` endpoint for health checks; the image's `HEALTHCHECK` uses it.
|
|
193
|
+
|
|
194
|
+
### Development with Docker
|
|
195
|
+
|
|
196
|
+
`docker-compose.yml` runs the production image. To attach a debugger, layer the development override, which builds the `dev` image target and publishes debugpy on `127.0.0.1:5678` only:
|
|
197
|
+
|
|
198
|
+
```bash
|
|
199
|
+
docker compose -f docker-compose.yml -f docker-compose.dev.yml up --build
|
|
200
|
+
```
|
|
201
|
+
|
|
202
|
+
Python dependencies are pinned with hashes in `requirements.txt` (runtime) and `requirements-dev.txt` (development). After changing dependencies in `pyproject.toml`, regenerate them:
|
|
203
|
+
|
|
204
|
+
```bash
|
|
205
|
+
uv pip compile pyproject.toml --universal --generate-hashes --python-version 3.14 -o requirements.txt
|
|
206
|
+
uv pip compile pyproject.toml --extra dev --universal --generate-hashes --python-version 3.14 -o requirements-dev.txt
|
|
207
|
+
```
|
|
208
|
+
|
|
182
209
|
### Remote Repositories (SSH)
|
|
183
210
|
|
|
184
211
|
Borgitory can back up directly to a repository on a remote borg server, such as BorgBase, a Hetzner Storage Box, or another machine running borg. This keeps an off-site copy that is a separate borg repository rather than an rclone mirror of a local one, so corruption of the local repository does not spread to it. This is not full ransomware protection on its own: a backup that runs after files are encrypted stores the encrypted files, and prune can remove older clean archives. Use append-only mode (below) and a retention policy that keeps older archives.
|
|
@@ -105,6 +105,32 @@ borgitory serve --host 0.0.0.0 --port 8000
|
|
|
105
105
|
- Rclone installed (optional, for cloud sync features)
|
|
106
106
|
- BorgBackup does not have a native Windows executable, so WSL2 is required for all backup operations
|
|
107
107
|
|
|
108
|
+
### Running behind a reverse proxy (HTTPS)
|
|
109
|
+
|
|
110
|
+
| Variable | Default | Purpose |
|
|
111
|
+
|---|---|---|
|
|
112
|
+
| `BORGITORY_SECURE_COOKIES` | auto | `true` marks the session cookie `Secure`. Set it when TLS terminates at a proxy; by default the cookie is only `Secure` when Borgitory itself sees an `https` request. |
|
|
113
|
+
| `BORGITORY_TRUSTED_ORIGINS` | *(empty)* | Comma-separated origins (e.g. `https://backup.example.com`) allowed to make state-changing requests if your proxy rewrites the `Host` header and your browser does not send `Sec-Fetch-Site`. Not normally needed. |
|
|
114
|
+
|
|
115
|
+
Borgitory rejects cross-site `POST`/`PUT`/`PATCH`/`DELETE` requests (CSRF protection), and throttles repeated failed logins per client IP.
|
|
116
|
+
|
|
117
|
+
The container exposes an unauthenticated `GET /health` endpoint for health checks; the image's `HEALTHCHECK` uses it.
|
|
118
|
+
|
|
119
|
+
### Development with Docker
|
|
120
|
+
|
|
121
|
+
`docker-compose.yml` runs the production image. To attach a debugger, layer the development override, which builds the `dev` image target and publishes debugpy on `127.0.0.1:5678` only:
|
|
122
|
+
|
|
123
|
+
```bash
|
|
124
|
+
docker compose -f docker-compose.yml -f docker-compose.dev.yml up --build
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
Python dependencies are pinned with hashes in `requirements.txt` (runtime) and `requirements-dev.txt` (development). After changing dependencies in `pyproject.toml`, regenerate them:
|
|
128
|
+
|
|
129
|
+
```bash
|
|
130
|
+
uv pip compile pyproject.toml --universal --generate-hashes --python-version 3.14 -o requirements.txt
|
|
131
|
+
uv pip compile pyproject.toml --extra dev --universal --generate-hashes --python-version 3.14 -o requirements-dev.txt
|
|
132
|
+
```
|
|
133
|
+
|
|
108
134
|
### Remote Repositories (SSH)
|
|
109
135
|
|
|
110
136
|
Borgitory can back up directly to a repository on a remote borg server, such as BorgBase, a Hetzner Storage Box, or another machine running borg. This keeps an off-site copy that is a separate borg repository rather than an rclone mirror of a local one, so corruption of the local repository does not spread to it. This is not full ransomware protection on its own: a backup that runs after files are encrypted stores the encrypted files, and prune can remove older clean archives. Use append-only mode (below) and a retention policy that keeps older archives.
|
|
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "borgitory"
|
|
7
|
-
version = "3.1.
|
|
7
|
+
version = "3.1.1"
|
|
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"}
|
|
@@ -19,6 +19,7 @@ classifiers = [
|
|
|
19
19
|
"Operating System :: OS Independent",
|
|
20
20
|
"Programming Language :: Python :: 3",
|
|
21
21
|
"Programming Language :: Python :: 3.14",
|
|
22
|
+
"Programming Language :: Python :: 3.15",
|
|
22
23
|
"Topic :: System :: Archiving :: Backup",
|
|
23
24
|
"Topic :: System :: Systems Administration",
|
|
24
25
|
]
|
|
@@ -117,14 +118,21 @@ line-length = 88
|
|
|
117
118
|
indent-width = 4
|
|
118
119
|
|
|
119
120
|
# Assume Python 3.14+.
|
|
120
|
-
target-version = "3.1.
|
|
121
|
+
target-version = "3.1.1"
|
|
121
122
|
|
|
122
123
|
[tool.ruff.lint]
|
|
123
124
|
# Enable Pyflakes (`F`) and a subset of the pycodestyle (`E`) codes by default.
|
|
124
125
|
# Unlike Flake8, Ruff doesn't enable pycodestyle warnings (`W`) or
|
|
125
126
|
# McCabe complexity (`C901`) by default.
|
|
126
|
-
select = [
|
|
127
|
-
|
|
127
|
+
select = [
|
|
128
|
+
"E4", "E7", "E9", "F",
|
|
129
|
+
"B", # flake8-bugbear: likely bugs and design problems
|
|
130
|
+
"ASYNC", # blocking calls inside async functions
|
|
131
|
+
"DTZ", # naive datetimes
|
|
132
|
+
]
|
|
133
|
+
ignore = [
|
|
134
|
+
"ASYNC109", # `timeout` parameters on async functions are part of our APIs
|
|
135
|
+
]
|
|
128
136
|
|
|
129
137
|
# Allow fix for all enabled rules (when `--fix`) is provided.
|
|
130
138
|
fixable = ["ALL"]
|
|
@@ -133,6 +141,25 @@ unfixable = []
|
|
|
133
141
|
# Allow unused variables when underscore-prefixed.
|
|
134
142
|
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
|
|
135
143
|
|
|
144
|
+
[tool.ruff.lint.per-file-ignores]
|
|
145
|
+
# Tests deliberately build fixed naive datetimes, use pytest.raises(Exception)
|
|
146
|
+
# for generic failure paths and run small blocking helpers in async tests.
|
|
147
|
+
"tests/**" = ["DTZ", "ASYNC", "B017"]
|
|
148
|
+
|
|
149
|
+
[tool.ruff.lint.flake8-bugbear]
|
|
150
|
+
# FastAPI dependency markers are evaluated once by design.
|
|
151
|
+
extend-immutable-calls = [
|
|
152
|
+
"fastapi.Body",
|
|
153
|
+
"fastapi.Cookie",
|
|
154
|
+
"fastapi.Depends",
|
|
155
|
+
"fastapi.File",
|
|
156
|
+
"fastapi.Form",
|
|
157
|
+
"fastapi.Header",
|
|
158
|
+
"fastapi.Path",
|
|
159
|
+
"fastapi.Query",
|
|
160
|
+
"fastapi.params.Depends",
|
|
161
|
+
]
|
|
162
|
+
|
|
136
163
|
[tool.ruff.format]
|
|
137
164
|
# Like Black, use double quotes for strings.
|
|
138
165
|
quote-style = "double"
|
|
@@ -186,7 +213,7 @@ exclude_lines = [
|
|
|
186
213
|
|
|
187
214
|
[tool.mypy]
|
|
188
215
|
# Basic settings
|
|
189
|
-
python_version = "3.1.
|
|
216
|
+
python_version = "3.1.1"
|
|
190
217
|
strict = true
|
|
191
218
|
|
|
192
219
|
# Display options
|
|
@@ -262,10 +289,3 @@ include = ["src", "tests"]
|
|
|
262
289
|
extraPaths = ["src"]
|
|
263
290
|
pythonVersion = "3.14"
|
|
264
291
|
pythonPlatform = "All"
|
|
265
|
-
|
|
266
|
-
[dependency-groups]
|
|
267
|
-
dev = [
|
|
268
|
-
"httpx>=0.28.1",
|
|
269
|
-
"pytest>=8.4.2",
|
|
270
|
-
"pytest-asyncio>=1.2.0",
|
|
271
|
-
]
|
borgitory-3.1.1/src/borgitory/alembic/versions/a4c2e8f1b7d3_add_notify_on_to_notification_configs.py
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"""Add notify_on policy to notification configs
|
|
2
|
+
|
|
3
|
+
Revision ID: a4c2e8f1b7d3
|
|
4
|
+
Revises: c3f1a7d2b9e4
|
|
5
|
+
Create Date: 2026-11-16 12:00:00.000000
|
|
6
|
+
|
|
7
|
+
"""
|
|
8
|
+
|
|
9
|
+
from typing import Sequence, Union
|
|
10
|
+
|
|
11
|
+
from alembic import op
|
|
12
|
+
import sqlalchemy as sa
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
# revision identifiers, used by Alembic.
|
|
16
|
+
revision: str = "a4c2e8f1b7d3"
|
|
17
|
+
down_revision: Union[str, Sequence[str], None] = "c3f1a7d2b9e4"
|
|
18
|
+
branch_labels: Union[str, Sequence[str], None] = None
|
|
19
|
+
depends_on: Union[str, Sequence[str], None] = None
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
def upgrade() -> None:
|
|
23
|
+
"""Upgrade schema."""
|
|
24
|
+
with op.batch_alter_table("notification_configs", schema=None) as batch_op:
|
|
25
|
+
batch_op.add_column(
|
|
26
|
+
sa.Column("notify_on", sa.String(), nullable=False, server_default="all")
|
|
27
|
+
)
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
def downgrade() -> None:
|
|
31
|
+
"""Downgrade schema."""
|
|
32
|
+
with op.batch_alter_table("notification_configs", schema=None) as batch_op:
|
|
33
|
+
batch_op.drop_column("notify_on")
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"""Store session tokens as SHA-256 hashes
|
|
2
|
+
|
|
3
|
+
Existing plaintext tokens are hashed in place, so users stay logged in.
|
|
4
|
+
|
|
5
|
+
Revision ID: a7e2c4f1d8b3
|
|
6
|
+
Revises: a4c2e8f1b7d3
|
|
7
|
+
Create Date: 2026-11-16 12:00:00.000000
|
|
8
|
+
|
|
9
|
+
"""
|
|
10
|
+
|
|
11
|
+
import hashlib
|
|
12
|
+
from typing import Sequence, Union
|
|
13
|
+
|
|
14
|
+
from alembic import op
|
|
15
|
+
import sqlalchemy as sa
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
# revision identifiers, used by Alembic.
|
|
19
|
+
revision: str = "a7e2c4f1d8b3"
|
|
20
|
+
down_revision: Union[str, Sequence[str], None] = "a4c2e8f1b7d3"
|
|
21
|
+
branch_labels: Union[str, Sequence[str], None] = None
|
|
22
|
+
depends_on: Union[str, Sequence[str], None] = None
|
|
23
|
+
|
|
24
|
+
user_sessions = sa.table(
|
|
25
|
+
"user_sessions",
|
|
26
|
+
sa.column("id", sa.Integer),
|
|
27
|
+
sa.column("session_token", sa.String),
|
|
28
|
+
)
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
def upgrade() -> None:
|
|
32
|
+
"""Hash every stored session token (kept self-contained: no app imports)."""
|
|
33
|
+
bind = op.get_bind()
|
|
34
|
+
rows = bind.execute(sa.select(user_sessions.c.id, user_sessions.c.session_token))
|
|
35
|
+
for row_id, token in rows.fetchall():
|
|
36
|
+
hashed = hashlib.sha256(token.encode("utf-8")).hexdigest()
|
|
37
|
+
bind.execute(
|
|
38
|
+
user_sessions.update()
|
|
39
|
+
.where(user_sessions.c.id == row_id)
|
|
40
|
+
.values(session_token=hashed)
|
|
41
|
+
)
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
def downgrade() -> None:
|
|
45
|
+
"""Hashes cannot be reversed; drop all sessions so users log in again."""
|
|
46
|
+
op.execute(user_sessions.delete())
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"""Make repositories.encryption_type NOT NULL to match the model
|
|
2
|
+
|
|
3
|
+
The column was added as nullable (02b7b29d38c0) and backfilled, but the model
|
|
4
|
+
has always declared it NOT NULL. Detected by the model/migration drift test.
|
|
5
|
+
|
|
6
|
+
Revision ID: b91d3e6a2f57
|
|
7
|
+
Revises: a7e2c4f1d8b3
|
|
8
|
+
Create Date: 2026-11-16 12:30:00.000000
|
|
9
|
+
|
|
10
|
+
"""
|
|
11
|
+
|
|
12
|
+
from typing import Sequence, Union
|
|
13
|
+
|
|
14
|
+
from alembic import op
|
|
15
|
+
import sqlalchemy as sa
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
# revision identifiers, used by Alembic.
|
|
19
|
+
revision: str = "b91d3e6a2f57"
|
|
20
|
+
down_revision: Union[str, Sequence[str], None] = "a7e2c4f1d8b3"
|
|
21
|
+
branch_labels: Union[str, Sequence[str], None] = None
|
|
22
|
+
depends_on: Union[str, Sequence[str], None] = None
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
def upgrade() -> None:
|
|
26
|
+
"""Upgrade schema."""
|
|
27
|
+
# Same backfill value as the migration that introduced the column
|
|
28
|
+
op.execute(
|
|
29
|
+
"UPDATE repositories SET encryption_type = 'repokey' "
|
|
30
|
+
"WHERE encryption_type IS NULL"
|
|
31
|
+
)
|
|
32
|
+
with op.batch_alter_table("repositories", schema=None) as batch_op:
|
|
33
|
+
batch_op.alter_column(
|
|
34
|
+
"encryption_type", existing_type=sa.String(), nullable=False
|
|
35
|
+
)
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
def downgrade() -> None:
|
|
39
|
+
"""Downgrade schema."""
|
|
40
|
+
with op.batch_alter_table("repositories", schema=None) as batch_op:
|
|
41
|
+
batch_op.alter_column(
|
|
42
|
+
"encryption_type", existing_type=sa.String(), nullable=True
|
|
43
|
+
)
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
from fastapi import APIRouter, Request, HTTPException, Depends, Response, Form
|
|
2
2
|
from sqlalchemy import select, func, delete
|
|
3
3
|
from sqlalchemy.ext.asyncio import AsyncSession
|
|
4
|
+
import logging
|
|
4
5
|
import secrets
|
|
5
6
|
from datetime import timedelta
|
|
6
7
|
from borgitory.utils.datetime_utils import now_utc
|
|
@@ -9,9 +10,22 @@ from typing import Dict, Optional
|
|
|
9
10
|
from borgitory.models.database import User, UserSession, BCRYPT_MAX_PASSWORD_BYTES
|
|
10
11
|
from borgitory.dependencies import get_db
|
|
11
12
|
from borgitory.dependencies import TemplatesDep
|
|
13
|
+
from borgitory.utils.web_security import (
|
|
14
|
+
LoginThrottle,
|
|
15
|
+
hash_session_token,
|
|
16
|
+
safe_redirect_target,
|
|
17
|
+
use_secure_cookies,
|
|
18
|
+
)
|
|
12
19
|
from starlette.templating import _TemplateResponse
|
|
13
20
|
|
|
14
21
|
router = APIRouter()
|
|
22
|
+
logger = logging.getLogger(__name__)
|
|
23
|
+
|
|
24
|
+
login_throttle = LoginThrottle()
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
def _client_key(request: Request) -> str:
|
|
28
|
+
return request.client.host if request.client else "unknown"
|
|
15
29
|
|
|
16
30
|
|
|
17
31
|
@router.get("/check-users")
|
|
@@ -107,11 +121,12 @@ async def register_user(
|
|
|
107
121
|
success_response.headers["HX-Trigger"] = "reload-auth-form"
|
|
108
122
|
return success_response
|
|
109
123
|
|
|
110
|
-
except Exception
|
|
124
|
+
except Exception:
|
|
125
|
+
logger.exception("Registration failed")
|
|
111
126
|
return templates.TemplateResponse(
|
|
112
127
|
request,
|
|
113
128
|
"partials/shared/notification.html",
|
|
114
|
-
{"type": "error", "message":
|
|
129
|
+
{"type": "error", "message": "Registration failed"},
|
|
115
130
|
status_code=500,
|
|
116
131
|
)
|
|
117
132
|
|
|
@@ -126,10 +141,27 @@ async def login_user(
|
|
|
126
141
|
next: str = Form("/repositories"),
|
|
127
142
|
db: AsyncSession = Depends(get_db),
|
|
128
143
|
) -> _TemplateResponse:
|
|
144
|
+
client_key = _client_key(request)
|
|
145
|
+
retry_after = login_throttle.retry_after(client_key)
|
|
146
|
+
if retry_after is not None:
|
|
147
|
+
logger.warning("Login throttled for client %s", client_key)
|
|
148
|
+
response = templates.TemplateResponse(
|
|
149
|
+
request,
|
|
150
|
+
"partials/shared/notification.html",
|
|
151
|
+
{
|
|
152
|
+
"type": "error",
|
|
153
|
+
"message": "Too many failed login attempts. Try again later.",
|
|
154
|
+
},
|
|
155
|
+
status_code=429,
|
|
156
|
+
)
|
|
157
|
+
response.headers["Retry-After"] = str(retry_after)
|
|
158
|
+
return response
|
|
159
|
+
|
|
129
160
|
try:
|
|
130
161
|
result = await db.execute(select(User).where(User.username == username))
|
|
131
162
|
user = result.scalar_one_or_none()
|
|
132
163
|
if not user or not user.verify_password(password):
|
|
164
|
+
login_throttle.record_failure(client_key)
|
|
133
165
|
return templates.TemplateResponse(
|
|
134
166
|
request,
|
|
135
167
|
"partials/shared/notification.html",
|
|
@@ -137,6 +169,7 @@ async def login_user(
|
|
|
137
169
|
status_code=401,
|
|
138
170
|
)
|
|
139
171
|
|
|
172
|
+
login_throttle.reset(client_key)
|
|
140
173
|
auth_token = secrets.token_urlsafe(32)
|
|
141
174
|
|
|
142
175
|
if remember_me:
|
|
@@ -162,7 +195,7 @@ async def login_user(
|
|
|
162
195
|
|
|
163
196
|
db_session = UserSession()
|
|
164
197
|
db_session.user_id = user.id
|
|
165
|
-
db_session.session_token = auth_token
|
|
198
|
+
db_session.session_token = hash_session_token(auth_token)
|
|
166
199
|
db_session.expires_at = expires_at
|
|
167
200
|
db_session.remember_me = remember_me
|
|
168
201
|
db_session.user_agent = user_agent
|
|
@@ -182,22 +215,23 @@ async def login_user(
|
|
|
182
215
|
"message": "Login successful! Redirecting...",
|
|
183
216
|
},
|
|
184
217
|
)
|
|
185
|
-
success_response.headers["HX-Redirect"] = next
|
|
218
|
+
success_response.headers["HX-Redirect"] = safe_redirect_target(next)
|
|
186
219
|
success_response.set_cookie(
|
|
187
220
|
key="auth_token",
|
|
188
221
|
value=auth_token,
|
|
189
222
|
httponly=True,
|
|
190
|
-
secure=
|
|
223
|
+
secure=use_secure_cookies(request),
|
|
191
224
|
samesite="lax",
|
|
192
225
|
max_age=max_age,
|
|
193
226
|
)
|
|
194
227
|
return success_response
|
|
195
228
|
|
|
196
|
-
except Exception
|
|
229
|
+
except Exception:
|
|
230
|
+
logger.exception("Login failed")
|
|
197
231
|
return templates.TemplateResponse(
|
|
198
232
|
request,
|
|
199
233
|
"partials/shared/notification.html",
|
|
200
|
-
{"type": "error", "message":
|
|
234
|
+
{"type": "error", "message": "Login failed"},
|
|
201
235
|
status_code=500,
|
|
202
236
|
)
|
|
203
237
|
|
|
@@ -209,7 +243,9 @@ async def logout(
|
|
|
209
243
|
auth_token = request.cookies.get("auth_token")
|
|
210
244
|
if auth_token:
|
|
211
245
|
await db.execute(
|
|
212
|
-
delete(UserSession).where(
|
|
246
|
+
delete(UserSession).where(
|
|
247
|
+
UserSession.session_token == hash_session_token(auth_token)
|
|
248
|
+
)
|
|
213
249
|
)
|
|
214
250
|
await db.commit()
|
|
215
251
|
|
|
@@ -226,7 +262,7 @@ async def get_current_user(
|
|
|
226
262
|
|
|
227
263
|
result = await db.execute(
|
|
228
264
|
select(UserSession).where(
|
|
229
|
-
UserSession.session_token == auth_token,
|
|
265
|
+
UserSession.session_token == hash_session_token(auth_token),
|
|
230
266
|
UserSession.expires_at > now_utc(),
|
|
231
267
|
)
|
|
232
268
|
)
|
|
@@ -6,9 +6,14 @@ from fastapi.responses import HTMLResponse
|
|
|
6
6
|
from fastapi import Request
|
|
7
7
|
from sqlalchemy.ext.asyncio import AsyncSession
|
|
8
8
|
|
|
9
|
+
from borgitory.api.auth import get_current_user
|
|
9
10
|
from borgitory.dependencies import DebugServiceDep, get_db, get_templates
|
|
10
11
|
|
|
11
|
-
router = APIRouter(
|
|
12
|
+
router = APIRouter(
|
|
13
|
+
prefix="/api/debug",
|
|
14
|
+
tags=["debug"],
|
|
15
|
+
dependencies=[Depends(get_current_user)],
|
|
16
|
+
)
|
|
12
17
|
templates = get_templates()
|
|
13
18
|
logger = logging.getLogger(__name__)
|
|
14
19
|
|
|
@@ -22,7 +27,10 @@ async def get_debug_info(
|
|
|
22
27
|
debug_info = await debug_svc.get_debug_info(db)
|
|
23
28
|
return debug_info
|
|
24
29
|
except Exception as e:
|
|
25
|
-
|
|
30
|
+
logger.exception("Failed to collect debug info")
|
|
31
|
+
raise HTTPException(
|
|
32
|
+
status_code=500, detail="Failed to collect debug info"
|
|
33
|
+
) from e
|
|
26
34
|
|
|
27
35
|
|
|
28
36
|
@router.get("/html", response_class=HTMLResponse)
|
|
@@ -38,4 +46,7 @@ async def get_debug_html(
|
|
|
38
46
|
{"debug_info": debug_info},
|
|
39
47
|
)
|
|
40
48
|
except Exception as e:
|
|
41
|
-
|
|
49
|
+
logger.exception("Failed to collect debug info")
|
|
50
|
+
raise HTTPException(
|
|
51
|
+
status_code=500, detail="Failed to collect debug info"
|
|
52
|
+
) from e
|
|
@@ -31,6 +31,7 @@ from borgitory.services.notifications.service import (
|
|
|
31
31
|
NotificationEditView,
|
|
32
32
|
NotificationService,
|
|
33
33
|
)
|
|
34
|
+
from borgitory.services.notifications.types import NotificationPolicy
|
|
34
35
|
from borgitory.api.auth import get_current_user
|
|
35
36
|
|
|
36
37
|
router = APIRouter()
|
|
@@ -47,12 +48,33 @@ class NotificationConfigSummary:
|
|
|
47
48
|
service_name: str
|
|
48
49
|
needs_attention: Optional[str] = None
|
|
49
50
|
|
|
51
|
+
@property
|
|
52
|
+
def policy(self) -> NotificationPolicy:
|
|
53
|
+
return NotificationPolicy.from_value(self.config.notify_on)
|
|
54
|
+
|
|
50
55
|
|
|
51
56
|
def _form_str(form_data: FormData, key: str) -> str:
|
|
52
57
|
value = form_data.get(key, "")
|
|
53
58
|
return value.strip() if isinstance(value, str) else ""
|
|
54
59
|
|
|
55
60
|
|
|
61
|
+
def _parse_policy(form_data: FormData) -> Optional[NotificationPolicy]:
|
|
62
|
+
"""Read the notify_on policy from a submitted form.
|
|
63
|
+
|
|
64
|
+
Returns None when the field is absent.
|
|
65
|
+
|
|
66
|
+
Raises:
|
|
67
|
+
ValueError: If the value is not a known policy
|
|
68
|
+
"""
|
|
69
|
+
raw = _form_str(form_data, "notify_on")
|
|
70
|
+
if not raw:
|
|
71
|
+
return None
|
|
72
|
+
try:
|
|
73
|
+
return NotificationPolicy(raw)
|
|
74
|
+
except ValueError:
|
|
75
|
+
raise ValueError(f"Invalid notification policy: {raw}") from None
|
|
76
|
+
|
|
77
|
+
|
|
56
78
|
def _parse_submission(form_data: FormData) -> AppriseSubmission:
|
|
57
79
|
"""Read the service selection and its field values from a submitted form"""
|
|
58
80
|
service = _form_str(form_data, "service")
|
|
@@ -169,9 +191,22 @@ async def create_notification_config(
|
|
|
169
191
|
status_code=400,
|
|
170
192
|
)
|
|
171
193
|
|
|
194
|
+
try:
|
|
195
|
+
notify_on = _parse_policy(form_data)
|
|
196
|
+
except ValueError as e:
|
|
197
|
+
return templates.TemplateResponse(
|
|
198
|
+
request,
|
|
199
|
+
"partials/notifications/create_error.html",
|
|
200
|
+
{"error_message": str(e)},
|
|
201
|
+
status_code=400,
|
|
202
|
+
)
|
|
203
|
+
|
|
172
204
|
try:
|
|
173
205
|
db_config = await config_service.create_config(
|
|
174
|
-
db=db,
|
|
206
|
+
db=db,
|
|
207
|
+
name=name,
|
|
208
|
+
submission=submission,
|
|
209
|
+
notify_on=notify_on or NotificationPolicy.ALL,
|
|
175
210
|
)
|
|
176
211
|
except HTTPException as e:
|
|
177
212
|
return templates.TemplateResponse(
|
|
@@ -442,7 +477,7 @@ async def get_notification_config_edit_form(
|
|
|
442
477
|
except Exception as e:
|
|
443
478
|
raise HTTPException(
|
|
444
479
|
status_code=500, detail=f"Error loading edit form: {str(e)}"
|
|
445
|
-
)
|
|
480
|
+
) from e
|
|
446
481
|
|
|
447
482
|
|
|
448
483
|
@router.put("/{config_id}", response_class=HTMLResponse)
|
|
@@ -468,9 +503,23 @@ async def update_notification_config(
|
|
|
468
503
|
status_code=400,
|
|
469
504
|
)
|
|
470
505
|
|
|
506
|
+
try:
|
|
507
|
+
notify_on = _parse_policy(form_data)
|
|
508
|
+
except ValueError as e:
|
|
509
|
+
return templates.TemplateResponse(
|
|
510
|
+
request,
|
|
511
|
+
"partials/notifications/update_error.html",
|
|
512
|
+
{"error_message": str(e)},
|
|
513
|
+
status_code=400,
|
|
514
|
+
)
|
|
515
|
+
|
|
471
516
|
try:
|
|
472
517
|
updated_config = await config_service.update_config(
|
|
473
|
-
db=db,
|
|
518
|
+
db=db,
|
|
519
|
+
config_id=config_id,
|
|
520
|
+
name=name,
|
|
521
|
+
submission=submission,
|
|
522
|
+
notify_on=notify_on,
|
|
474
523
|
)
|
|
475
524
|
except HTTPException as e:
|
|
476
525
|
return templates.TemplateResponse(
|
|
@@ -879,7 +879,7 @@ async def extract_file(
|
|
|
879
879
|
try:
|
|
880
880
|
return await archive_manager.extract_file_stream(repository, archive_name, file)
|
|
881
881
|
except Exception as e:
|
|
882
|
-
raise HTTPException(status_code=500, detail=str(e))
|
|
882
|
+
raise HTTPException(status_code=500, detail=str(e)) from e
|
|
883
883
|
|
|
884
884
|
|
|
885
885
|
@router.delete("/{repo_id}/archives/{archive_name}", response_class=HTMLResponse)
|
|
@@ -226,7 +226,9 @@ async def get_repository_check_config_edit_form(
|
|
|
226
226
|
request, "partials/repository_check/edit_form.html", context
|
|
227
227
|
)
|
|
228
228
|
except Exception as e:
|
|
229
|
-
raise HTTPException(
|
|
229
|
+
raise HTTPException(
|
|
230
|
+
status_code=404, detail=f"Check policy not found: {str(e)}"
|
|
231
|
+
) from e
|
|
230
232
|
|
|
231
233
|
|
|
232
234
|
@router.put("/{config_id}", response_class=HTMLResponse)
|
|
@@ -76,12 +76,14 @@ async def get_repository_statistics(
|
|
|
76
76
|
stats = await stats_svc.get_repository_statistics(repository, db)
|
|
77
77
|
return stats
|
|
78
78
|
except NoArchivesError:
|
|
79
|
-
raise HTTPException(
|
|
79
|
+
raise HTTPException(
|
|
80
|
+
status_code=400, detail=NoArchivesError.user_message
|
|
81
|
+
) from None
|
|
80
82
|
except ArchiveInfoUnavailableError:
|
|
81
83
|
raise HTTPException(
|
|
82
84
|
status_code=400, detail=ArchiveInfoUnavailableError.user_message
|
|
83
|
-
)
|
|
84
|
-
except Exception:
|
|
85
|
+
) from None
|
|
86
|
+
except Exception as e:
|
|
85
87
|
logging.exception(
|
|
86
88
|
"Exception occurred while generating repository statistics (repository_id=%s)",
|
|
87
89
|
repository_id,
|
|
@@ -89,7 +91,7 @@ async def get_repository_statistics(
|
|
|
89
91
|
raise HTTPException(
|
|
90
92
|
status_code=500,
|
|
91
93
|
detail="An internal error has occurred while generating repository statistics.",
|
|
92
|
-
)
|
|
94
|
+
) from e
|
|
93
95
|
|
|
94
96
|
|
|
95
97
|
@router.get("/{repository_id}/stats/html")
|
|
@@ -250,7 +250,9 @@ async def get_schedule_edit_form(
|
|
|
250
250
|
request, "partials/schedules/edit_form.html", context
|
|
251
251
|
)
|
|
252
252
|
except Exception as e:
|
|
253
|
-
raise HTTPException(
|
|
253
|
+
raise HTTPException(
|
|
254
|
+
status_code=404, detail=f"Schedule not found: {str(e)}"
|
|
255
|
+
) from e
|
|
254
256
|
|
|
255
257
|
|
|
256
258
|
@router.put("/{schedule_id}", response_class=HTMLResponse)
|
|
@@ -54,6 +54,7 @@ from borgitory.services.notifications.apprise_catalog import (
|
|
|
54
54
|
)
|
|
55
55
|
from borgitory.services.notifications.service import NotificationService
|
|
56
56
|
from borgitory.services.notifications.config_service import NotificationConfigService
|
|
57
|
+
from borgitory.services.notifications.types import NotificationPolicy
|
|
57
58
|
from borgitory.services.jobs.job_stream_service import JobStreamService
|
|
58
59
|
from borgitory.services.jobs.job_render_service import JobRenderService
|
|
59
60
|
from borgitory.services.cloud_providers.registry import ProviderRegistry
|
|
@@ -552,6 +553,7 @@ def get_templates() -> TimezoneAwareJinja2Templates:
|
|
|
552
553
|
templates.env.globals["TaskStatusEnum"] = TaskStatusEnum
|
|
553
554
|
templates.env.globals["TaskTypeEnum"] = TaskTypeEnum
|
|
554
555
|
templates.env.globals["JobStatusEnum"] = JobStatusEnum
|
|
556
|
+
templates.env.globals["NotificationPolicy"] = NotificationPolicy
|
|
555
557
|
templates.env.globals["JobTypeEnum"] = JobTypeEnum
|
|
556
558
|
templates.env.globals["EncryptionType"] = EncryptionType
|
|
557
559
|
|