borgitory 2.6.4__tar.gz → 2.7.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.
Files changed (515) hide show
  1. {borgitory-2.6.4 → borgitory-2.7.1}/PKG-INFO +1 -1
  2. {borgitory-2.6.4 → borgitory-2.7.1}/pyproject.toml +3 -3
  3. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/services/command_execution/linux_command_executor.py +14 -5
  4. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/services/command_execution/wsl_command_executor.py +14 -7
  5. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/services/hooks/hook_config.py +2 -2
  6. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/services/hooks/hook_execution_service.py +13 -6
  7. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/services/jobs/task_executors/hook_task_executor.py +1 -0
  8. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/services/scheduling/hook_service.py +25 -0
  9. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/services/scheduling/scheduler_service.py +17 -7
  10. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/services/simple_command_runner.py +4 -1
  11. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/schedules/hooks/hook_field_modal.html +15 -0
  12. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/schedules/hooks/hooks_edit_content.html +44 -0
  13. {borgitory-2.6.4 → borgitory-2.7.1}/tests/hooks/test_critical_hook_config.py +1 -1
  14. {borgitory-2.6.4 → borgitory-2.7.1}/tests/hooks/test_hook_config.py +6 -1
  15. {borgitory-2.6.4 → borgitory-2.7.1}/tests/hooks/test_hook_execution_service.py +20 -0
  16. {borgitory-2.6.4 → borgitory-2.7.1}/tests/hooks/test_job_manager_critical_hooks.py +23 -0
  17. borgitory-2.7.1/tests/schedules/test_next_run_update.py +223 -0
  18. {borgitory-2.6.4 → borgitory-2.7.1}/tests/scheduling/test_hook_service.py +50 -1
  19. {borgitory-2.6.4 → borgitory-2.7.1}/.gitignore +0 -0
  20. {borgitory-2.6.4 → borgitory-2.7.1}/LICENSE +0 -0
  21. {borgitory-2.6.4 → borgitory-2.7.1}/README.md +0 -0
  22. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/__init__.py +0 -0
  23. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/alembic/README +0 -0
  24. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/alembic/env.py +0 -0
  25. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/alembic/script.py.mako +0 -0
  26. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/alembic/versions/02b7b29d38c0_add_encryption_type_and_keyfile_content_.py +0 -0
  27. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/alembic/versions/18b9095bc772_add_patterns_column_to_schedules_table.py +0 -0
  28. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/alembic/versions/1d47e9231dd0_rename_cleanup_to_prune.py +0 -0
  29. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/alembic/versions/2628b151e709_make_passphrase_optional.py +0 -0
  30. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/alembic/versions/3335c0eac68e_create_initial_schema.py +0 -0
  31. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/alembic/versions/5e6cc17d11a5_user_installed_packages.py +0 -0
  32. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/alembic/versions/78c9fff46e06_add_compact_after_field_to_pruneconfig.py +0 -0
  33. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/alembic/versions/9b5d5f5e8cbc_add_pre_post_job_hooks_to_schedule.py +0 -0
  34. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/alembic/versions/9e4c8456ea53_add_cache_dir_field_to_repositories_.py +0 -0
  35. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/alembic/versions/9f06f8c8088d_initial_empty_state.py +0 -0
  36. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/alembic/versions/d294fdc9a5e7_fix_uuid_columns_for_sqlite.py +0 -0
  37. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/alembic/versions/eb3518e71c73_add_more_prune_settings_to_cleanup_.py +0 -0
  38. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/alembic.ini +0 -0
  39. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/api/__init__.py +0 -0
  40. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/api/auth.py +0 -0
  41. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/api/backups.py +0 -0
  42. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/api/cancel_on_disconnect.py +0 -0
  43. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/api/cloud_sync/__init__.py +0 -0
  44. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/api/cloud_sync/cloud_sync.py +0 -0
  45. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/api/cloud_sync/s3.py +0 -0
  46. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/api/debug.py +0 -0
  47. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/api/jobs.py +0 -0
  48. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/api/notifications.py +0 -0
  49. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/api/packages.py +0 -0
  50. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/api/prune.py +0 -0
  51. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/api/repositories.py +0 -0
  52. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/api/repository_check_configs.py +0 -0
  53. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/api/repository_stats.py +0 -0
  54. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/api/schedules.py +0 -0
  55. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/api/shared.py +0 -0
  56. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/api/tabs.py +0 -0
  57. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/cli.py +0 -0
  58. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/config/__init__.py +0 -0
  59. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/config/command_runner_config.py +0 -0
  60. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/config/job_manager_config.py +0 -0
  61. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/config_module.py +0 -0
  62. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/constants/__init__.py +0 -0
  63. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/constants/retention.py +0 -0
  64. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/custom_types.py +0 -0
  65. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/dependencies.py +0 -0
  66. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/factories/__init__.py +0 -0
  67. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/factories/service_factory.py +0 -0
  68. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/main.py +0 -0
  69. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/models/__init__.py +0 -0
  70. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/models/borg_info.py +0 -0
  71. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/models/database.py +0 -0
  72. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/models/enums.py +0 -0
  73. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/models/job_results.py +0 -0
  74. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/models/patterns.py +0 -0
  75. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/models/repository_dtos.py +0 -0
  76. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/models/schemas.py +0 -0
  77. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/protocols/__init__.py +0 -0
  78. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/protocols/archive_manager_protocol.py +0 -0
  79. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/protocols/cloud_protocols.py +0 -0
  80. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/protocols/command_executor_protocol.py +0 -0
  81. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/protocols/command_protocols.py +0 -0
  82. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/protocols/environment_protocol.py +0 -0
  83. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/protocols/file_protocols.py +0 -0
  84. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/protocols/job_database_manager_protocol.py +0 -0
  85. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/protocols/job_event_broadcaster_protocol.py +0 -0
  86. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/protocols/job_output_manager_protocol.py +0 -0
  87. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/protocols/job_protocols.py +0 -0
  88. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/protocols/job_queue_manager_protocol.py +0 -0
  89. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/protocols/notification_protocols.py +0 -0
  90. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/protocols/path_protocols.py +0 -0
  91. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/protocols/repository_protocols.py +0 -0
  92. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/protocols/storage_protocols.py +0 -0
  93. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/protocols/system_protocol.py +0 -0
  94. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/py.typed +0 -0
  95. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/services/__init__.py +0 -0
  96. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/services/archives/archive_manager.py +0 -0
  97. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/services/archives/archive_models.py +0 -0
  98. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/services/borg/borg_pattern_validation_service.py +0 -0
  99. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/services/borg/shell_pattern.py +0 -0
  100. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/services/borg_service.py +0 -0
  101. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/services/cloud_providers/__init__.py +0 -0
  102. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/services/cloud_providers/cloud_sync_service.py +0 -0
  103. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/services/cloud_providers/orchestration.py +0 -0
  104. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/services/cloud_providers/registry.py +0 -0
  105. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/services/cloud_providers/registry_factory.py +0 -0
  106. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/services/cloud_providers/storage/__init__.py +0 -0
  107. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/services/cloud_providers/storage/base.py +0 -0
  108. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/services/cloud_providers/storage/s3_provider_config.py +0 -0
  109. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/services/cloud_providers/storage/s3_storage.py +0 -0
  110. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/services/cloud_providers/storage/sftp_storage.py +0 -0
  111. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/services/cloud_providers/storage/smb_storage.py +0 -0
  112. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/services/cloud_providers/types.py +0 -0
  113. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/services/cloud_sync_config_service.py +0 -0
  114. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/services/command_execution/__init__.py +0 -0
  115. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/services/command_execution/command_executor_factory.py +0 -0
  116. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/services/configuration_service.py +0 -0
  117. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/services/cron_description_service.py +0 -0
  118. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/services/debug_service.py +0 -0
  119. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/services/encryption_service.py +0 -0
  120. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/services/files/file_service_factory.py +0 -0
  121. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/services/files/linux_file_service.py +0 -0
  122. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/services/files/wsl_file_service.py +0 -0
  123. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/services/hooks/__init__.py +0 -0
  124. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/services/jobs/broadcaster/event_type.py +0 -0
  125. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/services/jobs/broadcaster/job_event.py +0 -0
  126. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/services/jobs/broadcaster/job_event_broadcaster.py +0 -0
  127. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/services/jobs/job_database_manager.py +0 -0
  128. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/services/jobs/job_executor.py +0 -0
  129. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/services/jobs/job_manager.py +0 -0
  130. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/services/jobs/job_manager_factory.py +0 -0
  131. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/services/jobs/job_models.py +0 -0
  132. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/services/jobs/job_output_manager.py +0 -0
  133. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/services/jobs/job_queue_manager.py +0 -0
  134. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/services/jobs/job_render_service.py +0 -0
  135. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/services/jobs/job_service.py +0 -0
  136. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/services/jobs/job_stream_service.py +0 -0
  137. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/services/jobs/task_executors/__init__.py +0 -0
  138. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/services/jobs/task_executors/backup_task_executor.py +0 -0
  139. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/services/jobs/task_executors/check_task_executor.py +0 -0
  140. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/services/jobs/task_executors/cloud_sync_task_executor.py +0 -0
  141. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/services/jobs/task_executors/compact_task_executor.py +0 -0
  142. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/services/jobs/task_executors/notification_task_executor.py +0 -0
  143. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/services/jobs/task_executors/prune_task_executor.py +0 -0
  144. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/services/migrations/__init__.py +0 -0
  145. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/services/migrations/migration_factory.py +0 -0
  146. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/services/migrations/migration_service.py +0 -0
  147. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/services/notifications/__init__.py +0 -0
  148. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/services/notifications/config_service.py +0 -0
  149. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/services/notifications/providers/__init__.py +0 -0
  150. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/services/notifications/providers/base.py +0 -0
  151. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/services/notifications/providers/discord_provider.py +0 -0
  152. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/services/notifications/providers/pushover_provider.py +0 -0
  153. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/services/notifications/providers/telegram_provider.py +0 -0
  154. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/services/notifications/registry.py +0 -0
  155. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/services/notifications/registry_factory.py +0 -0
  156. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/services/notifications/service.py +0 -0
  157. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/services/notifications/types.py +0 -0
  158. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/services/package_manager_service.py +0 -0
  159. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/services/path/__init__.py +0 -0
  160. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/services/path/path_service.py +0 -0
  161. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/services/path/path_service_factory.py +0 -0
  162. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/services/path/platform_service.py +0 -0
  163. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/services/prune_service.py +0 -0
  164. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/services/rclone_service.py +0 -0
  165. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/services/rclone_types.py +0 -0
  166. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/services/recovery_service.py +0 -0
  167. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/services/repositories/repository_check_config_service.py +0 -0
  168. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/services/repositories/repository_service.py +0 -0
  169. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/services/repositories/repository_stats_service.py +0 -0
  170. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/services/scheduling/pattern_service.py +0 -0
  171. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/services/scheduling/schedule_service.py +0 -0
  172. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/services/startup/package_restoration_service.py +0 -0
  173. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/services/system/__init__.py +0 -0
  174. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/services/system/system_operations.py +0 -0
  175. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/services/task_definition_builder.py +0 -0
  176. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/services/upcoming_backups_service.py +0 -0
  177. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/services/volumes/file_system_interface.py +0 -0
  178. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/services/volumes/os_file_system.py +0 -0
  179. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/static/css/modern-components.css +0 -0
  180. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/static/css/tailwind-input.css +0 -0
  181. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/static/favicon/android-chrome-192x192.png +0 -0
  182. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/static/favicon/android-chrome-512x512.png +0 -0
  183. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/static/favicon/apple-touch-icon.png +0 -0
  184. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/static/favicon/favicon-16x16.png +0 -0
  185. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/static/favicon/favicon-32x32.png +0 -0
  186. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/static/favicon/favicon.ico +0 -0
  187. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/static/favicon/site.webmanifest +0 -0
  188. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/static/js/app.js +0 -0
  189. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/static/js/components/jobs.js +0 -0
  190. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/static/js/components/navigation.js +0 -0
  191. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/static/vendor/chart.min.js +0 -0
  192. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/static/vendor/htmx-ext-json-enc.js +0 -0
  193. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/static/vendor/htmx-ext-sse.js +0 -0
  194. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/static/vendor/htmx.min.js +0 -0
  195. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/base.html +0 -0
  196. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/index.html +0 -0
  197. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/login.html +0 -0
  198. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/macros/datetime.html +0 -0
  199. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/archives/contents_modal.html +0 -0
  200. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/archives/directory_contents.html +0 -0
  201. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/archives/directory_loading_state.html +0 -0
  202. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/archives/directory_loading_with_trigger.html +0 -0
  203. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/archives/empty_state.html +0 -0
  204. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/archives/error_message.html +0 -0
  205. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/archives/list_content.html +0 -0
  206. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/archives/loading_state.html +0 -0
  207. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/archives/loading_with_trigger.html +0 -0
  208. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/archives/repository_selector.html +0 -0
  209. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/archives/tab.html +0 -0
  210. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/auth/login_error.html +0 -0
  211. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/auth/login_form_active.html +0 -0
  212. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/auth/login_success.html +0 -0
  213. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/auth/register_error.html +0 -0
  214. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/auth/register_form_active.html +0 -0
  215. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/auth/register_success.html +0 -0
  216. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/backups/manual_form.html +0 -0
  217. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/backups/operations.html +0 -0
  218. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/backups/tab.html +0 -0
  219. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/cloud_sync/action_error.html +0 -0
  220. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/cloud_sync/action_success.html +0 -0
  221. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/cloud_sync/config_list_content.html +0 -0
  222. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/cloud_sync/create_error.html +0 -0
  223. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/cloud_sync/create_success.html +0 -0
  224. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/cloud_sync/form.html +0 -0
  225. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/cloud_sync/list.html +0 -0
  226. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/cloud_sync/provider_fields.html +0 -0
  227. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/cloud_sync/providers/s3/s3_endpoint_field.html +0 -0
  228. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/cloud_sync/providers/s3/s3_fields.html +0 -0
  229. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/cloud_sync/providers/s3/s3_provider_options.html +0 -0
  230. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/cloud_sync/providers/s3/s3_region_options.html +0 -0
  231. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/cloud_sync/providers/s3/s3_storage_class_options.html +0 -0
  232. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/cloud_sync/providers/sftp/sftp_fields.html +0 -0
  233. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/cloud_sync/providers/sftp/sftp_fields_edit.html +0 -0
  234. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/cloud_sync/providers/smb/smb_fields.html +0 -0
  235. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/cloud_sync/providers/smb/smb_fields_edit.html +0 -0
  236. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/cloud_sync/tab.html +0 -0
  237. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/cloud_sync/test_error.html +0 -0
  238. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/cloud_sync/test_success.html +0 -0
  239. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/cloud_sync/test_warning.html +0 -0
  240. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/cloud_sync/update_error.html +0 -0
  241. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/cloud_sync/update_success.html +0 -0
  242. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/common/error_message.html +0 -0
  243. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/debug/debug_panel.html +0 -0
  244. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/debug/tab.html +0 -0
  245. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/jobs/backup_error.html +0 -0
  246. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/jobs/backup_success.html +0 -0
  247. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/jobs/current_jobs_list.html +0 -0
  248. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/jobs/empty_state.html +0 -0
  249. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/jobs/error_state.html +0 -0
  250. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/jobs/job_details_static.html +0 -0
  251. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/jobs/job_details_streaming.html +0 -0
  252. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/jobs/job_item.html +0 -0
  253. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/jobs/job_stop_error.html +0 -0
  254. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/jobs/job_stop_success.html +0 -0
  255. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/jobs/tab.html +0 -0
  256. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/jobs/task_item_static.html +0 -0
  257. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/jobs/task_item_streaming.html +0 -0
  258. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/navigation.html +0 -0
  259. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/navigation_nav.html +0 -0
  260. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/notifications/action_error.html +0 -0
  261. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/notifications/action_success.html +0 -0
  262. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/notifications/add_form.html +0 -0
  263. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/notifications/config_list_content.html +0 -0
  264. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/notifications/create_error.html +0 -0
  265. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/notifications/create_success.html +0 -0
  266. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/notifications/edit_form.html +0 -0
  267. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/notifications/list.html +0 -0
  268. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/notifications/providers/discord_fields.html +0 -0
  269. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/notifications/providers/pushover_fields.html +0 -0
  270. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/notifications/providers/telegram_fields.html +0 -0
  271. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/notifications/tab.html +0 -0
  272. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/notifications/test_error.html +0 -0
  273. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/notifications/test_success.html +0 -0
  274. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/notifications/update_error.html +0 -0
  275. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/notifications/update_success.html +0 -0
  276. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/packages/empty_search.html +0 -0
  277. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/packages/error.html +0 -0
  278. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/packages/install_error.html +0 -0
  279. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/packages/install_success.html +0 -0
  280. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/packages/installed_list.html +0 -0
  281. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/packages/package_manager.html +0 -0
  282. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/packages/remove_error.html +0 -0
  283. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/packages/remove_success.html +0 -0
  284. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/packages/search_error.html +0 -0
  285. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/packages/search_results.html +0 -0
  286. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/packages/selected_packages.html +0 -0
  287. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/packages/tab.html +0 -0
  288. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/prune/action_error.html +0 -0
  289. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/prune/action_success.html +0 -0
  290. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/prune/config_form.html +0 -0
  291. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/prune/config_form_error.html +0 -0
  292. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/prune/config_form_success.html +0 -0
  293. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/prune/config_list_content.html +0 -0
  294. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/prune/create_error.html +0 -0
  295. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/prune/create_success.html +0 -0
  296. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/prune/delete_error.html +0 -0
  297. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/prune/delete_success.html +0 -0
  298. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/prune/form.html +0 -0
  299. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/prune/policies.html +0 -0
  300. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/prune/prune_error.html +0 -0
  301. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/prune/prune_success.html +0 -0
  302. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/prune/retention_fields.html +0 -0
  303. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/prune/strategy_fields.html +0 -0
  304. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/prune/tab.html +0 -0
  305. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/prune/update_error.html +0 -0
  306. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/prune/update_success.html +0 -0
  307. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/repositories/create/form_create.html +0 -0
  308. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/repositories/create/form_create_error.html +0 -0
  309. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/repositories/create/form_create_success.html +0 -0
  310. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/repositories/create/form_update_error.html +0 -0
  311. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/repositories/create/form_update_success.html +0 -0
  312. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/repositories/create/passphrase_field.html +0 -0
  313. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/repositories/delete_success.html +0 -0
  314. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/repositories/import/encryption_fields.html +0 -0
  315. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/repositories/import/form_import.html +0 -0
  316. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/repositories/import/form_import_error.html +0 -0
  317. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/repositories/import/form_import_success.html +0 -0
  318. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/repositories/list.html +0 -0
  319. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/repositories/list_content.html +0 -0
  320. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/repositories/modal/borg_info.html +0 -0
  321. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/repositories/modal/break_lock_button.html +0 -0
  322. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/repositories/modal/break_lock_button_modal.html +0 -0
  323. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/repositories/modal/details_modal.html +0 -0
  324. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/repositories/modal/lock_status.html +0 -0
  325. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/repositories/tab.html +0 -0
  326. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/repository_check/action_error.html +0 -0
  327. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/repository_check/action_success.html +0 -0
  328. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/repository_check/check_error.html +0 -0
  329. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/repository_check/check_success.html +0 -0
  330. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/repository_check/config_list_content.html +0 -0
  331. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/repository_check/create_error.html +0 -0
  332. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/repository_check/create_form.html +0 -0
  333. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/repository_check/create_success.html +0 -0
  334. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/repository_check/custom_options.html +0 -0
  335. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/repository_check/delete_error.html +0 -0
  336. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/repository_check/delete_success.html +0 -0
  337. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/repository_check/dynamic_options.html +0 -0
  338. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/repository_check/edit_form.html +0 -0
  339. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/repository_check/form.html +0 -0
  340. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/repository_check/tab.html +0 -0
  341. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/repository_check/update_error.html +0 -0
  342. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/repository_check/update_success.html +0 -0
  343. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/repository_stats/stats_panel.html +0 -0
  344. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/schedules/create_error.html +0 -0
  345. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/schedules/create_form.html +0 -0
  346. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/schedules/create_success.html +0 -0
  347. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/schedules/cron_description.html +0 -0
  348. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/schedules/cron_expression_form.html +0 -0
  349. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/schedules/delete_error.html +0 -0
  350. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/schedules/delete_success.html +0 -0
  351. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/schedules/edit_form.html +0 -0
  352. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/schedules/hooks/hooks_container.html +0 -0
  353. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/schedules/hooks/hooks_modal.html +0 -0
  354. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/schedules/hooks/hooks_save_response.html +0 -0
  355. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/schedules/hooks/hooks_validation_error.html +0 -0
  356. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/schedules/list.html +0 -0
  357. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/schedules/patterns/pattern_field_modal.html +0 -0
  358. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/schedules/patterns/pattern_validation_result.html +0 -0
  359. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/schedules/patterns/patterns_container.html +0 -0
  360. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/schedules/patterns/patterns_modal.html +0 -0
  361. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/schedules/patterns/patterns_save_response.html +0 -0
  362. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/schedules/patterns/patterns_validation_error.html +0 -0
  363. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/schedules/patterns/patterns_validation_results.html +0 -0
  364. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/schedules/run_success.html +0 -0
  365. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/schedules/schedule_list_content.html +0 -0
  366. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/schedules/tab.html +0 -0
  367. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/schedules/upcoming.html +0 -0
  368. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/schedules/upcoming_backups_content.html +0 -0
  369. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/schedules/update_error.html +0 -0
  370. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/schedules/update_success.html +0 -0
  371. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/shared/notification.html +0 -0
  372. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/shared/package_autocomplete.html +0 -0
  373. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/shared/path_autocomplete.html +0 -0
  374. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/shared/path_autocomplete_dropdown.html +0 -0
  375. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/shared/path_autocomplete_loading.html +0 -0
  376. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/statistics/empty_state.html +0 -0
  377. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/statistics/loading_state.html +0 -0
  378. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/statistics/repository_selector.html +0 -0
  379. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/templates/partials/statistics/tab.html +0 -0
  380. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/utils/__init__.py +0 -0
  381. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/utils/datetime_utils.py +0 -0
  382. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/utils/path_prefix.py +0 -0
  383. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/utils/secure_path.py +0 -0
  384. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/utils/security.py +0 -0
  385. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/utils/template_paths.py +0 -0
  386. {borgitory-2.6.4 → borgitory-2.7.1}/src/borgitory/utils/template_responses.py +0 -0
  387. {borgitory-2.6.4 → borgitory-2.7.1}/tests/__init__.py +0 -0
  388. {borgitory-2.6.4 → borgitory-2.7.1}/tests/archives/test_archive_browser_htmx.py +0 -0
  389. {borgitory-2.6.4 → borgitory-2.7.1}/tests/archives/test_archive_manager.py +0 -0
  390. {borgitory-2.6.4 → borgitory-2.7.1}/tests/archives/test_archive_manager_caching.py +0 -0
  391. {borgitory-2.6.4 → borgitory-2.7.1}/tests/auth/test_auth_htmx.py +0 -0
  392. {borgitory-2.6.4 → borgitory-2.7.1}/tests/auth/test_auth_redirect_flow.py +0 -0
  393. {borgitory-2.6.4 → borgitory-2.7.1}/tests/auth/test_main_login_page.py +0 -0
  394. {borgitory-2.6.4 → borgitory-2.7.1}/tests/borg/test_borg_service_core.py +0 -0
  395. {borgitory-2.6.4 → borgitory-2.7.1}/tests/cloud_providers/__init__.py +0 -0
  396. {borgitory-2.6.4 → borgitory-2.7.1}/tests/cloud_providers/test_display_details.py +0 -0
  397. {borgitory-2.6.4 → borgitory-2.7.1}/tests/cloud_providers/test_orchestration.py +0 -0
  398. {borgitory-2.6.4 → borgitory-2.7.1}/tests/cloud_providers/test_provider_validation.py +0 -0
  399. {borgitory-2.6.4 → borgitory-2.7.1}/tests/cloud_providers/test_registry.py +0 -0
  400. {borgitory-2.6.4 → borgitory-2.7.1}/tests/cloud_providers/test_registry_integration.py +0 -0
  401. {borgitory-2.6.4 → borgitory-2.7.1}/tests/cloud_providers/test_s3_provider_config.py +0 -0
  402. {borgitory-2.6.4 → borgitory-2.7.1}/tests/cloud_providers/test_schema_validation.py +0 -0
  403. {borgitory-2.6.4 → borgitory-2.7.1}/tests/cloud_providers/test_service.py +0 -0
  404. {borgitory-2.6.4 → borgitory-2.7.1}/tests/cloud_providers/test_smb_storage.py +0 -0
  405. {borgitory-2.6.4 → borgitory-2.7.1}/tests/cloud_providers/test_storage.py +0 -0
  406. {borgitory-2.6.4 → borgitory-2.7.1}/tests/cloud_providers/test_types.py +0 -0
  407. {borgitory-2.6.4 → borgitory-2.7.1}/tests/cloud_sync/test_cloud_sync_api.py +0 -0
  408. {borgitory-2.6.4 → borgitory-2.7.1}/tests/cloud_sync/test_s3_api.py +0 -0
  409. {borgitory-2.6.4 → borgitory-2.7.1}/tests/command_execution/test_linux_command_executor.py +0 -0
  410. {borgitory-2.6.4 → borgitory-2.7.1}/tests/command_execution/test_wsl_command_executor.py +0 -0
  411. {borgitory-2.6.4 → borgitory-2.7.1}/tests/conftest.py +0 -0
  412. {borgitory-2.6.4 → borgitory-2.7.1}/tests/factories/__init__.py +0 -0
  413. {borgitory-2.6.4 → borgitory-2.7.1}/tests/factories/test_service_factory.py +0 -0
  414. {borgitory-2.6.4 → borgitory-2.7.1}/tests/fixtures/__init__.py +0 -0
  415. {borgitory-2.6.4 → borgitory-2.7.1}/tests/fixtures/job_fixtures.py +0 -0
  416. {borgitory-2.6.4 → borgitory-2.7.1}/tests/fixtures/registry_fixtures.py +0 -0
  417. {borgitory-2.6.4 → borgitory-2.7.1}/tests/hooks/__init__.py +0 -0
  418. {borgitory-2.6.4 → borgitory-2.7.1}/tests/hooks/test_api_critical_hooks.py +0 -0
  419. {borgitory-2.6.4 → borgitory-2.7.1}/tests/hooks/test_composite_job_critical_failure.py +0 -0
  420. {borgitory-2.6.4 → borgitory-2.7.1}/tests/hooks/test_critical_hook_execution.py +0 -0
  421. {borgitory-2.6.4 → borgitory-2.7.1}/tests/hooks/test_notification_messages_hooks.py +0 -0
  422. {borgitory-2.6.4 → borgitory-2.7.1}/tests/hooks/test_task_definition_integration.py +0 -0
  423. {borgitory-2.6.4 → borgitory-2.7.1}/tests/integration/__init__.py +0 -0
  424. {borgitory-2.6.4 → borgitory-2.7.1}/tests/integration/conftest.py +0 -0
  425. {borgitory-2.6.4 → borgitory-2.7.1}/tests/integration/test_app_startup.py +0 -0
  426. {borgitory-2.6.4 → borgitory-2.7.1}/tests/integration/test_basic_endpoints.py +0 -0
  427. {borgitory-2.6.4 → borgitory-2.7.1}/tests/jobs/conftest.py +0 -0
  428. {borgitory-2.6.4 → borgitory-2.7.1}/tests/jobs/test_compact_task_executor.py +0 -0
  429. {borgitory-2.6.4 → borgitory-2.7.1}/tests/jobs/test_database_integration.py +0 -0
  430. {borgitory-2.6.4 → borgitory-2.7.1}/tests/jobs/test_ignore_lock_functionality.py +0 -0
  431. {borgitory-2.6.4 → borgitory-2.7.1}/tests/jobs/test_job_database_manager.py +0 -0
  432. {borgitory-2.6.4 → borgitory-2.7.1}/tests/jobs/test_job_event_broadcaster.py +0 -0
  433. {borgitory-2.6.4 → borgitory-2.7.1}/tests/jobs/test_job_executor.py +0 -0
  434. {borgitory-2.6.4 → borgitory-2.7.1}/tests/jobs/test_job_executor_comprehensive.py +0 -0
  435. {borgitory-2.6.4 → borgitory-2.7.1}/tests/jobs/test_job_manager.py +0 -0
  436. {borgitory-2.6.4 → borgitory-2.7.1}/tests/jobs/test_job_manager_comprehensive.py +0 -0
  437. {borgitory-2.6.4 → borgitory-2.7.1}/tests/jobs/test_job_manager_factory.py +0 -0
  438. {borgitory-2.6.4 → borgitory-2.7.1}/tests/jobs/test_job_manager_stop.py +0 -0
  439. {borgitory-2.6.4 → borgitory-2.7.1}/tests/jobs/test_job_manager_task_execution.py +0 -0
  440. {borgitory-2.6.4 → borgitory-2.7.1}/tests/jobs/test_job_output_manager.py +0 -0
  441. {borgitory-2.6.4 → borgitory-2.7.1}/tests/jobs/test_job_render_service_coverage.py +0 -0
  442. {borgitory-2.6.4 → borgitory-2.7.1}/tests/jobs/test_job_render_service_new_architecture.py +0 -0
  443. {borgitory-2.6.4 → borgitory-2.7.1}/tests/jobs/test_job_service.py +0 -0
  444. {borgitory-2.6.4 → borgitory-2.7.1}/tests/jobs/test_job_stop_api_simple.py +0 -0
  445. {borgitory-2.6.4 → borgitory-2.7.1}/tests/jobs/test_job_stop_functionality.py +0 -0
  446. {borgitory-2.6.4 → borgitory-2.7.1}/tests/jobs/test_job_stop_integration.py +0 -0
  447. {borgitory-2.6.4 → borgitory-2.7.1}/tests/jobs/test_job_stop_service.py +0 -0
  448. {borgitory-2.6.4 → borgitory-2.7.1}/tests/jobs/test_job_stream_service.py +0 -0
  449. {borgitory-2.6.4 → borgitory-2.7.1}/tests/jobs/test_jobs_api_sse.py +0 -0
  450. {borgitory-2.6.4 → borgitory-2.7.1}/tests/jobs/test_sse_multiline_formatting.py +0 -0
  451. {borgitory-2.6.4 → borgitory-2.7.1}/tests/notifications/test_discord_provider.py +0 -0
  452. {borgitory-2.6.4 → borgitory-2.7.1}/tests/notifications/test_notification_config_service.py +0 -0
  453. {borgitory-2.6.4 → borgitory-2.7.1}/tests/notifications/test_notification_configs_api.py +0 -0
  454. {borgitory-2.6.4 → borgitory-2.7.1}/tests/notifications/test_notification_edit_integration.py +0 -0
  455. {borgitory-2.6.4 → borgitory-2.7.1}/tests/notifications/test_pushover_provider.py +0 -0
  456. {borgitory-2.6.4 → borgitory-2.7.1}/tests/notifications/test_telegram_provider.py +0 -0
  457. {borgitory-2.6.4 → borgitory-2.7.1}/tests/packages/test_package_database_integration.py +0 -0
  458. {borgitory-2.6.4 → borgitory-2.7.1}/tests/packages/test_package_manager_service.py +0 -0
  459. {borgitory-2.6.4 → borgitory-2.7.1}/tests/packages/test_package_selection_endpoints.py +0 -0
  460. {borgitory-2.6.4 → borgitory-2.7.1}/tests/protocols/__init__.py +0 -0
  461. {borgitory-2.6.4 → borgitory-2.7.1}/tests/protocols/protocol_testing_utils.py +0 -0
  462. {borgitory-2.6.4 → borgitory-2.7.1}/tests/protocols/test_protocol_compliance.py +0 -0
  463. {borgitory-2.6.4 → borgitory-2.7.1}/tests/protocols/test_simple_command_runner_protocol.py +0 -0
  464. {borgitory-2.6.4 → borgitory-2.7.1}/tests/repositories/test_repositories_api.py +0 -0
  465. {borgitory-2.6.4 → borgitory-2.7.1}/tests/repositories/test_repository_check_config_service.py +0 -0
  466. {borgitory-2.6.4 → borgitory-2.7.1}/tests/repositories/test_repository_check_configs_api.py +0 -0
  467. {borgitory-2.6.4 → borgitory-2.7.1}/tests/repositories/test_repository_management_api.py +0 -0
  468. {borgitory-2.6.4 → borgitory-2.7.1}/tests/repositories/test_repository_management_service.py +0 -0
  469. {borgitory-2.6.4 → borgitory-2.7.1}/tests/repositories/test_repository_service.py +0 -0
  470. {borgitory-2.6.4 → borgitory-2.7.1}/tests/repositories/test_repository_stats_html.py +0 -0
  471. {borgitory-2.6.4 → borgitory-2.7.1}/tests/repositories/test_repository_stats_service_unit.py +0 -0
  472. {borgitory-2.6.4 → borgitory-2.7.1}/tests/schedules/test_cron_description_api.py +0 -0
  473. {borgitory-2.6.4 → borgitory-2.7.1}/tests/schedules/test_cron_description_htmx_api.py +0 -0
  474. {borgitory-2.6.4 → borgitory-2.7.1}/tests/schedules/test_manual_run_apscheduler.py +0 -0
  475. {borgitory-2.6.4 → borgitory-2.7.1}/tests/schedules/test_schedule_creation_api.py +0 -0
  476. {borgitory-2.6.4 → borgitory-2.7.1}/tests/schedules/test_schedule_service.py +0 -0
  477. {borgitory-2.6.4 → borgitory-2.7.1}/tests/schedules/test_schedule_validation_service.py +0 -0
  478. {borgitory-2.6.4 → borgitory-2.7.1}/tests/schedules/test_scheduler_service.py +0 -0
  479. {borgitory-2.6.4 → borgitory-2.7.1}/tests/schedules/test_schedules_api.py +0 -0
  480. {borgitory-2.6.4 → borgitory-2.7.1}/tests/schedules/test_schedules_hooks_api.py +0 -0
  481. {borgitory-2.6.4 → borgitory-2.7.1}/tests/schedules/test_schedules_patterns_api.py +0 -0
  482. {borgitory-2.6.4 → borgitory-2.7.1}/tests/schedules/test_validate_patterns_json.py +0 -0
  483. {borgitory-2.6.4 → borgitory-2.7.1}/tests/scheduling/test_pattern_service.py +0 -0
  484. {borgitory-2.6.4 → borgitory-2.7.1}/tests/services/__init__.py +0 -0
  485. {borgitory-2.6.4 → borgitory-2.7.1}/tests/services/migrations/__init__.py +0 -0
  486. {borgitory-2.6.4 → borgitory-2.7.1}/tests/services/migrations/test_migration_service.py +0 -0
  487. {borgitory-2.6.4 → borgitory-2.7.1}/tests/services/test_borg_pattern_validation_service.py +0 -0
  488. {borgitory-2.6.4 → borgitory-2.7.1}/tests/templates/test_current_jobs_template.py +0 -0
  489. {borgitory-2.6.4 → borgitory-2.7.1}/tests/test_backups_api.py +0 -0
  490. {borgitory-2.6.4 → borgitory-2.7.1}/tests/test_basic.py +0 -0
  491. {borgitory-2.6.4 → borgitory-2.7.1}/tests/test_cache_dir_functionality.py +0 -0
  492. {borgitory-2.6.4 → borgitory-2.7.1}/tests/test_cache_dir_normalization.py +0 -0
  493. {borgitory-2.6.4 → borgitory-2.7.1}/tests/test_cron_description_service.py +0 -0
  494. {borgitory-2.6.4 → borgitory-2.7.1}/tests/test_database_models.py +0 -0
  495. {borgitory-2.6.4 → borgitory-2.7.1}/tests/test_datetime_utils.py +0 -0
  496. {borgitory-2.6.4 → borgitory-2.7.1}/tests/test_debug_service.py +0 -0
  497. {borgitory-2.6.4 → borgitory-2.7.1}/tests/test_dependencies.py +0 -0
  498. {borgitory-2.6.4 → borgitory-2.7.1}/tests/test_di_testing_infrastructure.py +0 -0
  499. {borgitory-2.6.4 → borgitory-2.7.1}/tests/test_job_manager_proper_di.py +0 -0
  500. {borgitory-2.6.4 → borgitory-2.7.1}/tests/test_jobs_api.py +0 -0
  501. {borgitory-2.6.4 → borgitory-2.7.1}/tests/test_path_service.py +0 -0
  502. {borgitory-2.6.4 → borgitory-2.7.1}/tests/test_prune_api.py +0 -0
  503. {borgitory-2.6.4 → borgitory-2.7.1}/tests/test_prune_service.py +0 -0
  504. {borgitory-2.6.4 → borgitory-2.7.1}/tests/test_recovery_service.py +0 -0
  505. {borgitory-2.6.4 → borgitory-2.7.1}/tests/test_repository_archives_navigation.py +0 -0
  506. {borgitory-2.6.4 → borgitory-2.7.1}/tests/test_retention_constants.py +0 -0
  507. {borgitory-2.6.4 → borgitory-2.7.1}/tests/test_secure_path_comprehensive.py +0 -0
  508. {borgitory-2.6.4 → borgitory-2.7.1}/tests/test_simple_command_runner.py +0 -0
  509. {borgitory-2.6.4 → borgitory-2.7.1}/tests/test_streaming_edge_cases.py +0 -0
  510. {borgitory-2.6.4 → borgitory-2.7.1}/tests/test_streaming_fixes.py +0 -0
  511. {borgitory-2.6.4 → borgitory-2.7.1}/tests/test_tabs_api.py +0 -0
  512. {borgitory-2.6.4 → borgitory-2.7.1}/tests/test_task_definition_builder.py +0 -0
  513. {borgitory-2.6.4 → borgitory-2.7.1}/tests/utils/__init__.py +0 -0
  514. {borgitory-2.6.4 → borgitory-2.7.1}/tests/utils/di_testing.py +0 -0
  515. {borgitory-2.6.4 → borgitory-2.7.1}/tests/utils/test_path_prefix.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: borgitory
3
- Version: 2.6.4
3
+ Version: 2.7.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
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "borgitory"
7
- version = "2.6.4"
7
+ version = "2.7.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"}
@@ -114,7 +114,7 @@ line-length = 88
114
114
  indent-width = 4
115
115
 
116
116
  # Assume Python 3.14+.
117
- target-version = "2.6.4"
117
+ target-version = "2.7.1"
118
118
 
119
119
  [tool.ruff.lint]
120
120
  # Enable Pyflakes (`F`) and a subset of the pycodestyle (`E`) codes by default.
@@ -181,7 +181,7 @@ exclude_lines = [
181
181
 
182
182
  [tool.mypy]
183
183
  # Basic settings
184
- python_version = "2.6.4"
184
+ python_version = "2.7.1"
185
185
  strict = true
186
186
 
187
187
  # Display options
@@ -40,10 +40,13 @@ class LinuxCommandExecutor(CommandExecutorProtocol):
40
40
  ) -> CommandResult:
41
41
  """Execute a command and return the result."""
42
42
  start_time = time.time()
43
- actual_timeout = timeout or self.default_timeout
43
+ if timeout is None:
44
+ actual_timeout = self.default_timeout
45
+ else:
46
+ actual_timeout = timeout
44
47
 
45
48
  logger.debug(
46
- f"Executing Linux command: {' '.join(command[:3])}... (timeout: {actual_timeout}s)"
49
+ f"Executing Linux command: {' '.join(command[:3])}... (timeout: {'none' if actual_timeout == 0 else f'{actual_timeout}s'})"
47
50
  )
48
51
 
49
52
  try:
@@ -57,10 +60,16 @@ class LinuxCommandExecutor(CommandExecutorProtocol):
57
60
  )
58
61
 
59
62
  try:
60
- stdout_bytes, stderr_bytes = await asyncio.wait_for(
61
- process.communicate(input_data.encode() if input_data else None),
62
- timeout=actual_timeout,
63
+ communicate_coro = process.communicate(
64
+ input_data.encode() if input_data else None
63
65
  )
66
+ if actual_timeout > 0:
67
+ stdout_bytes, stderr_bytes = await asyncio.wait_for(
68
+ communicate_coro,
69
+ timeout=actual_timeout,
70
+ )
71
+ else:
72
+ stdout_bytes, stderr_bytes = await communicate_coro
64
73
  except asyncio.TimeoutError:
65
74
  process.kill()
66
75
  await process.wait()
@@ -61,10 +61,13 @@ class WSLCommandExecutor(CommandExecutorProtocol):
61
61
  # Build WSL command
62
62
  wsl_command = self._build_wsl_command(cmd_list, env, cwd)
63
63
 
64
- actual_timeout = timeout or self.default_timeout
64
+ if timeout is None:
65
+ actual_timeout = self.default_timeout
66
+ else:
67
+ actual_timeout = timeout
65
68
 
66
69
  logger.info(
67
- f"Executing WSL command: {' '.join(wsl_command[:3])}... (timeout: {actual_timeout}s)"
70
+ f"Executing WSL command: {' '.join(wsl_command[:3])}... (timeout: {'none' if actual_timeout == 0 else f'{actual_timeout}s'})"
68
71
  )
69
72
 
70
73
  try:
@@ -77,12 +80,16 @@ class WSLCommandExecutor(CommandExecutorProtocol):
77
80
  )
78
81
 
79
82
  try:
80
- stdout_bytes, stderr_bytes = await asyncio.wait_for(
81
- process.communicate(
82
- input=input_data.encode() if input_data else None
83
- ),
84
- timeout=actual_timeout,
83
+ communicate_coro = process.communicate(
84
+ input=input_data.encode() if input_data else None
85
85
  )
86
+ if actual_timeout > 0:
87
+ stdout_bytes, stderr_bytes = await asyncio.wait_for(
88
+ communicate_coro,
89
+ timeout=actual_timeout,
90
+ )
91
+ else:
92
+ stdout_bytes, stderr_bytes = await communicate_coro
86
93
  except asyncio.TimeoutError:
87
94
  process.kill()
88
95
  await process.wait()
@@ -31,8 +31,8 @@ class HookConfig:
31
31
  raise ValueError("Hook name cannot be empty")
32
32
  if not self.command.strip():
33
33
  raise ValueError("Hook command cannot be empty")
34
- if self.timeout <= 0:
35
- raise ValueError("Hook timeout must be positive")
34
+ if self.timeout < 0:
35
+ raise ValueError("Hook timeout must not be negative")
36
36
 
37
37
 
38
38
  class HookConfigParser:
@@ -223,15 +223,22 @@ class HookExecutionService:
223
223
 
224
224
  logger.debug(f"Executing hook '{hook.name}' with command: {command}")
225
225
 
226
- # Execute with timeout
226
+ # Execute with timeout (0 means no timeout)
227
227
  try:
228
- result = await asyncio.wait_for(
229
- self.command_runner.run_command(
230
- command=command, env=env, timeout=hook.timeout
231
- ),
232
- timeout=hook.timeout + 5, # Add small buffer for cleanup
228
+ run_coro = self.command_runner.run_command(
229
+ command=command,
230
+ env=env,
231
+ timeout=hook.timeout,
233
232
  )
234
233
 
234
+ if hook.timeout > 0:
235
+ result = await asyncio.wait_for(
236
+ run_coro,
237
+ timeout=hook.timeout + 5,
238
+ )
239
+ else:
240
+ result = await run_coro
241
+
235
242
  execution_time = time.time() - start_time
236
243
  success = result.success
237
244
  return_code = result.return_code
@@ -87,6 +87,7 @@ class HookTaskExecutor:
87
87
  else "unknown",
88
88
  "task_index": str(task_index),
89
89
  "job_type": str(job.job_type),
90
+ "job_status": job.status.value,
90
91
  },
91
92
  job_failed=job_has_failed,
92
93
  )
@@ -34,6 +34,7 @@ class HookService:
34
34
  hook_commands = form_data.getlist(f"{hook_type}_hook_command")
35
35
  hook_critical = form_data.getlist(f"{hook_type}_hook_critical")
36
36
  hook_run_on_failure = form_data.getlist(f"{hook_type}_hook_run_on_failure")
37
+ hook_timeouts = form_data.getlist(f"{hook_type}_hook_timeout")
37
38
 
38
39
  # Pair them up by position
39
40
  for i in range(min(len(hook_names), len(hook_commands))):
@@ -46,11 +47,21 @@ class HookService:
46
47
  len(hook_run_on_failure) > i and hook_run_on_failure[i] == "true"
47
48
  )
48
49
 
50
+ timeout = 300
51
+ if len(hook_timeouts) > i and hook_timeouts[i]:
52
+ try:
53
+ timeout = int(hook_timeouts[i])
54
+ if timeout < 0:
55
+ timeout = 300
56
+ except (ValueError, TypeError):
57
+ timeout = 300
58
+
49
59
  # Add all hooks, even if name or command is empty (for reordering)
50
60
  hooks.append(
51
61
  {
52
62
  "name": name,
53
63
  "command": command,
64
+ "timeout": timeout,
54
65
  "critical": critical,
55
66
  "run_on_job_failure": run_on_failure,
56
67
  }
@@ -137,6 +148,7 @@ class HookService:
137
148
  hook_commands = form_data.get(f"{hook_type}_hook_command", [])
138
149
  hook_critical = form_data.get(f"{hook_type}_hook_critical", [])
139
150
  hook_run_on_failure = form_data.get(f"{hook_type}_hook_run_on_failure", [])
151
+ hook_timeouts = form_data.get(f"{hook_type}_hook_timeout", [])
140
152
 
141
153
  # Ensure they are lists (in case there's only one item)
142
154
  if not isinstance(hook_names, list):
@@ -147,6 +159,8 @@ class HookService:
147
159
  hook_critical = [hook_critical] if hook_critical else []
148
160
  if not isinstance(hook_run_on_failure, list):
149
161
  hook_run_on_failure = [hook_run_on_failure] if hook_run_on_failure else []
162
+ if not isinstance(hook_timeouts, list):
163
+ hook_timeouts = [hook_timeouts] if hook_timeouts else []
150
164
 
151
165
  # Pair them up by position
152
166
  for i in range(min(len(hook_names), len(hook_commands))):
@@ -159,12 +173,22 @@ class HookService:
159
173
  len(hook_run_on_failure) > i and hook_run_on_failure[i] == "true"
160
174
  )
161
175
 
176
+ timeout = 300
177
+ if len(hook_timeouts) > i and hook_timeouts[i]:
178
+ try:
179
+ timeout = int(hook_timeouts[i])
180
+ if timeout < 0:
181
+ timeout = 300
182
+ except (ValueError, TypeError):
183
+ timeout = 300
184
+
162
185
  # Only add hooks that have both name and command
163
186
  if name and command:
164
187
  hooks.append(
165
188
  {
166
189
  "name": name,
167
190
  "command": command,
191
+ "timeout": timeout,
168
192
  "critical": critical,
169
193
  "run_on_job_failure": run_on_failure,
170
194
  }
@@ -198,6 +222,7 @@ class HookService:
198
222
  {
199
223
  "name": hook_data.get("name", ""),
200
224
  "command": hook_data.get("command", ""),
225
+ "timeout": int(hook_data.get("timeout", 300)),
201
226
  "critical": bool(hook_data.get("critical", False)),
202
227
  "run_on_job_failure": bool(
203
228
  hook_data.get("run_on_job_failure", False)
@@ -1,7 +1,7 @@
1
1
  import logging
2
2
  from datetime import datetime
3
3
  import uuid
4
- from borgitory.utils.datetime_utils import now_utc
4
+ from borgitory.utils.datetime_utils import now_utc, ensure_utc
5
5
  import traceback
6
6
  from typing import Dict, List, Union
7
7
  from sqlalchemy import select
@@ -62,9 +62,17 @@ async def execute_scheduled_backup(schedule_id: int) -> None:
62
62
 
63
63
  logger.info(f"SCHEDULER: Found repository '{repository.name}'")
64
64
 
65
- # Update schedule last run
66
- logger.info("SCHEDULER: Updating schedule last run time")
67
65
  schedule.last_run = now_utc()
66
+
67
+ scheduler_svc = get_scheduler_service_singleton()
68
+ job_id = f"backup_schedule_{schedule_id}"
69
+ apscheduler_job = scheduler_svc.scheduler.get_job(job_id)
70
+ if apscheduler_job and apscheduler_job.next_run_time:
71
+ schedule.next_run = ensure_utc(apscheduler_job.next_run_time)
72
+ logger.info(
73
+ f"SCHEDULER: Updated next_run for schedule {schedule_id}: {schedule.next_run}"
74
+ )
75
+
68
76
  await db.commit()
69
77
 
70
78
  try:
@@ -93,7 +101,7 @@ async def execute_scheduled_backup(schedule_id: int) -> None:
93
101
  )
94
102
 
95
103
  if isinstance(backup_result, JobCreationResult):
96
- job_id = backup_result.job_id
104
+ job_id = str(backup_result.job_id)
97
105
  logger.info(
98
106
  f"SCHEDULER: Created scheduled backup job {job_id} via JobService"
99
107
  )
@@ -194,12 +202,13 @@ class SchedulerService:
194
202
  result = await db.execute(select(Schedule).where(Schedule.enabled))
195
203
  schedules = result.scalars().all()
196
204
  for schedule in schedules:
197
- await self._add_schedule_internal(
205
+ job_id = await self._add_schedule_internal(
198
206
  schedule.id,
199
207
  schedule.name,
200
208
  schedule.cron_expression,
201
209
  persist=False,
202
210
  )
211
+ await self._update_next_run_time(schedule.id, job_id)
203
212
  except Exception as e:
204
213
  logger.error(f"Error reloading schedules: {str(e)}")
205
214
 
@@ -273,9 +282,10 @@ class SchedulerService:
273
282
  )
274
283
  schedule = result.scalar_one_or_none()
275
284
  if schedule:
276
- schedule.next_run = job.next_run_time
285
+ schedule.next_run = ensure_utc(job.next_run_time)
286
+ await db.commit()
277
287
  logger.info(
278
- f"Updated next run time for schedule {schedule_id}: {job.next_run_time}"
288
+ f"Updated next run time for schedule {schedule_id}: {schedule.next_run}"
279
289
  )
280
290
  except Exception as e:
281
291
  logger.error(f"Failed to update next run time: {str(e)}")
@@ -52,7 +52,10 @@ class SimpleCommandRunner:
52
52
  Returns:
53
53
  CommandResult with execution details
54
54
  """
55
- actual_timeout = float(timeout or self.timeout)
55
+ if timeout is None:
56
+ actual_timeout = float(self.timeout)
57
+ else:
58
+ actual_timeout = float(timeout)
56
59
 
57
60
  if self.log_commands:
58
61
  logger.info(f"Executing command: {' '.join(command[:3])}...")
@@ -89,6 +89,21 @@
89
89
  {{ 'Commands run before the backup starts' if hook_type == 'pre' else 'Commands run after the backup completes' }}
90
90
  </p>
91
91
  </div>
92
+ <!-- Hook Timeout -->
93
+ <div>
94
+ <label class="block text-sm font-medium text-gray-700 dark:text-gray-300 mb-2">
95
+ Timeout (seconds)
96
+ </label>
97
+ <input type="number"
98
+ name="{{ hook_type }}_hook_timeout"
99
+ value="{{ hook.timeout if hook is defined and hook.timeout is defined else 300 }}"
100
+ min="0"
101
+ step="1"
102
+ class="w-full px-3 py-2 border border-gray-300 dark:border-gray-600 rounded-md shadow-sm focus:ring-2 focus:ring-blue-500 focus:border-blue-500 bg-white dark:bg-gray-700 text-gray-900 dark:text-gray-100 placeholder-gray-500 dark:placeholder-gray-400 text-sm">
103
+ <p class="mt-1 text-xs text-gray-500 dark:text-gray-400">
104
+ Maximum time in seconds before the hook is killed. Set to 0 for no timeout. Default is 300 (5 minutes).
105
+ </p>
106
+ </div>
92
107
  <!-- Hook Options -->
93
108
  <div class="space-y-3">
94
109
  <!-- Critical Flag - for all hooks -->
@@ -47,6 +47,17 @@
47
47
  placeholder="e.g., echo 'Starting backup', /path/to/setup.sh"
48
48
  class="input-modern w-full border-gray-300 dark:border-gray-600 dark:bg-gray-700 rounded-md shadow-sm focus:ring-blue-500 focus:border-blue-500 text-gray-900 dark:text-gray-100 text-sm resize-vertical">{{ hook.command }}</textarea>
49
49
  </div>
50
+ <div>
51
+ <label class="block text-xs font-medium text-gray-700 dark:text-gray-300 mb-1">
52
+ Timeout (seconds)
53
+ </label>
54
+ <input type="number"
55
+ name="pre_hook_timeout_{{ loop.index0 }}"
56
+ value="{{ hook.timeout if hook.timeout is defined else 300 }}"
57
+ min="0"
58
+ step="1"
59
+ class="input-modern w-full border-gray-300 dark:border-gray-600 dark:bg-gray-700 rounded-md shadow-sm focus:ring-blue-500 focus:border-blue-500 text-gray-900 dark:text-gray-100 text-sm">
60
+ </div>
50
61
  </div>
51
62
  </div>
52
63
  {% endfor %}
@@ -81,6 +92,17 @@
81
92
  placeholder="e.g., echo 'Starting backup', /path/to/setup.sh"
82
93
  class="input-modern w-full border-gray-300 dark:border-gray-600 dark:bg-gray-700 rounded-md shadow-sm focus:ring-blue-500 focus:border-blue-500 text-gray-900 dark:text-gray-100 text-sm resize-vertical"></textarea>
83
94
  </div>
95
+ <div>
96
+ <label class="block text-xs font-medium text-gray-700 dark:text-gray-300 mb-1">
97
+ Timeout (seconds)
98
+ </label>
99
+ <input type="number"
100
+ name="pre_hook_timeout_0"
101
+ value="300"
102
+ min="0"
103
+ step="1"
104
+ class="input-modern w-full border-gray-300 dark:border-gray-600 dark:bg-gray-700 rounded-md shadow-sm focus:ring-blue-500 focus:border-blue-500 text-gray-900 dark:text-gray-100 text-sm">
105
+ </div>
84
106
  </div>
85
107
  </div>
86
108
  {% endif %}
@@ -136,6 +158,17 @@
136
158
  placeholder="e.g., echo 'Backup completed', /path/to/cleanup.sh"
137
159
  class="input-modern w-full border-gray-300 dark:border-gray-600 dark:bg-gray-700 rounded-md shadow-sm focus:ring-blue-500 focus:border-blue-500 text-gray-900 dark:text-gray-100 text-sm resize-vertical">{{ hook.command }}</textarea>
138
160
  </div>
161
+ <div>
162
+ <label class="block text-xs font-medium text-gray-700 dark:text-gray-300 mb-1">
163
+ Timeout (seconds)
164
+ </label>
165
+ <input type="number"
166
+ name="post_hook_timeout_{{ loop.index0 }}"
167
+ value="{{ hook.timeout if hook.timeout is defined else 300 }}"
168
+ min="0"
169
+ step="1"
170
+ class="input-modern w-full border-gray-300 dark:border-gray-600 dark:bg-gray-700 rounded-md shadow-sm focus:ring-blue-500 focus:border-blue-500 text-gray-900 dark:text-gray-100 text-sm">
171
+ </div>
139
172
  </div>
140
173
  </div>
141
174
  {% endfor %}
@@ -170,6 +203,17 @@
170
203
  placeholder="e.g., echo 'Backup completed', /path/to/cleanup.sh"
171
204
  class="input-modern w-full border-gray-300 dark:border-gray-600 dark:bg-gray-700 rounded-md shadow-sm focus:ring-blue-500 focus:border-blue-500 text-gray-900 dark:text-gray-100 text-sm resize-vertical"></textarea>
172
205
  </div>
206
+ <div>
207
+ <label class="block text-xs font-medium text-gray-700 dark:text-gray-300 mb-1">
208
+ Timeout (seconds)
209
+ </label>
210
+ <input type="number"
211
+ name="post_hook_timeout_0"
212
+ value="300"
213
+ min="0"
214
+ step="1"
215
+ class="input-modern w-full border-gray-300 dark:border-gray-600 dark:bg-gray-700 rounded-md shadow-sm focus:ring-blue-500 focus:border-blue-500 text-gray-900 dark:text-gray-100 text-sm">
216
+ </div>
173
217
  </div>
174
218
  </div>
175
219
  {% endif %}
@@ -52,7 +52,7 @@ class TestHookConfig:
52
52
 
53
53
  def test_hook_config_validation_negative_timeout(self) -> None:
54
54
  """Test HookConfig validation fails with negative timeout."""
55
- with pytest.raises(ValueError, match="Hook timeout must be positive"):
55
+ with pytest.raises(ValueError, match="Hook timeout must not be negative"):
56
56
  HookConfig(name="test", command="echo test", timeout=-1)
57
57
 
58
58
 
@@ -60,9 +60,14 @@ class TestHookConfig:
60
60
 
61
61
  def test_hook_config_validation_negative_timeout(self) -> None:
62
62
  """Test that negative timeout raises ValueError."""
63
- with pytest.raises(ValueError, match="Hook timeout must be positive"):
63
+ with pytest.raises(ValueError, match="Hook timeout must not be negative"):
64
64
  HookConfig(name="Test Hook", command="echo 'hello'", timeout=-1)
65
65
 
66
+ def test_hook_config_zero_timeout_allowed(self) -> None:
67
+ """Test that zero timeout (no timeout) is valid."""
68
+ hook = HookConfig(name="Test Hook", command="echo 'hello'", timeout=0)
69
+ assert hook.timeout == 0
70
+
66
71
 
67
72
  class TestHookConfigParser:
68
73
  """Test HookConfigParser JSON parsing functionality."""
@@ -112,6 +112,24 @@ class TestHookExecutionService:
112
112
  assert call_args[1]["command"] == ["/bin/sh", "-c", "ls -la"]
113
113
  assert call_args[1]["timeout"] == 60
114
114
 
115
+ async def test_execute_hook_with_zero_timeout(self) -> None:
116
+ """Test that timeout=0 is passed through to run_command (no timeout)."""
117
+ mock_runner = MockCommandRunner()
118
+ mock_runner._run_command_mock.return_value = CommandResult(
119
+ success=True, return_code=0, stdout="done", stderr="", duration=120.0
120
+ )
121
+
122
+ service = HookExecutionService(command_runner=mock_runner)
123
+ hook = HookConfig(name="Long Hook", command="rclone sync ...", timeout=0)
124
+
125
+ summary = await service.execute_hooks([hook], "post", uuid.uuid4())
126
+
127
+ assert len(summary.results) == 1
128
+ assert summary.results[0].success is True
129
+
130
+ call_args = mock_runner._run_command_mock.call_args
131
+ assert call_args[1]["timeout"] == 0
132
+
115
133
  async def test_execute_hook_with_environment_vars(self) -> None:
116
134
  """Test executing hook with environment variables."""
117
135
  mock_runner = MockCommandRunner()
@@ -149,6 +167,7 @@ class TestHookExecutionService:
149
167
  "repository_id": "test-repo-id",
150
168
  "task_index": "2",
151
169
  "job_type": "scheduled",
170
+ "job_status": "running",
152
171
  }
153
172
  await service.execute_hooks([hook], "pre", uuid.uuid4(), context)
154
173
 
@@ -158,6 +177,7 @@ class TestHookExecutionService:
158
177
  assert env["BORGITORY_REPOSITORY_ID"] == "test-repo-id"
159
178
  assert env["BORGITORY_TASK_INDEX"] == "2"
160
179
  assert env["BORGITORY_JOB_TYPE"] == "scheduled"
180
+ assert env["BORGITORY_JOB_STATUS"] == "running"
161
181
 
162
182
  async def test_execute_failed_hook(self) -> None:
163
183
  """Test executing a failed hook."""
@@ -338,3 +338,26 @@ class TestJobManagerHookExecution:
338
338
  assert context["repository_id"] == "42"
339
339
  assert context["task_index"] == "3"
340
340
  assert context["job_type"] == "scheduled"
341
+ assert context["job_status"] == "running"
342
+
343
+ async def test_execute_hook_task_context_reflects_job_status(self) -> None:
344
+ """Test that context job_status reflects the actual job status enum value."""
345
+ self.mock_hook_service.execute_hooks_mock.return_value = HookExecutionSummary(
346
+ results=[],
347
+ all_successful=True,
348
+ critical_failure=False,
349
+ failed_critical_hook_name=None,
350
+ )
351
+
352
+ hooks_json = '[{"name": "post hook", "command": "echo status"}]'
353
+ hook_task = self.create_hook_task("post", hooks_json)
354
+ job = self.create_test_job([hook_task])
355
+ job.status = JobStatusEnum.FAILED
356
+
357
+ await self.job_manager.hook_executor.execute_hook_task(
358
+ job, hook_task, 0, True
359
+ )
360
+
361
+ call_args = self.mock_hook_service.execute_hooks_mock.call_args
362
+ context = call_args.kwargs["context"]
363
+ assert context["job_status"] == "failed"